Merge branch 'develop' into 'develop'
Develop 1:购物车商品为零时不显示 2:帮助中心详情优化 3:赠品显示原价 See merge request !61
Showing
3 changed files
with
12 additions
and
0 deletions
@@ -19,6 +19,9 @@ $.ajax({ | @@ -19,6 +19,9 @@ $.ajax({ | ||
19 | if (count > 99) { | 19 | if (count > 99) { |
20 | count = '99+'; | 20 | count = '99+'; |
21 | } | 21 | } |
22 | + if (count === 0) { | ||
23 | + $('.cart-count').remove(); | ||
24 | + } | ||
22 | $cart.find('.cart-count').html(count).removeClass('hide'); | 25 | $cart.find('.cart-count').html(count).removeClass('hide'); |
23 | } | 26 | } |
24 | } | 27 | } |
@@ -46,6 +46,9 @@ | @@ -46,6 +46,9 @@ | ||
46 | {{#if isAdvanceBuy}} | 46 | {{#if isAdvanceBuy}} |
47 | <span class="sale-price">¥{{salesPrice}}</span> | 47 | <span class="sale-price">¥{{salesPrice}}</span> |
48 | {{/if}} | 48 | {{/if}} |
49 | + {{#if isGift}} | ||
50 | + <span class="sale-price">¥{{salesPrice}}</span> | ||
51 | + {{/if}} | ||
49 | </p> | 52 | </p> |
50 | {{#if isVipPrice}} | 53 | {{#if isVipPrice}} |
51 | <span class="vip"> | 54 | <span class="vip"> |
-
Please register or login to post a comment