Merge branch 'feature/bundleToCart' into release/5.6
Showing
2 changed files
with
11 additions
and
2 deletions
@@ -10,7 +10,8 @@ | @@ -10,7 +10,8 @@ | ||
10 | {{/if}} | 10 | {{/if}} |
11 | </div> | 11 | </div> |
12 | <div class="title"> | 12 | <div class="title"> |
13 | - <span>优惠套装</span>{{poolTitle}} | 13 | + <span class="title-tag">优惠套装</span> |
14 | + <span class="title-text">{{poolTitle}}</span> | ||
14 | </div> | 15 | </div> |
15 | </div> | 16 | </div> |
16 | <div class="bundle-nums clearfix"> | 17 | <div class="bundle-nums clearfix"> |
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | display: flex; | 26 | display: flex; |
27 | align-items: center; | 27 | align-items: center; |
28 | 28 | ||
29 | - span { | 29 | + .title-tag { |
30 | height: 40px; | 30 | height: 40px; |
31 | margin-right: 30px; | 31 | margin-right: 30px; |
32 | padding: 4px; | 32 | padding: 4px; |
@@ -35,6 +35,14 @@ | @@ -35,6 +35,14 @@ | ||
35 | color: #fff; | 35 | color: #fff; |
36 | border-radius: 5px; | 36 | border-radius: 5px; |
37 | } | 37 | } |
38 | + | ||
39 | + .title-text { | ||
40 | + max-width: 480px; | ||
41 | + white-space: nowrap; | ||
42 | + text-overflow: ellipsis; | ||
43 | + word-break: keep-all; | ||
44 | + overflow: hidden; | ||
45 | + } | ||
38 | } | 46 | } |
39 | } | 47 | } |
40 | 48 |
-
Please register or login to post a comment