From c03f57662fdbd89de425ac35e1b7f2c4d7e0ac11 Mon Sep 17 00:00:00 2001 From: shuxiaoquan <853623962@qq.com> Date: Tue, 26 Mar 2024 13:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E9=A1=B5=E9=9D=A2=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E4=BB=A5=E5=8F=8A=E7=82=B9=E5=87=BBbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/newPeople.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pages/activity/newPeople.vue b/pages/activity/newPeople.vue index 6623037..52f5591 100644 --- a/pages/activity/newPeople.vue +++ b/pages/activity/newPeople.vue @@ -75,7 +75,7 @@ data() { return { title: "新人首单礼", - current: 1, + current: 0, isLoading: true, background: { background: 'url(https://www.royaum.com.cn/static/news/newPeople-bg.png) center top no-repeat', @@ -237,7 +237,7 @@ .b { padding: 20rpx; overflow: hidden; - + white-space: nowrap; display: flex; justify-content: space-between; @@ -349,9 +349,12 @@ font-family: PingFang SC, PingFang SC; font-weight: 400; color: #1E1E1E; - // text-overflow: ellipsis; - // white-space: nowrap; - // overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + -webkit-line-clamp: 2; + height: 90rpx; + line-height: 45rpx; text { background-color: #F34A40;