refactor: 样式优化

This commit is contained in:
haoxr 2023-02-21 00:12:39 +08:00
parent 7aa88135f5
commit 5bc525c17b
1 changed files with 5 additions and 4 deletions

View File

@ -11,10 +11,10 @@
<lang-select style="color: #fff" />
</div>
<el-form-item prop="username" class="flex">
<span class="p-2 text-white">
<el-form-item prop="username">
<div class="p-2 text-white">
<svg-icon icon-class="user" />
</span>
</div>
<el-input
class="flex-1"
ref="username"
@ -30,7 +30,7 @@
content="Caps lock is On"
placement="right"
>
<el-form-item class="flex" prop="password">
<el-form-item prop="password">
<span class="p-2 text-white">
<svg-icon icon-class="password" />
</span>
@ -166,6 +166,7 @@ function handleLogin() {
background: rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
.el-input {
background: transparent;
// scoped 使 :deep