push
This commit is contained in:
37
lib/paas/config/form.config.ts
Normal file
37
lib/paas/config/form.config.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
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',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user