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
ed5438eb
Commit
ed5438eb
authored
Apr 15, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请企业邮箱
parent
027fec29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletions
+28
-1
src/app/my/business-card/business-card.component.html
+5
-0
src/app/my/business-card/business-card.component.scss
+8
-0
src/app/my/business-card/business-card.component.ts
+15
-1
No files found.
src/app/my/business-card/business-card.component.html
View file @
ed5438eb
<div
class=
"businessCardContainer"
>
<div
class=
"businessCardContainer"
>
<div
style=
"text-align: right;padding-right: 20px;padding-top: 15px;"
>
<button
class=
"applyEmailBtn"
(
click
)="
applyEmail
()"
>
申请公司邮箱
</button>
</div>
<div
class=
"brokerCardPositive"
>
<div
class=
"brokerCardPositive"
>
<div
class=
"qrcodeBox"
>
<div
class=
"qrcodeBox"
>
<div>
<div>
...
@@ -44,3 +47,4 @@
...
@@ -44,3 +47,4 @@
<img
src=
"assets/images/card_opposite.jpg"
alt=
""
class=
"img-responsive"
>
<img
src=
"assets/images/card_opposite.jpg"
alt=
""
class=
"img-responsive"
>
</div>
</div>
</div>
</div>
<ydlife-alert
*
ngIf=
"isNeedAlert"
[
dialogInfo
]="
dialogInfo
"
(
popInfo
)="
getPopInfo
()"
></ydlife-alert>
\ No newline at end of file
src/app/my/business-card/business-card.component.scss
View file @
ed5438eb
...
@@ -4,6 +4,14 @@
...
@@ -4,6 +4,14 @@
color
:
#000
;
color
:
#000
;
font-weight
:
600
;
font-weight
:
600
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
.applyEmailBtn
{
border
:
1px
solid
#0767bf
;
background
:
transparent
;
padding
:
5px
10px
;
border-radius
:
5px
;
color
:
#fff
;
background
:
#0767bf
;
}
.brokerCardPositive
{
.brokerCardPositive
{
display
:
flex
;
display
:
flex
;
padding-top
:
7%
;
padding-top
:
7%
;
...
...
src/app/my/business-card/business-card.component.ts
View file @
ed5438eb
...
@@ -9,7 +9,8 @@ import { MyService } from '../my.service';
...
@@ -9,7 +9,8 @@ import { MyService } from '../my.service';
export
class
BusinessCardComponent
implements
OnInit
{
export
class
BusinessCardComponent
implements
OnInit
{
lifeCustomerInfo
:
any
;
lifeCustomerInfo
:
any
;
practitionerInfo
:
any
;
practitionerInfo
:
any
;
isNeedAlert
:
boolean
;
dialogInfo
:
any
;
constructor
(
private
myService
:
MyService
)
{
constructor
(
private
myService
:
MyService
)
{
}
}
...
@@ -17,6 +18,19 @@ export class BusinessCardComponent implements OnInit {
...
@@ -17,6 +18,19 @@ export class BusinessCardComponent implements OnInit {
this
.
lifeCustomerInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
));
this
.
lifeCustomerInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
));
this
.
businessCard
();
this
.
businessCard
();
}
}
// 申请企业邮箱
applyEmail
(){
this
.
isNeedAlert
=
true
;
this
.
dialogInfo
=
{
title
:
null
,
content
:
{
value
:
'您的银盾保险专属办公邮箱将在2个工作日内为您生成,欢迎使用!祝业绩长虹!'
,
align
:
'center'
},
footer
:
[{
value
:
'确认'
,
routerLink
:
''
,
className
:
'weui-dialog__btn_primary'
}],
};
}
getPopInfo
()
{
this
.
isNeedAlert
=
false
;
}
businessCard
(){
businessCard
(){
this
.
myService
.
businessCard
({
practitionerId
:
this
.
lifeCustomerInfo
.
practitionerId
}).
subscribe
(
res
=>
{
this
.
myService
.
businessCard
({
practitionerId
:
this
.
lifeCustomerInfo
.
practitionerId
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
...
...
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