magazine-confirm.hbs
1.79 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
<div class="yoho-page magazine-confirm-page">
{{# result}}
{{# goodsList}}
<div class="magazine-info">
<div class="thumb">
<img src="{{image goods_images 200 260}}">
</div>
<div class="info">
<p class="name">{{product_name}}</p>
<p class="time">{{sale_attr_desc.skc_attr}} {{sale_attr_desc.sku_attr}}</p>
</div>
</div>
{{/ goodsList}}
<div class="magazine-buy-num">
<div class="buy-num-title">
<div>请选择购买数量</div>
<a href="javascript:;" class="view-buy-tip">
查看购买说明
<i class="iconfont"></i>
</a>
</div>
<div class="choose-list">
{{# prices}}
<div class="choose-item {{className}}" data-price="¥ {{price}}" data-number="{{number}}">
<span>
<i class="iconfont choose-btn"></i>{{number}}{{unit}}
</span>
<span>¥ {{price}}</span>
</div>
{{/ prices}}
<div class="choose-item custom-choose">
<span>
<i class="iconfont choose-btn"></i>自定义
</span>
<div class="custom-num">
<input id="custom-num-input" type="text" name="number" placeholder="请输入购买本数(小于{{maxBuyNumber}}的正整数)" data-max="{{maxBuyNumber}}">
</div>
</div>
</div>
</div>
<div class="total-price">总计:<span class="total-num" data-sku="{{sku}}">¥ {{totalPrice}}</span></div>
{{/ result}}
<div class="buy-btn-wrap">
<button>立即支付</button>
</div>
</div>