| | |
| | | <div class="content"> |
| | | <img :src="`../../static/img/notice-${m.type}.svg`" alt="" style="width: 50px;margin-right: 18px;"> |
| | | <div class="content-info"> |
| | | <h4 style="font-weight: normal;margin-bottom: 6px;display: flex;align-items: center;justify-content: space-between;"> |
| | | <h4 style="font-weight: normal;margin-bottom: 4px;display: flex;align-items: center;justify-content: space-between;"> |
| | | <span>{{ m.title }}</span> |
| | | <span class="time" style="color: #999999;font-size: 14px;">{{ m.time }}</span> |
| | | <span class="time" style="color: #999999;font-size: 12px;">{{ m.time }}</span> |
| | | </h4> |
| | | <p style="color: #999999;font-size: 14px;margin-bottom: 8px;" class="ellipsis-multiline">{{ m.content }}</p> |
| | | <el-tag type="danger" v-if="m.status==0">已拒绝</el-tag> |
| | | <el-tag type="success" v-if="m.status==1">已接收</el-tag> |
| | | <p style="font-size: 14px;color: #999999;display: flex;align-items: center;justify-content: space-between;"> |
| | | <p style="color: #999999;font-size: 14px;margin-bottom: 6px;" class="ellipsis-multiline">{{ m.content }}</p> |
| | | <el-tag type="danger" size="small" v-if="m.status==0" style="margin-bottom: 4px;">已拒绝</el-tag> |
| | | <el-tag type="success" size="small" v-if="m.status==1" style="margin-bottom: 4px;">已接收</el-tag> |
| | | <p style="font-size: 12px;color: #999999;display: flex;align-items: center;justify-content: space-between;"> |
| | | <span>发送人:{{m.sendUser}}</span> |
| | | <span>收件人:{{ m.getUser }}</span> |
| | | </p> |
| | |
| | | export default { |
| | | data(){ |
| | | return{ |
| | | drawer:true, |
| | | drawer:false, |
| | | direction:'rtl', |
| | | options:[], |
| | | type:'0', |
| | |
| | | title:'标题', |
| | | content:'内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容', |
| | | time:'2019-08-07 15:34:26', |
| | | status:1,//消息状态:拒绝、接收 |
| | | status:0,//消息状态:拒绝、接收 |
| | | isRead:0,//是否已读 |
| | | sendUser:'小明', |
| | | getUser:'李华', |