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
e0c08867
Commit
e0c08867
authored
Apr 09, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包优化
parent
a26abaed
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
41 additions
and
42 deletions
+41
-42
package.json
+3
-3
src/app/directive/auto-fixed.directive.ts
+0
-34
src/app/my/announcement-detail/announcement-detail.component.ts
+1
-1
src/app/my/application-process/bank-card/bank-card.component.html
+1
-1
src/app/my/application-process/employee-info/employee-info.component.html
+1
-1
src/app/my/my-center-home/my-center-home.component.ts
+1
-1
src/app/my/recruiting/recruiting.component.html
+1
-1
src/app/my/thanks/thanks.component.html
+3
-0
src/app/my/thanks/thanks.component.scss
+12
-0
src/assets/images/loading_bg.jpg
+0
-0
src/assets/images/loading_bg.png
+0
-0
src/assets/images/welcome_header.jpg
+0
-0
src/index.html
+16
-0
src/styles.scss
+2
-0
No files found.
package.json
View file @
e0c08867
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
"scripts"
:
{
"scripts"
:
{
"ng"
:
"ng"
,
"ng"
:
"ng"
,
"start"
:
"ng serve --host 192.168.1.25 --port 4205"
,
"start"
:
"ng serve --host 192.168.1.25 --port 4205"
,
"buildDev"
:
"ng build -c=dev --prod"
,
"buildDev"
:
"ng build -c=dev --prod
--aot
"
,
"buildStage"
:
"ng build -c=stage --prod"
,
"buildStage"
:
"ng build -c=stage --prod
--aot
"
,
"buildProd"
:
"ng build -c=production --prod"
,
"buildProd"
:
"ng build -c=production --prod
--aot
"
,
"test"
:
"ng test"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"lint"
:
"ng lint"
,
"e2e"
:
"ng e2e"
"e2e"
:
"ng e2e"
...
...
src/app/directive/auto-fixed.directive.ts
deleted
100644 → 0
View file @
a26abaed
import
{
Directive
,
ElementRef
,
EventEmitter
,
HostListener
,
Input
,
Output
,
Renderer2
}
from
'@angular/core'
;
@
Directive
({
selector
:
'[appAutoFixed]'
})
export
class
AutoFixedDirective
{
// 元素距离顶部的原始距离
toTop
:
number
=
0
;
// 吸顶元素
toTopElement
:
any
;
// 吸顶元素id
// tslint:disable-next-line:no-input-rename
@
Input
(
'appAutoFixed'
)
selector
:
string
=
''
;
@
Output
()
updateTabMenuId
=
new
EventEmitter
<
string
>
();
@
HostListener
(
'scroll'
,
[
'$event'
])
onScroll
(
$event
:
Event
)
{
if
(
this
.
er
.
nativeElement
.
scrollTop
>=
this
.
toTop
)
{
this
.
renderer2
.
addClass
(
this
.
toTopElement
,
'autofixed'
);
}
else
{
this
.
renderer2
.
removeClass
(
this
.
toTopElement
,
'autofixed'
);
}
this
.
updateTabMenuId
.
emit
(
this
.
er
.
nativeElement
.
scrollTop
);
}
constructor
(
private
er
:
ElementRef
,
private
renderer2
:
Renderer2
)
{
setTimeout
(()
=>
{
this
.
toTopElement
=
this
.
er
.
nativeElement
.
querySelector
(
'#'
+
this
.
selector
);
this
.
toTop
=
this
.
toTopElement
.
offsetTop
;
},
1000
);
}
}
src/app/my/announcement-detail/announcement-detail.component.ts
View file @
e0c08867
...
@@ -10,7 +10,7 @@ import { LifeCommonService } from '../../common/life-common.service';
...
@@ -10,7 +10,7 @@ import { LifeCommonService } from '../../common/life-common.service';
})
})
export
class
AnnouncementDetailComponent
implements
OnInit
{
export
class
AnnouncementDetailComponent
implements
OnInit
{
announcementId
:
string
;
announcementId
:
string
;
announcementLists
:
Array
<
any
>
;
announcementLists
:
any
;
titleDeatil
:
string
;
titleDeatil
:
string
;
constructor
(
private
activateRoute
:
ActivatedRoute
,
constructor
(
private
activateRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
private
myService
:
MyService
,
...
...
src/app/my/application-process/bank-card/bank-card.component.html
View file @
e0c08867
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"contentDetail employ"
>
<div
class=
"contentDetail employ"
>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<input
class=
"form-control"
name=
""
id=
""
placeholder=
"开户行具体到支行"
[(
ngModel
)]="
bankAccountOpening
"
<input
class=
"form-control"
name=
""
id=
""
placeholder=
"开户行具体到支行"
[(
ngModel
)]="
bankAccountOpening
"
(
blur
)="
bs
()"
[
disabled
]="
approveStatus
!=
null
&&
approveStatus
!='
-1
'"
/>
(
blur
)="
bs
(
null
)"
[
disabled
]="
approveStatus
!=
null
&&
approveStatus
!='
-1
'"
/>
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<input
class=
"form-control"
placeholder=
"银行卡号:例如 6301234345354356"
[(
ngModel
)]="
bankAccountId
"
<input
class=
"form-control"
placeholder=
"银行卡号:例如 6301234345354356"
[(
ngModel
)]="
bankAccountId
"
...
...
src/app/my/application-process/employee-info/employee-info.component.html
View file @
e0c08867
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<div
class=
"title"
*
ngIf=
"!approvalIdentity"
>
<div
class=
"title"
>
欢迎加入银盾大家庭
欢迎加入银盾大家庭
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
e0c08867
...
@@ -113,7 +113,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -113,7 +113,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
{
{
title
:
'我的展业'
,
title
:
'我的展业'
,
content
:
[
content
:
[
{
no
:
12
,
subtitle
:
'
我的
保单'
,
icon
:
'policy'
,
path
:
''
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
12
,
subtitle
:
'
销售
保单'
,
icon
:
'policy'
,
path
:
''
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
''
,
showSubMenu
:
true
},
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
''
,
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
},
...
...
src/app/my/recruiting/recruiting.component.html
View file @
e0c08867
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</li>
</li>
</ul>
</ul>
<div
class=
"salesContent"
[
ngStyle
]="{'
padding-bottom
'
:showRecruitingList
?.
length
>
0?'50px':'0px'}">
<div
class=
"salesContent"
[
ngStyle
]="{'
padding-bottom
'
:showRecruitingList
?.
length
>
0?'50px':'0px'}">
<div
style=
"text-align: center;margin: 20px auto;font-size: 20px;"
*
ngIf=
"
businessList?.length==0"
>
暂无商机
</div>
<div
style=
"text-align: center;margin: 20px auto;font-size: 20px;"
*
ngIf=
"
recruitingList?.length==0"
>
暂无增员
</div>
<div
class=
"salesItem"
*
ngFor=
"let recruitingItem of showRecruitingList"
(
click
)="
isJumpToDetail
(
recruitingItem
.
potentialId
,
recruitingItem
)"
>
<div
class=
"salesItem"
*
ngFor=
"let recruitingItem of showRecruitingList"
(
click
)="
isJumpToDetail
(
recruitingItem
.
potentialId
,
recruitingItem
)"
>
<div
class=
"icon_bolck"
*
ngIf=
"pageType=='recruiting'"
><span
class=
"iconfont icon-tuanduiguanlisvg"
></span></div>
<div
class=
"icon_bolck"
*
ngIf=
"pageType=='recruiting'"
><span
class=
"iconfont icon-tuanduiguanlisvg"
></span></div>
<div
*
ngIf=
"pageType=='linkrecruiting'"
class=
"linkbusinessRadius"
>
<div
*
ngIf=
"pageType=='linkrecruiting'"
class=
"linkbusinessRadius"
>
...
...
src/app/my/thanks/thanks.component.html
View file @
e0c08867
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<div
#
letter_src
id=
"letter_src"
>
<div
#
letter_src
id=
"letter_src"
>
<div
class=
"welcome_header"
>
<img
src=
"assets/images/welcome_header.jpg"
>
</div>
<div
class=
"chinese"
>
<div
class=
"chinese"
>
亲爱的
<span
style=
"font-weight: bold;"
>
{{brokerInfo?.name}}
</span>
,
亲爱的
<span
style=
"font-weight: bold;"
>
{{brokerInfo?.name}}
</span>
,
<br
/><br
/>
<br
/><br
/>
...
...
src/app/my/thanks/thanks.component.scss
View file @
e0c08867
...
@@ -83,5 +83,17 @@
...
@@ -83,5 +83,17 @@
color
:
#fff
;
color
:
#fff
;
}
}
.welcome_header
{
width
:
180px
;
height
:
180px
;
overflow
:
hidden
;
margin
:
0
auto
;
border-radius
:
50%
;
}
.welcome_header
img
{
max-width
:
100%
;
margin-top
:
-10px
;
}
src/assets/images/loading_bg.jpg
0 → 100644
View file @
e0c08867
96.5 KB
src/assets/images/loading_bg.png
View file @
e0c08867
96.5 KB
|
W:
|
H:
47.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/welcome_header.jpg
0 → 100644
View file @
e0c08867
408 KB
src/index.html
View file @
e0c08867
...
@@ -153,6 +153,22 @@
...
@@ -153,6 +153,22 @@
})
})
}
}
getknowledgeQry();
getknowledgeQry();
// (function() {
// if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
// handleFontSize();
// } else {
// document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
// }
// function handleFontSize() {
// // 设置网页字体为默认大小
// WeixinJSBridge.invoke('
setFontSizeCallback
', { '
fontSize
' : 0 });
// // 重写设置网页字体大小的事件
// WeixinJSBridge.on('
menu
:
setfont
', function() {
// WeixinJSBridge.invoke('
setFontSizeCallback
', { '
fontSize
' : 0 });
// });
// }
// })();
</script>
</script>
</body>
</body>
...
...
src/styles.scss
View file @
e0c08867
...
@@ -14,7 +14,9 @@ html, body {
...
@@ -14,7 +14,9 @@ html, body {
overflow-y
:
scroll
;
overflow-y
:
scroll
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
background
:
#fff
;
background
:
#fff
;
// -webkit-text-size-adjust: 100% !important;
}
}
ol
,
ul
{
ol
,
ul
{
margin-top
:
0
;
margin-top
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
...
...
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