Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Showing
3 changed files
with
17 additions
and
2 deletions
@@ -425,6 +425,13 @@ if ($brandHeader.length > 0) { | @@ -425,6 +425,13 @@ if ($brandHeader.length > 0) { | ||
425 | success: function(data) { | 425 | success: function(data) { |
426 | if (data.code === 200) { | 426 | if (data.code === 200) { |
427 | $this.toggleClass('coled'); | 427 | $this.toggleClass('coled'); |
428 | + | ||
429 | + //提示 | ||
430 | + if (opt === 'ok') { | ||
431 | + tip.show('添加收藏成功'); | ||
432 | + } else { | ||
433 | + tip.show('取消收藏成功'); | ||
434 | + } | ||
428 | } else if (data.code === 400) { | 435 | } else if (data.code === 400) { |
429 | location.href = data.data;//未登录跳转登录页 | 436 | location.href = data.data;//未登录跳转登录页 |
430 | } else { | 437 | } else { |
@@ -204,6 +204,7 @@ | @@ -204,6 +204,7 @@ | ||
204 | position: absolute; | 204 | position: absolute; |
205 | top: 20rem / $pxConvertRem; | 205 | top: 20rem / $pxConvertRem; |
206 | right: 30rem / $pxConvertRem; | 206 | right: 30rem / $pxConvertRem; |
207 | + text-align: right; | ||
207 | } | 208 | } |
208 | 209 | ||
209 | .price { | 210 | .price { |
@@ -216,4 +217,8 @@ | @@ -216,4 +217,8 @@ | ||
216 | text-align: right; | 217 | text-align: right; |
217 | line-height: 45rem / $pxConvertRem; | 218 | line-height: 45rem / $pxConvertRem; |
218 | } | 219 | } |
220 | + | ||
221 | + .appear-date { | ||
222 | + color: #f00; | ||
223 | + } | ||
219 | } | 224 | } |
1 | -<div class="order-good" data-id={{id}}> | 1 | +<div class="order-good" data-id="{{id}}"> |
2 | <div class="thumb-wrap"> | 2 | <div class="thumb-wrap"> |
3 | - <img class="thumb lazy" data-original={{thumb}}> | 3 | + <img class="thumb lazy" data-original="{{thumb}}"> |
4 | <p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p> | 4 | <p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p> |
5 | </div> | 5 | </div> |
6 | <div class="deps"> | 6 | <div class="deps"> |
@@ -25,6 +25,9 @@ | @@ -25,6 +25,9 @@ | ||
25 | <span class="count"> | 25 | <span class="count"> |
26 | ×{{count}} | 26 | ×{{count}} |
27 | </span> | 27 | </span> |
28 | + {{#if appearDate}} | ||
29 | + <span class="appear-date">上市期:{{appearDate}}</span> | ||
30 | + {{/if}} | ||
28 | </p> | 31 | </p> |
29 | </div> | 32 | </div> |
30 | </div> | 33 | </div> |
-
Please register or login to post a comment