refactor: 样式优化
Former-commit-id: 5bc525c17b18408eb6c25d1019f166c6791c21eb
This commit is contained in:
@@ -11,10 +11,10 @@
|
|||||||
<lang-select style="color: #fff" />
|
<lang-select style="color: #fff" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-form-item prop="username" class="flex">
|
<el-form-item prop="username">
|
||||||
<span class="p-2 text-white">
|
<div class="p-2 text-white">
|
||||||
<svg-icon icon-class="user" />
|
<svg-icon icon-class="user" />
|
||||||
</span>
|
</div>
|
||||||
<el-input
|
<el-input
|
||||||
class="flex-1"
|
class="flex-1"
|
||||||
ref="username"
|
ref="username"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
content="Caps lock is On"
|
content="Caps lock is On"
|
||||||
placement="right"
|
placement="right"
|
||||||
>
|
>
|
||||||
<el-form-item class="flex" prop="password">
|
<el-form-item prop="password">
|
||||||
<span class="p-2 text-white">
|
<span class="p-2 text-white">
|
||||||
<svg-icon icon-class="password" />
|
<svg-icon icon-class="password" />
|
||||||
</span>
|
</span>
|
||||||
@@ -166,6 +166,7 @@ function handleLogin() {
|
|||||||
background: rgba(0, 0, 0, 0.1);
|
background: rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input {
|
.el-input {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
// 子组件 scoped 无效,使用 :deep
|
// 子组件 scoped 无效,使用 :deep
|
||||||
|
|||||||
Reference in New Issue
Block a user