Commit 6bb753ce by wangyalan-git

修改token,login页面布局

parent 21035ab7
...@@ -33,7 +33,7 @@ img{ ...@@ -33,7 +33,7 @@ img{
.container{ .container{
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 4% 0; //padding: 4% 0;
} }
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
const TokenKey = 'loginToken' const TokenKey = 'pcToken'
export function getToken () { export function getToken () {
return Cookies.get(TokenKey) return Cookies.get(TokenKey)
......
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
align-items: center; align-items: center;
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 4% 0; padding: 3% 0;
position: relative; position: relative;
} }
......
...@@ -155,14 +155,13 @@ export default { ...@@ -155,14 +155,13 @@ export default {
.container { .container {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background: url("~@/assets/images/bg.png") no-repeat; background: url("~@/assets/images/bg.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
/*padding: 4% 0*/
} }
.container .content { .container .content {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment