@@ -165,7 +165,7 @@ const toOpen = () => {
display: -webkit-box;
-webkit-box-orient: vertical;
/* 限制显示 2 行 */
- -webkit-line-clamp: 2;
+ -webkit-line-clamp: 12;
/* 隐藏溢出内容 */
overflow: hidden;
/* 溢出部分显示省略号 */
@@ -173,7 +173,7 @@ const toOpen = () => {
/* 标准的 box-orient 属性 */
box-orient: vertical;
/* 标准的 line-clamp 属性 */
- line-clamp: 2;
+ line-clamp: 12;
color: rgb(102, 102, 102);
font-family: '黑体';
font-size: 20px;
@@ -250,7 +250,8 @@ onMounted(() => {
.imgs {
.images {
- height: 100%;
+ width: 100%;
+ height: 160px;
}