From 5b49c1bb2a034b30050145cfa05b26fa63a7c2ef Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Wed, 9 Jul 2025 11:45:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(user):=20=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=88=86=E9=85=8D=E5=AD=97=E6=AE=B5=E4=B8=BB=E9=A2=98=E8=89=B2?= =?UTF-8?q?=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除角色选择器边框和阴影的硬编码紫色 #6366f1 - 使用 var(--primary-color) 和 var(--primary-color-suppl) 跟随系统主题色 - 优化角色标签样式使用 var(--primary-color) 替代硬编码渐变色 - 简化 renderRoleTag 函数,移除硬编码样式,使用 NTag 原生主题色 - 应用紧凑表单设计规范:800px弹框宽度、90px标签宽度、10px列间距 - 修复图标引用格式,确保图标正确显示 - 确保角色分配字段在主题切换时能正确适配颜色 --- src/views/system/user/index.vue | 134 ++++++++++++++++---------------- 1 file changed, 69 insertions(+), 65 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index f7f862a..6ccac72 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -85,13 +85,13 @@ 搜索 重置 @@ -104,10 +104,10 @@
- + 新增 @@ -122,7 +122,7 @@ > 删除 @@ -137,7 +137,7 @@ > 分配角色 @@ -173,12 +173,12 @@ 导出 - + @@ -186,7 +186,7 @@ 导入 @@ -197,7 +197,7 @@ 共 {{ pagination.itemCount }} 条
@@ -236,7 +236,6 @@ type="primary" size="medium" round - class="coi-empty__action-btn" @click="handleEmptyAction" >