[fix 83980] 登录页自动填充样式处理

This commit is contained in:
danshihao
2024-04-29 11:19:34 +08:00
parent 047e0471d3
commit f10e9eab61
+26 -1
View File
@@ -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;