From c9608030d4f960ab6a5919716109148b0419cf50 Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Mon, 27 May 2024 16:54:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E8=8D=90=E5=95=86=E5=93=81=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E7=80=91=E5=B8=83=E6=B5=81=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/newPeople.vue | 16 ++++++++-------- pages/cart/index.vue | 28 +++++++++++++++------------- pages/index/index.vue | 28 +++++++++++++++------------- pages/user/index.vue | 25 +++++++++++++------------ 4 files changed, 51 insertions(+), 46 deletions(-) diff --git a/pages/activity/newPeople.vue b/pages/activity/newPeople.vue index 0e82e46..295717d 100644 --- a/pages/activity/newPeople.vue +++ b/pages/activity/newPeople.vue @@ -28,9 +28,9 @@ :is-scroll="true" font-size="30" v-model="current" @change="onChosed"> - - - --> + @@ -479,6 +478,9 @@ .goodsRecommend { overflow: hidden; margin: 10rpx 22rpx 20rpx 22rpx; + display: flex; + flex-wrap: wrap; + justify-content: space-between; .goodsItem { width: 348rpx; @@ -487,7 +489,7 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + margin: 0rpx 0 20rpx 0; .pic { width: 100%; diff --git a/pages/index/index.vue b/pages/index/index.vue index 2796523..15b88a7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -238,9 +238,9 @@ - - - - + --> + @@ -1890,6 +1889,9 @@ .goodsRecommend { overflow: hidden; margin-top: 20rpx; + display: flex; + flex-wrap: wrap; + justify-content: space-between; .goodsItem { width: 345rpx; @@ -1898,7 +1900,7 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + margin: 0rpx 0 20rpx 0; .pic { width: 100%; diff --git a/pages/user/index.vue b/pages/user/index.vue index 36dfe78..ca47f53 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -517,9 +517,9 @@ :src="$picUrl+'/static/user/right.png'"> - - - - + --> + @@ -1289,7 +1289,8 @@ background-color: #ffffff; padding: 20rpx; box-sizing: border-box; - margin: 0rpx 14rpx 20rpx 0; + // margin: 0rpx 14rpx 20rpx 0; + margin: 0 0 20rpx 0; .pic { width: 100%;