From ee28753094132d259f32a893eba18a2ea65155a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= <1431128779@qq.com> Date: Thu, 3 Aug 2023 01:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E9=A1=B5=E9=9D=A2=E7=9A=84loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/category/category.vue | 8 ++++---- pages/tabbar/gallery/gallery.vue | 8 ++++---- pages/tabbar/home/home.vue | 8 ++++---- pages/tabbar/links/links.vue | 8 ++++---- pagesA/archives/archives.vue | 8 ++++---- pagesA/article-detail/article-detail.vue | 8 ++++---- pagesA/articles/articles.vue | 8 ++++---- pagesA/category-detail/category-detail.vue | 8 ++++---- pagesA/journal/journal.vue | 8 ++++---- pagesA/leaving/leaving.vue | 9 +++++---- pagesA/tag-detail/tag-detail.vue | 8 ++++---- 11 files changed, 45 insertions(+), 44 deletions(-) diff --git a/pages/tabbar/category/category.vue b/pages/tabbar/category/category.vue index 78ba610..42270de 100644 --- a/pages/tabbar/category/category.vue +++ b/pages/tabbar/category/category.vue @@ -105,10 +105,10 @@ fnGetAllCategory() { this.loading = 'loading'; - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); this.$httpApi .getCategoryList({ more: true }) .then(res => { diff --git a/pages/tabbar/gallery/gallery.vue b/pages/tabbar/gallery/gallery.vue index bfa7ef5..f00b354 100644 --- a/pages/tabbar/gallery/gallery.vue +++ b/pages/tabbar/gallery/gallery.vue @@ -214,10 +214,10 @@ }); }, fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pages/tabbar/home/home.vue b/pages/tabbar/home/home.vue index 8fc7c35..3e1c9e5 100644 --- a/pages/tabbar/home/home.vue +++ b/pages/tabbar/home/home.vue @@ -262,10 +262,10 @@ }, // 文章列表 fnGetArticleList() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pages/tabbar/links/links.vue b/pages/tabbar/links/links.vue index 9ae2ec6..869ec1b 100644 --- a/pages/tabbar/links/links.vue +++ b/pages/tabbar/links/links.vue @@ -210,10 +210,10 @@ fnGetData() { this.linkTotal = 0; this.loading = 'loading'; - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); this.$httpApi .getLinkListByTeam() .then(res => { diff --git a/pagesA/archives/archives.vue b/pagesA/archives/archives.vue index 96de057..66db466 100644 --- a/pagesA/archives/archives.vue +++ b/pagesA/archives/archives.vue @@ -115,10 +115,10 @@ }, fnGetData() { this.loading = 'loading'; - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); this.$httpApi[this.api](this.queryParams) .then(res => { this.result = res.data; diff --git a/pagesA/article-detail/article-detail.vue b/pagesA/article-detail/article-detail.vue index 18825d3..06a6fd3 100644 --- a/pagesA/article-detail/article-detail.vue +++ b/pagesA/article-detail/article-detail.vue @@ -364,10 +364,10 @@ methods: { fnGetData() { this.loading = 'loading'; - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); this.$httpApi .getArticleDetail(this.queryParams.articleId) .then(res => { diff --git a/pagesA/articles/articles.vue b/pagesA/articles/articles.vue index 3897c28..77f12e2 100644 --- a/pagesA/articles/articles.vue +++ b/pagesA/articles/articles.vue @@ -133,10 +133,10 @@ this.fnGetData(); }, fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pagesA/category-detail/category-detail.vue b/pagesA/category-detail/category-detail.vue index 7578206..cb5a697 100644 --- a/pagesA/category-detail/category-detail.vue +++ b/pagesA/category-detail/category-detail.vue @@ -75,10 +75,10 @@ }, methods: { fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pagesA/journal/journal.vue b/pagesA/journal/journal.vue index b9cfff0..03bd7a7 100644 --- a/pagesA/journal/journal.vue +++ b/pagesA/journal/journal.vue @@ -78,10 +78,10 @@ }, methods: { fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pagesA/leaving/leaving.vue b/pagesA/leaving/leaving.vue index 038ef9c..65c0621 100644 --- a/pagesA/leaving/leaving.vue +++ b/pagesA/leaving/leaving.vue @@ -4,6 +4,7 @@ + @@ -133,10 +134,10 @@ methods: { fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading'; diff --git a/pagesA/tag-detail/tag-detail.vue b/pagesA/tag-detail/tag-detail.vue index 90b33c3..dd5bfdc 100644 --- a/pagesA/tag-detail/tag-detail.vue +++ b/pagesA/tag-detail/tag-detail.vue @@ -75,10 +75,10 @@ }, methods: { fnGetData() { - uni.showLoading({ - mask: true, - title: '加载中...' - }); + // uni.showLoading({ + // mask: true, + // title: '加载中...' + // }); // 设置状态为加载中 if (!this.isLoadMore) { this.loading = 'loading';