From 2bd5b4f32d19abf1ef1cbbcba2b4686486ffcf0f Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期六, 10 十月 2026 11:59:34 +0800
Subject: [PATCH] 风格替换
---
hugray-admin/src/layout/components/HeaderNotice/index.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/hugray-admin/src/layout/components/HeaderNotice/index.vue b/hugray-admin/src/layout/components/HeaderNotice/index.vue
index 2dfabd0..08ac905 100644
--- a/hugray-admin/src/layout/components/HeaderNotice/index.vue
+++ b/hugray-admin/src/layout/components/HeaderNotice/index.vue
@@ -107,12 +107,16 @@
<style lang="scss" scoped>
.notice-trigger {
position: relative;
- transform: translateX(-6px);
- .svg-icon { width: 1.2em; height: 1.2em; vertical-align: -0.2em; }
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ /* 顶栏图标在 30px 圆形按钮内居中,行高需归零(否则继承 .right-menu 的 50px 使盒子溢出圆形) */
+ line-height: 1;
+ .svg-icon { width: 1.2em; height: 1.2em; }
.notice-badge {
position: absolute;
- top: 7px;
- right: -3px;
+ top: -6px;
+ right: -8px;
background: #f56c6c;
color: #fff;
border-radius: 10px;
--
Gitblit v1.7.1