File tree Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change 39
39
40
40
<el-button :loading =" loading" type =" primary" style =" width :100% ;margin-bottom :30px ;" @click.native.prevent =" handleLogin" >{{ $t('login.logIn') }}</el-button >
41
41
42
- <div class =" tips" >
43
- <span >{{ $t('login.username') }} : admin</span >
44
- <span >{{ $t('login.password') }} : {{ $t('login.any') }}</span >
45
- </div >
46
- <div class =" tips" >
47
- <span style =" margin-right :18px ;" >{{ $t('login.username') }} : editor</span >
48
- <span >{{ $t('login.password') }} : {{ $t('login.any') }}</span >
49
- </div >
42
+ <div style =" position :relative " >
43
+ <div class =" tips" >
44
+ <span >{{ $t('login.username') }} : admin</span >
45
+ <span >{{ $t('login.password') }} : {{ $t('login.any') }}</span >
46
+ </div >
47
+ <div class =" tips" >
48
+ <span style =" margin-right :18px ;" >{{ $t('login.username') }} : editor</span >
49
+ <span >{{ $t('login.password') }} : {{ $t('login.any') }}</span >
50
+ </div >
50
51
51
- <el-button class =" thirdparty-button" type =" primary" @click =" showDialog=true" >{{ $t('login.thirdparty') }}</el-button >
52
+ <el-button class =" thirdparty-button" type =" primary" @click =" showDialog=true" >{{ $t('login.thirdparty') }}</el-button >
53
+ </div >
52
54
</el-form >
53
55
54
- <el-dialog :title =" $t('login.thirdparty')" :visible.sync =" showDialog" append-to-body >
56
+ <el-dialog :title =" $t('login.thirdparty')" :visible.sync =" showDialog" >
55
57
{{ $t('login.thirdpartyTips') }}
56
58
<br >
57
59
<br >
@@ -213,18 +215,17 @@ $dark_gray:#889aa4;
213
215
$light_gray :#eee ;
214
216
215
217
.login-container {
216
- position : fixed ;
217
- height : 100% ;
218
+ min-height : 100% ;
218
219
width : 100% ;
219
220
background-color : $bg ;
221
+ overflow : hidden ;
220
222
.login-form {
221
- position : absolute ;
222
- left : 0 ;
223
- right : 0 ;
223
+ position : relative ;
224
224
width : 520px ;
225
225
max-width : 100% ;
226
- padding : 35px 35px 15px 35px ;
227
- margin : 120px auto ;
226
+ padding : 160px 35px 0 ;
227
+ margin : 0 auto ;
228
+ overflow : hidden ;
228
229
}
229
230
.tips {
230
231
font-size : 14px ;
@@ -270,8 +271,8 @@ $light_gray:#eee;
270
271
}
271
272
.thirdparty-button {
272
273
position : absolute ;
273
- right : 35 px ;
274
- bottom : 28 px ;
274
+ right : 0 ;
275
+ bottom : 6 px ;
275
276
}
276
277
}
277
278
</style >
You can’t perform that action at this time.
0 commit comments