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
7c124290
Commit
7c124290
authored
May 26, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善样式
parent
7964b1ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
4 deletions
+51
-4
index.less
src/pages/member/components/MemberDocIncomingInfo/index.less
+24
-0
index.tsx
src/pages/member/components/MemberDocIncomingInfo/index.tsx
+27
-4
No files found.
src/pages/member/components/MemberDocIncomingInfo/index.less
View file @
7c124290
@import '~antd/es/style/themes/default.less';
.changed {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
.new {
padding: 0 2px;
color: #FFFFFF;
font-size: @font-size-sm;
line-height: @font-size-sm;
font-weight: 500;
background-color: #2266EE;
border-radius: 2px;
cursor: pointer;
&:hover {
background-color: #0630A1;
}
}
}
\ No newline at end of file
src/pages/member/components/MemberDocIncomingInfo/index.tsx
View file @
7c124290
...
...
@@ -2,11 +2,13 @@
* @Author: XieZhiXiong
* @Date: 2021-05-21 17:14:39
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-05-2
1 17:21:27
* @LastEditTime: 2021-05-2
6 11:19:51
* @Description: 会员入库信息
*/
import
React
from
'react'
;
import
{
Tooltip
}
from
'antd'
;
import
CustomizeColumn
,
{
IProps
as
CustomizeColumnProps
}
from
'@/components/CustomizeColumn'
;
import
styles
from
'./index.less'
;
interface
IProps
extends
Omit
<
CustomizeColumnProps
,
'data'
|
'columns'
>
{}
...
...
@@ -18,15 +20,36 @@ const MemberDocIncomingInfo: React.FC<IProps> = (props: IProps) => {
const
data
=
[
{
title
:
'商业模式'
,
value
:
'生产商'
,
value
:
(
<
div
className=
{
styles
.
changed
}
>
生产商
<
Tooltip
title=
{
`变更前:${'加工商'}`
}
>
<
span
className=
{
styles
.
new
}
>
NEW
</
span
>
</
Tooltip
>
</
div
>
),
},
{
title
:
'工厂数量'
,
value
:
'3'
,
value
:
(
<
div
className=
{
styles
.
changed
}
>
3
<
Tooltip
title=
{
`变更前:${'加工商'}`
}
>
<
span
className=
{
styles
.
new
}
>
NEW
</
span
>
</
Tooltip
>
</
div
>
),
},
{
title
:
'主要合作伙伴'
,
value
:
'安踏'
,
value
:
(
<
div
className=
{
styles
.
changed
}
>
安踏
<
Tooltip
title=
{
`变更前:${'Nike'}`
}
>
<
span
className=
{
styles
.
new
}
>
NEW
</
span
>
</
Tooltip
>
</
div
>
),
},
{
title
:
'主营行业'
,
...
...
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