From 9ef17f5680768e1e68868777b917630df7421f25 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 23 Mar 2023 17:52:10 +0800 Subject: [PATCH] css --- src/project/qujing/AppMine/testList.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/project/qujing/AppMine/testList.vue b/src/project/qujing/AppMine/testList.vue index c1c38d7..ee4dd78 100644 --- a/src/project/qujing/AppMine/testList.vue +++ b/src/project/qujing/AppMine/testList.vue @@ -92,7 +92,7 @@ export default { position: relative; display: flex; .flex-left { - width: calc(100% - 200px); + width: calc(100% - 224px); h3 { width: 100%; line-height: 48px; @@ -101,6 +101,13 @@ export default { font-size: 34px; color: #333; margin-bottom: 32px; + text-overflow: -o-ellipsis-lastline; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + line-clamp: 2; + -webkit-box-orient: vertical; } p { color: #999; @@ -120,6 +127,7 @@ export default { img { width: 200px; height: 200px; + margin-left: 24px; } div { width: 100px;