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
d074502c
Commit
d074502c
authored
Nov 25, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动结束的展示
parent
c488a216
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
GT_activities.html
html/GT_activities.html
+7
-4
jquery.dataStatistics.js
js/jquery.dataStatistics.js
+4
-2
No files found.
html/GT_activities.html
View file @
d074502c
...
...
@@ -155,7 +155,8 @@
</div>
<div
class=
"notice_img"
>
<img
src=
"https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity/notice_2.png"
alt=
""
>
<!-- <img src="https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com/activity/notice_2.png" alt="">-->
<img
src=
""
alt=
""
>
<p
class=
"notice_name"
>
尊敬的客户
</p>
<p
class=
"notice_content"
></p>
<p
class=
"notice_content2"
></p>
...
...
@@ -169,7 +170,7 @@
<!--<script type="text/javascript" src="js/countdown.js"></script>-->
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
src=
"../js/jquery.dataStatistics.js?r=ef
m
54202"
></script>
<script
src=
"../js/jquery.dataStatistics.js?r=ef
h00
54202"
></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/yql.js"
></script>
...
...
@@ -394,6 +395,8 @@
// let activityStartDate = new Date('2019/11/08 17:43:50').getTime();
// let activityEndDate = new Date('2019/11/14 11:23:00').getTime(); //活动结束时间
$
(
'.notice_content'
).
html
(
'本次1118活动已圆满结束,感谢各位同业会员的支持与厚爱,我们将秉持印象之旅的初心,陆续推出更多的让利活动,请您持续关注,印象之旅全体员工祝各位老板生意兴隆'
);
if
(
nextActivity
!=
null
)
{
let
nexttime
=
nextActivity
.
activityStartDate
;
...
...
@@ -401,8 +404,8 @@
let
month
=
nexttime
.
split
(
'T'
)[
0
].
split
(
'-'
)[
1
];
let
day
=
nexttime
.
split
(
'T'
)[
0
].
split
(
'-'
)[
2
];
let
hour
=
nexttime
.
split
(
'T'
)[
1
].
split
(
':'
)[
0
];
$
(
'.notice_content'
).
html
(
'下期活动将于'
+
year
+
'年'
+
month
+
'月'
+
day
+
'日'
+
hour
+
'点开始。'
);
$
(
'.notice_content2'
).
html
(
'届时会有'
+
nextActivity
.
couponCount
+
'张价值'
+
nextActivity
.
denomination
+
'的折扣券等待您的抢 购(抢购价'
+
nextActivity
.
redemptionPrice
+
'元),请准时参加。'
);
//
$('.notice_content').html('下期活动将于' + year + '年' + month + '月' + day + '日' + hour + '点开始。');
//
$('.notice_content2').html('届时会有' + nextActivity.couponCount + '张价值' + nextActivity.denomination + '的折扣券等待您的抢 购(抢购价' + nextActivity.redemptionPrice + '元),请准时参加。');
// var time2 = setInterval(setTimer3, 1000); //计时器
let
beforeDawn
=
new
Date
(
year
+
'/'
+
month
+
'/'
+
day
+
' 00:00:00'
).
getTime
()
let
time
=
((
beforeDawn
-
nowDate
)
/
1000
).
toFixed
(
0
);
...
...
js/jquery.dataStatistics.js
View file @
d074502c
...
...
@@ -386,6 +386,8 @@ $.fn.dataStatistics = function(options) {
// let activityStartDate = new Date('2019/11/08 17:43:50').getTime();
// let activityEndDate = new Date('2019/11/14 11:23:00').getTime(); //活动结束时间
$
(
'.notice_content'
).
html
(
'本次1118活动已圆满结束,感谢各位同业会员的支持与厚爱,我们将秉持印象之旅的初心,陆续推出更多的让利活动,请您持续关注,印象之旅全体员工祝各位老板生意兴隆'
);
if
(
nextActivity
!=
null
)
{
let
nexttime
=
nextActivity
.
activityStartDate
;
...
...
@@ -393,8 +395,8 @@ $.fn.dataStatistics = function(options) {
let
month
=
nexttime
.
split
(
'T'
)[
0
].
split
(
'-'
)[
1
];
let
day
=
nexttime
.
split
(
'T'
)[
0
].
split
(
'-'
)[
2
];
let
hour
=
nexttime
.
split
(
'T'
)[
1
].
split
(
':'
)[
0
];
$
(
'.notice_content'
).
html
(
'下期活动将于'
+
year
+
'年'
+
month
+
'月'
+
day
+
'日'
+
hour
+
'点开始。'
);
$
(
'.notice_content2'
).
html
(
'届时会有'
+
nextActivity
.
couponCount
+
'张价值'
+
nextActivity
.
denomination
+
'的折扣券等待您的抢 购(抢购价'
+
nextActivity
.
redemptionPrice
+
'元),请准时参加。'
);
//
$('.notice_content').html('下期活动将于' + year + '年' + month + '月' + day + '日' + hour + '点开始。');
//
$('.notice_content2').html('届时会有' + nextActivity.couponCount + '张价值' + nextActivity.denomination + '的折扣券等待您的抢 购(抢购价' + nextActivity.redemptionPrice + '元),请准时参加。');
// var time2 = setInterval(setTimer3, 1000); //计时器
let
beforeDawn
=
new
Date
(
year
+
'/'
+
month
+
'/'
+
day
+
' 00:00:00'
).
getTime
()
let
time
=
((
beforeDawn
-
nowDate
)
/
1000
).
toFixed
(
0
);
...
...
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