Authored by 赵彪

Merge branch 'develop' into 'develop'

Develop

1:购物车商品为零时不显示
2:帮助中心详情优化
3:赠品显示原价

See merge request !61
@@ -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 }
@@ -33,3 +33,9 @@ @@ -33,3 +33,9 @@
33 } 33 }
34 } 34 }
35 } 35 }
  36 +.deal_main{
  37 + margin: .5rem 3%;
  38 + font-size:1.2em;
  39 + widows: 94%;
  40 + overflow: hidden;
  41 +}
@@ -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">