From 11df4e3d57cb6ada7c9794c9ff61fe2cf81f9c21 Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Wed, 1 Feb 2023 09:36:32 +0800 Subject: [PATCH] update uniapp --- .../linfeng-community-uniapp-ky/pages/index/index.vue | 4 ++-- .../static/linfeng-community-uniapp-ky/pages/my/post.vue | 2 -- .../linfeng-community-uniapp-ky/pages/square/square.vue | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue index f8a0849..b687c9c 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue @@ -81,7 +81,7 @@ uni.stopPullDownRefresh(); }, methods: { - + tabChange(index) { this.current = index; this.followUserPost = []; @@ -90,7 +90,7 @@ if (index === 0) { this.page1 = 1; this.getFollowUserPost(); - + } if (index === 1) { this.page2 = 1; diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/my/post.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/my/post.vue index 040b3dc..226ab9a 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/my/post.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/my/post.vue @@ -35,8 +35,6 @@ this.page++; this.getMyPostList(); } - - }, methods: { getCollectPostList() { diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue index f9f82e0..716c1ac 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue @@ -101,7 +101,7 @@ this.page = 1 this.pageList = [] this.getPostList() - }else if (this.pageCurrent == 1) { + } else if (this.pageCurrent == 1) { this.userList = []; this.getUserRanking(); } @@ -116,8 +116,8 @@ }, toSearch() { uni.showToast({ - icon:'none', - title:'暂无搜索' + icon: 'none', + title: '暂无搜索' }) }, pageTabChange(index) {