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
2d10fdfe
Commit
2d10fdfe
authored
Nov 19, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分问题
parent
478213bc
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
245 additions
and
246 deletions
+245
-246
GT_activities.css
css/GT_activities.css
+5
-5
GT_activities.html
html/GT_activities.html
+17
-18
Rushbuy.html
html/Rushbuy.html
+12
-12
coupons.html
html/coupons.html
+19
-19
login.html
html/login.html
+22
-22
pay.html
html/pay.html
+2
-2
paySuccess.html
html/paySuccess.html
+7
-7
jquery.dataStatistics.js
js/jquery.dataStatistics.js
+161
-161
No files found.
css/GT_activities.css
View file @
2d10fdfe
...
@@ -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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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
;
...
...
html/GT_activities.html
View file @
2d10fdfe
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<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=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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>
...
@@ -28,10 +28,10 @@
...
@@ -28,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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/G@3x.png"
alt=
""
class=
"G_img"
>
<h5>
<h5>
</h5>
</h5>
...
@@ -119,10 +119,10 @@
...
@@ -119,10 +119,10 @@
</div> -->
</div> -->
</div>
</div>
<img
src=
"
../images
/received@3x.png"
alt=
""
class=
"received_img"
>
<img
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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>
...
@@ -138,8 +138,8 @@
...
@@ -138,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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/wechat_logo@2x.png"
alt=
""
class=
"app_share_hy"
>
<img
src=
"
../images
/pengyouquan@2x.png"
alt=
""
class=
"app_share_pyq"
>
<img
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/pengyouquan@2x.png"
alt=
""
class=
"app_share_pyq"
>
</div>
</div>
</div>
</div>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
</div>
</div>
<div
class=
"notice_img"
>
<div
class=
"notice_img"
>
<img
src=
"
../images
/notice_2.png"
alt=
""
>
<img
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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>
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
<!--<script type="text/javascript" src="js/countdown.js"></script>-->
<!--<script type="text/javascript" src="js/countdown.js"></script>-->
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
src=
"../js/jquery.dataStatistics.js?r=
bnm87665
"
></script>
<script
src=
"../js/jquery.dataStatistics.js?r=
542342342
"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"../js/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"../js/yql.js"
></script>
<script
type=
"text/javascript"
src=
"../js/yql.js"
></script>
...
@@ -223,7 +223,7 @@
...
@@ -223,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
=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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
}
"/>
...
@@ -422,7 +422,7 @@
...
@@ -422,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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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", "");
...
@@ -432,13 +432,13 @@
...
@@ -432,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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
...
@@ -461,19 +461,19 @@
...
@@ -461,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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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"
);
...
@@ -701,7 +701,6 @@
...
@@ -701,7 +701,6 @@
window
.
postMessage
(
JSON
.
stringify
(
data
));
window
.
postMessage
(
JSON
.
stringify
(
data
));
})
})
</script>
</script>
</body>
</body>
...
...
html/Rushbuy.html
View file @
2d10fdfe
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
.main
{
.main
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
url(
../images
/gongxi4.jpg)
no-repeat
;
background
:
url(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/gongxi4.jpg)
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
background-color
:
#8d54cc
;
background-color
:
#8d54cc
;
position
:
relative
;
position
:
relative
;
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
opacity
:
1
;
opacity
:
1
;
text-align
:
center
;
text-align
:
center
;
}
}
/* .main .box.nomove {
/* .main .box.nomove {
top: 40%;
top: 40%;
opacity: 1;
opacity: 1;
...
@@ -56,7 +55,7 @@
...
@@ -56,7 +55,7 @@
position
:
absolute
;
position
:
absolute
;
left
:
18%
;
left
:
18%
;
bottom
:
15%
;
bottom
:
15%
;
background
:
url(
../images
/gongxi22.png)
;
background
:
url(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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
;
...
@@ -201,17 +200,17 @@
...
@@ -201,17 +200,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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/xyck.png"
alt=
""
/>
</div>
</div>
<span>
我已阅读并同意
</span><span
class=
"benciXieyi"
>
《本次活动说明》
</span>
<span>
我已阅读并同意
</span><span
class=
"benciXieyi"
>
《本次活动说明》
</span>
</div>
</div>
...
@@ -372,7 +371,6 @@
...
@@ -372,7 +371,6 @@
}
}
// 跳转到支付
// 跳转到支付
else
if
(
platform
==
'xcx'
)
{
else
if
(
platform
==
'xcx'
)
{
// window.postMessage(JSON.stringify(data));
let
data
=
{};
let
data
=
{};
data
.
sOrderNo
=
res
.
data
.
id
;
data
.
sOrderNo
=
res
.
data
.
id
;
data
.
sProductName
=
title
;
data
.
sProductName
=
title
;
...
@@ -407,6 +405,7 @@
...
@@ -407,6 +405,7 @@
}));
}));
}
else
{
}
else
{
layer
.
msg
(
res
.
message
)
layer
.
msg
(
res
.
message
)
location
.
href
=
'https://activity.oytour.com/html/login.html'
}
}
// window.location.reload()
// window.location.reload()
...
@@ -421,6 +420,7 @@
...
@@ -421,6 +420,7 @@
}));
}));
}
else
if
(
platform
==
'H5'
)
{
}
else
if
(
platform
==
'H5'
)
{
layer
.
close
(
loadingFlag
);
layer
.
close
(
loadingFlag
);
location
.
href
=
'https://activity.oytour.com/html/login.html?r=123123123'
}
}
}
}
});
});
...
...
html/coupons.html
View file @
2d10fdfe
...
@@ -424,7 +424,7 @@
...
@@ -424,7 +424,7 @@
<div
class=
"coupons_Content"
>
<div
class=
"coupons_Content"
>
<!-- <div class="coupons_List">
<!-- <div class="coupons_List">
<div class="Coupon_leftImg">
<div class="Coupon_leftImg">
<img src="
../images
/login/gty.png" alt=""/>
<img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/gty.png" alt=""/>
<div class="dikouPrice">
<div class="dikouPrice">
<span>¥</span>20
<span>¥</span>20
</div>
</div>
...
@@ -444,7 +444,7 @@
...
@@ -444,7 +444,7 @@
</div>
</div>
<div class="coupons_List">
<div class="coupons_List">
<div class="Coupon_leftImg">
<div class="Coupon_leftImg">
<img src="
../images
/login/zyx.png" alt=""/>
<img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/zyx.png" alt=""/>
<div class="dikouPrice">
<div class="dikouPrice">
<span>¥</span>20
<span>¥</span>20
</div>
</div>
...
@@ -465,9 +465,9 @@
...
@@ -465,9 +465,9 @@
</div>
</div>
<div
class=
"goToDownLoad"
>
<div
class=
"goToDownLoad"
>
<div>
<div>
<img
class=
"downloadImg"
src=
"
../images
/godownload.png"
alt=
""
/>
<img
class=
"downloadImg"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/godownload.png"
alt=
""
/>
<span
onclick=
"goDownLoad()"
>
<span
onclick=
"goDownLoad()"
>
下载同业App使用
<img
src=
"
../images
/arrowR.png"
alt=
""
/>
下载同业App使用
<img
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/arrowR.png"
alt=
""
/>
</span>
</span>
</div>
</div>
</div>
</div>
...
@@ -544,34 +544,34 @@
...
@@ -544,34 +544,34 @@
str
+=
`<div class="coupons_List">
str
+=
`<div class="coupons_List">
<div class="Coupon_leftImg">`
<div class="Coupon_leftImg">`
if
(
dataArr
[
i
].
couponsUseScope
==
1
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
1
)
{
str
+=
` <img src="
../images
/login/gty.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/gty.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
2
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
2
)
{
str
+=
` <img src="
../images
/login/gty.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/gty.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
7
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
7
)
{
str
+=
` <img src="
../images
/login/zyx.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/zyx.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
8
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
8
)
{
str
+=
` <img src="
../images
/login/ddy.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/ddy.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
5
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
5
)
{
str
+=
` <img src="
../images
/login/mp.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/mp.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
11
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
11
)
{
str
+=
` <img src="
../images
/login/dzy.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/dzy.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
10
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
10
)
{
str
+=
` <img src="
../images
/login/meishi.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/meishi.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
3
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
3
)
{
str
+=
` <img src="
../images
/login/qz.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/qz.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponsUseScope
==
4
)
{
if
(
dataArr
[
i
].
couponsUseScope
==
4
)
{
str
+=
` <img src="
../images
/login/jp.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/jp.png" alt=""/>`
}
}
if
(
dataArr
[
i
].
couponEffectStatus
==
3
)
{
if
(
dataArr
[
i
].
couponEffectStatus
==
3
)
{
str
+=
` <img src="
../images
/login/guoqi.png" alt=""/>`
str
+=
` <img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/guoqi.png" alt=""/>`
}
}
str
+=
`<div class="dikouPrice">
str
+=
`<div class="dikouPrice">
...
@@ -592,22 +592,22 @@
...
@@ -592,22 +592,22 @@
</div>`
</div>`
str
+=
`</div>`
str
+=
`</div>`
if
(
dataArr
[
i
].
fromPlatform
==
0
)
{
if
(
dataArr
[
i
].
fromPlatform
==
0
)
{
str
+=
`<img class="goToUse" src="
../images
/login/all.png"/>`
str
+=
`<img class="goToUse" src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/all.png"/>`
}
}
if
(
dataArr
[
i
].
fromPlatform
==
1
)
{
if
(
dataArr
[
i
].
fromPlatform
==
1
)
{
str
+=
`<img class="goToUse" src='
../images
/login/app.png'/>`
str
+=
`<img class="goToUse" src='
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/app.png'/>`
}
}
if
(
dataArr
[
i
].
fromPlatform
==
2
)
{
if
(
dataArr
[
i
].
fromPlatform
==
2
)
{
str
+=
`<img class="goToUse" src='
../images
/login/xcx.png'/>`
str
+=
`<img class="goToUse" src='
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/xcx.png'/>`
}
}
if
(
dataArr
[
i
].
fromPlatform
==
3
)
{
if
(
dataArr
[
i
].
fromPlatform
==
3
)
{
str
+=
`<img class="goToUse" src='
../images
/login/pc.png'/>`
str
+=
`<img class="goToUse" src='
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/pc.png'/>`
}
}
str
+=
`</div>`
str
+=
`</div>`
}
}
}
else
{
}
else
{
str
+=
`<div class="zanwu">
str
+=
`<div class="zanwu">
<img src="
../images
/login/zanwu.png" alt=""/>
<img src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login/zanwu.png" alt=""/>
<div class="zanwurenhe">暂无任何优惠券</div>
<div class="zanwurenhe">暂无任何优惠券</div>
</div>`
</div>`
}
}
...
...
html/login.html
View file @
2d10fdfe
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
background-image
:
url('
../images
/login_bg.jpg')
;
background-image
:
url('
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_bg.jpg')
;
background-size
:
cover
;
background-size
:
cover
;
}
}
...
@@ -277,22 +277,22 @@
...
@@ -277,22 +277,22 @@
<div
class=
"login_denglu"
>
<div
class=
"login_denglu"
>
<div
class=
'page__bd'
>
<div
class=
'page__bd'
>
<div
class=
"headBg"
>
<div
class=
"headBg"
>
<img
class=
"headBgImg"
src=
"
../images
/login_content.png"
/>
<img
class=
"headBgImg"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_content.png"
/>
<div
class=
'header'
>
<div
class=
'header'
>
<img
class=
'header_image'
src=
'
../images
/login_elp.png'
>
<img
class=
'header_image'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_elp.png'
>
<span
class=
'header_span'
>
Welcome
</span>
<span
class=
'header_span'
>
Welcome
</span>
</div>
</div>
<div
class=
'form'
>
<div
class=
'form'
>
<div
class=
'form_item1'
>
<div
class=
'form_item1'
>
<div
class=
'form_item_inBox'
>
<div
class=
'form_item_inBox'
>
<img
class=
'form_item_ico'
src=
'
../images
/ico_lock1.png'
/>
<img
class=
'form_item_ico'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/ico_lock1.png'
/>
<span
class=
"login_Zh"
>
账号
</span>
<span
class=
"login_Zh"
>
账号
</span>
<input
class=
'form_item_input'
id=
"UserAccount"
type=
'number'
placeholder=
"请输入手机号"
></input>
<input
class=
'form_item_input'
id=
"UserAccount"
type=
'number'
placeholder=
"请输入手机号"
></input>
</div>
</div>
</div>
</div>
<div
class=
'form_item2'
>
<div
class=
'form_item2'
>
<div
class=
'form_item_inBox'
>
<div
class=
'form_item_inBox'
>
<img
class=
'form_item_ico'
src=
'
../images
/ico_lock2.png'
/>
<img
class=
'form_item_ico'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/ico_lock2.png'
/>
<span
class=
"login_Zh"
>
密码
</span>
<span
class=
"login_Zh"
>
密码
</span>
<input
class=
'form_item_input'
id=
"passWord"
type=
"password"
placeholder=
"请输入密码"
></input>
<input
class=
'form_item_input'
id=
"passWord"
type=
"password"
placeholder=
"请输入密码"
></input>
</div>
</div>
...
@@ -313,29 +313,29 @@
...
@@ -313,29 +313,29 @@
<div
class=
"login_jihuo"
>
<div
class=
"login_jihuo"
>
<div
class=
'page__bd'
>
<div
class=
'page__bd'
>
<div
class=
"headBg"
style=
"height:60rem;"
>
<div
class=
"headBg"
style=
"height:60rem;"
>
<img
class=
"headBgImg"
src=
"
../images
/login_content.png"
/>
<img
class=
"headBgImg"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_content.png"
/>
<div
class=
'header'
>
<div
class=
'header'
>
<img
class=
'header_image'
src=
'
../images
/login_elp.png'
>
<img
class=
'header_image'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_elp.png'
>
<span
class=
'header_span'
>
Welcome
</span>
<span
class=
'header_span'
>
Welcome
</span>
</div>
</div>
<div
class=
'form'
>
<div
class=
'form'
>
<div
class=
'form_item1'
>
<div
class=
'form_item1'
>
<div
class=
'form_item_inBox'
>
<div
class=
'form_item_inBox'
>
<img
class=
'form_item_ico'
src=
'
../images
/ico_lock1.png'
/>
<img
class=
'form_item_ico'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/ico_lock1.png'
/>
<span
class=
"login_Zh"
>
账号
</span>
<span
class=
"login_Zh"
>
账号
</span>
<input
class=
'form_item_input'
type=
'number'
id=
"Activation_Account"
placeholder=
"请输入手机号"
></input>
<input
class=
'form_item_input'
type=
'number'
id=
"Activation_Account"
placeholder=
"请输入手机号"
></input>
</div>
</div>
</div>
</div>
<div
class=
'form_item2'
>
<div
class=
'form_item2'
>
<div
class=
'form_item_inBox'
>
<div
class=
'form_item_inBox'
>
<img
class=
'form_item_ico'
src=
'
../images
/ico_lock2.png'
/>
<img
class=
'form_item_ico'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/ico_lock2.png'
/>
<span
class=
"login_Zh"
>
密码
</span>
<span
class=
"login_Zh"
>
密码
</span>
<input
class=
'form_item_input'
type=
"password"
id=
"Activation_password"
placeholder=
"请输入密码"
></input>
<input
class=
'form_item_input'
type=
"password"
id=
"Activation_password"
placeholder=
"请输入密码"
></input>
</div>
</div>
</div>
</div>
<div
class=
'form_item2'
>
<div
class=
'form_item2'
>
<div
class=
'form_item_inBox'
>
<div
class=
'form_item_inBox'
>
<img
class=
'form_item_ico'
src=
'
../images
/ico_yzm.png'
style=
"margin-top:1rem;"
/>
<img
class=
'form_item_ico'
src=
'
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/ico_yzm.png'
style=
"margin-top:1rem;"
/>
<span
class=
"login_Zh"
>
验证码
</span>
<span
class=
"login_Zh"
>
验证码
</span>
<input
class=
'form_validate_input'
id=
"Activation_valicode"
placeholder=
"请输入验证码"
></input>
<input
class=
'form_validate_input'
id=
"Activation_valicode"
placeholder=
"请输入验证码"
></input>
<span
class=
"login_yzm"
onclick=
"getCode()"
>
发送验证码
</span>
<span
class=
"login_yzm"
onclick=
"getCode()"
>
发送验证码
</span>
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
</div>
</div>
<div
class=
"login_Agreement"
>
<div
class=
"login_Agreement"
>
<div
class=
"login_AgreeTitle"
>
<div
class=
"login_AgreeTitle"
>
<img
onclick=
"gobackLogin()"
src=
"
../images
/login_arrowleft.jpg"
/>
用户协议
<img
onclick=
"gobackLogin()"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/login_arrowleft.jpg"
/>
用户协议
</div>
</div>
<div
class=
"boxcenter"
>
<div
class=
"boxcenter"
>
<h1>
《用户协议和法律协议》 本协议为您与本APP管理者之间所订立的契约,具有合同的法律效力,请您仔细阅读。
</h1>
<h1>
《用户协议和法律协议》 本协议为您与本APP管理者之间所订立的契约,具有合同的法律效力,请您仔细阅读。
</h1>
...
@@ -379,17 +379,17 @@
...
@@ -379,17 +379,17 @@
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
src=
"../js/md5.js"
></script>
<script
src=
"../js/md5.js"
></script>
<script>
<script>
if
(
localStorage
.
u
)
{
//
if (localStorage.u) {
let
userInfo
=
{}
//
let userInfo = {}
try
{
//
try {
userInfo
=
JSON
.
parse
(
localStorage
.
u
);
//
userInfo = JSON.parse(localStorage.u);
if
(
userInfo
.
customerId
)
{
//
if (userInfo.customerId) {
window
.
location
.
href
=
'https://activity.oytour.com/html/GT_activities.html'
;
//
window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
}
//
}
}
catch
(
e
)
{
//
} catch (e) {
window
.
location
.
href
=
'https://activity.oytour.com/html/login.html'
;
//
window.location.href = 'https://activity.oytour.com/html/login.html';
}
//
}
}
//
}
//跳转至激活
//跳转至激活
function
goJihuo
()
{
function
goJihuo
()
{
$
(
".login_denglu"
).
css
({
$
(
".login_denglu"
).
css
({
...
...
html/pay.html
View file @
2d10fdfe
...
@@ -155,11 +155,11 @@
...
@@ -155,11 +155,11 @@
</div>
</div>
<div
class=
"pay_zhifu"
>
<div
class=
"pay_zhifu"
>
<img
class=
"pay_one"
src=
"
../images
/wechat.png"
alt=
""
/>
<img
class=
"pay_one"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/wechat.png"
alt=
""
/>
<span
class=
"pay_two"
>
微信支付
</span>
<span
class=
"pay_two"
>
微信支付
</span>
<div
class=
"pay_three"
>
<div
class=
"pay_three"
>
<!-- <div class="pay_circle"></div> -->
<!-- <div class="pay_circle"></div> -->
<img
src=
"
../images
/checkbox.png"
aly=
""
/>
<img
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/checkbox.png"
aly=
""
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
html/paySuccess.html
View file @
2d10fdfe
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
text-align
:
center
;
text-align
:
center
;
background
:
url('
../images
/bg.jpg')
no-repeat
;
background
:
url('
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/bg.jpg')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding-top
:
3.1rem
;
padding-top
:
3.1rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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
;
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
.img_bg_M
.imgBtn
{
.img_bg_M
.imgBtn
{
margin-top
:
0.08rem
;
margin-top
:
0.08rem
;
background
:
url('
../images
/buy_btn.png')
no-repeat
;
background
:
url('
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/buy_btn.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding
:
0.09rem
0.12rem
;
padding
:
0.09rem
0.12rem
;
}
}
...
@@ -162,12 +162,12 @@
...
@@ -162,12 +162,12 @@
有效截止日期:
有效截止日期:
</p>
</p>
<p
class=
"imgBtn"
style=
"font-size: 0.15rem;color: #E03234;"
>
返回活动首页
</p>
<p
class=
"imgBtn"
style=
"font-size: 0.15rem;color: #E03234;"
>
返回活动首页
</p>
<img
class=
"ylImg"
src=
"
../images
/received@3x.png"
alt=
""
>
<img
class=
"ylImg"
src=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/received@3x.png"
alt=
""
>
</div>
</div>
<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=
"
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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>
...
@@ -245,11 +245,11 @@
...
@@ -245,11 +245,11 @@
有效截止日期:
${
activityEndDate
}
有效截止日期:
${
activityEndDate
}
</p>
</p>
<p class="imgBtn" style="font-size: 0.15rem;color: #E03234;">返回活动首页</p>
<p class="imgBtn" style="font-size: 0.15rem;color: #E03234;">返回活动首页</p>
<img class="ylImg" src="
../images
/pay/yl.png" alt="">
<img class="ylImg" src="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/pay/yl.png" alt="">
</div>
</div>
<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="
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/tx_bg.png" alt="">
<div>
<div>
<p class="use_o">
${
data
.
contact
}
</p>
<p class="use_o">
${
data
.
contact
}
</p>
<p class="use_t">
${
data
.
customerName
}
</p>
<p class="use_t">
${
data
.
customerName
}
</p>
...
...
js/jquery.dataStatistics.js
View file @
2d10fdfe
...
@@ -78,13 +78,13 @@ $.fn.dataStatistics = function(options) {
...
@@ -78,13 +78,13 @@ $.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/nobuy_btn.png)"
);
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
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"
);
...
@@ -216,11 +216,11 @@ $.fn.dataStatistics = function(options) {
...
@@ -216,11 +216,11 @@ $.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
...
@@ -238,18 +238,18 @@ $.fn.dataStatistics = function(options) {
...
@@ -238,18 +238,18 @@ $.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(
https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/nobuy_btn.png)"
);
if
(
options
.
nextAc
==
true
&&
$
(
'notice_img'
).
css
(
"display"
)
==
"none"
)
{
//显示活动预告
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"
);
...
@@ -289,7 +289,7 @@ $.fn.dataStatistics = function(options) {
...
@@ -289,7 +289,7 @@ $.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
}
&r=123123123123
`
;
//window.location.href = `./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
=
{
...
@@ -328,7 +328,7 @@ $.fn.dataStatistics = function(options) {
...
@@ -328,7 +328,7 @@ $.fn.dataStatistics = function(options) {
})
})
//页面所有数据请求一次 5分钟来一次
//页面所有数据请求一次 5分钟来一次
var
timer3
=
setInterval
(()
=>
{
var
timer3
=
setInterval
(()
=>
{
clearInterval
(
timer2
);
clearInterval
(
timer2
);
clearInterval
(
timer3
);
clearInterval
(
timer3
);
...
@@ -418,7 +418,7 @@ $.fn.dataStatistics = function(options) {
...
@@ -418,7 +418,7 @@ $.fn.dataStatistics = function(options) {
$
(
'#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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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", "");
...
@@ -428,13 +428,13 @@ $.fn.dataStatistics = function(options) {
...
@@ -428,13 +428,13 @@ $.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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity
/nobuy_btn.png)"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.dataStatistics'
).
css
(
'display'
,
"none"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
$
(
'.deta_replace'
).
css
(
'display'
,
"flex"
);
...
@@ -457,19 +457,19 @@ $.fn.dataStatistics = function(options) {
...
@@ -457,19 +457,19 @@ $.fn.dataStatistics = function(options) {
}
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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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(https://vt-im-bucket.oss-cn-chengdu.aliyuncs.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"
);
...
...
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