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
7a67b62f
Commit
7a67b62f
authored
Sep 30, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单修改&重要公告样式修改
parent
6685b391
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
20 deletions
+45
-20
src/app/my/announcement-detail/announcement-detail.component.html
+1
-1
src/app/my/important-announcement/important-announcement.component.html
+2
-2
src/app/my/important-announcement/important-announcement.component.scss
+17
-2
src/app/my/menu-item/menu-item.component.ts
+22
-13
src/app/my/my-application/my-application.component.html
+2
-2
src/app/my/my-routing.module.ts
+1
-0
No files found.
src/app/my/announcement-detail/announcement-detail.component.html
View file @
7a67b62f
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
{{titleDeatil}}
{{titleDeatil}}
</div>
</div>
<div
class=
"announcement_at_top"
>
<div
class=
"announcement_at_top"
>
上海银盾保险经纪有限公司
<!-- 上海银盾保险经纪有限公司 -->
{{announcementLists?.announcementAt}}
{{announcementLists?.announcementAt}}
</div>
</div>
</div>
</div>
...
...
src/app/my/important-announcement/important-announcement.component.html
View file @
7a67b62f
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
<div
#
hide
class=
"materialContainer"
>
<div
#
hide
class=
"materialContainer"
>
<div
class=
"materialItem"
*
ngFor=
"let announcementInfo of announcementLists;index as i"
<div
class=
"materialItem"
*
ngFor=
"let announcementInfo of announcementLists;index as i"
[
routerLink
]="['/
importantAnnouncement
',
announcementInfo
.
id
]"
>
[
routerLink
]="['/
importantAnnouncement
',
announcementInfo
.
id
]"
>
<span
class=
"iconfont icon-youxiang1"
></span>
<!-- <div class="title" [innerHtml]="announcementInfo.title"></div> -->
<!-- <div class="title" [innerHtml]="announcementInfo.title"></div> -->
<div
class=
"title"
>
{{this.lifeCommonService.delHtmlTag(announcementInfo.title)}}
</div>
<div
class=
"title"
>
{{this.lifeCommonService.delHtmlTag(announcementInfo.title)}}
</div>
<div
class=
"date"
>
<div
class=
"date"
>
<
span>
上海银盾保险经纪有限公司
</span
>
<
!-- <span> 上海银盾保险经纪有限公司</span> --
>
<span>
{{announcementInfo.createdAt}}
</span>
<span>
{{announcementInfo.createdAt}}
</span>
</div>
</div>
</div>
</div>
...
...
src/app/my/important-announcement/important-announcement.component.scss
View file @
7a67b62f
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
.left
{
.left
{
padding
:
10px
2px
;
padding
:
10px
2px
;
// background: #f0f0f0;
// background: #f0f0f0;
margin-bottom
:
10px
;
float
:
left
;
float
:
left
;
width
:
120%
;
width
:
120%
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -36,11 +35,27 @@
...
@@ -36,11 +35,27 @@
.materialContainer
{
.materialContainer
{
.materialItem
{
.materialItem
{
padding
:
5px
10px
;
padding
:
5px
10px
5px
50px
;
border-bottom
:
1px
#ddd
solid
;
border-bottom
:
1px
#ddd
solid
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
width
:
100%
;
height
:
70px
;
span
.iconfont
{
position
:
absolute
;
left
:
0
;
width
:
50px
;
height
:
50px
;
text-align
:
center
;
line-height
:
50px
;
font-size
:
40px
;
}
.title
{
.title
{
margin-bottom
:
8px
;
margin-bottom
:
8px
;
font-size
:
16px
;
font-weight
:
bold
;
overflow
:
hidden
;
text-overflow
:ellipsis
;
white-space
:
nowrap
;
}
}
.date
{
.date
{
color
:
#737272
;
color
:
#737272
;
...
...
src/app/my/menu-item/menu-item.component.ts
View file @
7a67b62f
...
@@ -18,10 +18,10 @@ export class MenuItemComponent implements OnInit {
...
@@ -18,10 +18,10 @@ export class MenuItemComponent implements OnInit {
lifeCustomerInfo
:
any
;
lifeCustomerInfo
:
any
;
isNeedAlert
:
boolean
;
isNeedAlert
:
boolean
;
dialogInfo
:
any
;
dialogInfo
:
any
;
//判断是否显示我的团队
//判断是否显示我的团队
isShow
:
boolean
;
isShow
:
boolean
;
approvarList
:
Array
<
any
>
;
approvarList
:
Array
<
any
>
;
dotFlag
:
boolean
=
false
;
dotFlag
:
boolean
=
false
;
constructor
(
private
lifeCommonService
:
LifeCommonService
,
private
activatedRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
private
router
:
Router
)
{
constructor
(
private
lifeCommonService
:
LifeCommonService
,
private
activatedRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
private
router
:
Router
)
{
const
title
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'title'
];
const
title
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'title'
];
this
.
type
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'type'
];
this
.
type
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'type'
];
...
@@ -31,7 +31,7 @@ export class MenuItemComponent implements OnInit {
...
@@ -31,7 +31,7 @@ export class MenuItemComponent implements OnInit {
ngOnInit
()
{
ngOnInit
()
{
this
.
lifeCustomerInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
:
null
;
this
.
lifeCustomerInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
:
null
;
this
.
isShowSalay
=
this
.
lifeCustomerInfo
.
canSeeSalaryList
==
1
?
true
:
false
;
this
.
isShowSalay
=
this
.
lifeCustomerInfo
.
canSeeSalaryList
==
1
?
true
:
false
;
this
.
practitionerId
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
];
this
.
canSeeSalaryList
();
this
.
canSeeSalaryList
();
this
.
getMenuList
();
this
.
getMenuList
();
this
.
listQuery
();
this
.
listQuery
();
...
@@ -46,7 +46,6 @@ export class MenuItemComponent implements OnInit {
...
@@ -46,7 +46,6 @@ export class MenuItemComponent implements OnInit {
{
no
:
1
,
subtitle
:
'獴哥保险诊所'
,
icon
:
'clinic'
,
path
:
`https://
${
window
.
location
.
host
}
/consulting`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
1
,
subtitle
:
'獴哥保险诊所'
,
icon
:
'clinic'
,
path
:
`https://
${
window
.
location
.
host
}
/consulting`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
4
,
subtitle
:
'线上投保'
,
icon
:
'online'
,
path
:
`https://
${
window
.
location
.
host
}
/index?source=dyd`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
4
,
subtitle
:
'线上投保'
,
icon
:
'online'
,
path
:
`https://
${
window
.
location
.
host
}
/index?source=dyd`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
13
,
subtitle
:
'我的商机'
,
icon
:
'line'
,
path
:
''
,
routerLink
:
'business'
,
showSubMenu
:
true
},
{
no
:
13
,
subtitle
:
'我的商机'
,
icon
:
'line'
,
path
:
''
,
routerLink
:
'business'
,
showSubMenu
:
true
},
{
no
:
9
,
subtitle
:
'执业证书'
,
icon
:
'card'
,
path
:
`https://
${
window
.
location
.
host
}
/brokerQry/#/brokerDetail/
${
this
.
lifeCustomerInfo
.
practitionerId
}
?source=0`
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
7
,
subtitle
:
'文章分享'
,
icon
:
'article'
,
path
:
''
,
routerLink
:
'article/null'
,
showSubMenu
:
true
},
{
no
:
7
,
subtitle
:
'文章分享'
,
icon
:
'article'
,
path
:
''
,
routerLink
:
'article/null'
,
showSubMenu
:
true
},
{
no
:
3
,
subtitle
:
'产品海报'
,
icon
:
'poster_p'
,
path
:
'/salesDetail'
,
routerLink
:
'material'
,
showSubMenu
:
true
},
{
no
:
3
,
subtitle
:
'产品海报'
,
icon
:
'poster_p'
,
path
:
'/salesDetail'
,
routerLink
:
'material'
,
showSubMenu
:
true
},
{
no
:
17
,
subtitle
:
'产品库'
,
icon
:
'product'
,
path
:
''
,
routerLink
:
'product'
,
showSubMenu
:
true
},
{
no
:
17
,
subtitle
:
'产品库'
,
icon
:
'product'
,
path
:
''
,
routerLink
:
'product'
,
showSubMenu
:
true
},
...
@@ -74,10 +73,9 @@ export class MenuItemComponent implements OnInit {
...
@@ -74,10 +73,9 @@ export class MenuItemComponent implements OnInit {
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
'customer'
,
showSubMenu
:
true
},
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
'customer'
,
showSubMenu
:
true
},
// { no: 14, subtitle: '我的佣金', icon: 'commission', path: '', routerLink: '',showSubMenu:true },
// { no: 14, subtitle: '我的佣金', icon: 'commission', path: '', routerLink: '',showSubMenu:true },
{
no
:
19
,
subtitle
:
'薪资单'
,
icon
:
'salary'
,
path
:
''
,
routerLink
:
'salary'
,
showSubMenu
:
this
.
isShowSalay
},
{
no
:
19
,
subtitle
:
'薪资单'
,
icon
:
'salary'
,
path
:
''
,
routerLink
:
'salary'
,
showSubMenu
:
this
.
isShowSalay
},
{
no
:
21
,
subtitle
:
'公司制度'
,
icon
:
'management'
,
path
:
''
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
23
,
subtitle
:
'新人入口'
,
icon
:
'pin'
,
path
:
''
,
routerLink
:
'newPeople'
,
showSubMenu
:
true
},
{
no
:
23
,
subtitle
:
'我的报聘'
,
icon
:
'pin'
,
path
:
''
,
routerLink
:
'my_application'
,
showSubMenu
:
true
},
{
no
:
24
,
subtitle
:
'目标设置'
,
icon
:
'set'
,
path
:
''
,
routerLink
:
'target'
,
showSubMenu
:
true
},
{
no
:
24
,
subtitle
:
'目标设置'
,
icon
:
'set'
,
path
:
''
,
routerLink
:
'target'
,
showSubMenu
:
true
},
{
no
:
11
,
subtitle
:
'文件下载'
,
icon
:
'download'
,
path
:
'https://www.ydinsurance.cn/?page_id=13957'
,
routerLink
:
'fileUpload'
,
showSubMenu
:
true
},
{
no
:
26
,
subtitle
:
'投核保知识库'
,
icon
:
'ask'
,
path
:
''
,
routerLink
:
'underwriting_knowledge'
,
showSubMenu
:
true
},
// { no: 25, subtitle: '', icon: 'default', path: '', routerLink: '' ,showSubMenu:true},
// { no: 25, subtitle: '', icon: 'default', path: '', routerLink: '' ,showSubMenu:true},
// { no: 26, subtitle: '', icon: 'default', path: '', routerLink: '' ,showSubMenu:!this.isShowSalay}
// { no: 26, subtitle: '', icon: 'default', path: '', routerLink: '' ,showSubMenu:!this.isShowSalay}
],
],
...
@@ -90,10 +88,20 @@ export class MenuItemComponent implements OnInit {
...
@@ -90,10 +88,20 @@ export class MenuItemComponent implements OnInit {
{
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
},
{
no
:
10
,
subtitle
:
'职业类别'
,
icon
:
'job'
,
path
:
'https://www.ydinsurance.cn/occupationQry/'
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
10
,
subtitle
:
'职业类别'
,
icon
:
'job'
,
path
:
'https://www.ydinsurance.cn/occupationQry/'
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
26
,
subtitle
:
'投核保知识库'
,
icon
:
'ask'
,
path
:
''
,
routerLink
:
'underwriting_knowledge'
,
showSubMenu
:
true
}
{
no
:
11
,
subtitle
:
'文件下载'
,
icon
:
'download'
,
path
:
'https://www.ydinsurance.cn/?page_id=13957'
,
routerLink
:
'fileUpload'
,
showSubMenu
:
true
},
// { no: 17, subtitle: '产品库', icon: 'product', path: '', routerLink: 'https://www.ydinsurance.cn/?page_id=14331' ,showSubMenu:true}
// { no: 17, subtitle: '产品库', icon: 'product', path: '', routerLink: 'https://www.ydinsurance.cn/?page_id=14331' ,showSubMenu:true}
],
],
isShow
:
true
isShow
:
true
},{
title
:
'新人入口'
,
type
:
'newPeople'
,
content
:[
{
no
:
27
,
subtitle
:
'经纪合同'
,
icon
:
'abc'
,
path
:
''
,
routerLink
:
'my_application'
,
showSubMenu
:
true
},
{
no
:
28
,
subtitle
:
'欢迎信'
,
icon
:
'train'
,
path
:
''
,
routerLink
:
'thanks'
,
showSubMenu
:
true
},
{
no
:
21
,
subtitle
:
'公司制度'
,
icon
:
'management'
,
path
:
''
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
30
,
subtitle
:
'执业证书'
,
icon
:
'card'
,
path
:
`https://
${
window
.
location
.
host
}
/brokerQry/#/brokerDetail/
${
this
.
lifeCustomerInfo
.
practitionerId
}
?source=0`
,
routerLink
:
''
,
showSubMenu
:
true
},
]
}
}
];
];
this
.
currentMenuLists
=
this
.
menuLists
.
filter
(
item
=>
item
.
type
==
this
.
type
)[
0
][
'content'
];
this
.
currentMenuLists
=
this
.
menuLists
.
filter
(
item
=>
item
.
type
==
this
.
type
)[
0
][
'content'
];
...
@@ -190,7 +198,8 @@ export class MenuItemComponent implements OnInit {
...
@@ -190,7 +198,8 @@ export class MenuItemComponent implements OnInit {
})
})
}
}
getImgUrl
(
Img
)
{
getImgUrl
(
Img
)
{
return
'assets/images/'
+
Img
+
'.png'
return
'assets/images/'
+
Img
+
'.png'
}
}
}
}
src/app/my/my-application/my-application.component.html
View file @
7a67b62f
<div
class=
"salesWrapper"
>
<div
class=
"salesWrapper"
>
<ul
class=
"tab"
>
<
!-- <
ul class="tab">
<li *ngFor="let titleItem of titleList" (click)="selectTab(titleItem.id)">
<li *ngFor="let titleItem of titleList" (click)="selectTab(titleItem.id)">
<div style="position: relative;">
<div style="position: relative;">
<h3>{{titleItem.name}}</h3>
<h3>{{titleItem.name}}</h3>
<hr *ngIf="selectedId===titleItem.id"/>
<hr *ngIf="selectedId===titleItem.id"/>
</div>
</div>
</li>
</li>
</ul>
</ul>
-->
<div
style=
"padding: 10px 0px 0px 0px;height: 100%;"
>
<div
style=
"padding: 10px 0px 0px 0px;height: 100%;"
>
<div
class=
"contentList"
*
ngIf=
"selectedId==0"
style=
"min-height: 100%;"
>
<div
class=
"contentList"
*
ngIf=
"selectedId==0"
style=
"min-height: 100%;"
>
<ul
*
ngIf=
"practitionerInfo?.contractOssPath"
>
<ul
*
ngIf=
"practitionerInfo?.contractOssPath"
>
...
...
src/app/my/my-routing.module.ts
View file @
7a67b62f
...
@@ -140,6 +140,7 @@ const myRoutes: Routes = [
...
@@ -140,6 +140,7 @@ const myRoutes: Routes = [
{
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
:
'trainingCenter'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-教育培训'
,
type
:
'trainingCenter'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'trainingCenter'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-教育培训'
,
type
:
'trainingCenter'
}],
canActivate
:[
AuthGuard
]},
{
path
:
'newPeople'
,
component
:
MenuItemComponent
,
data
:[{
title
:
'银盾保经-新人入口'
,
type
:
'newPeople'
}],
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