From b9511149364f6c3885dbe1c0f6f0f0d36cedc119 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Tue, 16 Sep 2025 11:55:56 +0800 Subject: [PATCH] =?UTF-8?q?style(button):=20=E4=BC=98=E5=8C=96=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F=E5=92=8C=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/components/ant-button.scss | 15 ++++++++----- .../login/components/login-form/index.vue | 14 ++++++------- src/views/login/style.scss | 21 ++++++++++--------- 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/src/styles/components/ant-button.scss b/src/styles/components/ant-button.scss index 6ea1e79..b5b20c6 100644 --- a/src/styles/components/ant-button.scss +++ b/src/styles/components/ant-button.scss @@ -19,6 +19,7 @@ padding: 0 16px; height: 28px; } + } .ant-btn-default { &:disabled { @@ -68,12 +69,12 @@ outline: none; outline-offset: unset; } + + &:active { + background: $color-primary-7 !important; + } } - .ant-wave { - background: $color-primary-7 !important; - --wave-color: $color-primary-7; - } &.ant-btn-dangerous { background-color: $color-error !important; &:disabled { @@ -83,6 +84,10 @@ &:hover { background-color: $color-error-5 !important; } + + &:active { + background: $color-error-5 !important; + } } } &.ant-btn-background-ghost { @@ -132,7 +137,7 @@ color: $color-primary-5 !important; } } - + &.ant-btn-dangerous { border: 1px solid $color-error !important; color: $color-error !important; diff --git a/src/views/login/components/login-form/index.vue b/src/views/login/components/login-form/index.vue index 07c827d..b47ae9a 100644 --- a/src/views/login/components/login-form/index.vue +++ b/src/views/login/components/login-form/index.vue @@ -50,7 +50,7 @@
- + 登录即代表同意 用户协议 隐私政策