cart-pool-title.hbs
1.94 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
<div class="cart-table promotion-pool-title-group">
<ul class="table table-group">
<li class="pre-sell-box tr
{{#inValid}} tr-disabled{{/inValid}}
{{#isChecked}} active{{/isChecked}}" data-role="pitem" {{#if productNum}} data-productnum="{{productNum}}"{{/if}}
data-pool-type="{{poolType}}"
data-pool-id="{{poolId}}"
data-batch-no="{{batchNo}}">
<div class="pay-pro td line-height" style="width: 516px;">
{{#if inValid}}
<i class="cart-item-disabled iconfont"></i>
{{^}}
<i class="cart-item-check iconfont {{#isChecked}}cart-item-checked checked{{/isChecked}}" data-role="cart-item-check" data-goodstype="ordinary" checked=""></i>
{{/if}}
<code class="cart-label">优惠套餐</code>
{{poolTitle}}
</div>
<div style="width:128px;" class="adjust-cart-num td">
{{#or isGift isPriceGift inValid}}
<div class="cart-num-cont">{{productNum}}</div>
{{^}}
<div class="cart-num-cont">
<span class="minus cart-num-btn
{{#or (le productNum 1) (and minBuyNumber (le productNum minBuyNumber))}}disabled{{/or}}">
<i class="iconfont icon-minus"></i>
</span>
<input type="text" value="{{productNum}}" readonly="readonly"/>
<span class="plus cart-num-btn {{#or isTipNoStore (ge productNum storageNum)}}disabled{{/or}}"><i class="iconfont icon-plus"></i></span>
</div>
{{/or}}
</div>
<div style="width:260px;" class="cart-operation td line-height">
<span class="cart-del-btn" data-role="cart-del-btn">删除</span>
</div>
</li>
</ul>
</div>