通知公告
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
</AiTopFixed>
|
||||
<div class="body">
|
||||
<div class="item" v-for="(item,index) in (current==0 ? list.read : list.unRead)" :key="index">
|
||||
<u-avatar :src="item.avatar" mode="square" size="76"></u-avatar>
|
||||
<u-avatar :src="item.avatar" mode="square" size="38"></u-avatar>
|
||||
<span class="name">{{item.name}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -20,22 +20,23 @@
|
||||
export default {
|
||||
name: "read",
|
||||
components: {AiBack, AiTopFixed},
|
||||
props:{
|
||||
params:[String,Number]
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
current: 0,
|
||||
id: null,
|
||||
list: [],
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
this.id = opt.id;
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http.post("/app/appannouncementreader/list-unread",null,{
|
||||
params:{
|
||||
id:this.id
|
||||
id:this.params
|
||||
}
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
|
||||
Reference in New Issue
Block a user