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 3939
4040 <el-button :loading =" loading" type =" primary" style =" width :100% ;margin-bottom :30px ;" @click.native.prevent =" handleLogin" >{{ $t('login.logIn') }}</el-button >
4141
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 >
5051
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 >
5254 </el-form >
5355
54- <el-dialog :title =" $t('login.thirdparty')" :visible.sync =" showDialog" append-to-body >
56+ <el-dialog :title =" $t('login.thirdparty')" :visible.sync =" showDialog" >
5557 {{ $t('login.thirdpartyTips') }}
5658 <br >
5759 <br >
@@ -213,18 +215,17 @@ $dark_gray:#889aa4;
213215$light_gray :#eee ;
214216
215217.login-container {
216- position : fixed ;
217- height : 100% ;
218+ min-height : 100% ;
218219 width : 100% ;
219220 background-color : $bg ;
221+ overflow : hidden ;
220222 .login-form {
221- position : absolute ;
222- left : 0 ;
223- right : 0 ;
223+ position : relative ;
224224 width : 520px ;
225225 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 ;
228229 }
229230 .tips {
230231 font-size : 14px ;
@@ -270,8 +271,8 @@ $light_gray:#eee;
270271 }
271272 .thirdparty-button {
272273 position : absolute ;
273- right : 35 px ;
274- bottom : 28 px ;
274+ right : 0 ;
275+ bottom : 6 px ;
275276 }
276277}
277278 </style >
You can’t perform that action at this time.
0 commit comments