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;