From db7fdd2cd77a20876d534ae020477b39b5f74faa Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 17 四月 2024 18:33:28 +0800 Subject: [PATCH] 字 --- packageDomain/pages/sampleBookList/index.wxss | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/packageDomain/pages/sampleBookList/index.wxss b/packageDomain/pages/sampleBookList/index.wxss index 9c512d7..4fa2161 100644 --- a/packageDomain/pages/sampleBookList/index.wxss +++ b/packageDomain/pages/sampleBookList/index.wxss @@ -1,3 +1,5 @@ +@import "./index.skeleton.wxss"; + .container { width: 100vw; height: 100vh; @@ -12,7 +14,7 @@ } .bookServices-list { - padding-top: 294rpx; + padding-top: 310rpx; background: #F2F3F8; } @@ -55,6 +57,7 @@ .srcolbox { width: 900rpx; white-space: nowrap; + padding-bottom: 15rpx; } .srcolbox .t-button--primary { @@ -196,7 +199,7 @@ .book-box { box-sizing: border-box; - width: calc(100%/2 - 10rpx); + width: calc(100%/2 - 12rpx); margin-right: 20rpx; display: flex; flex-direction: column; @@ -215,9 +218,15 @@ color: #333; } -.book-img image { - object-fit: contain; +.book-img { + width: 210rpx; + height: 290rpx; box-shadow: 0px 0px 20rpx 2px rgba(0, 0, 0, 0.08); +} + +.book-img image { + width: 100%; + height: 100%; } .book-name { @@ -236,11 +245,13 @@ .book-author { height: 30rpx; margin-top: 16rpx; + margin-bottom: 14rpx; width: 100%; font-size: 24rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + } .checkbox { -- Gitblit v1.9.1