From b2a6887c94cc7887b03ba1cce578e3fc59a62259 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 27 三月 2024 16:12:28 +0800
Subject: [PATCH] 1

---
 pages/bookServices/assort/index.wxss |   74 ++++++++++++++++++++++++++++---------
 1 files changed, 56 insertions(+), 18 deletions(-)

diff --git a/pages/bookServices/assort/index.wxss b/pages/bookServices/assort/index.wxss
index 3c71ffe..bf4c371 100644
--- a/pages/bookServices/assort/index.wxss
+++ b/pages/bookServices/assort/index.wxss
@@ -13,26 +13,32 @@
   left: 0;
   width: 100%;
   z-index: 99;
+  --td-search-font-size: 28rpx;
 }
 
-.page-header .t-search__input-container {
+
+.page-header .search .t-search__input-container {
+  font-size: 28rpx !important;
   border-radius: 15rpx !important;
   margin: 0 24rpx;
   height: 64rpx !important;
 }
 
 .page-container {
-  padding: 120rpx 0 20rpx 0;
+  padding-top: 120rpx;
+  padding-bottom: constant(safe-area-inset-bottom);
   width: 100%;
+  height: 100%;
 }
 
 .side-bar-wrapper {
+  height: 100%;
   background-color: #f2f3f8;
   display: flex;
 }
 
 .side-bar-content {
-  width: 70%;
+  width: 100%;
   padding: 0 20rpx;
 }
 
@@ -60,7 +66,7 @@
 .myScroll {
   /* 鐩掑瓙鐨勬牱寮� */
   width: 100%;
-  height: 98rpx;
+  height: 108rpx;
   white-space: nowrap;
 }
 
@@ -78,24 +84,26 @@
 
 .myScroll .row:last-child {
   /* 閫夋嫨鏈�鍚庝竴涓瓙浠� 娓呴浂杈硅窛 */
-  margin-right: 0;
+  margin-right: 240rpx;
 }
 
 .class-list {
   /* overflow-y: auto; */
-  height: 72.5vh;
-  width: 262px;
+  height: calc(100vh - 326rpx);
+  width: calc(100vw - 210rpx);
 }
 
 .class-box {
   background-color: #fff;
-  margin-bottom: 10rpx;
-  padding: 10rpx 12rpx;
+  margin-bottom: 20rpx;
+  padding: 10rpx 0rpx;
   border-radius: 12rpx;
-  /* height: 60rpx; */
+  box-shadow: 0rpx 0rpx 18rpx 2rpx rgba(0, 0, 0, 0.08);
 }
 
+
 .class-name {
+  padding: 20rpx 0 0 20rpx;
   font-size: 32rpx;
   font-weight: 700;
 }
@@ -103,27 +111,57 @@
 .class-content {
   display: flex;
   flex-wrap: wrap;
-  padding: 5rpx 20rpx 30rpx 30rpx;
+  padding: 30rpx 0;
 }
 
 .book-box {
-  width: 140rpx;
-  margin-right: 10rpx;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  width: 50%;
+  margin-bottom: 26rpx;
 }
 
-.book-box:nth-child(3n) {
+.book-box:nth-child(2n) {
   margin-right: 0;
 }
 
 .book-box image {
-  width: 58px;
-  height: 70px;
+  height: 142rpx;
 }
 
 .classify {
   max-width: 90%;
-  white-space: nowrap;
+  word-break: break-all;
+  display: -webkit-box;
+  -webkit-line-clamp: 2;
+  -webkit-box-orient: vertical;
   overflow: hidden;
-  text-overflow: ellipsis;
   font-size: 14px;
+}
+
+.assort-img {
+  display: flex;
+  align-items: center;
+  width: 152rpx;
+  height: 186rpx;
+  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
+  margin-bottom: 20rpx;
+}
+
+.page-right {
+  width: 100%;
+}
+
+.loading-box {
+  width: 100%;
+  height: 100%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  --td-loading-color: #ff6c00;
+}
+
+.bottom-box {
+  height: 40rpx;
 }
\ No newline at end of file

--
Gitblit v1.9.1