Authored by 毕凯

优惠券一直显示

@@ -41,10 +41,10 @@ @@ -41,10 +41,10 @@
41 41
42 <section class="block"> 42 <section class="block">
43 <ul class="sale-invoice"> 43 <ul class="sale-invoice">
44 - {{# coupon}}  
45 <li class="coupon"> 44 <li class="coupon">
46 <a href="/cart/index/selectCoupon"> 45 <a href="/cart/index/selectCoupon">
47 <span class="title">优惠券</span> 46 <span class="title">优惠券</span>
  47 + {{# coupon}}
48 {{#if count}} 48 {{#if count}}
49 <span class="coupon-count"> 49 <span class="coupon-count">
50 {{count}}张可用 50 {{count}}张可用
@@ -62,13 +62,12 @@ @@ -62,13 +62,12 @@
62 <i class="iconfont">&#xe614;</i> 62 <i class="iconfont">&#xe614;</i>
63 </span> 63 </span>
64 {{/if}} 64 {{/if}}
  65 + {{/coupon}}
65 </a> 66 </a>
66 </li> 67 </li>
67 - {{/coupon}}  
68 -  
69 <li class="coin" data-yoho-coin="{{yohoCoin}}"> 68 <li class="coin" data-yoho-coin="{{yohoCoin}}">
70 <span class="title">YOHO币</span> 69 <span class="title">YOHO币</span>
71 - <span class="desc">可抵¥{{yohoCoin}}</span> 70 + <span class="desc">可抵¥{{yohoCoin}}</span>
72 <span class="coin-check"> 71 <span class="coin-check">
73 <em>- ¥ {{yohoCoin}}</em> 72 <em>- ¥ {{yohoCoin}}</em>
74 <i class="iconfont checkbox icon-cb-checked"></i> 73 <i class="iconfont checkbox icon-cb-checked"></i>