Commit 9600a798 authored by 仇晓婷's avatar 仇晓婷

消息

parent 57064865
......@@ -72,7 +72,7 @@ export default {
this.messageList = this.messages.filter((u) => {
return true;
});
console.log("message", this.messageList);
// console.log("message", this.messageList);
},
handleClear(tab) {
......
......@@ -11,7 +11,7 @@
<Row v-for="(item,index) in messageList" :key="index" class="row-text">
<Col :span="1">{{index+1}}</Col>
<Col :span="8">
<Icon :type="item.icon||'md-mail'" />
<Icon :type="item.icon||'md-mail'" :style="{color:item.color||'#2680eb'}" />
&nbsp;
{{item.title}}
</Col>
......@@ -41,6 +41,7 @@ export default {
mounted() {
// this.getInfo();
this.load();
setInterval(this.load, 90 * 1000);
},
computed: {
...mapState({ messages: "messages" }),
......@@ -101,10 +102,11 @@ export default {
}
.sender-time {
text-align: right;
padding-right: 15px;
}
.ivu-icon {
color: #2680eb;
}
// .ivu-icon {
// color: #2680eb;
// }
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment