...
|
...
|
@@ -9,6 +9,7 @@ |
|
|
{{#if sku}}data-sku="{{sku}}"{{/if}}
|
|
|
{{#if productNum}}data-productnum="{{productNum}}"{{/if}}
|
|
|
{{#if storageNum}}data-storagenum="{{storageNum}}"{{/if}}
|
|
|
{{#if minBuyNumber}}data-minbuynum="{{minBuyNumber}}"{{/if}}
|
|
|
{{#if goodsType}}data-goodstype="{{goodsType}}"{{/if}}
|
|
|
data-promotionid="{{promotionId}}"
|
|
|
data-color="{{productColor}}"
|
...
|
...
|
@@ -75,7 +76,10 @@ |
|
|
<div>{{productNum}}</div>
|
|
|
{{^}}
|
|
|
<div class="cart-num-cont">
|
|
|
<span class="minus cart-num-btn {{#le productNum 1}}disabled{{/le}}"><i class="iconfont icon-minus"></i></span>
|
|
|
<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>
|
...
|
...
|
|