From 042823ab8ee4fe07f6061e7b6f5816f53c0884ed Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Wed, 9 Jul 2025 11:45:05 +0800 Subject: [PATCH] =?UTF-8?q?style(component):=20=E4=BC=98=E5=8C=96CoiEmpty?= =?UTF-8?q?=E7=A9=BA=E7=8A=B6=E6=80=81=E7=BB=84=E4=BB=B6=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E8=89=B2=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除硬编码的紫色,使用CSS变量 var(--primary-color) 跟随系统主题 - 优化装饰性背景元素使用 color-mix 实现动态主题色透明效果 - 移除 coi-empty__action-btn 硬编码样式类,使用 NButton 原生主题色 - 确保空状态组件在主题切换时能正确适配颜色 - 统一深色模式下的主题色显示效果 --- src/components/common/CoiEmpty.vue | 65 +++--------------------------- 1 file changed, 6 insertions(+), 59 deletions(-) diff --git a/src/components/common/CoiEmpty.vue b/src/components/common/CoiEmpty.vue index 543b682..33d208d 100644 --- a/src/components/common/CoiEmpty.vue +++ b/src/components/common/CoiEmpty.vue @@ -32,7 +32,6 @@ :type="actionType" :size="actionButtonSize" round - class="coi-empty__action-btn" @click="handleAction" >