From d61a31af1b8a220af669c818f11b6a13c1fb8dba Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 16:15:36 +0800 Subject: [PATCH] 图书详情页布局调整 --- packageBookService/pages/bookServices/detail/index.wxss | 81 ++++++++++++++++++++++++++++++++++------ 1 files changed, 69 insertions(+), 12 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/index.wxss b/packageBookService/pages/bookServices/detail/index.wxss index 8deaf31..7e253a1 100644 --- a/packageBookService/pages/bookServices/detail/index.wxss +++ b/packageBookService/pages/bookServices/detail/index.wxss @@ -1,5 +1,9 @@ /* pages/bookServices/detail/index.wxss */ +.page-bookService { + width: 100vw; + height: 100vh; +} .nacigationBar { background-color: #fff; @@ -18,14 +22,23 @@ .book { position: relative; - height: 81vh; + height: calc(100vh - env(safe-area-inset-bottom) - 141px); background-color: #F2F3F8; +} + +.book-img image { + width: 240rpx; + height: 340rpx; } .book-detail { padding: 32rpx; display: flex; border-radius: 0 0 20rpx 20rpx; +} + +.tmall-image { + width: 64rpx !important; } .detail-left { @@ -172,16 +185,10 @@ position: relative; font-size: 28rpx; opacity: 0.6; + text-decoration: line-through; + text-decoration-color: #fff; } -.line { - position: absolute; - top: 50%; - left: -5rpx; - width: 80%; - height: 3rpx; - background-color: #fff; -} .book-web { margin-left: 30rpx; @@ -201,7 +208,7 @@ /* 鍥句功璧勬簮 */ .book-resource { /* min-height: 640rpx; */ - min-height: calc(100vh - 960rpx); + min-height: calc(100vh - 900rpx); margin-top: 20rpx; background-color: #fff !important; } @@ -227,7 +234,7 @@ } .box-bottom image { - width: 36rpx; + width: 38rpx; height: 44rpx; } @@ -263,6 +270,14 @@ color: #fff; } +.read { + width: 50%; + display: flex; + align-items: center; + justify-content: center; + color: #fff; +} + .shopCarColor { background-color: #F1AC37; } @@ -281,7 +296,9 @@ .tab-class { - --td-loading-color: #ff6c00 + --td-loading-color: #ff6c00; + --td-tab-nav-bg-color: #fff; + --td-tab-track-color: #ff6c00 } .loading { @@ -300,4 +317,44 @@ .noData { height: 100%; +} + +.applyBox { + width: 184rpx; + height: 184rpx; + position: fixed; + bottom: 20%; + right: 0; +} + +.applyBox .box { + width: 184rpx; + height: 184rpx; + color: #fff; + position: relative; +} + +.applyBox .box .t-image { + width: 100%; + height: 100%; +} + +.num { + background-color: #FD3D16; + color: #fff; + border: 2rpx solid #FFFFFF; + font-size: 24rpx; + line-height: 30rpx; + font-weight: 400; + width: 48rpx; + height: 32rpx; + text-align: center; + border-radius: 9px; + position: absolute; + top: 30rpx; + left: 118rpx; +} + +.webView { + height: 500rpx; } \ No newline at end of file -- Gitblit v1.9.1