cart-together-pop-list.hbs
2.33 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
<div class="cart-together-product-list">
<p class="title">
凑单免运费
<i class="iconfont close-btn"></i>
</p>
<ul class="price-tabs clearfix">
{{# tabs}}
<li {{#if active}}class="active"{{/if}} data-price="{{price}}">{{priceTabName}}</li>
{{/ tabs}}
</ul>
<div class="product-wrap">
<div class="product-list clearfix">
{{# product_list}}
<div class="goods-item" data-id="{{id}}" data-skn="{{skn}}" data-index="{{@index}}">
<a href="{{href}}" target="_blank" class="img">
<img src="{{img}}" alt="{{name}}" />
</a>
<a class="name" href="{{href}}" target="_blank">{{name}}</a>
<p class="price">
{{#if marketPrice}}
<span class="sale-price red">{{price}}</span>
<span class="market-price">{{marketPrice}}</span>
{{^}}
<span class="sale-price">{{price}}</span>
{{/if}}
</p>
<a class="btn-add-cart"
{{#if id}}data-id="{{id}}"{{/if}}
{{#if skn}}data-skn="{{skn}}"{{/if}}
data-role="add2cart">加入购物车</a>
</div>
{{/ product_list}}
</div>
{{# pager}}
<div class="foot-pager clearfix" data-total={{../totalCount}}>
<span class="total">{{tip.totalText}}<span>
<div class="pager">
{{# prePage}}
<a href="javascript:;" class="pre-page" title="上一页"><span class="iconfont"></span>上一页</a>
{{/ prePage}}
{{# pages}}
<a href="javascript:;" class="{{#if url}}num-page {{/if}}{{#if cur}}cur {{/if}}">{{num}}</a>
{{/ pages}}
{{# nextPage}}
<a href="javascript:;" class="next-page" title="下一页">下一页<span class="iconfont"></span></a>
{{/ nextPage}}
</div>
</div>
{{/ pager}}
</div>
<div>
<span class="btn sure-btn">保存</span>
</div>
</div>