Authored by Lynnic

当商品为赠品时footer显示非卖品按钮&修改购物车图标跳转链接 --code viewed by HongFei

... ... @@ -121,12 +121,20 @@
{{#if numInCart}}
<span class="num-tag">{{numInCart}}</span>
{{/if}}
<a href="{{cartUrl}}" class="num-incart iconfont">&#xe62c;</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">&#xe62c;</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}}">&#xe605;</a>
</div>
{{/cartInfo}}
... ...