Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
cf92bf95
Commit
cf92bf95
authored
Jan 06, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加%、修复图片展示不对的问题
parent
3013c3bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
equity-1.png
src/assets/imgs/equity-1.png
+0
-0
equity-2.png
src/assets/imgs/equity-2.png
+0
-0
equity-3.png
src/assets/imgs/equity-3.png
+0
-0
index.tsx
src/pages/member/components/EquityInfo/index.tsx
+8
-2
No files found.
src/assets/imgs/equity-1.png
View replaced file @
3013c3bf
View file @
cf92bf95
6.71 KB
|
W:
|
H:
5.74 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/imgs/equity-2.png
View replaced file @
3013c3bf
View file @
cf92bf95
6.06 KB
|
W:
|
H:
6.71 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/imgs/equity-3.png
View replaced file @
3013c3bf
View file @
cf92bf95
5.74 KB
|
W:
|
H:
6.06 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/pages/member/components/EquityInfo/index.tsx
View file @
cf92bf95
...
...
@@ -70,6 +70,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
,
...
...
@@ -248,9 +254,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