邓洁: 登录框大小
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
:rules="rules"
|
:rules="rules"
|
||||||
label-width="65px"
|
label-width="65px"
|
||||||
>
|
>
|
||||||
<h3>FateVerse</h3>
|
<h3>Tunnel Cloud</h3>
|
||||||
<el-form-item prop="username" label="账号">
|
<el-form-item prop="username" label="账号">
|
||||||
<el-input v-model="loginForm.username" :prefix-icon="User"></el-input>
|
<el-input v-model="loginForm.username" :prefix-icon="User"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -28,9 +28,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="handleLogin(formInstance)" type="primary"
|
<el-button @click="handleLogin(formInstance)" type="primary">登录
|
||||||
>登录</el-button
|
</el-button>
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -42,6 +41,7 @@ import { getCodeImg } from "../../api/login";
|
|||||||
import {useAuthStore} from "@/store/userstore";
|
import {useAuthStore} from "@/store/userstore";
|
||||||
import {ElLoading} from "element-plus";
|
import {ElLoading} from "element-plus";
|
||||||
import {User, Lock, Key} from "@element-plus/icons-vue";
|
import {User, Lock, Key} from "@element-plus/icons-vue";
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
const loginForm = reactive({
|
const loginForm = reactive({
|
||||||
@@ -98,6 +98,19 @@ onBeforeUnmount(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
:deep(.el-button){
|
||||||
|
font-size:22px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
:deep(.el-form-item__label) {
|
||||||
|
width: 80px!important;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
:deep(.el-input__wrapper ) {
|
||||||
|
padding: 5px 11px;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
.login-box {
|
.login-box {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #4158d0;
|
background-color: #4158d0;
|
||||||
@@ -128,17 +141,20 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.code {
|
.code {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.el-input {
|
.el-input {
|
||||||
// width: ;
|
// width: ;
|
||||||
flex: 2;
|
flex: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 32px;
|
height: 45px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user