Commit 11f01295f4db3176244cf3bd7e6d455f74e2fa12
1 parent
3d08a1a4
样式优化、
Showing
1 changed file
with
6 additions
and
0 deletions
src/components/shopDarenHot/shopDarenHot.less
| ... | ... | @@ -23,6 +23,12 @@ |
| 23 | 23 | font-size:28px; |
| 24 | 24 | font-weight:500; |
| 25 | 25 | color:rgba(51,51,51,1); |
| 26 | + -webkit-line-clamp: 1; | |
| 27 | + /*! autoprefixer: off */ | |
| 28 | + -webkit-box-orient: vertical; | |
| 29 | + /*! autoprefixer: on */ | |
| 30 | + text-overflow: ellipsis; | |
| 31 | + overflow: hidden; | |
| 26 | 32 | } |
| 27 | 33 | .desc{ |
| 28 | 34 | height:25px; | ... | ... |