order-tpl.hbs
5.86 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
<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">
※ 电子发票是税务局认可的有效凭证,其法律效力、基本用途及使用规定同纸质发票,如需纸质发票可自行下载打印。
<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">
<input type="radio" name="invoice-title" value="1" checked> 个人
</span>
<span class="radio-wrap">
<input type="radio" name="invoice-title" value="2"> 单位
</span>
</div>
</li>
<li class="company-row invoice-row hide">
<span class="row-title"></span>
<div class="row-content">
<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>
</li>
<li class="invoice-row">
<span class="row-title">
<em>*</em>
发票内容
</span>
<div class="row-content">
{{#each invoices.invoiceContentList}}
<span class="radio-wrap">
<input type="radio" name="invoice-content" data-name="{{invoices_type_name}}" value="{{invoices_type_id}}"{{#if @first}} checked{{/if}}> {{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>
<script id="address-list-tpl" type="text/html">
\{{#each address}}
<li class="address-item\{{#if default}} focus default\{{/if}}"
data-id="\{{id}}"
data-consignee="\{{consignee}}"
data-address="\{{address}}"
data-areaname="\{{area}}"
data-area="\{{area_code}}"
data-mobile="\{{mobile}}"
data-phone="\{{phone}}"
data-email="\{{email}}"
data-zipcode="\{{zip_code}}">
<input type="radio" name="address-item-radio"\{{#if default}} checked\{{/if}}>
<em class="consignee">\{{consignee}}</em>
<span class="address-text">\{{area}} \{{address}} \{{zip_code}} \{{mobile}} \{{phone}}</span>
<span class="is-default">默认地址</span>
<span class="set-default">设为默认地址</span>
<div class="address-btns">
<span class="modify-address">[修改]</span>
<span class="del-address">[删除]</span>
</div>
</li>
\{{/each}}
</script>
<script id="coupons-tpl" type="text/html">
\{{#each coupons}}
<li\{{#unless canuse}} class="disable"\{{/unless}}>
<input type="radio" data-code="\{{code}}" name="coupons"\{{#unless canuse}} disabled\{{/unless}}> \{{name}}
</li>
\{{/each}}
</script>
<script id="yoho-coin-tpl" type="text/html">
\{{#if coinErrorTip}}
<li><span class="red">\{{coinErrorTip}}</span></li>
\{{/if}}
<li>
有货币满<span class="red">\{{yoho_coin_pay_rule.num_limit}}</span>个即可使用,每次使用有货币为<span class="red">\{{yoho_coin_pay_rule.num_limit}}</span>的整数倍
<i class="iconfont help-icon"></i>
<div class="coin-tip-help">
<p>有货币使用提示:</p>
<p>
1.订单金额大于20元(含20元)<br>
2.有货币数量大于\{{yoho_coin_pay_rule.num_limit}}个(含\{{yoho_coin_pay_rule.num_limit}}个) <br>
3.有货币支付上限为每笔订单应付金额的\{{yoho_coin_pay_rule.max_pay_rate_desc}}
</p>
<p class="rs-text">备注:使用有货币数量为\{{yoho_coin_pay_rule.num_limit}}的整数倍,100有货币抵1元</p>
</div>
</li>
<li>您当前共有有货币 <span class="red">\{{total_yoho_coin_num}}</span> 个,可用 <span class="red">\{{canUseCoinNum}}</span> 个</li>
<li>
<p\{{#if coinErrorTip}} class="coin-use-hide"\{{/if}}>本次使用有货币<span class="red">\{{canUseCoinNum}}</span>个,抵扣 <span class="red">¥\{{yoho_coin}}</span></p>
</li>
</script>
<script id="promotion-list-tpl" type="text/html">
\{{#each promotion_formula_list}}
<li class="promotion-item\{{#isEqual promotion '运费'}} fregit-promotion\{{/isEqual}}">
<span class="promotion-name">\{{promotion}}\{{#isEqual promotion '有货币'}}<i class="modify-coin">[修改]</i>\{{/isEqual}}:</span>
<em class="promotion-val">\{{promotion_amount}}</em>
</li>
\{{/each}}
</script>