From 08cb9d1f3a9f552c43301b06f6341782e6a84250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LI-CCONG=5C=E6=9D=8E=E8=81=AA=E8=81=AA?= <1441652193@qq.com> Date: Tue, 10 Oct 2023 10:14:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E7=AB=8Bapp=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E9=A1=B9=E7=9B=AE-=E6=B6=88=E6=81=AF=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=9D=99=E6=80=81=E9=A1=B5=E5=BC=80=E5=8F=91v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yunxi-ui-app-hl/pages/xiaoxi/index.vue | 45 +++++++++++++------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/yunxi-ui-app-hl/pages/xiaoxi/index.vue b/yunxi-ui-app-hl/pages/xiaoxi/index.vue index ae79767..7af4d74 100644 --- a/yunxi-ui-app-hl/pages/xiaoxi/index.vue +++ b/yunxi-ui-app-hl/pages/xiaoxi/index.vue @@ -4,31 +4,30 @@ - - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - + @@ -80,11 +79,11 @@ scrolltolower() { if (this.status == "nomore") return; this.status = 'loading'; - this.loadMore(false); setTimeout(() => { if (this.indexList.length >= 100) { this.status = 'nomore'; } else { + this.loadMore(false); this.status = 'loadmore'; } }, 1000);