From bc120b60da82a616447836ac09907cf1970cc206 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 6 Jan 2026 23:50:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E6=A0=B7=E5=BC=8F=EF=BC=88=E5=8C=85=E6=8B=AC=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E8=BE=93=E5=85=A5=E6=A1=86=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/Settings.vue | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue index 08eb798..846eec8 100644 --- a/frontend/src/views/Settings.vue +++ b/frontend/src/views/Settings.vue @@ -4626,7 +4626,8 @@ watch(activeTab, (value) => { .ant-input, .ant-input-number, .ant-select-selector, - .ant-picker { + .ant-picker, + .ant-input-affix-wrapper { background: $bg-tertiary !important; border-color: $border-primary !important; color: $text-primary !important; @@ -4636,7 +4637,9 @@ watch(activeTab, (value) => { } &:focus, - &.ant-picker-focused { + &:focus-within, + &.ant-picker-focused, + &.ant-input-affix-wrapper-focused { border-color: $brand-primary !important; box-shadow: 0 0 0 2px rgba($brand-primary, 0.08) !important; } @@ -4644,6 +4647,26 @@ watch(activeTab, (value) => { &::placeholder { color: $text-tertiary !important; } + + // 密码输入框内的input + .ant-input { + background: transparent !important; + border: none !important; + box-shadow: none !important; + } + + // 密码显示/隐藏按钮 + .ant-input-suffix { + color: $text-secondary !important; + + .anticon { + color: $text-secondary !important; + + &:hover { + color: $text-primary !important; + } + } + } } .ant-input-number-input {