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 {
.upload {
flex: 1;
:global {
:global {
.ant-upload.ant-upload-select-picture-card {
.ant-upload.ant-upload-select-picture-card {
width: 175px;
width: 100%;
height: 120px;
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 @@
...
@@ -15,8 +28,8 @@
}
}
.img {
.img {
width: 1
75px
;
width: 1
00%
;
height: 1
20px
;
height: 1
00%
;
object-fit: cover;
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) => {
...
@@ -102,21 +102,24 @@ const QualitiesUploadFormItem = (props) => {
const
span
=
colSpan
?
{
const
span
=
colSpan
?
{
span
:
colSpan
,
span
:
colSpan
,
}
:
{
}
:
{
sm
:
12
,
xs
:
24
,
md
:
8
,
sm
:
24
,
lg
:
8
,
md
:
24
,
lg
:
24
,
xl
:
12
,
xxl
:
8
,
};
};
return
(
return
(
<
div
style=
{
{
width
:
'100%'
}
}
>
<
div
style=
{
{
width
:
'100%'
}
}
>
<
ArrayList
value=
{
value
}
>
<
ArrayList
value=
{
value
}
>
<
Row
<
Row
gutter=
{
[
66
,
50
]
}
gutter=
{
[
25
,
25
]
}
>
>
{
toArr
(
value
).
map
((
item
,
index
)
=>
(
{
toArr
(
value
).
map
((
item
,
index
)
=>
(
<
Col
key=
{
index
}
{
...
span
}
>
<
Col
key=
{
index
}
{
...
span
}
>
<
Row
<
Row
gutter=
{
50
}
gutter=
{
25
}
align=
"middle"
align=
"middle"
>
>
<
Col
flex=
{
1
}
className=
{
styles
[
'lineage-cell'
]
}
>
<
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