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
a23440bd
Commit
a23440bd
authored
Jun 07, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 调整样式
parent
e2baae95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
28 deletions
+36
-28
index.less
...emberQuery/applyMember/components/RegisterInfo/index.less
+12
-6
index.tsx
...memberQuery/applyMember/components/RegisterInfo/index.tsx
+24
-22
No files found.
src/pages/member/memberQuery/applyMember/components/RegisterInfo/index.less
View file @
a23440bd
@import '~antd/es/style/themes/default.less';
.card-box-title {
padding-left: @padding-xs;
line-height: @font-size-lg;
font-size: @font-size-lg;
font-weight: 500;
border-left: 2px solid @primary-color;
.register-info {
padding-top: @padding-xs;
background-color: #FFFFFF;
.card-box-title {
padding-left: @padding-xs;
line-height: @font-size-lg;
font-size: @font-size-lg;
font-weight: 500;
border-left: 2px solid @primary-color;
}
}
\ No newline at end of file
src/pages/member/memberQuery/applyMember/components/RegisterInfo/index.tsx
View file @
a23440bd
...
...
@@ -53,28 +53,30 @@ const RegisterInfo: React.FC<IProps> = (props: IProps) => {
return
(
<
Spin
spinning=
{
loading
}
>
{
registerInfo
?.
registerDetails
.
map
((
item
)
=>
(
<
CustomizeColumn
key=
{
item
.
groupName
}
title=
{
(
<
div
className=
{
styles
[
'card-box-title'
]
}
>
{
item
.
groupName
}
</
div
>
)
}
data=
{
(
item
.
elements
.
map
((
ele
)
=>
({
title
:
ele
.
fieldLocalName
,
value
:
(
ele
.
fieldType
!==
'upload'
?
ele
.
fieldValue
:
(
<
PicWrap
pics=
{
[
ele
.
fieldValue
]
}
/>
)
),
}))
)
}
/>
))
}
<
div
className=
{
styles
[
'register-info'
]
}
>
{
registerInfo
?.
registerDetails
.
map
((
item
)
=>
(
<
CustomizeColumn
key=
{
item
.
groupName
}
title=
{
(
<
div
className=
{
styles
[
'card-box-title'
]
}
>
{
item
.
groupName
}
</
div
>
)
}
data=
{
(
item
.
elements
.
map
((
ele
)
=>
({
title
:
ele
.
fieldLocalName
,
value
:
(
ele
.
fieldType
!==
'upload'
?
ele
.
fieldValue
:
(
<
PicWrap
pics=
{
[
ele
.
fieldValue
]
}
/>
)
),
}))
)
}
/>
))
}
</
div
>
</
Spin
>
);
};
...
...
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