From 47e7801d4a09dff51d4d6b7e2a156d80b438e0db Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Tue, 28 May 2024 20:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E7=80=91=E5=B8=83=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/list.vue | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/pages/goods/list.vue b/pages/goods/list.vue index 5ad9e66..29e69da 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -109,9 +109,9 @@ - - - - + --> + @@ -327,7 +323,7 @@ multiChange(e) { this.multiIndex = Number(e.detail.value) // 刷新列表数据 - this.$refs.uWaterfall1.clear(); + // this.$refs.uWaterfall1.clear(); this.list.data = [] this.list = [] //this.list = getEmptyPaginateObj() @@ -348,7 +344,7 @@ if (this.options.categoryId) { that.onChage(that.tabbar[0], 1, 0) } else { - this.$refs.uWaterfall1.clear(); + // this.$refs.uWaterfall1.clear(); this.list.data = [] this.list = [] this.mescroll.resetUpScroll() @@ -390,7 +386,7 @@ this.keyName2 = item.name } } - this.$refs.uWaterfall1.clear(); + // this.$refs.uWaterfall1.clear(); this.list.data = [] this.list = [] this.mescroll.resetUpScroll() @@ -481,7 +477,7 @@ if (newSortType != 'city') { const newSortPrice = newSortType === 'price' ? !app.sortPrice : true app.sortPrice = newSortPrice - app.$refs.uWaterfall1.clear(); + // app.$refs.uWaterfall1.clear(); app.list.data = [] app.list = [] app.mescroll.resetUpScroll() @@ -741,6 +737,11 @@ // 平铺显示 .goods-list.column-2 { + >view { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + } .goods-item { // width: 50%; } @@ -753,7 +754,7 @@ .goods-item { background: #FFFFFF; box-sizing: border-box; - margin: 20rpx 14rpx 0rpx 0; + margin: 20rpx 0 0rpx 0; border-radius: 8rpx;