diff --git a/src/components/HomePage/followList.vue b/src/components/HomePage/followList.vue
index b9d32c34..9913eea3 100644
--- a/src/components/HomePage/followList.vue
+++ b/src/components/HomePage/followList.vue
@@ -30,6 +30,18 @@
+
+
+
+

@@ -60,6 +72,18 @@
+
+
+
+
@@ -102,7 +126,8 @@ import apiUser from "@/api/system/user.js";
page:{
pageIndex:1,
pageSize:10,
- aid:''
+ aid:'',
+ count:0
}
}
},
@@ -110,10 +135,22 @@ import apiUser from "@/api/system/user.js";
this.pageId = this.$xpage.getHomeId(this.$route);
},
methods:{
+ handleSizeChange(val) {
+ this.page.pageSize = val;
+ this.page.pageIndex = 1;
+ this.getPage()
+ this.getMyPage()
+ },
+ handleCurrentChange(val) {
+ this.page.pageIndex = val;
+ this.getPage()
+ this.getMyPage()
+ },
cancel(item) {
apiFollow.remove(item.followId).then(res=>{
if(res.status == 200) {
this.getPage()
+
}
})
},
@@ -135,12 +172,12 @@ import apiUser from "@/api/system/user.js";
this.page.aid = this.pageId;
apiFollow.mypage(this.page).then(res=>{
if(res.status== 200) {
- this.count = res.result.count;
+ this.page.count = res.result.count;
res.result.list.forEach(item=>{
item.userFollow.authorInfo = { aid: "",name: "",orgInfo: "",avatar: "",sex: null ,sign:''}
})
this.mypageList = res.result.list;
- //console.log(this.mypageList,'this.mypageList');
+ console.log(this.mypageList,'this.mypageList');
this.getUserData(res.result.list);
}
})
@@ -149,7 +186,7 @@ import apiUser from "@/api/system/user.js";
this.page.aid = this.pageId;
apiFollow.page(this.page).then(res=>{
if(res.status== 200) {
- this.count = res.result.count;
+ this.page.count = res.result.count;
res.result.list.forEach(item=>{
item.authorInfo = { aid: "",name: "",orgInfo: "",avatar: "",sex: null ,sign:''}
})
diff --git a/src/components/UserCenter/menu.vue b/src/components/UserCenter/menu.vue
index b22b88d8..ea38c61b 100644
--- a/src/components/UserCenter/menu.vue
+++ b/src/components/UserCenter/menu.vue
@@ -306,7 +306,7 @@
消息中心
-
-
+