Authored by 毕凯

样式修改

@@ -93,7 +93,7 @@ @@ -93,7 +93,7 @@
93 } 93 }
94 94
95 .coupon-count { 95 .coupon-count {
96 - padding: 5rem / $pxConvertRem; 96 + padding: 5rem / $pxConvertRem 15rem / $pxConvertRem;
97 background: #f00; 97 background: #f00;
98 color: #fff; 98 color: #fff;
99 @include border-radius(10px); 99 @include border-radius(10px);
@@ -104,6 +104,10 @@ @@ -104,6 +104,10 @@
104 .coin-check { 104 .coin-check {
105 float: right; 105 float: right;
106 color: #999; 106 color: #999;
  107 +
  108 + &.used {
  109 + color: #f00;
  110 + }
107 } 111 }
108 112
109 .coin-check { 113 .coin-check {
@@ -41,10 +41,9 @@ @@ -41,10 +41,9 @@
41 41
42 <section class="block"> 42 <section class="block">
43 <ul class="sale-invoice"> 43 <ul class="sale-invoice">
44 - {{#if coupon}} 44 + {{# coupon}}
45 <li class="coupon"> 45 <li class="coupon">
46 <a href="/shoppingCart/selectCoupon"> 46 <a href="/shoppingCart/selectCoupon">
47 - <!-- <a href="{{url}}"> -->  
48 <span class="title">优惠券</span> 47 <span class="title">优惠券</span>
49 {{#if count}} 48 {{#if count}}
50 <span class="coupon-count"> 49 <span class="coupon-count">
@@ -65,7 +64,7 @@ @@ -65,7 +64,7 @@
65 {{/if}} 64 {{/if}}
66 </a> 65 </a>
67 </li> 66 </li>
68 - {{/if}} 67 + {{/coupon}}
69 68
70 <li class="coin" data-yoho-coin="{{yohoCoin}}"> 69 <li class="coin" data-yoho-coin="{{yohoCoin}}">
71 <span class="title">YOHO币</span> 70 <span class="title">YOHO币</span>