Commit 0783e967 by 胡悦

修改案例视频名称长度问题

1 parent 300f9442
...@@ -350,12 +350,19 @@ export default { ...@@ -350,12 +350,19 @@ export default {
} }
} }
.item-desc { .item-desc {
height: 140rpx; // height: 140rpx;
padding: 24rpx 28rpx; padding: 24rpx 28rpx;
font-size: 32rpx; font-size: 32rpx;
color: #333333; color: #333333;
border-radius: 48rpx; border-radius: 48rpx;
text-align: center; text-align: center;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; // 控制多行的行数
-webkit-box-orient: vertical;
padding-bottom: 0;
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!