application_form_hk.html
3.7 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
<div class="application-form">
<div class="application-tips">
<h2>TIPS</h2>
<p>{{formTip}}</p>
</div>
<div class="form">
{{# form}}
<form id="application-form" c-id="{{id}}" action="" onsubmit="return false;">
<p class="clearfix">
<label for="user-name">姓名:</label>
<input id="userName" name="userName" class="char required" type="text" value="{{name}}">
</p>
<p class="clearfix">
<label for="user-tell">手機:</label>
<input id="userTell" name="userTell" class="char required" type="text" value="{{tell}}">
<i class="verification-btn">獲取驗證碼</i>
</p>
<p class="clearfix">
<label for="user-verification">驗證碼:</label>
<input id="userVerification" name="verification" class="char" type="text">
<i class="verification-icon">驗證碼錯誤</i>
</p>
<p class="address-char clearfix">
<label for="user-address">地址:</label>
<span id="userAddress" class="varchar" contentEditable="true">{{address}}</span>
</p>
<p class="clearfix">
<label for="user-age">年齡:</label>
<input id="userAge" name="age" class="char required" type="text" value="{{age}}">
</p>
<p class="gender-select clearfix">
<label>性別:</label>
{{#each gender}}
<span class="select-item clearfix">
<input id="gender{{@index}}" class="gender radio" name="user-gender" type="radio" value="{{value}}" {{#if default}}checked{{/if}}>
<label class="radio-label {{#if default}}current{{/if}}" for="gender{{@index}}">{{value}}</label>
</span>
{{/each}}
</p>
<p class="skin-select clearfix">
<label>膚質:</label>
{{#each skin}}
<span class="select-item clearfix">
<input id="skin{{@index}}" class="radio" name="user-skin" type="radio" value="{{text}}" {{#if default}}checked{{/if}}>
<label class="radio-label radio-long-label {{#if default}}current{{/if}}" for="skin{{@index}}">{{text}}</label>
</span>
{{/each}}
</p>
<p class="clearfix">
<label>您的問題</label>
</p>
<p class="trouble-wrap clearfix">
{{#each problem}}
<span class="select-item clearfix">
<input id="trouble{{@index}}" class="checkbox" name="user-trouble" type="checkbox" value="{{text}}" {{#if default}}checked{{/if}}>
<em class="{{#if default}}current{{/if}}"></em>
<label class="checkbox-label" for="trouble{{@index}}">{{text}}</label>
</span>
{{/each}}
</p>
<div class="application-reason-wrap">
<div class="application-reason" contentEditable="true">
{{# reason}}
{{.}}
{{/ reason}}
{{^ reason}}
<span class="placeholder">你可以從肌膚現有問題,鐘愛哪些產品等方面提交申請理由</span>
{{/ reason}}
</div>
</div>
<p class="clearfix">
<input id="submit-btn" class="submit-btn" type="submit" value="免費申請">
</p>
</form>
{{/ form}}
</div>
</div>