Authored by Rock Zhang

修复购物车页面赠品重复的bug

@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 14
15 {{#if freebieOrAdvanceBuy}} 15 {{#if freebieOrAdvanceBuy}}
16 <ul class="freebie-and-advance-buy"> 16 <ul class="freebie-and-advance-buy">
17 - {{# freebie}} 17 + {{#if freebie}}
18 <li class="freebie"> 18 <li class="freebie">
19 <a href="/cart/index/gift?cartType={{cartType}}"> 19 <a href="/cart/index/gift?cartType={{cartType}}">
20 <span class="iconfont">&#xe620;</span> 20 <span class="iconfont">&#xe620;</span>
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <span class="count">{{giftCount}}</span> 23 <span class="count">{{giftCount}}</span>
24 </a> 24 </a>
25 </li> 25 </li>
26 - {{/ freebie}} 26 + {{/if}}
27 {{#if advanceBuy}} 27 {{#if advanceBuy}}
28 <li class="advance-buy"> 28 <li class="advance-buy">
29 <a href="/cart/index/advanceBuy?cartType={{cartType}}"> 29 <a href="/cart/index/advanceBuy?cartType={{cartType}}">