From d7ab2eda355963df6a237e541ed25b86bd868cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Tue, 19 Apr 2022 07:55:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(login.vue):=20=E4=BF=AE=E5=A4=8D=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E5=9B=A0element-plus=E5=8D=87=E7=BA=A7input?= =?UTF-8?q?=E5=A4=9A=E4=BA=86el-input=5F=5Fwrapper=E5=8C=85=E8=A3=B9?= =?UTF-8?q?=E5=B1=82=E5=AF=BC=E8=87=B4=E8=BE=93=E5=85=A5=E6=A1=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=8F=98=E5=BD=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: fe57611a298496d45aadab551726bc0fef13f502 --- src/views/login/index.vue | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 8d3bbd82..5e94ab86 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -239,22 +239,27 @@ $cursor: #fff; display: inline-block; height: 47px; width: 85%; - - input { + .el-input__wrapper { + padding: 0; background: transparent; - border: 0px; - -webkit-appearance: none; - border-radius: 0px; - padding: 12px 5px 12px 15px; - color: $light_gray; - height: 47px; - caret-color: $cursor; + box-shadow:none; + .el-input__inner { + background: transparent; + border: 0px; + -webkit-appearance: none; + border-radius: 0px; + padding: 12px 5px 12px 15px; + color: $light_gray; + height: 47px; + caret-color: $cursor; - &:-webkit-autofill { - box-shadow: 0 0 0px 1000px $bg inset !important; - -webkit-text-fill-color: $cursor !important; + &:-webkit-autofill { + box-shadow: 0 0 0px 1000px $bg inset !important; + -webkit-text-fill-color: $cursor !important; + } } } + } .el-input__inner {