From 501c6a293991c735436907d71e7e5699ae6f3984 Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期六, 06 一月 2024 19:55:38 +0800 Subject: [PATCH] add --- src/views/login/index.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 1395bfa..aef1598 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,5 +1,5 @@ <template> - <Home> + <Home class="home"> <template slot="test"><span style="color: red">123</span></template> <template slot="content"> <el-form class="login-form" autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left"> @@ -168,9 +168,10 @@ $light_gray:#eee; /* reset element-ui css */ -.el-input { +// .home { + .el-input { display: inline-block; - height: 47px; + // height: 47px; width: calc(100% - 40px); input { background: transparent; @@ -179,13 +180,15 @@ border-radius: 0px; padding: 12px 5px 12px 15px; color: $light_gray; - height: 47px; + // height: 47px; &:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px $bg inset !important; -webkit-text-fill-color: #fff !important; } } } +// } + </style> -- Gitblit v1.9.3