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
20e8743e
Commit
20e8743e
authored
Sep 27, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页面板隐藏数据
parent
dc460b5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
src/app/my/my-center-home/my-center-home.component.html
+18
-2
src/app/my/my-center-home/my-center-home.component.ts
+5
-3
No files found.
src/app/my/my-center-home/my-center-home.component.html
View file @
20e8743e
...
...
@@ -30,6 +30,8 @@
<div
class=
"performance_wrapper"
>
<!-- <img class="bg" src="assets/images/sales__bg.png" > -->
<div
class=
"content"
>
<span
class=
"iconfont icon-xianshi"
[
ngClass
]="{'
icon-yincang
'
:isShowDashBoardData
}"
style=
"color: #fff;position: absolute;right: 82px;top: 8px;"
(
click
)="
isShowDashBoardData =
!isShowDashBoardData"
></span>
<span
class=
"detail"
(
click
)="
jumpToDetail
()"
><img
style=
"max-width: 18%;margin-right: 2px;"
src=
"assets/images/icon_2.png"
>
龙虎榜
<i
class=
"iconfont icon-ar-r"
style=
"font-size:12px;"
></i></span>
<ul
class=
"tab"
>
...
...
@@ -50,7 +52,7 @@
<li>
件数
</li>
<li>
完成率
</li>
</ul>
<ul
class=
"performance_list"
>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<li>
线上
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{onlineInfo?.fyp | number: "1.0-0"}}
...
...
@@ -63,7 +65,14 @@
{{onlineInfo?.completionRate?onlineInfo.completionRate + '%':'-'}}
</li>
</ul>
<ul
class=
"performance_list"
>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<li>
线上
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
style=
"position: relative;top: 12px;"
>
***
</li>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<li>
线下
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{offlineInfo?.fyp | number: "1.0-0"}}
...
...
@@ -76,6 +85,13 @@
</li>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<li>
线下
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
</li>
</ul>
</div>
</div>
</div>
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
20e8743e
...
...
@@ -39,6 +39,8 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
showFlag
:
boolean
=
false
;
isShowSalay
:
boolean
;
showSubMenu
:
boolean
;
//初始化不显示面板数据
isShowDashBoardData
:
boolean
=
true
;
constructor
(
private
router
:
Router
,
public
lifeCommonService
:
LifeCommonService
,
...
...
@@ -75,9 +77,9 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
}
ngAfterViewInit
()
{
setTimeout
(()
=>
{
this
.
firstAnnouncementTitle
=
this
.
getStr
(
this
.
hide
.
nativeElement
.
innerText
,
'32'
)
},
400
);
//
setTimeout(() => {
//
this.firstAnnouncementTitle = this.getStr(this.hide.nativeElement.innerText, '32')
//
}, 400);
}
//截取字符串
...
...
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