From 08acb377692a4a2e1b6ab4a8babd4d92b5a8e709 Mon Sep 17 00:00:00 2001 From: li tong bao <2903733959@qq.com> Date: Thu, 28 Apr 2022 18:13:36 +0800 Subject: [PATCH] =?UTF-8?q?--=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E8=AE=BE=E7=BD=AE=E5=9B=BE=E6=A0=87=20--=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E7=BB=84=E4=BB=B6input=E7=B1=BB=E5=9E=8B=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E9=9D=A2=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FromList/index.scss | 17 +++++- src/components/FromList/index.tsx | 6 ++- src/pages/addressAdd/index.tsx | 2 +- src/pages/company/index.tsx | 2 +- src/pages/user/index.module.scss | 16 ++++++ src/pages/user/index.tsx | 12 ++++- src/pages/userEdit/index.tsx | 6 ++- src/pages/weightList/index.tsx | 7 ++- src/pages/weightListAdd/index.scss | 20 ++++++++ src/pages/weightListAdd/index.tsx | 11 +++- src/styles/iconfont.scss | 80 +++++++++++++---------------- src/styles/iconfont.ttf | Bin 6084 -> 8892 bytes 12 files changed, 123 insertions(+), 56 deletions(-) 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"?