From bda849855c1036b352b4ea29bf1c1d7460d340be Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 四月 2023 17:14:15 +0800 Subject: [PATCH] 2023-04-04 --- src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx index 5ddc9fe..b9a2d59 100644 --- a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx +++ b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/columnform/index.jsx @@ -5,7 +5,7 @@ import asyncComponent from '@/utils/asyncComponent' const ColorSketch = asyncComponent(() => import('@/mob/colorsketch')) -const MkIcon = asyncComponent(() => import('@/components/mkIcon')) +const MkEditIcon = asyncComponent(() => import('@/components/mkIcon')) class MenusColumn extends Component { static propTpyes = { @@ -40,28 +40,28 @@ const formItemLayout = { labelCol: { xs: { span: 24 }, - sm: { span: 8 } + sm: { span: 7 } }, wrapperCol: { xs: { span: 24 }, - sm: { span: 16 } + sm: { span: 17 } } } return ( <Form {...formItemLayout} className="node-form"> <Row gutter={24}> - <Col span={6}> + <Col span={5}> <Form.Item label="鏍囪瘑"> {getFieldDecorator('sign', { initialValue: '' })(<Input placeholder="" autoComplete="off" />)} </Form.Item> </Col> - <Col span={8}> + <Col span={6}> <Form.Item label="棰滆壊"> {getFieldDecorator('color', { - initialValue: '', + initialValue: '#e8e8e8', rules: [ { required: true, @@ -71,16 +71,23 @@ })(<ColorSketch />)} </Form.Item> </Col> - <Col span={7}> + <Col span={5}> <Form.Item label="鍥炬爣"> {getFieldDecorator('icon', { initialValue: '' })( - <MkIcon allowClear/> + <MkEditIcon allowClear/> )} </Form.Item> </Col> - <Col span={3} className="add"> + <Col span={6}> + <Form.Item label="杩炴帴绾�"> + {getFieldDecorator('linecolor', { + initialValue: '', + })(<ColorSketch allowClear/>)} + </Form.Item> + </Col> + <Col span={2} className="add"> <Button onClick={this.handleConfirm} type="primary" className="mk-green"> 娣诲姞 </Button> -- Gitblit v1.8.0