Showing
1 changed file
with
19 additions
and
14 deletions
@@ -93,20 +93,25 @@ | @@ -93,20 +93,25 @@ | ||
93 | <a href="{{#if isLimit}}javascript:void(0);{{else}}/cart/index/selectCoupon{{/if}}"> | 93 | <a href="{{#if isLimit}}javascript:void(0);{{else}}/cart/index/selectCoupon{{/if}}"> |
94 | <span class="title">优惠券</span> | 94 | <span class="title">优惠券</span> |
95 | {{# coupon}} | 95 | {{# coupon}} |
96 | - <span class="coupon-count"> | ||
97 | - {{count}}张可用 | ||
98 | - </span> | ||
99 | - {{#if couponName}} | ||
100 | - <span class="used coupon-use" data-name="{{couponName}}"> | ||
101 | - {{couponName}} | ||
102 | - <i class="iconfont"></i> | ||
103 | - </span> | ||
104 | - {{^}} | ||
105 | - <span class="not-used coupon-use"> | ||
106 | - {{#if isLimit}}该商品不可使用优惠券{{else}}未使用{{/if}} | ||
107 | - <i class="iconfont"></i> | ||
108 | - </span> | ||
109 | - {{/if}} | 96 | + {{#if couponName}} |
97 | + <span class="used coupon-use" data-name="{{couponName}}"> | ||
98 | + {{couponName}} | ||
99 | + <i class="iconfont"></i> | ||
100 | + </span> | ||
101 | + {{esle if isLimit}} | ||
102 | + <span class="not-used coupon-use"> | ||
103 | + 该商品不可使用优惠券 | ||
104 | + <i class="iconfont"></i> | ||
105 | + </span> | ||
106 | + {{esle}} | ||
107 | + <span class="coupon-count"> | ||
108 | + {{count}}张可用 | ||
109 | + </span> | ||
110 | + <span class="not-used coupon-use"> | ||
111 | + 未使用 | ||
112 | + <i class="iconfont"></i> | ||
113 | + </span> | ||
114 | + {{/if}} | ||
110 | {{/coupon}} | 115 | {{/coupon}} |
111 | </a> | 116 | </a> |
112 | </li> | 117 | </li> |
-
Please register or login to post a comment