From f52c21331fa71bd3ae6be41117f35cb54b076119 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 03 四月 2024 19:34:01 +0800 Subject: [PATCH] 添加复制功能 --- packageBookService/pages/bookServices/detail/index.wxss | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 50 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/index.wxss b/packageBookService/pages/bookServices/detail/index.wxss index ebe6584..5a305ee 100644 --- a/packageBookService/pages/bookServices/detail/index.wxss +++ b/packageBookService/pages/bookServices/detail/index.wxss @@ -2,7 +2,8 @@ .page-bookService { width: 100vw; - height: 100vh; + height: 100%; + position: relative; } .nacigationBar { @@ -29,6 +30,7 @@ .book-img image { width: 240rpx; height: 340rpx; + box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } .book-detail { @@ -221,10 +223,9 @@ /* 搴曢儴 */ .box-bottom { - position: fixed; + position: absolute; left: 0; - bottom: constant(safe-area-inset-bottom); - bottom: env(safe-area-inset-bottom); + bottom: 0; width: 100%; height: 110rpx; } @@ -241,12 +242,21 @@ .bottom-btn { background-color: #fff; - width: 25%; + /* width: 25%; */ display: flex; + flex: 2; align-items: center; justify-content: center; flex-direction: column; box-sizing: border-box; +} + +.tryRead { + flex: 1 !important; +} + +.try { + flex: 2 !important; } .btn-text { @@ -258,17 +268,20 @@ 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; justify-content: center; color: #fff; + flex: 2; } .read { @@ -277,6 +290,7 @@ align-items: center; justify-content: center; color: #fff; + background-color: #F14B3B; } .shopCarColor { @@ -285,6 +299,11 @@ .buyColor { background-color: #F14B3B; +} + +.receiveColor { + background-color: #F14B3B; + width: 50% !important; } .disabledColor { @@ -323,7 +342,7 @@ .applyBox { width: 184rpx; height: 184rpx; - position: fixed; + position: absolute; bottom: 20%; right: 0; } @@ -358,4 +377,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