From b70e26c7be40ad4ccb971f3bbc0fbcb32fe82df1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 03 四月 2024 17:14:20 +0800 Subject: [PATCH] 学习 --- packageBookService/pages/bookServices/detail/index.wxss | 49 +++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 43 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/index.wxss b/packageBookService/pages/bookServices/detail/index.wxss index abbb481..6242e6f 100644 --- a/packageBookService/pages/bookServices/detail/index.wxss +++ b/packageBookService/pages/bookServices/detail/index.wxss @@ -1,5 +1,10 @@ /* pages/bookServices/detail/index.wxss */ +.page-bookService { + width: 100vw; + height: 100%; + position: relative; +} .nacigationBar { background-color: #fff; @@ -18,13 +23,14 @@ .book { position: relative; - height: 81vh; + height: calc(100vh - env(safe-area-inset-bottom) - 141px); background-color: #F2F3F8; } .book-img image { width: 240rpx; height: 340rpx; + box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } .book-detail { @@ -204,7 +210,7 @@ /* 鍥句功璧勬簮 */ .book-resource { /* min-height: 640rpx; */ - min-height: calc(100vh - 960rpx); + min-height: calc(100vh - 900rpx); margin-top: 20rpx; background-color: #fff !important; } @@ -217,9 +223,9 @@ /* 搴曢儴 */ .box-bottom { - position: fixed; + position: absolute; left: 0; - bottom: env(safe-area-inset-bottom); + bottom: 0; width: 100%; height: 110rpx; } @@ -244,6 +250,10 @@ box-sizing: border-box; } +.tryRead { + width: 120rpx; +} + .btn-text { font-size: 24rpx; color: #010101; @@ -253,12 +263,14 @@ margin-bottom: 6rpx; } -.bottom-btn:nth-child(1) { +.bottom-btn:nth-child(1), +.bottom-btn:nth-child(2) { border-right: 1px solid #DDD; } .shopCar, .buy { + font-size: 26rpx; width: 25%; display: flex; align-items: center; @@ -272,6 +284,7 @@ align-items: center; justify-content: center; color: #fff; + background-color: #F14B3B; } .shopCarColor { @@ -318,7 +331,7 @@ .applyBox { width: 184rpx; height: 184rpx; - position: fixed; + position: absolute; bottom: 20%; right: 0; } @@ -353,4 +366,28 @@ .webView { height: 500rpx; +} + +.t-tabs__item-inner { + flex-direction: column; +} + +.t-tabs .t-tabs__item--active { + /* color: #ff6d00; + font-size: 30rpx; */ + background-repeat: no-repeat; + background-size: 40% 64%; + background-position: right; + background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png); +} + +.loading { + width: 100%; + height: 100%; + display: flex; + align-items: center; +} + +.suggest-component .t-input__placeholder { + font-size: 28rpx !important; } \ No newline at end of file -- Gitblit v1.9.1