index.vue
1.67 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<template>
<div class="app-container">
<LoginForm />
</div>
</template>
<script>
import LoginForm from './components/LoginForm'
export default {
name: 'Login',
components: {
LoginForm
},
data() {
return {
showContent: true
}
},
created() {
},
methods: {
changePassword() {
console.log('changePassword')
this.showContent = false
},
cancel() {
this.showContent = true
}
}
}
</script>
<style lang="scss" scoped>
.app-container {
/*background-color: #14141B;*/
min-height: 100%;
width: 100%;
overflow: hidden;
position: relative;
background: url("../../assets/login-bg.jpg") no-repeat center;
background-size: cover;
.top {
width: 100%;
height: 25vh;
background-color: #316490;
display: flex;
justify-content: center;
align-items: center;
.title {
font-size: 30px;
font-weight: bold;
color: #ffffff;
}
}
.bottom {
height: 55vh;
display: flex;
align-items: center;
justify-content: center;
.poly-div {
display: flex;
}
.line {
width: 1px;
background: linear-gradient(to top,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0) 10%,
rgba(35, 198, 200, 0.3) 20%,
rgba(35, 198, 200, 0.4) 30%,
rgba(35, 198, 200, 0.5) 40%,
rgba(35, 198, 200, 0.8) 50%,
rgba(35, 198, 200, 0.5) 60%,
rgba(35, 198, 200, 0.4) 70%,
rgba(35, 198, 200, 0.3) 80%,
rgba(0, 0, 0, 0) 90%,
rgba(0, 0, 0, 0) 100%);
}
.form-div {
margin-left: 5%;
}
}
}
@media screen and (max-width: 768px) {
.poly-div {
display: none !important;
}
}
</style>