File tree 1 file changed +19
-8
lines changed
1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
2
* @Author : your name
3
3
* @Date : 2021-01-11 11:14 :26
4
- * @LastEditTime : 2021-04-28 17: 39 : 05
4
+ * @LastEditTime : 2021-04-29 16: 37 : 27
5
5
* @LastEditors : Please set LastEditors
6
6
* @Description : In User Settings Edit
7
7
* @FilePath : \vue3-element-admin\src\views\Login.vue
25
25
<el-input
26
26
v-model.trim="userName"
27
27
placeholder="用户名"
28
+ ><template #prepend
29
+ ><i
30
+ style="font-size:20px;"
31
+ class="el-icon-user"
32
+ ></i></template
28
33
></el-input>
29
34
</el-form-item>
30
35
<el-form-item prop="pwd">
31
36
<el-input
32
37
v-model.trim="pwd"
33
38
show-password
34
39
placeholder="密码"
40
+ ><template #prepend
41
+ ><i
42
+ style="font-size:20px;"
43
+ class="el-icon-key"
44
+ ></i></template
35
45
></el-input>
36
46
</el-form-item>
37
47
<el-form-item>
@@ -112,21 +122,22 @@ export default {
112
122
top: 50%;
113
123
left: 100px;
114
124
transform: translateY(-50%);
125
+ transition: all 1s;
115
126
min-height: 273px;
116
127
text-align: center;
117
128
h1 {
118
- font-size: 36px;
119
- -webkit-transition-duration: 1s;
120
- transition-duration: 1s;
121
- -webkit-transition-timing-function: ease-in-put;
122
- transition-timing-function: ease-in-put;
123
- font-weight: 400;
124
- margin-top: 12px;
129
+ font-size: 24px;
130
+ transition: all 1s;
131
+ font-weight: bold;
132
+ margin-bottom: 36px;
125
133
}
126
134
.ve_form {
127
135
.ve_submit {
128
136
width: 100%;
129
137
}
138
+ :deep(.el-input-group__prepend) {
139
+ padding: 0 10px;
140
+ }
130
141
}
131
142
}
132
143
</style>
You can’t perform that action at this time.
0 commit comments