Browse Source

超出三行省略

master
wanghongjun 2 years ago
parent
commit
6a9023f404
  1. 5
      pages/category/index.vue
  2. 5
      pages/recommend/index.vue

5
pages/category/index.vue

@ -587,6 +587,11 @@
.two-name-name { .two-name-name {
font-size: 26rpx; font-size: 26rpx;
color: #444444; color: #444444;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
} }
.two-name-bottom { .two-name-bottom {

5
pages/recommend/index.vue

@ -340,6 +340,11 @@ export default {
.name-name { .name-name {
font-size: 26rpx; font-size: 26rpx;
color: #444444; color: #444444;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
} }
.name-bottom { .name-bottom {

Loading…
Cancel
Save