fix 优化消息图标样式

This commit is contained in:
Ironsp
2026-06-10 17:00:10 +08:00
parent 7b8509cc31
commit 93b97a1571
2 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,10 @@
"ComputedRef": true, "ComputedRef": true,
"DirectiveBinding": true, "DirectiveBinding": true,
"EffectScope": true, "EffectScope": true,
"ElLoading": true,
"ElMessage": true,
"ElMessageBox": true,
"ElNotification": true,
"ExtractDefaultPropTypes": true, "ExtractDefaultPropTypes": true,
"ExtractPropTypes": true, "ExtractPropTypes": true,
"ExtractPublicPropTypes": true, "ExtractPublicPropTypes": true,

View File

@@ -35,8 +35,8 @@
</div> </div>
</el-tooltip> --> </el-tooltip> -->
<!-- 消息 --> <!-- 消息 -->
<el-tooltip content="警报" effect="dark" placement="bottom" class="ml-[50px]"> <el-tooltip content="警报" effect="dark" placement="bottom">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center" class="mr-[30px]">
<el-popover placement="bottom" trigger="click" transition="el-zoom-in-top" :width="300" :persistent="false"> <el-popover placement="bottom" trigger="click" transition="el-zoom-in-top" :width="300" :persistent="false">
<template #reference> <template #reference>
<el-badge :value="newNotice > 0 ? newNotice : ''" :max="99"> <el-badge :value="newNotice > 0 ? newNotice : ''" :max="99">