reset-success.hbs
2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{{> sign-header}}
<div class="reset-success-page back-page passport-page yoho-page clearfix">
<ul>
<li class="clearfix">
<div class="title">密码重置</div>
</li>
<div class="indicator">
<li class="clearfix small">
<div class="draw">
<div class="step first cur-step">
<div class="circle"></div>
</div>
<div class="step">
<div class="line cur-step"></div>
</div>
<div class="step second">
<div class="circle"></div>
</div>
<div class="step">
<div class="line cur-step"></div>
</div>
<div class="step third cur-step">
<div class="circle"></div>
</div>
</div>
</li>
<li class="clearfix small">
<div class="text">
<div class="step first cur-step">验证身份</div>
<div class="step second cur-step">重置密码</div>
<div class="step third cur-step">重置成功</div>
</div>
</li>
</div>
<li style="margin-bottom: 0">
</li>
<div class="success-text">
<div class="title">恭喜您设置完成,请妥善保存您的密码!</div>
<div class="time">页面将在 <span id="count-down" class="blue">5</span> 秒后将跳转至首页</div>
</div>
</ul>
</div>
<script type="text/javascript">
(function () {
var count = 5,
countDown = document.getElementById('count-down');
console.log(countDown);
var timer = setInterval(function () {
if (count > 1) {
count--;
countDown.innerHTML = count;
} else {
location.href = '/';
}
}, 1000);
})();
</script>