From 03f061e0801130aa5b3aa2ab193f71ce132164d1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 12 四月 2024 15:22:55 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss b/packageBookService/pages/bookServices/detail/components/relatedBooks/index.wxss index 708f333..d954c93 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,10 +44,14 @@ -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; + color: #333; + font-weight: bold; + font-size: 28rpx; } .loading-box { - margin: 100rpx auto; + width: 100%; + height: min-content; } .noData { -- Gitblit v1.9.1