From 90f83bf13fd0d6b97897deadc4a9e6a204b530aa Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 26 三月 2024 10:50:11 +0800
Subject: [PATCH] 图书详情页、答题器bug修改

---
 pages/bookServices/assort/index.wxss |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/pages/bookServices/assort/index.wxss b/pages/bookServices/assort/index.wxss
index f065f59..1a7f2df 100644
--- a/pages/bookServices/assort/index.wxss
+++ b/pages/bookServices/assort/index.wxss
@@ -25,9 +25,10 @@
 }
 
 .page-container {
-  padding: 120rpx 0 20rpx 0;
+  padding-top: 120rpx;
+  padding-bottom: constant(safe-area-inset-bottom);
   width: 100%;
-  height: 90%;
+  height: 100%;
 }
 
 .side-bar-wrapper {
@@ -65,7 +66,7 @@
 .myScroll {
   /* 鐩掑瓙鐨勬牱寮� */
   width: 100%;
-  height: 98rpx;
+  height: 108rpx;
   white-space: nowrap;
 }
 
@@ -83,7 +84,7 @@
 
 .myScroll .row:last-child {
   /* 閫夋嫨鏈�鍚庝竴涓瓙浠� 娓呴浂杈硅窛 */
-  margin-right: 0;
+  margin-right: 240rpx;
 }
 
 .class-list {
@@ -95,8 +96,9 @@
 .class-box {
   background-color: #fff;
   margin-bottom: 20rpx;
-  padding: 10rpx 12rpx;
+  padding: 10rpx 0rpx;
   border-radius: 12rpx;
+  box-shadow: 0rpx 0rpx 18rpx 2rpx rgba(0, 0, 0, 0.08);
 }
 
 
@@ -109,8 +111,7 @@
 .class-content {
   display: flex;
   flex-wrap: wrap;
-  /* padding: 5rpx 20rpx 30rpx 30rpx; */
-  padding: 30rpx;
+  padding: 30rpx 0;
 }
 
 .book-box {
@@ -127,7 +128,6 @@
 
 .book-box image {
   height: 142rpx;
-  object-fit: contain !important;
 }
 
 .classify {
@@ -141,8 +141,9 @@
 }
 
 .assort-img {
-  width: 116rpx;
-  height: 142rpx;
+  display: flex;
+  width: 152rpx;
+  height: 186rpx;
   box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
   margin-bottom: 20rpx;
 }

--
Gitblit v1.9.1