From 78e6b82392a3199e209069d20dcebbed14e9e056 Mon Sep 17 00:00:00 2001 From: fanfan Date: Tue, 13 Aug 2024 19:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shopList/shopPage.vue | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pages/shopList/shopPage.vue b/pages/shopList/shopPage.vue index 302b8e9..09b8f83 100644 --- a/pages/shopList/shopPage.vue +++ b/pages/shopList/shopPage.vue @@ -78,10 +78,10 @@ :class="{ on: activeFilter === 'price' && filterDirection === 'ASC'}"> - - + - + {{ item.goods_name }} - - + @@ -600,9 +599,7 @@ height: 100%; width: calc(100% - 108rpx); display: flex; - display: flex; - flex-wrap: wrap; - justify-content: space-between; + flex-direction: column; .filter-box { height: 88rpx; @@ -654,7 +651,6 @@ overflow-y: auto; display: flex; flex-wrap: wrap; - justify-content: space-between; .good { width: 290rpx; @@ -662,12 +658,13 @@ background: #FFFFFF; border-radius: 10rpx; border: 1px solid #EAEAEA; + margin-right: 22rpx; margin-bottom: 20rpx; border-radius: 10rpx; border: 1px solid #EAEAEA; - &:nth-child(2n+1) { - // margin-right: auto; + &:nth-child(2n) { + margin-right: 0; } >image {