Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ypl_share_web
Overview
Overview
Details
Activity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄秀兰
ypl_share_web
Commits
19415895
Commit
19415895
authored
May 31, 2016
by
黄秀兰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulic countdown port
parent
101d2a1f
Pipeline
#477
skipped in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
src/js/countdown.js
+3
-12
src/pages/sale.html
+8
-0
No files found.
src/js/countdown.js
View file @
19415895
!
(
function
(
$
)
{
!
(
function
(
global
,
$
)
{
// DOM相关变量
var
count_down_time
=
$
(
'.count-down-time'
);
...
...
@@ -65,19 +65,10 @@
count_down_time
.
find
(
'.seconds'
).
text
(
gap_second_integer
);
}
setTimeout
(
function
()
{
countDown
(
'2016-10-31 12:12:12'
);
}
,
0
);
}
setTimeout
(
function
()
{
countDown
(
'2016-10-31 12:12:12'
);
},
0
)
;
global
.
countDown
=
countDown
;
}(
jQuery
));
}(
window
,
jQuery
));
src/pages/sale.html
View file @
19415895
...
...
@@ -260,6 +260,14 @@
}
$
(
tabContent
[
index
]).
addClass
(
'active'
);
});
// 倒计时
setInterval
(
function
()
{
countDown
(
'2016-10-31 12:12:12'
);
}
,
0
);
});
</script>
</body>
...
...
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