diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 3af553e..0b649c3 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -389,6 +389,18 @@ export default { font-weight: 400; font-size: 14px; color: @text-color; + + // 处理自动填充的样式 + &:-webkit-autofill, + &:-webkit-autofill:hover, + &:-webkit-autofill:focus, + &:-webkit-autofill:active { + -webkit-transition-delay: 999999s; + -webkit-transition: color 999999s ease-out, background-color 999999s ease-out; + font-family: Alibaba PuHuiTi, Alibaba PuHuiTi, sans-serif; + font-weight: 400; + font-size: 14px; + } } // label @@ -481,7 +493,7 @@ export default { border: none !important; box-shadow: none !important; background: none !important; - border-bottom: 0.01rem solid rgba(0,148,255,0.4) !important; + border-bottom: 0.01rem solid rgba(0, 148, 255, 0.4) !important; border-radius: 0 !important; height: 0.48rem; padding-left: 0.36rem; @@ -489,7 +501,20 @@ export default { font-weight: 400; font-size: 0.16rem; line-height: 0.24rem; + + // 处理自动填充的样式 + &:-webkit-autofill, + &:-webkit-autofill:hover, + &:-webkit-autofill:focus, + &:-webkit-autofill:active { + -webkit-transition-delay: 999999s; + -webkit-transition: color 999999s ease-out, background-color 999999s ease-out; + font-family: PingFang SC, PingFang SC, sans-serif; + font-weight: 400; + font-size: 0.16rem; + } } + .login-btn { .ant-btn { height: 0.48rem;