...
|
...
|
@@ -121,12 +121,20 @@ |
|
|
{{#if numInCart}}
|
|
|
<span class="num-tag">{{numInCart}}</span>
|
|
|
{{/if}}
|
|
|
<a href="{{cartUrl}}" class="num-incart iconfont"></a>
|
|
|
{{#if goodsInstore}}
|
|
|
<a id="addtoCart" href="{{cartUrl}}" class="addto-cart">加入购物车</a>
|
|
|
{{else}}
|
|
|
<a href="javascript:;" id="addtoCart" class="sold-out">已售罄</a>
|
|
|
<a href="{{cartList}}" class="num-incart iconfont"></a>
|
|
|
|
|
|
{{#if addToCart}}
|
|
|
<a href="{{cartUrl}}" class="addto-cart">加入购物车</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if soldOut}}
|
|
|
<a href="javascript:;" class="sold-out">已售罄</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if notForSale}}
|
|
|
<a href="javascript:;" class="sold-out">非卖品</a>
|
|
|
{{/if}}
|
|
|
|
|
|
<a href="javascript:;" id="likeBtn" class="favorite iconfont {{#isCollect}}liked{{/isCollect}}"></a>
|
|
|
</div>
|
|
|
{{/cartInfo}}
|
...
|
...
|
|