From af2e38d1d72633d03afdb6e75f8d30b7ef0d0aee Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 29 七月 2024 15:24:30 +0800 Subject: [PATCH] 图书详情页添加对云学习目录整体购买的判断 --- packageDomain/pages/sampleBookList/index.wxss | 32 ++++++++++++++++++++++++++------ 1 files changed, 26 insertions(+), 6 deletions(-) diff --git a/packageDomain/pages/sampleBookList/index.wxss b/packageDomain/pages/sampleBookList/index.wxss index 9c512d7..f2a7dce 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; @@ -25,7 +27,7 @@ display: flex; align-items: center; --td-search-font-size: 28rpx; - margin-bottom: 30rpx; + margin-bottom: 16rpx; } .list-header { @@ -196,13 +198,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 +217,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 +244,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 +335,14 @@ position: absolute; top: 30rpx; left: 118rpx; -} \ No newline at end of file +} + + +.t-icon-search { + font-size: 38rpx; +} + +.t-search__input-box { + height: 70rpx !important; +} + -- Gitblit v1.9.1