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
1d4f6891
Commit
1d4f6891
authored
Jan 06, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完善布局适配
parent
5c8b7c7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
index.less
src/pages/member/components/QualitiesUpload/index.less
+18
-4
index.tsx
...pages/member/components/QualitiesUploadFormItem/index.tsx
+8
-5
No files found.
src/pages/member/components/QualitiesUpload/index.less
View file @
1d4f6891
.upload {
flex: 1;
:global {
.ant-upload.ant-upload-select-picture-card {
width: 175px;
height: 120px;
width: 100%;
min-width: 175px;
height: auto;
padding-bottom: 55%;
position: relative;
> .ant-upload {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}
}
...
...
@@ -15,8 +28,8 @@
}
.img {
width: 1
75px
;
height: 1
20px
;
width: 1
00%
;
height: 1
00%
;
object-fit: cover;
}
}
\ No newline at end of file
src/pages/member/components/QualitiesUploadFormItem/index.tsx
View file @
1d4f6891
...
...
@@ -102,21 +102,24 @@ const QualitiesUploadFormItem = (props) => {
const
span
=
colSpan
?
{
span
:
colSpan
,
}
:
{
sm
:
12
,
md
:
8
,
lg
:
8
,
xs
:
24
,
sm
:
24
,
md
:
24
,
lg
:
24
,
xl
:
12
,
xxl
:
8
,
};
return
(
<
div
style=
{
{
width
:
'100%'
}
}
>
<
ArrayList
value=
{
value
}
>
<
Row
gutter=
{
[
66
,
50
]
}
gutter=
{
[
25
,
25
]
}
>
{
toArr
(
value
).
map
((
item
,
index
)
=>
(
<
Col
key=
{
index
}
{
...
span
}
>
<
Row
gutter=
{
50
}
gutter=
{
25
}
align=
"middle"
>
<
Col
flex=
{
1
}
className=
{
styles
[
'lineage-cell'
]
}
>
...
...
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