Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
17311a6e
Commit
17311a6e
authored
Sep 27, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://139.224.139.2:9091/Sweet/ydLife
into dev
parents
20e8743e
2e6165cc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
src/app/my/menu-item/menu-item.component.ts
+1
-2
src/app/my/my-center-home/my-center-home.component.html
+1
-1
src/app/my/my-center-home/my-center-home.component.scss
+1
-1
src/app/my/my-routing.module.ts
+1
-1
No files found.
src/app/my/menu-item/menu-item.component.ts
View file @
17311a6e
...
@@ -85,7 +85,7 @@ export class MenuItemComponent implements OnInit {
...
@@ -85,7 +85,7 @@ export class MenuItemComponent implements OnInit {
},
},
{
{
title
:
'教育培训'
,
title
:
'教育培训'
,
type
:
'training'
,
type
:
'training
Center
'
,
content
:
[
content
:
[
{
no
:
5
,
subtitle
:
'保险ABC'
,
icon
:
'abc'
,
path
:
`https://
${
window
.
location
.
host
}
/issue`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
5
,
subtitle
:
'保险ABC'
,
icon
:
'abc'
,
path
:
`https://
${
window
.
location
.
host
}
/issue`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
6
,
subtitle
:
'培训课件'
,
icon
:
'train'
,
path
:
''
,
routerLink
:
'training'
,
showSubMenu
:
true
},
{
no
:
6
,
subtitle
:
'培训课件'
,
icon
:
'train'
,
path
:
''
,
routerLink
:
'training'
,
showSubMenu
:
true
},
...
@@ -97,7 +97,6 @@ export class MenuItemComponent implements OnInit {
...
@@ -97,7 +97,6 @@ export class MenuItemComponent implements OnInit {
}
}
];
];
this
.
currentMenuLists
=
this
.
menuLists
.
filter
(
item
=>
item
.
type
==
this
.
type
)[
0
][
'content'
];
this
.
currentMenuLists
=
this
.
menuLists
.
filter
(
item
=>
item
.
type
==
this
.
type
)[
0
][
'content'
];
console
.
log
(
this
.
currentMenuLists
)
}
}
...
...
src/app/my/my-center-home/my-center-home.component.html
View file @
17311a6e
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
<div
class=
"part2_item"
routerLink=
"exhibition"
>
<div
class=
"part2_item"
routerLink=
"exhibition"
>
<span>
我的展业
</span>
<span>
我的展业
</span>
</div>
</div>
<div
class=
"part2_item"
routerLink=
"training"
>
<div
class=
"part2_item"
routerLink=
"training
Center
"
>
<span>
教育培训
</span>
<span>
教育培训
</span>
</div>
</div>
</div>
</div>
...
...
src/app/my/my-center-home/my-center-home.component.scss
View file @
17311a6e
...
@@ -275,7 +275,7 @@ ul,ol{
...
@@ -275,7 +275,7 @@ ul,ol{
width
:
120px
;
width
:
120px
;
height
:
120px
;
height
:
120px
;
border-radius
:
50%
;
border-radius
:
50%
;
background
:
antiquewhite
;
background
:
#0c5c90
;
border
:
10px
solid
#fff
;
border
:
10px
solid
#fff
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
src/app/my/my-routing.module.ts
View file @
17311a6e
...
@@ -139,7 +139,7 @@ const myRoutes: Routes = [
...
@@ -139,7 +139,7 @@ const myRoutes: Routes = [
{
path
:
'marketing'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-营销工具'
,
type
:
'marketing'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'marketing'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-营销工具'
,
type
:
'marketing'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'team'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-我的团队'
,
type
:
'team'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'team'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-我的团队'
,
type
:
'team'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'exhibition'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-我的展业'
,
type
:
'exhibition'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'exhibition'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-我的展业'
,
type
:
'exhibition'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'training
'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-教育培训'
,
type
:
'training
'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'training
Center'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-教育培训'
,
type
:
'trainingCenter
'
}],
canActivate
:[
AuthGuard
]},
];
];
...
...
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