validate.hbs
6.18 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<div class="title">
<h2>{{subTitle}}<span>{{enTitle}}</span></h2>
</div>
<div class="check-safe">
<ul class="progress-bar {{progressCur}}">
{{#each progress}}
<li {{#iscur}}class="cur" {{/iscur}}>{{progressName}}</li>
{{/each}}
</ul>
<div class="form-nav">
<input type="hidden" value="{{verifyType}}" id="verifyType"/>
{{#if returnInfo}}
{{# complete}}
<div class="result-info">
<span class="res-info {{resClass}}">{{resInfo}}</span>
</div>
{{/ complete}}
{{# sendEmail}}
<div class="result-email">
<p class="font14"><span>已发送验证邮件至:</span><span class="rgb6">{{emailInfo}}</span></p>
<div class="info-detail rgb6"><span>验证邮件24小时内有效,请尽快登录您的邮箱点击验证链接完成验证。</span></div>
<div><a target="_blank" href="{{emailUrl}}" class="button-icon button-red"><span><i>查看验证邮件</i></span></a></div>
</div>
{{/ sendEmail}}
{{^}}
{{# formInfo}}
<form id="pwdform" method="post">
<ul class="check-user user-form-ul">
{{#each formData}}
<li class="user-form-li">
<div class="safe-form-l">{{inputTxt}}:</div>
<div class="safe-form-r">
{{#if isVerify}}
<span class="rgb6" id="isVerifyType">{{verifyAccount}}</span>
<input type="hidden" value="{{realAccount}}" id="realAccount"/>
{{^}}
<input id="{{key}}" name="{{name}}" class="input-text" type="{{type}}" value="">
<div class="check-info"></div>
{{/if}}
</div>
</li>
{{/each}}
{{#if mobileCode}}
{{#if_cond step '===' 2}}
<!-- 这部分是手机验证第二部,需要不同的验证码 -->
<li class="user-form-li captcha-li {{#unless @root.captcha.value}}hide{{/unless}}">
<div class="safe-form-l">图形验证码:</div>
<div class="captcha-safe-form-r"></div>
</li>
<li class="user-form-li">
<div class="safe-form-l">手机验证码:</div>
<div class="safe-form-r">
<input name="smscode" id="inputcode2" class="input-code" type="text" value="">
<a href="javascript:void(0);" class="button-icon button-sliver" id="send-mobile-code2"><span><i id="sendButton">发送验证码</i></span></a>
<div class="check-info"></div>
</div>
</li>
{{^}}
<li class="user-form-li captcha-li {{#unless @root.captcha.value}}hide{{/unless}}">
<div class="safe-form-l">图形验证码:</div>
<div class="captcha-safe-form-r"></div>
</li>
<li class="user-form-li">
<div class="safe-form-l">手机验证码:</div>
<div class="safe-form-r">
<input name="code" id="inputcode" class="input-code" type="text" value="">
<a href="javascript:void(0);" class="button-icon button-sliver" id="send-mobile-code"><span><i id="sendButton">发送验证码</i></span></a>
<div class="check-info"></div>
</div>
</li>
{{/if_cond}}
{{/if}}
{{#if ischeckEmail}}
<li class="user-form-li captcha-li">
<div class="safe-form-l">图形验证码:</div>
<div class="captcha-safe-form-r"></div>
</li>
{{/if}}
<li class="user-form-li">
<div class="safe-form-l"> </div>
<div class="safe-form-r">
<a href="javascript:void(0);" class="button-icon button-red sub-btn">
<span>
<i>
{{#if ischeckEmail}}
发送验证邮件
{{^}}
提交
{{/if}}
<b class="btn-jt"></b>
</i>
</span>
</a>
<input type="reset" style="display:none;" />
</div>
</li>
</ul>
</form>
{{/ formInfo}}
{{/if}}
</div>
</div>
<div class="main-info">
<p class="p1">为什么要进行身份验证?</p>
<p>1. 为保障您的账户信息安全,在变更账户中的重要信息时需要进行身份验证,感谢您的理解和支持。</p>
<p>2. 验证身份遇到问题?请拨打客服电话<span class="blue2">400-889-9646</span>,客服将尽快联系您。</p>
</div>
{{> gee-captcha}}