mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改删除不灵敏的问题
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user