Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
41b9ecc6
Commit
41b9ecc6
authored
May 19, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改menus名,修navbar图片传参
parent
b0470f2a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
src/components/side-nav-bar.vue
src/components/side-nav-bar.vue
+5
-1
src/pages/authority.vue
src/pages/authority.vue
+1
-1
src/pages/menus.vue
src/pages/menus.vue
+0
-0
src/pages/user.vue
src/pages/user.vue
+1
-1
src/router/index.js
src/router/index.js
+1
-1
No files found.
src/components/side-nav-bar.vue
View file @
41b9ecc6
...
...
@@ -2,7 +2,7 @@
<div
class=
"side_nav_bar"
>
<h3
class=
"side_nav_bar_title"
@
click=
"titleAction"
>
<img
:src=
"require('../assets/imgs/
tool_fuwu
.png')"
:src=
"require('../assets/imgs/
' + imgSrc + '
.png')"
width=
"20"
style=
"margin-right: 10px;"
/>
...
...
@@ -39,6 +39,10 @@ export default {
type
:
Array
,
default
:
()
=>
[],
},
imgSrc
:
{
type
:
String
,
default
:
"
tool_fuwu
"
}
},
methods
:
{
titleAction
()
{
...
...
src/pages/authority.vue
View file @
41b9ecc6
<
template
>
<div
class=
"fwgl_container"
>
<side-nav-bar
:nav-list=
"navList"
:title-path=
"navList[0] && navList[0].path"
></side-nav-bar>
<side-nav-bar
title=
"权限管理"
:nav-list=
"navList"
:title-path=
"navList[0] && navList[0].path"
></side-nav-bar>
<div
class=
"main_container"
>
<router-view
:key=
"'type_' + $route.params.type"
></router-view>
</div>
...
...
src/pages/menu.vue
→
src/pages/menu
s
.vue
View file @
41b9ecc6
File moved
src/pages/user.vue
View file @
41b9ecc6
<
template
>
<div
class=
"fwgl_container"
>
<side-nav-bar
:nav-list=
"navList"
:title-path=
"navList[0] && navList[0].path"
></side-nav-bar>
<side-nav-bar
title=
"个人中心"
imgSrc=
"tool_fuwu"
:nav-list=
"navList"
:title-path=
"navList[0] && navList[0].path"
></side-nav-bar>
<div
class=
"main_container"
>
<router-view
:key=
"'type_' + $route.params.type"
></router-view>
</div>
...
...
src/router/index.js
View file @
41b9ecc6
...
...
@@ -208,7 +208,7 @@ export default new Router({
{
path
:
"
/authority/menu
"
,
// 菜单管理页
name
:
"
menu
"
,
component
:
()
=>
import
(
"
@/pages/menu
"
),
component
:
()
=>
import
(
"
@/pages/menu
s
"
),
},
{
path
:
"
/authority/roles
"
,
// 角色管理页
...
...
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