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
shenshaokai
jinfa-platform
Commits
de25b1a0
Commit
de25b1a0
authored
Feb 20, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完善样式
parent
baa027ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
index.tsx
src/pages/afterService/components/ReturnDetailInfo/index.tsx
+3
-3
index.tsx
src/pages/afterService/components/Stamp/index.tsx
+11
-3
No files found.
src/pages/afterService/components/ReturnDetailInfo/index.tsx
View file @
de25b1a0
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 18:02:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-02-20 1
4:13:26
* @LastEditTime: 2021-02-20 1
5:16:18
* @Description: 退款明细
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -294,7 +294,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
),
expandedRowRender
:
record
=>
(
<
Row
gutter=
{
[
16
,
16
]
}
gutter=
{
16
}
className=
{
styles
.
deliver
}
>
{
record
.
detailList
.
map
(
item
=>
(
...
...
@@ -303,7 +303,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
className=
{
styles
[
'deliver-item'
]
}
key=
{
item
.
refundId
}
>
<
Stamp
>
<
Stamp
customStyle=
{
{
margin
:
0
,
padding
:
20
}
}
>
<
Descriptions
column=
{
2
}
>
<
Descriptions
.
Item
label=
"支付次数"
>
{
item
.
payCount
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"状态"
>
...
...
src/pages/afterService/components/Stamp/index.tsx
View file @
de25b1a0
...
...
@@ -2,23 +2,31 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 15:52:21
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-11-05 16:45:11
* @LastEditTime: 202
1-02-20 15:41:12
* @Description: 邮票展示组件
*/
import
React
from
'react'
;
import
classNames
from
'classnames'
;
import
styles
from
'./index.less'
;
interface
StampProps
{
// 是否需要展示中间的印记条
/**
* 是否需要展示中间的印记条
*/
imprinted
?:
boolean
;
/**
* 自定义外部样式
*/
customStyle
?:
React
.
CSSProperties
,
};
const
Stamp
:
React
.
FC
<
StampProps
>
&
{
isVirtualFieldComponent
:
boolean
}
=
({
imprinted
=
false
,
customStyle
,
children
,
})
=>
{
return
(
<
div
className=
{
styles
.
stamp
}
>
<
div
className=
{
classNames
(
styles
.
stamp
)
}
style=
{
customStyle
}
>
{
children
}
{
imprinted
&&
(
...
...
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