Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common-templete
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
汤强勇
common-templete
Commits
d73bfa90
Commit
d73bfa90
authored
Oct 31, 2018
by
汤强勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新布局
parent
3269e60c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
index.vue
src/components/Sidebar/index.vue
+1
-1
index.vue
src/pages/home/index.vue
+5
-3
No files found.
src/components/Sidebar/index.vue
View file @
d73bfa90
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
sidebarItem
sidebarItem
},
},
mounted
()
{
mounted
()
{
new
this
.
$Http
(
true
).
get
(
'
/getMenus'
).
then
(
res
=>
{
this
.
axios
.
get
(
'http://rap2api.taobao.org/app/mock/115626
/getMenus'
).
then
(
res
=>
{
this
.
menuList
=
res
.
data
.
data
this
.
menuList
=
res
.
data
.
data
})
})
},
},
...
...
src/pages/home/index.vue
View file @
d73bfa90
...
@@ -30,11 +30,13 @@ export default {
...
@@ -30,11 +30,13 @@ export default {
overflow
hidden
overflow
hidden
.content-box
.content-box
position
absolute
position
absolute
left
260px
display
inline-block
right
0
/*left 260px*/
/*right 0*/
top
70px
top
70px
bottom
0
bottom
0
overflow-y
scroll
width
80
%
/*overflow-y scroll*/
-webkit-transition
left
0
.3s
ease-in-out
-webkit-transition
left
0
.3s
ease-in-out
transition
left
0
.3s
ease-in-out
transition
left
0
.3s
ease-in-out
background
#F3F2F8
background
#F3F2F8
...
...
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