From 05996ec31be26aa93a028f00931e289376de9769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Fri, 20 May 2022 13:35:15 +0800 Subject: [PATCH] up --- src/views/login/index.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4cf64ad..581a5d6 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -17,7 +17,7 @@ + tabindex="1" auto-complete="off" /> @@ -25,7 +25,7 @@ + placeholder="请输入密码" name="password" tabindex="2" auto-complete="off" @keyup.enter.native="handleLogin" /> @@ -87,7 +87,7 @@ loading: false, passwordType: 'password', redirect: undefined, - marginTop: 20, + marginTop: 80, formHeight: 100 } }, @@ -165,7 +165,7 @@ $bg:#ffffff; $light_gray:#55320f; - $cursor: #fff; + $cursor: #55320f; @supports (-webkit-mask: none) and (not (cater-color: $cursor)) { .login-container .el-input input { @@ -213,8 +213,11 @@ caret-color: $cursor; &:-webkit-autofill { - box-shadow: 0 0 0px 1000px $bg inset !important; - -webkit-text-fill-color: $cursor !important; + box-shadow: 0 0 0px 1000px transparent inset !important; + -webkit-text-fill-color: $light_gray !important; + background-color: transparent; + background-image: none; + transition: background-color 50000s ease-in-out 0s; } } }