Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
unknown
9 years ago
Commit
6ed5f0a39737dee046dae80afe8fe6f74bbc44e8
1 parent
7007a4cb
倒计时js @review by 王成龙
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
template/www.yohobuy.com/actions/passport/back/reset-success.phtml
template/www.yohobuy.com/actions/passport/back/reset-success.phtml
View file @
6ed5f0a
...
...
@@ -11,3 +11,19 @@
{
{/
resetSuccess
}
}
</div>
{
{>
layout/footer
}
}
<script
type=
"text/javascript"
>
(function()
{
var
count
=
5,
countDown
=
document.getElementById('count-down');
var
timer
=
setInterval(function(){
if
(count
>
1)
{
count--;
countDown.innerHTML
=
count;
}
else
{
location.href
=
'/';
}
},
1000
);
})();
</script>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment