From 3906339394b47c4aa3cac0a3b24ec2b0f94d25f7 Mon Sep 17 00:00:00 2001 From: zhangjinlong Date: Thu, 15 Oct 2020 19:01:26 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8F=B3=E4=BE=A7=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PanelComponents/DataList/index.less | 4 ++++ src/components/PanelComponents/DataList/index.tsx | 2 +- src/components/PanelComponents/MutiText/index.less | 1 + src/components/PanelComponents/MutiText/index.tsx | 6 +++--- src/components/PanelComponents/Pos/index.less | 2 ++ src/components/PanelComponents/Upload/index.less | 3 ++- src/components/PanelComponents/Upload/index.tsx | 2 +- src/global.css | 13 ++++++++++++- 8 files changed, 26 insertions(+), 7 deletions(-) diff --git a/src/components/PanelComponents/DataList/index.less b/src/components/PanelComponents/DataList/index.less index ab6c4eb..c6e60b5 100644 --- a/src/components/PanelComponents/DataList/index.less +++ b/src/components/PanelComponents/DataList/index.less @@ -1,6 +1,9 @@ .dataList { padding: 6px 10px; border: 1px solid #f0f0f0; + text-align: justify; + padding-left: 10px; + padding-top: 10px; } .listItem { position: relative; @@ -18,6 +21,7 @@ } .tit { font-weight: bold; + padding-bottom: 5px; } .desc { font-size: 12px; diff --git a/src/components/PanelComponents/DataList/index.tsx b/src/components/PanelComponents/DataList/index.tsx index 3c9aa4a..1a82d23 100644 --- a/src/components/PanelComponents/DataList/index.tsx +++ b/src/components/PanelComponents/DataList/index.tsx @@ -226,7 +226,7 @@ const List = function(props: DataListType) { /> ))}
-
diff --git a/src/components/PanelComponents/MutiText/index.less b/src/components/PanelComponents/MutiText/index.less index 600298c..b2d6716 100644 --- a/src/components/PanelComponents/MutiText/index.less +++ b/src/components/PanelComponents/MutiText/index.less @@ -6,6 +6,7 @@ // font-size: 14px; margin-left: 12px; cursor: pointer; + align-self: center; } } } diff --git a/src/components/PanelComponents/MutiText/index.tsx b/src/components/PanelComponents/MutiText/index.tsx index c572300..b47354c 100644 --- a/src/components/PanelComponents/MutiText/index.tsx +++ b/src/components/PanelComponents/MutiText/index.tsx @@ -1,6 +1,6 @@ import React, { memo, useEffect } from 'react'; import { Input, Button, Popconfirm } from 'antd'; -import { MinusCircleOutlined } from '@ant-design/icons'; +import { MinusCircleFilled } from '@ant-design/icons'; import styles from './index.less'; import { TMutiTextDefaultType } from '../FormEditor/types'; @@ -46,7 +46,7 @@ export default memo(function MutiText(props: MultiTextProps) { cancelText="取消" > - + @@ -59,7 +59,7 @@ export default memo(function MutiText(props: MultiTextProps) { )} {value && value.length < 3 && (
-
diff --git a/src/components/PanelComponents/Pos/index.less b/src/components/PanelComponents/Pos/index.less index 0bb6bb6..504c546 100644 --- a/src/components/PanelComponents/Pos/index.less +++ b/src/components/PanelComponents/Pos/index.less @@ -1,5 +1,7 @@ .posIpt { display: flex; + justify-content: flex-end; + margin-right: -10px; .posItem { margin-right: 10px; span { diff --git a/src/components/PanelComponents/Upload/index.less b/src/components/PanelComponents/Upload/index.less index 3aed713..8f00bfc 100644 --- a/src/components/PanelComponents/Upload/index.less +++ b/src/components/PanelComponents/Upload/index.less @@ -10,11 +10,12 @@ .avatarUploader { display: inline-block; + text-align: left; } .wallBtn { position: absolute; - left: 120px; + left: 140px; bottom: 56px; display: inline-block; color: #2f54eb; diff --git a/src/components/PanelComponents/Upload/index.tsx b/src/components/PanelComponents/Upload/index.tsx index 4809fe4..78eeb7b 100644 --- a/src/components/PanelComponents/Upload/index.tsx +++ b/src/components/PanelComponents/Upload/index.tsx @@ -214,7 +214,7 @@ class PicturesWall extends React.Component { )}
- 从图片库中选择 + 图片库