You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
885 B
38 lines
885 B
6 months ago
|
export const formConfig = {
|
||
|
formLayout: {
|
||
|
vertical: {
|
||
|
layout: 'horizontal',
|
||
|
class: 'ns-vertical-form',
|
||
|
labelCol: { flex: '100px' },
|
||
|
wrapperCol: { span: 20 },
|
||
|
span: 24,
|
||
|
justify: 'start',
|
||
|
labelAlign: 'left',
|
||
|
},
|
||
|
flex: {
|
||
|
class: 'ns-flex-form ns-flex-form-horizontal',
|
||
|
labelCol: { span: 2 },
|
||
|
wrapperCol: { span: 22 },
|
||
|
span: 5,
|
||
|
justify: 'end',
|
||
|
},
|
||
|
flexv2: {
|
||
|
// layout: 'horizontal',
|
||
|
class: 'ns-flex-form ns-flex-form-horizontal',
|
||
|
wrapperCol: { span: 16 },
|
||
|
span: 6,
|
||
|
sm: 8, //≥576px <=768
|
||
|
lg: 6, //>= 768
|
||
|
gutter: [16, 16],
|
||
|
justify: 'space-between',
|
||
|
},
|
||
|
flexVertical: {
|
||
|
class: 'ns-flex-form ns-flex-form-vertical',
|
||
|
labelCol: { span: 8 },
|
||
|
wrapperCol: { span: 16 },
|
||
|
span: 7,
|
||
|
justify: 'space-between',
|
||
|
},
|
||
|
},
|
||
|
};
|