Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.TVP.CBA
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
刘龙飞
VIZ.TVP.CBA
Commits
36109770
Commit
36109770
authored
Apr 24, 2023
by
wangonghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理点球数量没有是显示0
parent
6feb72f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
VIZ.TVP.FTB.Module/HeaderPage/ViewModel/DateHeaderViewModel.cs
+8
-2
VIZ.TVP.FTB.Module/ShootPlayerRank/ViewModel/ShootPlayerRankViewModel.cs
+10
-2
No files found.
VIZ.TVP.FTB.Module/HeaderPage/ViewModel/DateHeaderViewModel.cs
View file @
36109770
...
...
@@ -607,9 +607,15 @@ namespace VIZ.TVP.FTB.Module
{
playerRank
.
playerLogo
=
playerRank
.
figureName
;
playerRank
.
teamLogo
=
playerRank
.
teamName
;
playerRank
.
goals
=
playerRank
.
goals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
playerRank
.
penaltyGoals
=
playerRank
.
penaltyGoals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
if
(
playerRank
.
goals
!=
"0"
)
{
playerRank
.
goals
=
playerRank
.
goals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
}
if
(
playerRank
.
penaltyGoals
!=
"0"
)
{
playerRank
.
penaltyGoals
=
playerRank
.
penaltyGoals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
}
ShootPlayerModel
.
Add
(
playerRank
);
}
...
...
VIZ.TVP.FTB.Module/ShootPlayerRank/ViewModel/ShootPlayerRankViewModel.cs
View file @
36109770
...
...
@@ -92,8 +92,16 @@ namespace VIZ.TVP.FTB.Module
{
playerRank
.
playerLogo
=
playerRank
.
figureName
;
playerRank
.
teamLogo
=
playerRank
.
teamName
;
playerRank
.
goals
=
playerRank
.
goals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
playerRank
.
penaltyGoals
=
playerRank
.
penaltyGoals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
if
(
playerRank
.
goals
!=
"0"
)
{
playerRank
.
goals
=
playerRank
.
goals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
}
if
(
playerRank
.
penaltyGoals
!=
"0"
)
{
playerRank
.
penaltyGoals
=
playerRank
.
penaltyGoals
.
TrimEnd
(
'0'
).
TrimEnd
(
'.'
);
}
ShootPlayerModel
.
Add
(
playerRank
);
}
...
...
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