Showing
2 changed files
with
4 additions
and
2 deletions
@@ -101,9 +101,10 @@ if ($('.cart-nav').length > 0) { | @@ -101,9 +101,10 @@ if ($('.cart-nav').length > 0) { | ||
101 | } | 101 | } |
102 | 102 | ||
103 | if (switchChose === false) { | 103 | if (switchChose === false) { |
104 | - $('.shopping-cart-good .name').each(function() { | 104 | + $cartContentShow.find('.shopping-cart-good .name').each(function() { |
105 | this.mlellipsis(2); | 105 | this.mlellipsis(2); |
106 | }); | 106 | }); |
107 | + switchChose = true; | ||
107 | } | 108 | } |
108 | 109 | ||
109 | if (cartType === 'ordinary') { | 110 | if (cartType === 'ordinary') { |
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | } | 27 | } |
28 | } | 28 | } |
29 | 29 | ||
30 | - .few-tag{ | 30 | + .few-tag { |
31 | width: 148rem / $pxConvertRem; | 31 | width: 148rem / $pxConvertRem; |
32 | position: absolute; | 32 | position: absolute; |
33 | left: 92rem / $pxConvertRem; | 33 | left: 92rem / $pxConvertRem; |
@@ -90,6 +90,7 @@ | @@ -90,6 +90,7 @@ | ||
90 | width: 80%; | 90 | width: 80%; |
91 | color: #5a5a5a; | 91 | color: #5a5a5a; |
92 | font-size: 0.6rem; | 92 | font-size: 0.6rem; |
93 | + line-height: 0.7rem; | ||
93 | } | 94 | } |
94 | 95 | ||
95 | .color-size-row > span { | 96 | .color-size-row > span { |
-
Please register or login to post a comment