diff --git a/src/styles/components/ant-button.scss b/src/styles/components/ant-button.scss index b5b20c6..29bc47e 100644 --- a/src/styles/components/ant-button.scss +++ b/src/styles/components/ant-button.scss @@ -19,7 +19,7 @@ padding: 0 16px; height: 28px; } - + } .ant-btn-default { &:disabled { @@ -86,7 +86,7 @@ } &:active { - background: $color-error-5 !important; + background-color: $color-error-7 !important; } } } @@ -105,6 +105,11 @@ color: $color-primary-5 !important; background-color: #fff !important; } + + &:active { + border-color: $color-primary-7 !important; + color: $color-primary-7 !important; + } } &.ant-btn-dangerous { border: 1px solid $color-error !important; @@ -119,6 +124,11 @@ border-color: $color-error-5 !important; color: $color-error-5 !important; } + + &:active { + border-color: $color-error-7 !important; + color: $color-error-7 !important; + } } } } @@ -136,6 +146,11 @@ border-color: $color-primary-5 !important; color: $color-primary-5 !important; } + + &:active { + border-color: $color-primary-7 !important; + color: $color-primary-7 !important; + } } &.ant-btn-dangerous { @@ -150,6 +165,11 @@ border-color: $color-error-5 !important; color: $color-error-5 !important; } + + &:active { + border-color: $color-error-7 !important; + color: $color-error-7 !important; + } } } } @@ -167,6 +187,10 @@ color: $color-primary-5 !important; border-color: transparent !important; } + + &:active { + color: $color-primary-7 !important; + } } &.ant-btn-dangerous { color: $color-error !important; @@ -177,6 +201,10 @@ &:hover { color: $color-error-5 !important; } + + &:active { + color: $color-error-7 !important; + } } } } @@ -194,6 +222,10 @@ color: $color-primary-5 !important; border-color: transparent !important; } + + &:active { + color: $color-primary-7 !important; + } } &.ant-btn-dangerous { color: $color-error !important; @@ -204,6 +236,10 @@ &:hover { color: $color-error-5 !important; } + + &:active { + color: $color-error-7 !important; + } } } } diff --git a/src/views/components/management/person/components/change-password-modal/index.vue b/src/views/components/management/person/components/change-password-modal/index.vue index 5c062ae..4b7c55a 100644 --- a/src/views/components/management/person/components/change-password-modal/index.vue +++ b/src/views/components/management/person/components/change-password-modal/index.vue @@ -14,7 +14,13 @@

验证成功,请更改密码

- + @@ -26,6 +32,7 @@ placeholder="密码确认" size="large" class="!h-48px" + @change="onPasswordChange" > -

+

{{ errMsg }}

@@ -43,7 +43,7 @@ -

+

{{ errMsg }}

diff --git a/src/views/login/components/register-form/index.vue b/src/views/login/components/register-form/index.vue index 964b1b8..bed7c7a 100644 --- a/src/views/login/components/register-form/index.vue +++ b/src/views/login/components/register-form/index.vue @@ -50,12 +50,12 @@ -

+

{{ errMsg }}

- +