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 @@
- + 登录即代表同意 用户协议 隐私政策