From ccda9ec2fe70d8f51ef184eafc04b78d22dfbabd Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 26 六月 2024 15:02:28 +0800 Subject: [PATCH] 小程序,教材,课程 --- packageDomain/pages/sampleBookList/index.wxss | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/packageDomain/pages/sampleBookList/index.wxss b/packageDomain/pages/sampleBookList/index.wxss index 9c512d7..1ebdacb 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; @@ -55,6 +57,7 @@ .srcolbox { width: 900rpx; white-space: nowrap; + padding-bottom: 15rpx; } .srcolbox .t-button--primary { @@ -196,13 +199,13 @@ .book-box { box-sizing: border-box; - width: calc(100%/2 - 10rpx); + width: calc(100%/2 - 12rpx); margin-right: 20rpx; display: flex; flex-direction: column; align-items: center; margin-bottom: 40rpx; - padding: 50rpx 16rpx 32rpx 16rpx; + padding: 50rpx 16rpx 8rpx 16rpx; box-shadow: 0rpx 0rpx 18rpx 2rpx rgba(0, 0, 0, 0.08); background: #fff; } @@ -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 { @@ -325,4 +336,8 @@ position: absolute; top: 30rpx; left: 118rpx; +} + +.t-icon-base { + font-size: 38rpx; } \ No newline at end of file -- Gitblit v1.9.1