diff --git a/src/components/FromList/index.scss b/src/components/FromList/index.scss index c59c84e..38257e1 100644 --- a/src/components/FromList/index.scss +++ b/src/components/FromList/index.scss @@ -24,8 +24,23 @@ display: flex;justify-content: space-between; align-items: center; } + .form-list-input{ + width: 100%; + display: flex;align-items: center; + } + .form-list-input text{ + width: 30px; + min-width: 30px; + height: 30px; + background: rgba(0,0,0,0.3); + border-radius: 50%; + font-size: 18px; + display: flex;align-items: center; + justify-content: center; + flex: 1; + } .form-list-right input,.form-list-right textarea{ - flex: 0 0 auto; + // flex: 0 0 auto; min-height: 100%; width: 100%; color: #000000; diff --git a/src/components/FromList/index.tsx b/src/components/FromList/index.tsx index 2d428cf..6635fec 100644 --- a/src/components/FromList/index.tsx +++ b/src/components/FromList/index.tsx @@ -25,7 +25,11 @@ const FromList = memo((props:ListParams)=>{ props.children?? { - type=="input"?: + type=="input"? + + + {value&&} + : type=="textarea"?