第一次商品详情页添加商品,购物车数字未显示问题修复
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
72 | {{#unless @root.wap.common.removeCartCount}} | 72 | {{#unless @root.wap.common.removeCartCount}} |
73 | <input type="hidden" id="remove-cart-count" value="1"> | 73 | <input type="hidden" id="remove-cart-count" value="1"> |
74 | {{/unless}} | 74 | {{/unless}} |
75 | - <a href="{{cartUrl}}" class="num-incart iconfont">{{#if @root.cartCount}}<span class="num-tag">{{@root.cartCount}}</span>{{/if}}</a> | 75 | + <a href="{{cartUrl}}" class="num-incart iconfont"><span class="num-tag {{#unless @root.cartCount}}hide{{/unless}}">{{@root.cartCount}}</span></a> |
76 | {{#if addToCartUrl}} | 76 | {{#if addToCartUrl}} |
77 | <a id="addtoCart" href="javascript:;" class="addto-cart add-to-cart-url">{{#if tickets}}立即购买{{else}}加入购物车{{/if}}</a> | 77 | <a id="addtoCart" href="javascript:;" class="addto-cart add-to-cart-url">{{#if tickets}}立即购买{{else}}加入购物车{{/if}}</a> |
78 | {{/if}} | 78 | {{/if}} |
-
Please register or login to post a comment