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/list/index.wxss | 91 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 82 insertions(+), 9 deletions(-) diff --git a/packageBookService/pages/bookServices/list/index.wxss b/packageBookService/pages/bookServices/list/index.wxss index f708171..d48d47e 100644 --- a/packageBookService/pages/bookServices/list/index.wxss +++ b/packageBookService/pages/bookServices/list/index.wxss @@ -14,32 +14,73 @@ display: flex; } +.list-header .t-button--primary { + border-radius: 50rpx !important; + background: #FF6C00 !important; + border: none; +} + +.list-header .t-button--light { + background: #fff !important; + border-radius: 50rpx !important; + color: #545C63 !important; + border: 2rpx solid #979797 !important; +} + +.t-dropdown-menu__item--active, +.t-radio__icon--checked, +.t-checkbox__icon--checked, +.t-radio__title--checked, +.t-checkbox__title--checked { + color: #FF6C00 !important; +} + .header-sort { + position: relative; background-color: #fff; - line-height: 96rpx; - width: 150rpx; + line-height: 90rpx; + height: 90rpx; + width: 15vw; font-size: 28rpx; color: #999; display: flex; + border-bottom: 1px solid #ededed; +} + +.sort-name { + padding: 4rpx 0 0 10rpx; } .header-scroll { - width: 80vw; + height: 96rpx; + width: 85vw; } -.sort-icon { +.icon-left { + position: absolute; + top: 38rpx; + right: 26rpx; + transform: rotate(270deg); +} + +.icon-right { + position: absolute; + top: 38rpx; + right: 10rpx; + transform: rotate(90deg); +} + +/* .sort-icon { transform: rotate(90deg); position: relative; } .sort-icon .icon-left { transform: rotate(180deg); -} +} */ .list-container { height: 80vh; - margin-top: 20rpx; - /* background-color: #fff; */ } .assort-title { @@ -86,10 +127,15 @@ color: #333; } -.book-img image { - object-fit: contain; +.book-img { + width: 210rpx; + height: 290rpx; + display: flex; + align-items: center; + justify-content: center; box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } + .book-name { margin-top: 24rpx; @@ -123,4 +169,31 @@ height: 80rpx; font-size: 28rpx; --td-loading-color: #ff6c00 +} + +.loading-box { + width: 100%; + height: calc(100vh - 500rpx); + display: flex; + align-items: center; + justify-content: center; + --td-loading-color: #ff6c00; +} + +.noData { + width: 100%; + display: flex; + justify-content: center; +} + +.t-dropdown-menu { + display: flex; + align-items: center; +} + +.t-dropdown-menu__item { + background-color: #F6F6F6; + border-radius: 80rpx; + height: 70%; + margin-left: 20rpx; } \ No newline at end of file -- Gitblit v1.9.1