forget_password.html
2.4 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>登录</title>
<link href="__TMPL__Public/assets/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__Public/assets/css/common.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__Public/assets/css/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
<tc_include file="Public:header"/>
<tc_include file="Public:nav"/>
<div class="form-admin-wrap">
<div class="form-in-main">
<div class="form-popmain">
<div class="form-header">密码找回</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="请输入手机号码" />
</div>
<div class="form-group form-code-group">
<input type="text" class="form-control" placeholder="请输入短信验证码" />
<input type="button" value="获取验证码" id="btn" class="btnCode" onclick="settime(this)"/>
</div>
<div class="form-group">
<input type="text" id="input_password" name="password" class="form-control" placeholder="请输入新密码" />
</div>
<div class="form-group">
<input type="text" id="input_repassword" name="repassword" class="form-control" placeholder="请再次输入新密码" />
</div>
<div class="form-button">
<button type="button" class="btn-submit">确认提交</button>
</div>
<div class="form-footer">
<a href="{:U('User/Login/index')}" class="cur">去登录></a>
</div>
</div>
</div>
</div>
<tc_include file="Public:footer"/>
<!-- js -->
<script src="__TMPL__Public/assets/js/jquery.min.js"></script>
<script src="__TMPL__Public/assets/js/common.js"></script>
<script type="text/javascript">
var countdown=60;
function settime(obj) {
if (countdown == 0) {
obj.removeAttribute("disabled");
obj.value="点击获取";
countdown = 60;
return;
} else {
obj.setAttribute("disabled", true);
obj.value="重新发送(" + countdown + ")";
countdown--;
}
setTimeout(function() {
settime(obj) }
,1000)
}
</script>
<tc_include file="Public:script"/>
</body>
</html>