|
|
@ -766,7 +766,7 @@ Page({ |
|
|
updatedGoods = newGoods |
|
|
updatedGoods = newGoods |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const filteredGoods = this.applyFilters(updatedGoods, false) |
|
|
const filteredGoods = this.applyFilters(updatedGoods, true) |
|
|
const groupedGoods = this.groupGoodsForStaggeredLayout(filteredGoods); |
|
|
const groupedGoods = this.groupGoodsForStaggeredLayout(filteredGoods); |
|
|
|
|
|
|
|
|
this.setData({ |
|
|
this.setData({ |
|
|
@ -861,7 +861,7 @@ Page({ |
|
|
const combinedGoods = [...existingGoods, ...uniqueNewGoods] |
|
|
const combinedGoods = [...existingGoods, ...uniqueNewGoods] |
|
|
|
|
|
|
|
|
// 对合并后的完整数据进行过滤和排序
|
|
|
// 对合并后的完整数据进行过滤和排序
|
|
|
const filteredGoods = this.applyFilters(combinedGoods, false) |
|
|
const filteredGoods = this.applyFilters(combinedGoods, true) |
|
|
const groupedGoods = this.groupGoodsForStaggeredLayout(filteredGoods); |
|
|
const groupedGoods = this.groupGoodsForStaggeredLayout(filteredGoods); |
|
|
|
|
|
|
|
|
const currentCategory = this.data.selectedCategory === '全部' ? '' : this.data.selectedCategory; |
|
|
const currentCategory = this.data.selectedCategory === '全部' ? '' : this.data.selectedCategory; |
|
|
|