mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交消息修改
This commit is contained in:
@@ -68,13 +68,13 @@
|
||||
<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>
|
||||
<!-- <a :href="returnRouter(item)"> -->
|
||||
<span @click="returnRouter(item)">{{ item.title }}</span>
|
||||
<span style="cursor: pointer;" @click="returnRouter(item)">{{ item.title }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="msg-body">
|
||||
<!-- <a :href="returnRouter(item)"> -->
|
||||
<div @click="returnRouter(item)" class="msg-body-content" v-if="item.content">{{item.tip}}-{{ item.content }}</div>
|
||||
<div @click="returnRouter(item)" class="msg-body-content" v-else>{{item.tip}}</div>
|
||||
<div style="cursor: pointer;" @click="returnRouter(item)" class="msg-body-content" v-if="item.content">{{item.tip}}-{{ item.content }}</div>
|
||||
<div style="cursor: pointer;" @click="returnRouter(item)" class="msg-body-content" v-else>{{item.tip}}</div>
|
||||
<!-- </a> -->
|
||||
<div class="msg-body-but">
|
||||
<el-button type="danger" plain @click="delItem(item)">删除</el-button>
|
||||
@@ -321,7 +321,7 @@ export default {
|
||||
// this.queryMessage(true)
|
||||
item.isRead = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
if(item.pageUrl && item.pageUrl.length>10){
|
||||
location.href = item.pageUrl;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user