Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
file
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vanke
file
Commits
6bb753ce
Commit
6bb753ce
authored
Jul 10, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改token,login页面布局
parent
21035ab7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
common.scss
src/assets/scss/common.scss
+1
-1
auth.js
src/utils/auth.js
+1
-1
Header.vue
src/views/layout/modules/Header.vue
+1
-1
index.vue
src/views/login/index.vue
+1
-2
No files found.
src/assets/scss/common.scss
View file @
6bb753ce
...
...
@@ -33,7 +33,7 @@ img{
.container
{
width
:
1200px
;
margin
:
0
auto
;
padding
:
4%
0
;
//
padding: 4% 0;
}
src/utils/auth.js
View file @
6bb753ce
import
Cookies
from
'js-cookie'
const
TokenKey
=
'
login
Token'
const
TokenKey
=
'
pc
Token'
export
function
getToken
()
{
return
Cookies
.
get
(
TokenKey
)
...
...
src/views/layout/modules/Header.vue
View file @
6bb753ce
...
...
@@ -155,7 +155,7 @@ export default {
align-items
:
center
;
width
:
1200px
;
margin
:
0
auto
;
padding
:
4
%
0
;
padding
:
3
%
0
;
position
:
relative
;
}
...
...
src/views/login/index.vue
View file @
6bb753ce
...
...
@@ -155,14 +155,13 @@ export default {
.container
{
position
:
relative
;
width
:
100%
;
height
:
100
%
;
height
:
100
vh
;
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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment