diff --git a/tonecn/src/views/Console/Login.vue b/tonecn/src/views/Console/Login.vue
index 5c7004f..f8b03aa 100644
--- a/tonecn/src/views/Console/Login.vue
+++ b/tonecn/src/views/Console/Login.vue
@@ -1,9 +1,10 @@
@@ -88,16 +92,19 @@ const login = async () => {
}
.main-container {
- padding: 30px;
- margin-bottom: 160px;
+ height: v-bind(containerHeight);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
}
.main-container>h1 {
text-align: center;
- font-size: 42px;
+ font-size: 36px;
font-weight: 400;
- margin-top: 50px;
cursor: default;
+ margin: 0 0;
}
.main-container>h3 {
@@ -120,7 +127,7 @@ const login = async () => {
}
.login-botton {
- margin-top: 10px;
+ margin: 10px 0 120px 0;
width: 260px;
height: 35px;
font-weight: 500;
@@ -137,4 +144,10 @@ const login = async () => {
border-color: rgb(220, 223, 230);
color: #606266;
}
+@media screen and (max-width: 800px){
+ /* 因为屏幕宽度小于800时,head的高度会减少15px */
+ .main-container{
+ height: calc(v-bind(containerHeight) + 15px);
+ }
+}
\ No newline at end of file