Commit 6bb753ce by wangyalan-git

修改token,login页面布局

parent 21035ab7
......@@ -33,7 +33,7 @@ img{
.container{
width: 1200px;
margin: 0 auto;
padding: 4% 0;
//padding: 4% 0;
}
import Cookies from 'js-cookie'
const TokenKey = 'loginToken'
const TokenKey = 'pcToken'
export function getToken () {
return Cookies.get(TokenKey)
......
......@@ -155,7 +155,7 @@ export default {
align-items: center;
width: 1200px;
margin: 0 auto;
padding: 4% 0;
padding: 3% 0;
position: relative;
}
......
......@@ -155,14 +155,13 @@ export default {
.container {
position: relative;
width: 100%;
height: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: url("~@/assets/images/bg.png") no-repeat;
background-size: 100% 100%;
/*padding: 4% 0*/
}
.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