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
4fd8c3ba
Commit
4fd8c3ba
authored
Jun 18, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 调整样式
parent
53118461
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
index.tsx
src/pages/member/components/QualitiesUpload/index.tsx
+2
-1
index.less
...ages/member/components/QualitiesUploadFormItem/index.less
+9
-0
index.tsx
...pages/member/components/QualitiesUploadFormItem/index.tsx
+6
-2
No files found.
src/pages/member/components/QualitiesUpload/index.tsx
View file @
4fd8c3ba
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-04 17:26:51
* @Date: 2021-06-04 17:26:51
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-1
7 10:37:59
* @LastEditTime: 2021-06-1
8 17:31:07
* @Description: 资质上传组件
* @Description: 资质上传组件
*/
*/
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
...
@@ -77,6 +77,7 @@ const QualitiesUpload = (props) => {
...
@@ -77,6 +77,7 @@ const QualitiesUpload = (props) => {
maxCount=
{
1
}
maxCount=
{
1
}
fileList=
{
arrValue
}
fileList=
{
arrValue
}
onChange=
{
handleChange
}
onChange=
{
handleChange
}
disabled=
{
!
editable
}
>
>
{
!
loading
?
(
{
!
loading
?
(
arrValue
.
length
?
renderFile
()
:
uploadButton
arrValue
.
length
?
renderFile
()
:
uploadButton
...
...
src/pages/member/components/QualitiesUploadFormItem/index.less
View file @
4fd8c3ba
...
@@ -20,3 +20,11 @@
...
@@ -20,3 +20,11 @@
position: relative;
position: relative;
top: -10px;
top: -10px;
}
}
.lineage-cell {
:global {
.ant-form-item {
margin-bottom: 0;
}
}
}
\ No newline at end of file
src/pages/member/components/QualitiesUploadFormItem/index.tsx
View file @
4fd8c3ba
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-01 16:13:35
* @Date: 2021-06-01 16:13:35
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-1
7 10:50:41
* @LastEditTime: 2021-06-1
8 17:50:57
* @Description: 资质证明上传组件
* @Description: 资质证明上传组件
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
...
@@ -105,6 +105,7 @@ const QualitiesUploadFormItem = (props) => {
...
@@ -105,6 +105,7 @@ const QualitiesUploadFormItem = (props) => {
};
};
return
(
return
(
<
div
style=
{
{
width
:
'100%'
}
}
>
<
ArrayList
value=
{
value
}
>
<
ArrayList
value=
{
value
}
>
<
Row
<
Row
gutter=
{
{
sm
:
44
,
md
:
88
,
lg
:
88
}
}
gutter=
{
{
sm
:
44
,
md
:
88
,
lg
:
88
}
}
...
@@ -115,12 +116,13 @@ const QualitiesUploadFormItem = (props) => {
...
@@ -115,12 +116,13 @@ const QualitiesUploadFormItem = (props) => {
gutter=
{
50
}
gutter=
{
50
}
align=
"middle"
align=
"middle"
>
>
<
Col
flex=
{
1
}
>
<
Col
flex=
{
1
}
className=
{
styles
[
'lineage-cell'
]
}
>
<
SchemaField
<
SchemaField
path=
{
FormPath
.
parse
(
path
).
concat
(
index
)
}
path=
{
FormPath
.
parse
(
path
).
concat
(
index
)
}
schema=
{
schema
}
schema=
{
schema
}
/>
/>
</
Col
>
</
Col
>
{
editable
&&
(
<
Col
>
<
Col
>
<
Button
<
Button
onClick=
{
()
=>
onRemove
(
index
)
}
onClick=
{
()
=>
onRemove
(
index
)
}
...
@@ -129,6 +131,7 @@ const QualitiesUploadFormItem = (props) => {
...
@@ -129,6 +131,7 @@ const QualitiesUploadFormItem = (props) => {
className=
{
styles
[
'del-btn'
]
}
className=
{
styles
[
'del-btn'
]
}
/>
/>
</
Col
>
</
Col
>
)
}
</
Row
>
</
Row
>
</
Col
>
</
Col
>
))
}
))
}
...
@@ -145,6 +148,7 @@ const QualitiesUploadFormItem = (props) => {
...
@@ -145,6 +148,7 @@ const QualitiesUploadFormItem = (props) => {
)
}
)
}
</
Row
>
</
Row
>
</
ArrayList
>
</
ArrayList
>
</
div
>
);
);
};
};
...
...
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