cart-gifts-win-tpl.hbs
1.85 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
<div class="slide-img">
<p class="sell-class-title">
{{#if isGift}}选赠品:{{/if}}<!--选赠品:-->
{{#if isPriceGift}}{{promotionDesc}}{{/if}}
</p>
<div class="side-img-dd">
<ul class="img-list">
{{#each goodsList}}
<li class="img-item {{#if active}}active{{/if}}"
data-id="{{id}}"
data-skn="{{skn}}"
{{#if promotionId}}data-promotionid="{{promotionId}}"{{/if}}
{{#if promotionTitle}}data-promotiontitle="{{promotionTitle}}"{{/if}}
{{#if maxSelectNumber}}data-maxselectnum="{{maxSelectNumber}}"{{/if}}
{{#if subjoinPrice}}data-subjoinprice="{{subjoinPrice}}"{{/if}}
{{#if isPriceGift}}data-ispricegift="{{isPriceGift}}"{{/if}}
{{#if isGift}}data-isgift="{{isGift}}"{{/if}}>
<span class="hide goods-id">{{goods_id}}</span>
<div class="good">
<a href="javascript:void(0);"> {{!--{{link}}--}}
<img class="lazy" src="{{imgCover}}"/>
</a>
</div>
{{#if_cond ../selectedSkn '==' skn}}<i class="iconfont checked"></i>{{/if_cond}}
</li>
{{/each}}
</ul>
<div class="img-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
</div>
</div>
</div>
<div class="product-detail-info"
data-promotionid="{{promotionId}}"
data-maxselectnum="{{maxSelectNumber}}"
{{#if isSwap}}data-isswap="{{isSwap}}"{{/if}}
{{#if isView}}data-isview="{{isView}}"{{/if}}>
{{#productInfo}}
{{> cart-product-info-tpl}}
{{/productInfo}}
</div>