Commit 3a8b1679 by zhaochengxiang

主数据样式调整

parent 484a0efa
.update-data-master-modal {
.yy-modal-body {
max-height: 70vh;
overflow: auto;
}
}
\ No newline at end of file
...@@ -54,10 +54,10 @@ const UpdateTemplateModal = (props) => { ...@@ -54,10 +54,10 @@ const UpdateTemplateModal = (props) => {
{...formItemLayout} {...formItemLayout}
> >
<Form.Item label='模版名称' name='name' rules={[{ required: true, message: '请填写模版名称' }]}> <Form.Item label='模版名称' name='name' rules={[{ required: true, message: '请填写模版名称' }]}>
<Input /> <Input style={{ width: '87%' }} />
</Form.Item> </Form.Item>
<Form.Item label='模版中文名称' name='cnName' rules={[{ required: true, message: '请填写模版中文名称' }]}> <Form.Item label='模版中文名称' name='cnName' rules={[{ required: true, message: '请填写模版中文名称' }]}>
<Input /> <Input style={{ width: '87%' }} />
</Form.Item> </Form.Item>
<Form.List <Form.List
name="names" name="names"
...@@ -94,7 +94,7 @@ const UpdateTemplateModal = (props) => { ...@@ -94,7 +94,7 @@ const UpdateTemplateModal = (props) => {
<Input <Input
placeholder="属性名称" placeholder="属性名称"
style={{ style={{
width: fields.length > 1? '87%':'100%', width: '87%',
}} }}
/> />
</Form.Item> </Form.Item>
...@@ -111,7 +111,7 @@ const UpdateTemplateModal = (props) => { ...@@ -111,7 +111,7 @@ const UpdateTemplateModal = (props) => {
type="dashed" type="dashed"
onClick={() => add()} onClick={() => add()}
style={{ style={{
width: '100%', width: '87%',
}} }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment