|
|
@@ -134,7 +134,7 @@
|
|
|
<h3 class="notificationTitle">消息中心</h3>
|
|
|
</div>
|
|
|
<div class="nitification-container">
|
|
|
- <div class="item" v-for="(item,index) in info.notices" :key="index" @click='$router.push({path:"/message/message/detail",query:{id:item.id}})'>
|
|
|
+ <div class="item" v-for="(item,index) in info.notices" :key="index" @click='showNotice(item.id)'>
|
|
|
<h4>{{item.name}}</h4>
|
|
|
<p v-html="item.content" class="desc">{{item.content}}</p>
|
|
|
<p style="font-size:12px;color: rgba(107,121,142,1);text-align:right;">{{item.ctime}}</p>
|
|
|
@@ -177,6 +177,11 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ showNotice(id){
|
|
|
+ this.getData()
|
|
|
+ this.$router.push({path:"/message/message/detail",query:{id:id}})
|
|
|
+ this.drawer=false
|
|
|
+ },
|
|
|
handleClose(){
|
|
|
|
|
|
},
|
|
|
@@ -237,11 +242,6 @@ export default {
|
|
|
element.show = 0
|
|
|
}
|
|
|
}
|
|
|
- // if(this.permission(element.name)){
|
|
|
- // element.show = 1
|
|
|
- // }else{
|
|
|
- // element.show = 0
|
|
|
- // }
|
|
|
});
|
|
|
let navs = []
|
|
|
data.forEach(item =>{
|