index.vue
876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<template>
<a-row class="login-container">
<a-col :span="14" class="login-logo">
<!-- <img alt="logo" src="@/assets/login-logo.png"/> -->
</a-col>
<a-col :span="10" class="login-form">
<LoginForm/>
<Footer/>
</a-col>
</a-row>
</template>
<script lang="ts" setup>
import Footer from '@/components/footer/index.vue'
import LoginForm from './components/login-form.vue'
</script>
<style lang="less" scoped>
.login-container {
height: 100vh;
.login-logo {
height: 100%;
background: url("@/assets/login-background.png") no-repeat;
background-size: 100% 100%;
img {
position: fixed;
left: 20px;
top: 20px;
}
}
.login-form {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
.footer {
position: fixed;
bottom: 30px;
}
}
}
</style>