From c0adbaff50b9ddac3649ab7226c0db23da44886c Mon Sep 17 00:00:00 2001
From: linfeng <2445465217@qq.com>
Date: Fri, 21 Oct 2022 15:41:36 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AB=AFuniapp=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/index/index.vue | 12 ++----------
.../pages/user/home.vue | 6 +++++-
.../pages/user/user.vue | 2 +-
.../static/img/kefu.png | Bin 0 -> 7594 bytes
4 files changed, 8 insertions(+), 12 deletions(-)
create mode 100644 src/main/resources/static/linfeng-community-uniapp-ky/static/img/kefu.png
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 2582834..17d9b4d 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
@@ -61,9 +61,6 @@
onLoad() {
this.getLastPost();
},
- onShow() {
- // this.getMsgNum();
- },
onReachBottom() {
if (this.current === 0) {
this.page1++;
@@ -80,7 +77,6 @@
this.page1 = 1;
this.followUserPost = [];
this.getFollowUserPost();
- // this.getMsgNum();
}
if (this.current === 1) {
this.page2 = 1;
@@ -90,11 +86,7 @@
uni.stopPullDownRefresh();
},
methods: {
- getMsgNum() {
- this.$H.post('message/num').then(res => {
- this.$store.state.messegeNum = [0, 0, 0, res.result.allCount, 0];
- });
- },
+
tabChange(index) {
this.current = index;
this.followUserPost = [];
@@ -103,7 +95,7 @@
if (index === 0) {
this.page1 = 1;
this.getFollowUserPost();
- this.getMsgNum();
+
}
if (index === 1) {
this.page2 = 1;
diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/user/home.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/user/home.vue
index 4eba7cf..356f36d 100644
--- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/user/home.vue
+++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/user/home.vue
@@ -27,7 +27,7 @@
shape="circle" size="mini">
已关注
-
私信
@@ -40,11 +40,15 @@
+
+
+