修改删除不灵敏的问题

This commit is contained in:
weinan2087
2022-10-21 18:26:50 +08:00
parent f11eea27e6
commit 568fa50018

View File

@@ -44,31 +44,27 @@
<div class="msg-list" v-for="(item, index) in data" :key="index">
<a :href="returnRouter(item)">
<div class="msg-top">
<div>
<span style="padding-right: 10px;"><el-checkbox v-model="item.checked" @change="setCheckAll"></el-checkbox></span>
<span v-if="!item.isRead" style="font-size:12px;padding:5px 7px; border-radius: 2px;background: #FF6562;color: #fff;margin-right: 5px">未读</span>
<span v-else style="font-size:14px;padding:5px 7px; background: #eee; border-radius: 2px; color: #666666;margin-right: 5px">已读</span>
<span>{{ item.title }}</span>
<!-- <span class="msg-time"></span> -->
<a :href="returnRouter(item)">
<span>{{ item.title }}</span>
</a>
</div>
<!-- <div><el-button type="danger" size="small" @click="delItem(item)">删除</el-button></div> -->
</div>
<div class="msg-body">
<div class="msg-body-content">
<!-- {{ filterContent(item.content)[0] }}- -->
{{item.tip}}-
{{ item.content }}
</div>
<a :href="returnRouter(item)">
<div class="msg-body-content">{{item.tip}}-{{ item.content }}</div>
</a>
<div class="msg-body-but">
<el-button type="danger" plain @click="delItem(item)">删除</el-button>
</div>
</div>
<div class="msg-time">{{ item.msgTime }}</div>
</a>
</div>
</div>
<div style="text-align: center;margin-top: 50px" v-if="total > queryData.pageSize">