Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-admin
Commits
9fb3c716
Commit
9fb3c716
authored
Jan 06, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加%、修复图片显示不对的问题
parent
2bd8b10b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
equity-1.png
src/asserts/equity-1.png
+0
-0
equity-2.png
src/asserts/equity-2.png
+0
-0
equity-3.png
src/asserts/equity-3.png
+0
-0
index.tsx
src/pages/member/components/EquityInfo/index.tsx
+8
-2
No files found.
src/asserts/equity-1.png
View replaced file @
2bd8b10b
View file @
9fb3c716
6.71 KB
|
W:
|
H:
5.74 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/asserts/equity-2.png
View replaced file @
2bd8b10b
View file @
9fb3c716
6.06 KB
|
W:
|
H:
6.71 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/asserts/equity-3.png
View replaced file @
2bd8b10b
View file @
9fb3c716
5.74 KB
|
W:
|
H:
6.06 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/pages/member/components/EquityInfo/index.tsx
View file @
9fb3c716
...
...
@@ -65,6 +65,12 @@ const equityTxtMap = {
3
:
'积分'
,
};
const
clsMap
=
{
1
:
'tofo-item-tag-price'
,
2
:
'tofo-item-tag-recurrence'
,
3
:
'tofo-item-tag-integral'
,
};
const
EquityInfo
:
React
.
FC
<
EquityInfoProps
>
=
({
equityInfo
=
{},
fetchReceivedList
,
...
...
@@ -249,9 +255,9 @@ const EquityInfo: React.FC<EquityInfoProps> = ({
</
div
>
<
div
className=
{
styles
[
'tofo-item-extra'
]
}
>
<
span
className=
{
classNames
(
styles
[
'tofo-item-tag'
],
styles
[
'tofo-item-tag-price'
])
}
className=
{
classNames
(
styles
[
'tofo-item-tag'
],
styles
[
clsMap
[
item
.
rightTypeEnum
]
])
}
>
{
item
.
parameter
}
{
equityTxtMap
[
item
.
rightTypeEnum
]
||
''
}
{
item
.
parameter
}
%
{
equityTxtMap
[
item
.
rightTypeEnum
]
||
''
}
</
span
>
</
div
>
</
li
>
...
...
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