Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
华
华夏模拟理财_20250701
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
华夏模拟理财_20250701
Commits
f0e176f8
Commit
f0e176f8
authored
Jul 29, 2025
by
zhangyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享页
parent
070926f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
index.jsx
src/pages/newRecordPage/index.jsx
+1
-5
No files found.
src/pages/newRecordPage/index.jsx
View file @
f0e176f8
...
...
@@ -99,15 +99,11 @@ class NewRecordPage extends React.Component {
}
{
tab
===
2
&&
list
.
map
((
item
,
index
)
=>
{
const
state
=
{
"-"
:
{
txt
:
"购买成功"
,
color
:
"rgba(0,0,0,1)"
},
"+"
:
{
txt
:
"赎回成功"
,
color
:
"rgba(0,0,0,1)"
}
}[
item
.
changeType
];
return
<
div
className=
"item"
key=
{
index
}
>
<
div
className=
"title"
>
{
item
.
description
}
</
div
>
<
div
className=
"date"
>
{
dateFormatter
(
item
.
gmtCreate
,
"yyyy.MM.dd hh:mm:ss"
)
}
</
div
>
<
div
className=
"num"
style=
{
{
color
:
(
state
||
{}).
color
}
}
>
{
`${item.changeType}¥${item.buyAmount / 100}`
}
</
div
>
<
div
className=
"num"
style=
{
{
color
:
'rgba(0,0,0,1)'
}
}
>
{
`${item.changeType}¥${item.buyAmount / 100}`
}
</
div
>
</
div
>
})
}
...
...
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