From 3dec91aacdbc00cf363f9f302076764254f676a5 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 29 Aug 2025 09:16:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=96=87=E6=9C=AC=E9=99=90=E5=88=B6?= =?UTF-8?q?=E4=B8=BA=E6=9C=80=E5=A4=9A=E6=98=BE=E7=A4=BA=E4=B8=89=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/future/future.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/future/future.vue b/pages/future/future.vue index b47aae0..431e260 100644 --- a/pages/future/future.vue +++ b/pages/future/future.vue @@ -366,7 +366,6 @@ export default { } .value { - width: 188rpx; height: 50rpx; font-family: AlibabaPuHuiTi, AlibabaPuHuiTi; font-weight: 400; @@ -433,7 +432,7 @@ export default { .line { margin-left: 8rpx; width: 0; - height: 189rpx; + height: 100%; border: 2rpx #d8d8d8 dashed; } } @@ -470,7 +469,9 @@ export default { rich-text { width: 368rpx; - height: 114rpx; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; font-family: AlibabaPuHuiTi, AlibabaPuHuiTi; font-weight: 400; font-size: 24rpx; @@ -480,6 +481,9 @@ export default { text-align: left; font-style: normal; text-transform: none; + max-height: 114rpx; /* 3行 × 1.5行高 */ + overflow: hidden; + text-overflow: ellipsis; } }