Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Aug 9, 2024
1 parent 16dab0a commit 3ad725f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/components/LoginDialog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,27 @@
</div>
</el-row>
<el-row v-if="loginType === 2">
<div class="h-[172px] mx-auto mt-[20px]">
<el-row class="h-[172px] mx-auto mt-[20px] login-form">
<el-form
ref="formRef"
style="max-width: 600px"
style="max-width: 800px"
label-width="auto"
class="demo-dynamic"
>
<el-form-item>
<el-input type="password" autocomplete="off" />
<el-input type="username" autocomplete="off" :prefix-icon="User"/>
</el-form-item>
<el-form-item>
<el-input type="password" autocomplete="off" />
<el-input type="password" autocomplete="off" :prefix-icon="Lock"/>
</el-form-item>
<el-form-item>
<el-input type="password" autocomplete="off" :prefix-icon="Lock"/>
</el-form-item>
</el-form>
</div>
</el-row>
<el-row class="mx-auto">
<el-button>登陆</el-button>
</el-row>
</el-row>
<el-row class="mt-[28px] justify-center">
<div class="w-[170px] h-[45px]">
Expand Down Expand Up @@ -63,6 +69,7 @@ import { isMobile } from '@/utils/common'
import { storeToRefs } from 'pinia';
import { useUserStore } from '@/store';
import { localStorage } from '@/utils/storage';
import { Lock, User } from '@element-plus/icons-vue'
const dialogWidth = computed(() => isMobile() ? '75%' : '35%')
const qrcode = ref('')
const dialogVisible = ref(false)
Expand Down Expand Up @@ -129,6 +136,9 @@ const loginEmail = () => {
.h-full {
height: 100%;
}
.login-form {
align-items: center
}
</style>
<style>
.login-dialog .el-dialog__header {
Expand Down

0 comments on commit 3ad725f

Please sign in to comment.