From 7eab4acb4bb2060970f81840e5d2b72f259b07cb Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期四, 28 三月 2024 11:40:19 +0800 Subject: [PATCH] yangshu --- packageBookService/pages/bookServices/list/index.wxss | 81 +++++++++++++++++++++++++++++++++++----- 1 files changed, 71 insertions(+), 10 deletions(-) diff --git a/packageBookService/pages/bookServices/list/index.wxss b/packageBookService/pages/bookServices/list/index.wxss index 3a0d134..a096e07 100644 --- a/packageBookService/pages/bookServices/list/index.wxss +++ b/packageBookService/pages/bookServices/list/index.wxss @@ -11,35 +11,91 @@ } .list-header { + overflow: hidden; display: flex; + height: 96rpx; +} + +.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 { + box-sizing: border-box; + position: relative; background-color: #fff; - line-height: 96rpx; - width: 150rpx; + line-height: 48px; + height: 48px; + width: 15vw; font-size: 28rpx; color: #999; display: flex; } -.header-scroll { - width: 80vw; +.header-sort::after { + content: ''; + height: 1rpx; + display: block; + position: absolute; + bottom: 0; + left: 0; + right: 0; + transform: scaleY(0.5); + background-color: var(--td-component-border, var(--td-gray-color-4, #dcdcdc)); } -.sort-icon { +.sort-name { + padding: 0 0 0 10rpx; +} + +.header-scroll { + height: 100%; + width: 85vw; + overflow-x: auto; +} + +.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,11 +142,16 @@ 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; color: #333; -- Gitblit v1.9.1