Merge pull request #3088 from dataease/pr@dev@style_login_qr_code

style(登录): 登录页二维码切换回密码登录按钮样式
This commit is contained in:
fit2cloud-chenyw 2022-09-15 18:39:38 +08:00 committed by GitHub
commit e02f83a2b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

View File

@ -6,7 +6,7 @@
<div class="login-container">
<el-row v-loading="loading" type="flex">
<el-col :span="12">
<div v-show="qrTypes.length" class="trans" @click="showQr">
<div v-show="qrTypes.length" :class="codeShow ? 'trans-pc' : 'trans'" @click="showQr">
<div v-show="imgAppShow" class="imgApp" />
</div>
<el-form v-show="!codeShow" ref="loginForm" :model="loginForm" :rules="loginRules" size="default">
@ -486,6 +486,16 @@ export default {
// background-color: var(--primary,#3370ff); // -- 线
cursor:pointer;
}
.trans-pc {
position: absolute;
left: calc(50% - 64px);
top: 0;
width: 64px;
height: 64px;
background-image: url(../../assets/xianshiqi.png) ;
background-color: var(--primary,#3370ff);
cursor:pointer;
}
.imgApp {
width: 64px;
height: 64px;