stu-identity.hbs
4.36 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
<div class="stu-identity clearfix">
<div class="identity-count">
<div class="yoho-circle"></div>
<p class="give-coin">验证成功即送<span>{{identityItem.sendCoin}}</span>个有货币</p>
<p class="identity-info">目前全国已有</p>
<div class="stu-num">
{{#identityItem.stuNum}}
<span>{{this}}</span>
{{/identityItem.stuNum}}
</div>
<p class="stu-ident"><i class="iconfont star-icon"></i>学生已认证<i class="iconfont star-icon"></i></p>
</div>
<div id="identity-wrap" class="identity-wrap">
<form id="identity-form" class="identity-form {{#if verifyRusult}} hide {{/if}}">
<div class="form-group">
<label><span class="star">*</span>真实姓名:</label>
<input id="stu-name" class="ident-inp" type="text" name="stu-name" placeholder="请输入您的姓名">
</div>
<div class="form-group">
<label><span class="star">*</span>身份证号:</label>
<input id="stu-idNum" class="ident-inp" type="text" name="stu-idNum" placeholder="请输入您的身份证号">
</div>
<div class="form-group select-group">
<label><span class="star">*</span>学校地区:</label>
<input id="stu-province" class="ident-inp" type="text" name="stu-province">
<div class="ident-select-wrap gray-p ">
<i class="iconfont arrow-down"></i>
<div id="stu-province-show" class="select-value" >请选择省份</div>
<ul id="stu-province-ul" class="select-ul select-more-line clearfix"></ul>
</div>
</div>
<div class="form-group select-group">
<label><span class="star">*</span>学校名称:</label>
<input id="stu-school" class="ident-inp long-inp" type="text" name="stu-school">
<div class="ident-select-wrap gray-p long-sel" >
<i class="iconfont arrow-down"></i>
<div id="stu-school-show" class="select-value">请选择您所在学校</div>
<ul id="stu-school-ul" class="select-ul select-one-line"></ul>
</div>
</div>
<div class="form-group select-group">
<label><span class="star">*</span>学历程度:</label>
<input id="stu-edu" class="ident-inp long-inp" type="text" name="stu-edu">
<div class="ident-select-wrap gray-p long-sel">
<i class="iconfont arrow-down"></i>
<div id="stu-edu-show" class="select-value">请选择您的学历</div>
<ul id="stu-edu-ul" class="select-ul select-one-line"></ul>
</div>
</div>
<div class="form-group select-group">
<label><span class="star">*</span>入学年份:</label>
<input id="stu-entrance-year" class="ident-inp " type="text" name="stu-entrance-year">
<div class="ident-select-wrap gray-p long-sel">
<i class="iconfont arrow-down"></i>
<div id="stu-entrance-year-show" class="select-value">请选择您的入学年份</div>
<ul id="stu-entrance-year-ul" class="select-ul select-one-line"></ul>
</div>
</div>
<div class="form-group agreen-group">
<span id="agreen-show" class="iconfont ck-sel active"></span>
<span>同意<a id="coupon-dia">Yoho!有货学生认证协议</a></span>
</div>
<p id="prompt" class="prompt"></p>
<div class="form-group">
<div id="identity-Btn" class="validate-btn">立即验证</div>
</div>
</form>
{{#verifyRusult}}
<div class="identity-back-wrap">
{{#if isError}}
<div id="identity-fail" class="identity-back-icon fail-icon"></div>
<p id="identity-fail-text" class="identity-back-title">{{errorMsg}}</p>
<p class="identity-back-subtitle">您可以<span class="backForm">重新验证></span></p>
{{else}}
{{#if isStudent}}
<div id="identity-success" class="identity-back-icon success-icon"></div>
<p class="identity-back-title">恭喜您,您的验证成功啦!</p>
<p class="identity-back-subtitle"><span>{{prompt}}</span></p>
{{else}}
<div id="identity-fail" class="identity-back-icon fail-icon"></div>
<p id="identity-fail-text" class="identity-back-title">太遗憾了,您的学校信息未通过审核!</p>
<p class="identity-back-subtitle">您可以<span class="backForm">重新验证></span></p>
{{/if}}
{{/if}}
</div>
{{/verifyRusult}}
</div>
<div class="identity-ad">
{{#if adImg}}
<a target="_blank" href="{{url}}"><img src="{{image adImg 401 360}}"></a>
{{/if}}
</div>
</div>