From 6e06564df6c554a7de4e008eeeecb0e942ded2f3 Mon Sep 17 00:00:00 2001 From: JayChou Date: Fri, 14 Feb 2025 16:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=A2=E9=98=9F=E8=B5=9B?= =?UTF-8?q?=E5=B9=B4=E5=BA=A6=E5=90=8D=E7=A7=B0=E6=BA=A2=E5=87=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/registrationGroup/index.vue | 5 +++++ src/views/registrationPersonage/index.vue | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue index 7bd9bda..7006659 100644 --- a/src/views/registrationGroup/index.vue +++ b/src/views/registrationGroup/index.vue @@ -449,6 +449,11 @@ const submit = () => { font-size: 32px; color: #ffffff; line-height: 39px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; /* 限制显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; } } } diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue index 9426029..8efc609 100644 --- a/src/views/registrationPersonage/index.vue +++ b/src/views/registrationPersonage/index.vue @@ -370,7 +370,6 @@ getTopicListApi() font-size: 20px; color: #666666; line-height: 23px; - } } @@ -462,10 +461,10 @@ getTopicListApi() color: #ffffff; line-height: 39px; display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 3; /* 限制显示的行数 */ - overflow: hidden; - text-overflow: ellipsis; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; /* 限制显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; } } }