Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
93273b0e
Commit
93273b0e
authored
Nov 18, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页和抢购页面的图片
parent
7ce25958
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
68 deletions
+67
-68
GT_activities.css
css/GT_activities.css
+6
-6
GT_activities.html
html/GT_activities.html
+21
-22
Rushbuy.html
html/Rushbuy.html
+28
-29
jquery.dataStatistics.js
js/jquery.dataStatistics.js
+12
-11
No files found.
css/GT_activities.css
View file @
93273b0e
...
@@ -14,7 +14,7 @@ p {
...
@@ -14,7 +14,7 @@ p {
#box
{
#box
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-image
:
url(
../images
/bg2@3x.png)
;
background-image
:
url(
http://acitvityimage.oytour.com/activity
/bg2@3x.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
padding-top
:
0.7rem
;
padding-top
:
0.7rem
;
...
@@ -97,7 +97,7 @@ p {
...
@@ -97,7 +97,7 @@ p {
.box_content
{
.box_content
{
width
:
100%
;
width
:
100%
;
height
:
5.2rem
;
height
:
5.2rem
;
background-image
:
url(
../images
/bg1@3x.png)
;
background-image
:
url(
http://acitvityimage.oytour.com/activity
/bg1@3x.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
position
:
absolute
;
position
:
absolute
;
...
@@ -135,7 +135,7 @@ p {
...
@@ -135,7 +135,7 @@ p {
.img_bg_M
{
.img_bg_M
{
width
:
100%
;
width
:
100%
;
height
:
2.14rem
;
height
:
2.14rem
;
background-image
:
url(
../images
/M_200.png)
;
background-image
:
url(
http://acitvityimage.oytour.com/activity
/M_200.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
position
:
relative
;
position
:
relative
;
...
@@ -180,7 +180,7 @@ p {
...
@@ -180,7 +180,7 @@ p {
justify-content
:
center
;
justify-content
:
center
;
/*margin-left: 2.07rem;*/
/*margin-left: 2.07rem;*/
margin-top
:
0.05rem
;
margin-top
:
0.05rem
;
background-image
:
url(
../images
/buy_btn.gif)
;
background-image
:
url(
http://acitvityimage.oytour.com/activity
/buy_btn.gif)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -249,7 +249,7 @@ p {
...
@@ -249,7 +249,7 @@ p {
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
background-image
:
url(
../images
/notice.png)
;
background-image
:
url(
http://acitvityimage.oytour.com/activity
/notice.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
z-index
:
999
;
z-index
:
999
;
...
@@ -471,4 +471,4 @@ p {
...
@@ -471,4 +471,4 @@ p {
.Noticewarp
a
:last-child
{
.Noticewarp
a
:last-child
{
margin-right
:
0
;
margin-right
:
0
;
}
}
\ No newline at end of file
html/GT_activities.html
View file @
93273b0e
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
<meta
name=
"description"
content=
"印象之旅 11·18 无敌优惠券正在放送中,赶紧打开抢购,数量有限,先到先得。"
>
<meta
name=
"description"
content=
"印象之旅 11·18 无敌优惠券正在放送中,赶紧打开抢购,数量有限,先到先得。"
>
<meta
name=
"x5-orientation"
content=
"portrait"
>
<meta
name=
"x5-orientation"
content=
"portrait"
>
</meta>
</meta>
<!-- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />-->
<link
rel=
"stylesheet"
href=
"../css/GT_activities.css?r=2341654165"
>
<link
rel=
"stylesheet"
href=
"../css/GT_activities.css?r=2341654165"
>
<link
rel=
"stylesheet"
href=
"../css/GT_activities2.css"
media=
"screen"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"../css/GT_activities2.css"
media=
"screen"
type=
"text/css"
/>
<div
id=
'wx_pic'
style=
'margin:0 auto;display:none;'
>
<div
id=
'wx_pic'
style=
'margin:0 auto;display:none;'
>
<img
src=
'
../images
/18logo.png'
/>
<img
src=
'
http://acitvityimage.oytour.com/activity
/18logo.png'
/>
</div>
</div>
<script
type=
"text/javascript"
src=
"../js/autosize2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/autosize2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
...
@@ -29,10 +28,10 @@
...
@@ -29,10 +28,10 @@
<div
id=
"demo2"
></div>
<div
id=
"demo2"
></div>
</div>
</div>
<div
class=
"wx_bg"
>
<div
class=
"wx_bg"
>
<img
src=
"
../images
/qsywx.png"
alt=
""
/>
<img
src=
"
http://acitvityimage.oytour.com/activity
/qsywx.png"
alt=
""
/>
</div>
</div>
<div
class=
"box_title"
>
<div
class=
"box_title"
>
<img
src=
"
../images
/G@3x.png"
alt=
""
class=
"G_img"
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/G@3x.png"
alt=
""
class=
"G_img"
>
<h5>
<h5>
</h5>
</h5>
...
@@ -120,10 +119,10 @@
...
@@ -120,10 +119,10 @@
</div> -->
</div> -->
</div>
</div>
<img
src=
"
../images
/received@3x.png"
alt=
""
class=
"received_img"
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/received@3x.png"
alt=
""
class=
"received_img"
>
<div
class=
"use_oupon"
>
<div
class=
"use_oupon"
>
<div
class=
"use_news"
>
<div
class=
"use_news"
>
<img
src=
"
../images
/tx_bg.png"
alt=
""
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/tx_bg.png"
alt=
""
>
<div>
<div>
<p
class=
"use_o"
></p>
<p
class=
"use_o"
></p>
<p
class=
"use_t"
></p>
<p
class=
"use_t"
></p>
...
@@ -139,8 +138,8 @@
...
@@ -139,8 +138,8 @@
<div
class=
"app_share"
>
<div
class=
"app_share"
>
<div
class=
"app_sharebox"
>
<div
class=
"app_sharebox"
>
<p>
分享到
</p>
<p>
分享到
</p>
<img
src=
"
../images
/wechat_logo@2x.png"
alt=
""
class=
"app_share_hy"
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/wechat_logo@2x.png"
alt=
""
class=
"app_share_hy"
>
<img
src=
"
../images
/pengyouquan@2x.png"
alt=
""
class=
"app_share_pyq"
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/pengyouquan@2x.png"
alt=
""
class=
"app_share_pyq"
>
</div>
</div>
</div>
</div>
...
@@ -156,7 +155,7 @@
...
@@ -156,7 +155,7 @@
</div>
</div>
<div
class=
"notice_img"
>
<div
class=
"notice_img"
>
<img
src=
"
../images
/notice_2.png"
alt=
""
>
<img
src=
"
http://acitvityimage.oytour.com/activity
/notice_2.png"
alt=
""
>
<p
class=
"notice_name"
>
尊敬的客户
</p>
<p
class=
"notice_name"
>
尊敬的客户
</p>
<p
class=
"notice_content"
></p>
<p
class=
"notice_content"
></p>
<p
class=
"notice_content2"
></p>
<p
class=
"notice_content2"
></p>
...
@@ -224,7 +223,7 @@
...
@@ -224,7 +223,7 @@
var
str
=
''
var
str
=
''
for
(
var
i
=
0
;
i
<
dataList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
dataList
.
length
;
i
++
)
{
if
(
!
dataList
[
i
].
customerPhoto
)
{
if
(
!
dataList
[
i
].
customerPhoto
)
{
dataList
[
i
].
customerPhoto
=
'
../images
/tx_bg.png'
dataList
[
i
].
customerPhoto
=
'
http://acitvityimage.oytour.com/activity
/tx_bg.png'
}
}
str
+=
`<a href="javascript:void(0);">
str
+=
`<a href="javascript:void(0);">
<img src="
${
dataList
[
i
].
customerPhoto
}
"/>
<img src="
${
dataList
[
i
].
customerPhoto
}
"/>
...
@@ -423,7 +422,7 @@
...
@@ -423,7 +422,7 @@
$
(
'#t4'
).
html
(
'日'
);
$
(
'#t4'
).
html
(
'日'
);
$
(
'#t5'
).
html
(
'点整'
);
$
(
'#t5'
).
html
(
'点整'
);
$
(
'.img_btn p'
).
html
(
'立即抢购'
);
$
(
'.img_btn p'
).
html
(
'立即抢购'
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
...
@@ -433,13 +432,13 @@
...
@@ -433,13 +432,13 @@
}
else
if
(
nowDate
>
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
// 活动时间已过
}
else
if
(
nowDate
>
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
// 活动时间已过
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
...
@@ -462,19 +461,19 @@
...
@@ -462,19 +461,19 @@
}
else
{
}
else
{
$
(
'.img_btn p'
).
html
(
'去使用'
);
$
(
'.img_btn p'
).
html
(
'去使用'
);
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/buy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/buy_btn.png)"
);
}
}
}
else
{
}
else
{
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
...
@@ -791,7 +790,7 @@
...
@@ -791,7 +790,7 @@
$
(
'#t4'
).
html
(
'日'
);
$
(
'#t4'
).
html
(
'日'
);
$
(
'#t5'
).
html
(
'点整'
);
$
(
'#t5'
).
html
(
'点整'
);
$
(
'.img_btn p'
).
html
(
'立即抢购'
);
$
(
'.img_btn p'
).
html
(
'立即抢购'
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
...
@@ -801,13 +800,13 @@
...
@@ -801,13 +800,13 @@
}
else
if
(
nowDate
>
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
// 活动时间已过
}
else
if
(
nowDate
>
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
// 活动时间已过
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
...
@@ -830,19 +829,19 @@
...
@@ -830,19 +829,19 @@
}
else
{
}
else
{
$
(
'.img_btn p'
).
html
(
'去使用'
);
$
(
'.img_btn p'
).
html
(
'去使用'
);
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/buy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/buy_btn.png)"
);
}
}
}
else
{
}
else
{
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
...
...
html/Rushbuy.html
View file @
93273b0e
...
@@ -14,17 +14,17 @@
...
@@ -14,17 +14,17 @@
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
}
}
.main
{
.main
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
url(
../images/gongxi4.pn
g)
no-repeat
;
background
:
url(
http://acitvityimage.oytour.com/activity/gongxi4.jp
g)
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
background-color
:
#8d54cc
;
background-color
:
#8d54cc
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.main
.box
{
.main
.box
{
position
:
relative
;
position
:
relative
;
top
:
30%
;
top
:
30%
;
...
@@ -32,12 +32,12 @@
...
@@ -32,12 +32,12 @@
opacity
:
0
;
opacity
:
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.main
.box.nomove
{
.main
.box.nomove
{
top
:
40%
;
top
:
40%
;
opacity
:
1
;
opacity
:
1
;
}
}
.main
.box.move
{
.main
.box.move
{
top
:
40%
;
top
:
40%
;
opacity
:
1
;
opacity
:
1
;
...
@@ -49,17 +49,17 @@
...
@@ -49,17 +49,17 @@
-o-transition
:
all
linear
.5s
;
-o-transition
:
all
linear
.5s
;
/* Opera */
/* Opera */
}
}
.main
.box
.hongbao
{
.main
.box
.hongbao
{
width
:
80%
;
width
:
80%
;
}
}
.main
.box
.anniu
{
.main
.box
.anniu
{
width
:
64%
;
width
:
64%
;
position
:
absolute
;
position
:
absolute
;
left
:
18%
;
left
:
18%
;
bottom
:
15%
;
bottom
:
15%
;
background
:
url(
../images
/gongxi22.png)
;
background
:
url(
http://acitvityimage.oytour.com/activity
/gongxi22.png)
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-position-x
:
center
;
background-position-x
:
center
;
...
@@ -69,13 +69,13 @@
...
@@ -69,13 +69,13 @@
height
:
4rem
;
height
:
4rem
;
line-height
:
4rem
;
line-height
:
4rem
;
}
}
.main
.box
.anniu
::after
{
.main
.box
.anniu
::after
{
content
:
""
;
content
:
""
;
display
:
block
;
display
:
block
;
padding-bottom
:
36%
;
padding-bottom
:
36%
;
}
}
#RushbuyTime
{
#RushbuyTime
{
font-size
:
0.13rem
;
font-size
:
0.13rem
;
color
:
#e03234
;
color
:
#e03234
;
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
right
:
-18.5%
;
right
:
-18.5%
;
top
:
26%
;
top
:
26%
;
}
}
.rushNocheck
{
.rushNocheck
{
width
:
0.9rem
;
width
:
0.9rem
;
height
:
0.9rem
;
height
:
0.9rem
;
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
margin-right
:
0.2rem
;
margin-right
:
0.2rem
;
display
:
none
;
display
:
none
;
}
}
.rushNocheckTwo
{
.rushNocheckTwo
{
width
:
1rem
;
width
:
1rem
;
height
:
1rem
;
height
:
1rem
;
...
@@ -107,12 +107,12 @@
...
@@ -107,12 +107,12 @@
top
:
0.1rem
;
top
:
0.1rem
;
margin-right
:
0.2rem
;
margin-right
:
0.2rem
;
}
}
.rushNocheckTwo
img
{
.rushNocheckTwo
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
.readXieyi
{
.readXieyi
{
color
:
#fff
;
color
:
#fff
;
font-size
:
1rem
;
font-size
:
1rem
;
...
@@ -121,12 +121,12 @@
...
@@ -121,12 +121,12 @@
position
:
absolute
;
position
:
absolute
;
bottom
:
3rem
;
bottom
:
3rem
;
}
}
.benciXieyi
{
.benciXieyi
{
color
:
#FFCE55
;
color
:
#FFCE55
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.activeXieyi
{
.activeXieyi
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
background
:
rgba
(
0
,
0
,
0
,
.6
);
background
:
rgba
(
0
,
0
,
0
,
.6
);
color
:
#333333
;
color
:
#333333
;
}
}
.xieyiContent
{
.xieyiContent
{
width
:
80%
;
width
:
80%
;
height
:
26rem
;
height
:
26rem
;
...
@@ -147,13 +147,13 @@
...
@@ -147,13 +147,13 @@
margin-top
:
6rem
;
margin-top
:
6rem
;
border-radius
:
1rem
;
border-radius
:
1rem
;
}
}
.xieyiTitle
{
.xieyiTitle
{
font-size
:
1rem
;
font-size
:
1rem
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
}
}
.xieyiNei
{
.xieyiNei
{
width
:
100%
;
width
:
100%
;
height
:
6rem
;
height
:
6rem
;
...
@@ -165,28 +165,28 @@
...
@@ -165,28 +165,28 @@
color
:
#333333
;
color
:
#333333
;
padding
:
0
0.2rem
;
padding
:
0
0.2rem
;
}
}
.xieyiNei
div
{
.xieyiNei
div
{
margin-bottom
:
1rem
;
margin-bottom
:
1rem
;
}
}
.xieyiNei
::-webkit-scrollbar
{
.xieyiNei
::-webkit-scrollbar
{
width
:
4px
;
width
:
4px
;
height
:
8px
;
height
:
8px
;
}
}
.xieyiNei
::-webkit-scrollbar-thumb
{
.xieyiNei
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
border-radius
:
4px
;
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
background
:
#c9c9c9
;
}
}
.xieyiNei
::-webkit-scrollbar-track
{
.xieyiNei
::-webkit-scrollbar-track
{
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
border-radius
:
4px
;
background
:
#EDEDED
;
background
:
#EDEDED
;
}
}
.readBtn
{
.readBtn
{
width
:
6rem
;
width
:
6rem
;
height
:
2.5rem
;
height
:
2.5rem
;
...
@@ -204,17 +204,17 @@
...
@@ -204,17 +204,17 @@
<body>
<body>
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"box"
>
<div
class=
"box"
>
<img
class=
"hongbao"
src=
"
../images
/gongxi1.png"
>
<img
class=
"hongbao"
src=
"
http://acitvityimage.oytour.com/activity
/gongxi1.png"
>
<span
id=
"RushbuyTime"
></span>
<span
id=
"RushbuyTime"
></span>
<div
class=
"anniu"
>
<div
class=
"anniu"
>
</div>
</div>
<!-- <img class="anniu" src="
../images
/gongxi2.png"> -->
<!-- <img class="anniu" src="
http://acitvityimage.oytour.com/activity
/gongxi2.png"> -->
</div>
</div>
<div
class=
"readXieyi"
>
<div
class=
"readXieyi"
>
<div
class=
"rushNocheck"
></div>
<div
class=
"rushNocheck"
></div>
<div
class=
"rushNocheckTwo"
>
<div
class=
"rushNocheckTwo"
>
<img
src=
"
../images
/xyck.png"
alt=
""
/>
<img
src=
"
http://acitvityimage.oytour.com/activity
/xyck.png"
alt=
""
/>
</div>
</div>
<span>
我已阅读并同意
</span><span
class=
"benciXieyi"
>
《本次活动说明》
</span>
<span>
我已阅读并同意
</span><span
class=
"benciXieyi"
>
《本次活动说明》
</span>
</div>
</div>
...
@@ -411,7 +411,6 @@
...
@@ -411,7 +411,6 @@
}
else
{
}
else
{
layer
.
msg
(
res
.
message
)
layer
.
msg
(
res
.
message
)
}
}
layer
.
msg
(
res
.
message
)
// window.location.reload()
// window.location.reload()
...
@@ -432,4 +431,4 @@
...
@@ -432,4 +431,4 @@
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
js/jquery.dataStatistics.js
View file @
93273b0e
...
@@ -78,14 +78,14 @@ $.fn.dataStatistics = function(options) {
...
@@ -78,14 +78,14 @@ $.fn.dataStatistics = function(options) {
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
if
(
options
.
nextAc
==
true
)
{
//显示活动预告
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
...
@@ -212,14 +212,14 @@ $.fn.dataStatistics = function(options) {
...
@@ -212,14 +212,14 @@ $.fn.dataStatistics = function(options) {
}
else
if
(
nowDate
>=
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
//活动结束
}
else
if
(
nowDate
>=
activityEndDate
||
res
.
data
.
activityIsEnding
==
1
)
{
//活动结束
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
if
(
options
.
nextAc
==
true
)
{
//显示活动预告
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
...
@@ -234,19 +234,19 @@ $.fn.dataStatistics = function(options) {
...
@@ -234,19 +234,19 @@ $.fn.dataStatistics = function(options) {
}
else
{
}
else
{
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
".received_img"
).
css
(
'display'
,
"block"
);
$
(
'.img_btn p'
).
html
(
'去使用'
)
$
(
'.img_btn p'
).
html
(
'去使用'
)
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/buy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/buy_btn.png)"
);
}
}
}
else
{
}
else
{
// $(".received_img").attr("src", "");
// $(".received_img").attr("src", "");
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
../images
/MJ_200@3x.png)"
);
$
(
'.img_bg_M'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/MJ_200@3x.png)"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p1'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_bg_p2'
).
css
(
"color"
,
"#CCCCCC"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
css
(
"color"
,
"#FFFFFF"
);
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.img_btn p'
).
html
(
'活动结束'
)
$
(
'.box_content_t'
).
hide
()
$
(
'.box_content_t'
).
hide
()
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
../images
/nobuy_btn.png)"
);
$
(
'.img_btn'
).
css
(
"background-image"
,
"url(
http://acitvityimage.oytour.com/activity
/nobuy_btn.png)"
);
if
(
options
.
nextAc
==
true
)
{
//显示活动预告
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
$
(
'#notice'
).
css
(
'display'
,
"block"
);
...
@@ -305,7 +305,8 @@ $.fn.dataStatistics = function(options) {
...
@@ -305,7 +305,8 @@ $.fn.dataStatistics = function(options) {
// }
// }
// localStorage.buyInfo = JSON.stringify(buyInfo)
// localStorage.buyInfo = JSON.stringify(buyInfo)
window
.
location
.
href
=
`https://activity.oytour.com/html/Rushbuy.html?redemptionPrice=
${
options
.
price
}
&couponId=
${
options
.
couponId
}
&platform=
${
options
.
platform
}
`
;
// window.location.href = `https://activity.oytour.com/html/Rushbuy.html?redemptionPrice=${options.price}&couponId=${options.couponId}&platform=${options.platform}`;
window
.
location
.
href
=
`./Rushbuy.html?redemptionPrice=
${
options
.
price
}
&couponId=
${
options
.
couponId
}
&platform=
${
options
.
platform
}
`
;
}
else
{
}
else
{
let
data
=
{
let
data
=
{
'action'
:
'jump'
,
// showToast->一个提示信息 showHud->一个黑色的loading
'action'
:
'jump'
,
// showToast->一个提示信息 showHud->一个黑色的loading
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment