From f5737bb0a6d53ca313daeb75e96e7fd09cf80378 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Tue, 14 Oct 2025 14:27:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 0e9b1e6..6e6bb90 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -259,7 +259,7 @@ export default { size: 50, list: [], isFinish: -1, - sortTag: 2, + sortTag: 0, }, keyword: "", tabInfo: { From 36c18f0560c036a73dc7e20f04da4c789dda4643 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Wed, 15 Oct 2025 13:55:55 +0800 Subject: [PATCH 2/2] no message --- pages/home/index.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 6e6bb90..5b7f780 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -419,12 +419,14 @@ export default { .select("#tttop") .boundingClientRect((data) => { console.log("data", data); - if (data.top <= 0) { - that.toTop = true; - that.showToTop = true; - } else { - that.toTop = false; - that.showToTop = false; + if(data){ + if (data.top <= 0) { + that.toTop = true; + that.showToTop = true; + } else { + that.toTop = false; + that.showToTop = false; + } } // domTopInfo.value[id] = data.top; // scrollTop.value = data.top - 200; @@ -443,9 +445,7 @@ export default { reachBottom() { let that = this; console.log("onReachBottom", that.query.isFinish); - this.G.isLogin(); - if (this.G.isLogin()) { - console.log("that.query.size", that.query.size); + if(uni.getStorageSync("apply-token")){ if (that.query.isFinish == -1 || that.query.isFinish == that.query.size) { that.query.page++; that.getList("concat");