From 0c8505fb7d8a3ba0a3ef6dbcf5a7aa8cdb36105d Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 10 四月 2024 16:39:13 +0800
Subject: [PATCH] 子商品跳转

---
 packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss b/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss
index 708f333..2b31049 100644
--- a/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss
+++ b/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss
@@ -4,9 +4,6 @@
   flex-wrap: wrap;
 }
 
-.between {
-  justify-content: space-between;
-}
 
 .ctr {
   justify-content: center;
@@ -19,6 +16,11 @@
 .book-box {
   width: 28%;
   margin-bottom: 40rpx;
+  margin-right: calc(16vw - 68rpx);
+}
+
+.book-box:nth-child(3n) {
+  margin-right: 0;
 }
 
 .book-image {
@@ -35,7 +37,6 @@
 }
 
 .book-name {
-  color: #333;
   margin-top: 20rpx;
   width: 100%;
   word-break: break-all;
@@ -43,6 +44,9 @@
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
+  color: #333;
+  font-weight: bold;
+  font-size: 28rpx;
 }
 
 .loading-box {

--
Gitblit v1.9.1