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
0dd13d49
Commit
0dd13d49
authored
Mar 30, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无效或冻结样式修改
parent
209e8178
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/app/my/integration-detail/integration-detail.component.html
+4
-3
src/app/my/integration-detail/integration-detail.component.ts
+1
-1
No files found.
src/app/my/integration-detail/integration-detail.component.html
View file @
0dd13d49
...
@@ -20,11 +20,12 @@
...
@@ -20,11 +20,12 @@
</ul>
</ul>
<ul
class=
"detailLists"
>
<ul
class=
"detailLists"
>
<li
*
ngFor=
"let item of lists"
>
<li
*
ngFor=
"let item of lists"
>
<div>
<div
[
ngStyle
]="{'
color
'
:item
.
status=
=1
?
'#
646464
'
:
'#
ccc
'}"
>
<p>
{{item.integralRuleName}}
</p>
<p>
{{item.integralRuleName}}
</p>
<p>
{{item.grantDate}}
</p>
<p
[
ngStyle
]="{'
color
'
:item
.
status=
=1
?
'#
8c8c8c
'
:
'#
ccc
'}"
>
{{item.grantDate}}
</p>
</div>
</div>
<div
[
ngStyle
]="{'
color
'
:item
.
integralType=
='1'
?
'#
E56124
'
:
'#
333
','
font-weight
'
:
'
bold
'}"
><span>
{{item.integralType=='1' ? '+' : ''}}
</span><span>
{{item.integralNumber}}
</span></div>
<div
[
ngStyle
]="{'
color
'
:item
.
integralType=
='1'
?
'#
E56124
'
:
'#
333
','
font-weight
'
:
'
bold
'}"
*
ngIf=
"item.status==1"
><span>
{{item.integralType=='1' ? '+' : ''}}
</span><span>
{{item.integralNumber}}
</span></div>
<div
[
ngStyle
]="{'
color
'
:
'#
ccc
','
font-weight
'
:
'
bold
'}"
*
ngIf=
"item.status!=1"
><span>
{{item.integralType=='1' ? '+' : ''}}
</span><span>
{{item.integralNumber}}
</span></div>
</li>
</li>
</ul>
</ul>
</div>
</div>
src/app/my/integration-detail/integration-detail.component.ts
View file @
0dd13d49
...
@@ -9,7 +9,7 @@ import { MyService } from '../my.service';
...
@@ -9,7 +9,7 @@ import { MyService } from '../my.service';
export
class
IntegrationDetailComponent
implements
OnInit
{
export
class
IntegrationDetailComponent
implements
OnInit
{
integralGrantInfos
:
Array
<
any
>
;
integralGrantInfos
:
Array
<
any
>
;
lists
:
Array
<
any
>
;
lists
:
Array
<
any
>
;
status
:
number
=
0
;
status
:
number
=
1
;
searchDate
:
string
=
'2022年'
;
searchDate
:
string
=
'2022年'
;
searchDateFormat
:
Date
=
new
Date
(
2022
,
1
);
searchDateFormat
:
Date
=
new
Date
(
2022
,
1
);
constructor
(
private
myService
:
MyService
)
{
}
constructor
(
private
myService
:
MyService
)
{
}
...
...
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