cart-pre-sell-tpl.hbs
5.55 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
<div class="modal-overflow" style="display: none;" data-role="mdialog" id="Y_CartSelectDialog">
<div class="body-modal-black"></div>
<div class="mmodal-dialog cart-presell-dialog" style="top:50px;margin-left: -267px;">
<div class="close" data-role="mdialog-close">
<i class="iconfont"></i>
</div>
<div class="content">
<div class="detail-body">
{{#advanceCart}}
<div class="slide-img">
<p class="sell-class-title">预售商品<strong>{{stat.selectedGoodsCount}}</strong>样 总金额<strong>¥ {{stat.lastOrderAmount}}</strong></p>
<div class="side-img-dd">
<div class="side-img-container">
<ul class="img-list">
{{#each pools}}
{{#each goodsList}}
{{#if isChecked}}
<li class="img-item">
<span class="hide goods-id">{{id}}</span>
<div class="good">
<a class="good-cont" href="{{link}}" target="_blank">
<img src="{{imgCover}}">
<span class="incentive">预售</span>
</a>
</div>
</li>
{{/if}}
{{/each}}
{{/each}}
</ul>
</div>
<div class="img-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
</div>
</div>
</div>
<a class="btn-account" data-url="{{ensureUrl}}" data-type="A">去结算</a>
{{/advanceCart}}
{{#ordinaryCart}}
<div class="slide-img">
<p class="sell-class-title">普通商品<strong>{{stat.selectedGoodsCount}}</strong>样 总金额<strong>¥ {{stat.lastOrderAmount}}</strong></p>
<div class="side-img-dd">
<div class="side-img-container">
<ul class="img-list">
{{#each pools}}
{{#each goodsList}}
{{#if isChecked}}
<li class="img-item">
<span class="hide goods-id">{{id}}</span>
<div class="good">
<a class="good-cont" href="{{link}}" target="_blank">
<img class="lazy" src="{{imgCover}}"/>
</a>
</div>
<!--<i class="iconfont checked"></i>-->
</li>
{{/if}}
{{/each}}
{{#each subs}}
{{#each goodsList}}
{{#if isChecked}}
<li class="img-item">
<span class="hide goods-id">{{id}}</span>
<div class="good">
<a class="good-cont" href="{{link}}" target="_blank">
<img class="lazy" src="{{imgCover}}"/>
</a>
</div>
<!--<i class="iconfont checked"></i>-->
</li>
{{/if}}
{{/each}}
{{/each}}
{{/each}}
</ul>
</div>
<div class="img-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
</div>
</div>
</div>
<a class="btn-account" data-url="{{ensureUrl}}" data-type="O">去结算</a>
{{/ordinaryCart}}
<p class="pre-sell-tip">温馨提示:您需要分开结算【预售商品】和【普通商品】</p>
</div>
</div>
</div>
</div>