消息中心修改

This commit is contained in:
lmj
2022-10-13 11:59:05 +08:00
parent d359743a30
commit 8fcdc73be5

View File

@@ -6,7 +6,7 @@
</ul>
</Remark>
<portal-header :goSearch="10"></portal-header> -->
<div class="xcontent portal-content">
<div class=" portal-content">
<div class="msg-nav">
<div style="display: flex;align-items: center;">
<div><el-checkbox v-model="checkAll" :indeterminate="isIndeterminate">多选</el-checkbox></div>
@@ -32,14 +32,22 @@
<span>{{ item.title }}</span>
<!-- <span class="msg-time"></span> -->
</div>
<div><el-button type="danger" size="small" @click="delItem(item)">删除</el-button></div>
<!-- <div><el-button type="danger" size="small" @click="delItem(item)">删除</el-button></div> -->
</div>
<div class="msg-body">
<!-- {{ filterContent(item.content)[0] }}- -->
<div class="msg-body-content">
<!-- {{ filterContent(item.content)[0] }}- -->
{{item.tip}}-
<a :href="returnRouter(item)">{{ item.content }}</a>
</div>
<div class="msg-body-but">
<el-button type="danger" plain @click="delItem(item)">删除</el-button>
</div>
</div>
<div class="msg-time">{{ item.msgTime }}</div>
</div>
</div>
<div style="text-align: center;margin-top: 50px" v-if="total > queryData.pageSize">
@@ -274,11 +282,37 @@ export default {
line-height: 30px;
}
.msg-body {
word-break:break-all;
padding: 10px 10px 10px 25px;
color: #727272;
a:hover {
color: #409eff;
display: flex;
width: 100%;
.msg-body-content{
flex: 1;
word-break:break-all;
color: #727272;
a:hover {
color: #409eff;
}
}
.msg-body-but{
margin-left: auto;
button{
width: 88px;
height: 32px;
background-color: #fff;
border-radius: 16px;
padding: 0;
color: #F52F3E;
line-height: 32px;
text-align: center;
border: 1px solid #F52F3E;
}
button:hover{
background-color: rgba(255,101,98,0.13);
color: #F52F3E;
}
}
}
.msg-time {