From 406f6d1a75a210c27ab50dd14eca6c2b6163a5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Thu, 8 Jan 2026 18:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E5=93=81=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=92=8C=E5=8A=A0=E8=BD=BD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 3f6b5c2..e863568 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -930,8 +930,7 @@ Page({ // 加载商品数据 - 优化版带缓存,支持状态优先级 loadGoods: function (isLoadMore = false, forceRefresh = false) { - // 允许继续加载的条件:1. 有更多数据;或者 2. 正在加载售空商品 - if (isLoadMore && !this.data.hasMoreData && !this.data.isQueryingSoldOut) { + if (isLoadMore && !this.data.hasMoreData) { return } @@ -1281,7 +1280,7 @@ Page({ console.log('applyFilters - 开始过滤,原始商品数量:', goods.length, '关键词:', this.data.searchKeyword); - // 筛选条件:将没有联系人以及销售价的商品不显示在主页面 + // 筛选条件:销售价为空并且没有联系人信息的不显示在主页上 filtered = filtered.filter(item => { // 广告位不受影响 if (item.isAd) {