登录页优化,消息提示优化

This commit is contained in:
暮光:城中城
2020-12-25 22:22:51 +08:00
parent a5fcdea2fa
commit 2e37d4db44
47 changed files with 78 additions and 167 deletions

View File

@@ -35,7 +35,7 @@
<i class="el-icon-menu icon-collapse" @click="leftCollapse = !leftCollapse"></i>
<el-popover placement="bottom" width="600" trigger="click" v-model="userMessagePopVisible">
<el-badge :is-dot="haveNotReadUserMessage" slot="reference" style="line-height: 20px;margin-right: 20px;">
<i class="el-icon-bell head-icon" @click="" style="margin-right: 0;"></i>
<i class="el-icon-bell head-icon" @click="loadUserMessageList" style="margin-right: 0;"></i>
</el-badge>
<div style="margin-bottom: 10px;">
<span style="font-size: 14px;font-weight: bold;">通知</span>
@@ -213,6 +213,7 @@
userMessagePopVisible: false,
userMsgTotalCount: 0,
userMsgParam: {
sysType: 2,
pageNum: 1,
pageSize: 20,
},
@@ -287,7 +288,7 @@
this.loadUserMessageList();
});
}
if (row.msgType >= 2 && row.msgType <= 11) {
if (row.msgType >= 2 && row.msgType <= 12) {
this.$router.push({path: '/page/show', query: {pageId: row.dataId}});
this.userMessagePopVisible = false;
}