Showing
2 changed files
with
9 additions
and
1 deletions
@@ -342,6 +342,10 @@ $basicBtnC:#eb0313; | @@ -342,6 +342,10 @@ $basicBtnC:#eb0313; | ||
342 | font-size: pxToRem(47px); | 342 | font-size: pxToRem(47px); |
343 | color: #444; | 343 | color: #444; |
344 | } | 344 | } |
345 | + &.unfavorite{ | ||
346 | + font-size: pxToRem(34px); | ||
347 | + color:#ccc; | ||
348 | + } | ||
345 | &.favorite { | 349 | &.favorite { |
346 | font-size: pxToRem(34px); | 350 | font-size: pxToRem(34px); |
347 | color: $basicBtnC; | 351 | color: $basicBtnC; |
@@ -113,7 +113,11 @@ | @@ -113,7 +113,11 @@ | ||
113 | {{else}} | 113 | {{else}} |
114 | <a href="" class="sold-out">已售罄</a> | 114 | <a href="" class="sold-out">已售罄</a> |
115 | {{/if}} | 115 | {{/if}} |
116 | - <a href="" class="favorite iconfont"></a> | 116 | + {{#if favorite}} |
117 | + <a href="" class="favorite iconfont "></a> | ||
118 | + {{else}} | ||
119 | + <a href="" class="unfavorite iconfont "></a> | ||
120 | + {{/if}} | ||
117 | </div> | 121 | </div> |
118 | {{/cartInfo}} | 122 | {{/cartInfo}} |
119 | 123 |
-
Please register or login to post a comment