mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
提交
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<li class="follow-home-title tabs-index" @click="tagTab(2)">{{userInfo.aid == pageId ?'关注我的人':'关注TA的人'}}<span v-if="active == 2" class="line"></span></li>
|
<li class="follow-home-title tabs-index" @click="tagTab(2)">{{userInfo.aid == pageId ?'关注我的人':'关注TA的人'}}<span v-if="active == 2" class="line"></span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div v-show="active ==1">
|
<div v-show="active ==1">
|
||||||
<div class="follow-list" v-for="(item,index) in follow.list" :key="index">
|
<div class="follow-list" v-for="(item,index) in follow.list" :key="item.userFollow.id">
|
||||||
<div style="width:60px;height:60" @click="toHome(item.userFollow.authorInfo)">
|
<div style="width:60px;height:60" @click="toHome(item.userFollow.authorInfo)">
|
||||||
<el-avatar shape="circle" style="width:60px;height:60px" size="small" :src="baseUrl+item.userFollow.authorInfo.avatar" v-if="item.userFollow.authorInfo.avatar"></el-avatar>
|
<el-avatar shape="circle" style="width:60px;height:60px" size="small" :src="baseUrl+item.userFollow.authorInfo.avatar" v-if="item.userFollow.authorInfo.avatar"></el-avatar>
|
||||||
<div v-else class="uavatar">
|
<div v-else class="uavatar">
|
||||||
@@ -167,7 +167,7 @@ import apiUser from "@/api/system/user.js";
|
|||||||
// console.log(aid,delIdx,'参数值');
|
// console.log(aid,delIdx,'参数值');
|
||||||
// //先从我关注的人中员列表中移除
|
// //先从我关注的人中员列表中移除
|
||||||
// //this.$nextTick(()=>{
|
// //this.$nextTick(()=>{
|
||||||
this.follow.list.splice(delIdx,1);
|
// this.follow.list.splice(delIdx,1);
|
||||||
// //})
|
// //})
|
||||||
|
|
||||||
// // this.follow.list.forEach(one=>{
|
// // this.follow.list.forEach(one=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user