Merge branch 'feature/cart' into 'release/5.4.1'
购物车样式问题 See merge request !308
Showing
2 changed files
with
3 additions
and
0 deletions
@@ -60,6 +60,7 @@ | @@ -60,6 +60,7 @@ | ||
60 | height: 35px; | 60 | height: 35px; |
61 | box-sizing: content-box; | 61 | box-sizing: content-box; |
62 | flex: 1; | 62 | flex: 1; |
63 | + position: relative; | ||
63 | } | 64 | } |
64 | 65 | ||
65 | .nav-item.active { | 66 | .nav-item.active { |
@@ -527,6 +528,7 @@ | @@ -527,6 +528,7 @@ | ||
527 | color: #444; | 528 | color: #444; |
528 | font-size: 29px; | 529 | font-size: 29px; |
529 | border-radius: 4px; | 530 | border-radius: 4px; |
531 | + padding: 0px; | ||
530 | } | 532 | } |
531 | } | 533 | } |
532 | } | 534 | } |
@@ -28,6 +28,7 @@ const formatPromotionTitle = (promo) => { | @@ -28,6 +28,7 @@ const formatPromotionTitle = (promo) => { | ||
28 | let match = regPromoTitle.exec(promo.promotion_title); | 28 | let match = regPromoTitle.exec(promo.promotion_title); |
29 | let promotionTitle = match !== null && match.length > 1 ? match[1] : promo.promotion_title; | 29 | let promotionTitle = match !== null && match.length > 1 ? match[1] : promo.promotion_title; |
30 | 30 | ||
31 | + promotionTitle.replace('¥', '¥'); | ||
31 | return `${title}【${promotionTitle}】`; | 32 | return `${title}【${promotionTitle}】`; |
32 | }; | 33 | }; |
33 | const formatPromotionOpt = (promo) => { | 34 | const formatPromotionOpt = (promo) => { |
-
Please register or login to post a comment