From 33615d230f898d8dc48c3baed0570f51aef26330 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 19 三月 2024 09:39:29 +0800 Subject: [PATCH] 组卷购买 --- pages/home/home.wxss | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 446c24a..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 { @@ -144,11 +151,11 @@ } .body-info .name { - font-size: 32rpx; + font-size: 30rpx; height: 88rpx; color: #333333; font-weight: bold; - line-height: 44rpx; + line-height: 40rpx; display: -webkit-box; margin-bottom: 10rpx; -webkit-box-orient: vertical; @@ -197,7 +204,7 @@ .listBox1, .listBox2 { - padding: 50rpx 0; + padding: 30rpx 0; } .listBox1 .listItemBox { @@ -255,9 +262,8 @@ } .listBox2 .author { - height: 30rpx; + height: 28rpx; color: #333333; - font-weight: bold; line-height: 30rpx; display: -webkit-box; margin-bottom: 10rpx; @@ -270,6 +276,10 @@ .listBox2 .empyt { padding: 20rpx; box-sizing: border-box; +} + +.listBox3 { + padding: 10rpx 0; } .listBox3 .textbooksItemBox { @@ -287,7 +297,7 @@ } .listBox3 .name { - font-size: 32rpx; + font-size: 30rpx; height: 44rpx; color: #333333; font-weight: bold; @@ -326,7 +336,7 @@ .srcolbox { width: 100%; - height: 480rpx; + height: 420rpx; white-space: nowrap; } @@ -346,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