修复系统提醒图标,没有随着主题色变

pull/170/head^2
zhangdaiscott 2022-09-22 23:49:47 +08:00
parent 865a0075e0
commit 0b5dc1db62
1 changed files with 5 additions and 18 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="msg-clock" :class="prefixCls">
<Badge :count="count" :overflowCount="9" :offset="[-4, 2]" :numberStyle="numberStyle" @click="clickBadge">
<div :class="prefixCls">
<Badge :count="count" :overflowCount="9" :offset="[-4, 10]" :numberStyle="numberStyle" @click="clickBadge">
<BellOutlined />
</Badge>
@ -9,8 +9,6 @@
<sys-message-modal @register="registerMessageModal" @refresh="reloadCount"></sys-message-modal>
</div>
<div>
</div>
</template>
<script lang="ts">
import { computed, defineComponent, ref, unref, reactive, onMounted, getCurrentInstance } from 'vue';
@ -33,7 +31,6 @@
import SysMessageModal from '/@/views/system/message/components/SysMessageModal.vue'
export default defineComponent({
inheritAttrs: false,
components: {
Popover,
BellOutlined,
@ -215,9 +212,6 @@
padding: 12px 24px;
transition: background-color 300ms;
&:hover {
background-color: #e6f7ff;
}
}
.bottom-buttons {
@ -289,11 +283,4 @@
}
}
/** VUEN-2222 鼠标放上去,怎么不是手势*/
.msg-clock{
cursor: pointer;
&:hover{
background-color: #f6f6f6;
}
}
</style>