Showing
2 changed files
with
10 additions
and
2 deletions
@@ -62,7 +62,15 @@ | @@ -62,7 +62,15 @@ | ||
62 | color: #000; | 62 | color: #000; |
63 | } | 63 | } |
64 | 64 | ||
65 | - .span { | 65 | + span { |
66 | + width: 60%; | ||
67 | + font-size: 28px; | ||
68 | + overflow: hidden; | ||
69 | + text-overflow: ellipsis; | ||
70 | + white-space: nowrap; | ||
71 | + } | ||
72 | + | ||
73 | + .brand-name { | ||
66 | width: 60%; | 74 | width: 60%; |
67 | font-size: 28px; | 75 | font-size: 28px; |
68 | overflow: hidden; | 76 | overflow: hidden; |
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | <div class="brand-way"> | 15 | <div class="brand-way"> |
16 | <a href={{url}}> | 16 | <a href={{url}}> |
17 | <img class="brand-thumb" src={{thumb}}> | 17 | <img class="brand-thumb" src={{thumb}}> |
18 | - <span>{{name}}</span> | 18 | + <span class="brand-name">{{name}}</span> |
19 | <span class="entry"> | 19 | <span class="entry"> |
20 | 进入品牌 | 20 | 进入品牌 |
21 | <i class="iconfont"></i> | 21 | <i class="iconfont"></i> |
-
Please register or login to post a comment