From dd8ef90009ff67a7379b50e2861f917579f0f855 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 18 三月 2024 15:07:52 +0800 Subject: [PATCH] jiaoshi --- pages/home/home.wxss | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 42ca54c..422c185 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -3,6 +3,12 @@ padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx); } +.container { + width: 100vw; + position: relative; + max-height: calc(100vh - env(safe-area-inset-bottom)); +} + .background { width: 100%; position: fixed; @@ -80,6 +86,7 @@ margin-top: 20rpx; display: block; padding: 0 24rpx; + padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx); } .tabCardPublic { @@ -257,7 +264,6 @@ .listBox2 .author { height: 28rpx; color: #333333; - font-weight: bold; line-height: 30rpx; display: -webkit-box; margin-bottom: 10rpx; @@ -330,7 +336,7 @@ .srcolbox { width: 100%; - height: 480rpx; + height: 420rpx; white-space: nowrap; } @@ -350,15 +356,14 @@ padding: 20rpx 0; } -.rankingList .author { - height: 30rpx; +.rankingList .name { + height: 80rpx; + width: 188rpx; color: #333333; - font-weight: bold; line-height: 30rpx; - display: -webkit-box; - margin-bottom: 10rpx; - -webkit-box-orient: vertical; - -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; } \ No newline at end of file -- Gitblit v1.9.1