mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 18:06:47 +08:00
提交
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.tab = options.type;
|
||||
this.$store.dispatch('GetUserInfo').then(rs => {
|
||||
this.userInfo = rs;
|
||||
this.getMyPage();
|
||||
@@ -161,7 +162,7 @@
|
||||
})
|
||||
},
|
||||
ubtab(num){
|
||||
this.tab = num
|
||||
this.tab = num;
|
||||
},
|
||||
getMyPage() {//关注我的,关注他的
|
||||
this.followMe.aid = this.userInfo.aid;
|
||||
|
||||
@@ -78,12 +78,12 @@
|
||||
|
||||
</view>
|
||||
<text class="asset-border"></text>
|
||||
<view @click="navigateTo('follow')">
|
||||
<view @click="navigateTo('follow?type=1')">
|
||||
<text>{{ concernme }}</text>
|
||||
关注我的
|
||||
</view>
|
||||
<text class="asset-border"></text>
|
||||
<view @click="navigateTo('follow')">
|
||||
<view @click="navigateTo('follow?type=2')">
|
||||
<text>{{ myconcern }}</text>
|
||||
我的关注
|
||||
</view>
|
||||
@@ -367,7 +367,6 @@
|
||||
|
||||
Followto(){
|
||||
apiFollow.counts(this.userInfoObj.aid).then(res => {
|
||||
console.log(res);
|
||||
this.concernme = res.result.passive;
|
||||
this.myconcern = res.result.initiative;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user