ensure-tpl.hbs
5.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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<script id="address-tpl" type="text/html">
<div class="title">\{{title}}</div>
<p class="prompt">\{{title}}、电话为选填项,其他均为必填项</p>
<ul class="info-wrap">
<li>
<span class="left-rd"><i class="red">*</i>收货人:</span>
<input type="text" name="consignee" value="\{{info.consignee}}" placeholder="请输入您的姓名">
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd"><i class="red">*</i>所在区域:</span>
<div class="area-box">
<span>请选择省市区</span>
<span class="area-text">\{{info.areaText}}</span>
<div class="area-select">
<ul class="clearfix">
<li class="area-sel-tab tab-on">
省份
<div class="province-list opt-list"></div>
</li>
<li class="area-sel-tab">
城市
<div class="city-list opt-list"></div>
</li>
<li class="area-sel-tab">
区县
<div class="area-list opt-list"></div>
</li>
</ul>
</div>
</div>
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd"><i class="red">*</i>详细地址:</span>
<input type="text" name="address" value="\{{info.address}}" placeholder="街道名称或小区名称">
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd"><i class="red">*</i>手机号码:</span>
<input type="text" name="mobile" value="\{{info.mobile}}" placeholder="请输入手机号码(重要必填)">
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd">电话号码:</span>
<input type="text" name="phone" value="\{{info.phone}}" placeholder="请输入电话号码(选填)">
<p class="caveat-tip"></p>
</li>
<li>
<span class="left-rd \{{#if info.default}} on\{{/if}}"></span>
<label class="radio-btn">设置为默认收货地址</label>
</li>
</ul>
</script>
<script id="address-item-tpl" type="text/html">
<div class="addr-item" data-id="\{{id}}">
<p class="name">
\{{consignee}}
<span class="right">\{{mobile}}</span>
</p>
<p class="area">
<span>\{{area}}</span>
</p>
<p class="street">\{{address}}</p>
<p class="option">
<label class="set-default">设为默认</label>
<label class="default-tip">默认地址</label>
<span class="delete-addr">删除</span>
<span class="modify-addr">修改</span>
</p>
</div>
</script>
<script id="invoice-chose-tpl" type="text/html">
<p class="invoice-header">发票信息</p>
<ul class="invoice-type">
<li class="el-invoice focus">电子发票</li>
<li class="pa-invoice">纸质发票</li>
</ul>
<div class="invoice-content el-content">
<p class="el-tip">
※ 电子发票是税务局认可的有效凭证,其法律效力、基本用途及使用规定同纸质发票,如需纸质发票可自行下载打印。<br>
<a href="//www.yohobuy.com/help?category_id=99">什么是电子发票?</a>
</p>
<ul>
<li class="invoice-title invoice-row">
<span class="row-title">
<em>*</em>
发票抬头
</span>
<div class="row-content">
<span class="radio-wrap">
<label class="rbt-1 radio-btn on" data-id="1"></label> 个人
</span>
<span class="radio-wrap">
<label class="rbt-2 radio-btn" data-id="2"></label> 单位
</span>
<div class="company-row hide">
<input id="company-name" class="company-name" type="text" placeholder="请填写单位名称">
<span class="input-tip invoice-title-tip red hide">
<span class="iconfont"></span>
请填写发票抬头
</span>
</div>
</div>
</li>
<li class="invoice-goods-type invoice-row">
<span class="row-title">
<em>*</em>
发票内容:
</span>
<div class="row-content">
{{#each invoices.invoiceContentList}}
<span class="radio-wrap">
<label class="radio-btn rbc-{{invoices_type_id}}{{#if @first}} on{{/if}}" data-id="{{invoices_type_id}}" data-name="{{invoices_type_name}}"></label> {{invoices_type_name}}
</span>
{{/each}}
</div>
</li>
<li class="receiver invoice-row">
<span class="row-title">
<em>*</em>
手机号码:
</span>
<div class="row-content">
<input id="receiver-phone" class="receiver-phone" type="text">
<span class="input-tip receiver-tip red hide">
<span class="iconfont"></span>
<em></em>
</span>
</div>
</li>
</ul>
</div>
</script>