From a3800819265e899077e0cb1f8a130647a2c497ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 31 Dec 2025 10:58:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E9=87=8D=E6=9E=84=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=E5=B9=B6=E8=B0=83=E6=95=B4=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(样式): 修改标签页右键菜单和标题颜色为浅色主题 style(时间组件): 更新日期格式显示为英文星期 --- src/layout/components/TagsView/index.vue | 2 +- src/views/components/CurrentTime.vue | 2 +- src/views/index.vue | 4 +- src/views/system/user/index.vue | 358 ++++++++++++++--------- 4 files changed, 226 insertions(+), 140 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 012d1a0..f67acf1 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -306,7 +306,7 @@ export default { .contextmenu { margin: 0; // 右键菜单金属背景 - background: #454c51; + background: #fff; border: 1px solid #a0a6ad; z-index: 3000; position: absolute; diff --git a/src/views/components/CurrentTime.vue b/src/views/components/CurrentTime.vue index 3a6565e..83a395e 100644 --- a/src/views/components/CurrentTime.vue +++ b/src/views/components/CurrentTime.vue @@ -30,7 +30,7 @@ export default { // 日期时间格式化(保持原逻辑不变) updateDateTime() { const now = new Date(); - // 格式化日期:2024-05-20 星期一 + // 格式化日期:2024-05-20 Monday(罗马风格) this.currentDate = now.toLocaleDateString("zh-CN", { year: "numeric", month: "2-digit", diff --git a/src/views/index.vue b/src/views/index.vue index 152ecbf..65d6b27 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -465,14 +465,14 @@ $theme-text-gray: #c9cdcf; .header-left { .system-title { - color: #fff; + color: #000; font-size: 28px; font-weight: 600; margin: 0 0 8px 0; } .system-subtitle { - color: rgba(255, 255, 255, 0.9); + color: #000; font-size: 14px; margin: 0; } diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 831d457..7525b82 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1,97 +1,125 @@