address-dialog.hbs
2.84 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
<p class="dialog-title">
{{#if updateAddress}}
修改地址
{{^}}
新增地址
{{/if}}
</p>
<form id="address-form" name="address-form">
<div class="address-page">
<span class="tip">
<em class="blue">
{{#if updateAddress}}
修改地址
{{^}}
新增地址
{{/if}}
</em>
电话为选填项,其他均为必填项
</span>
<div class="add-address-detail" data-id="{{id}}">
<div class="form-group">
<label class="label-name">
<em class="required-mark">*</em>
收货人:
</label>
<input class="input address-name" type="text" placeholder="请输入您的姓名" maxlength="12" value="{{name}}">
<span class="blue error-tips">
{{> error-round}}
<em></em>
</span>
</div>
<div class="form-group clearfix">
<label class="label-name">
<em class="required-mark">*</em>
所在区域:
</label>
<div id="address" class="clearfix"></div>
<span class="blue error-tips">
{{> error-round}}
请填写完整的省市区信息
</span>
</div>
<div class="form-group">
<label class="label-name">
<em class="required-mark">*</em>
详细地址:
</label>
<input class="input address-detail" type="text" placeholder="街道名称或小区名称" maxlength="60" value="{{detail}}">
<span class="blue error-tips">
{{> error-round}}
<em></em>
</span>
</div>
<div class="form-group">
<label class="label-name">
<em class="required-mark">*</em>
手机号码:
</label>
<input class="input address-mobile" type="text" placeholder="请输入手机号码(重要必填)" maxlength="11" value="{{mobile}}">
<span class="blue error-tips">
{{> error-round}}
<em></em>
</span>
</div>
<div class="form-group">
<label class="label-name">电话号码:</label>
<input class="input address-phone" type="text" placeholder="请输入电话号码(选填)" value="{{phone}}" maxlength="15">
<span class="blue error-tips">
{{> error-round}}
<em></em>
</span>
</div>
</div>
</div>
</form>