mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
10.23 「我的关注」所有动态出现「隐藏」按钮
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p v-if="isDynamic" class="portal-summary-text" style="margin-bottom:18px;margin-top:10px">
|
||||
<span v-if="!personal || isFollow">{{item.aname}}</span>{{item.cusInfo}}
|
||||
<span style="margin-left:28px">{{item.eventTime}}</span>
|
||||
<span v-if="personal" class="follow-hide pointer" style="float:right">
|
||||
<span v-if="item.aid == userInfo.aid" class="follow-hide pointer" style="float:right">
|
||||
<span v-if="item.hidden">已隐藏</span>
|
||||
<span v-else @click="emitHide(item.id)"> <svg-icon style="margin-right: 10px;font-size:22px;padding-top: 4px;" icon-class="eyes"></svg-icon>隐藏 </span>
|
||||
</span>
|
||||
@@ -32,6 +32,7 @@
|
||||
|
||||
<script>
|
||||
import interactBar from "@/components/Portal/interactBar.vue";
|
||||
import { mapGetters,mapActions } from 'vuex';
|
||||
// import author from "@/components/Portal/authorInfo.vue";
|
||||
export default{
|
||||
name:"PutList",
|
||||
@@ -57,6 +58,9 @@
|
||||
type:Boolean,
|
||||
default:false,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo']),
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
|
||||
Reference in New Issue
Block a user