mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-15 22:22:51 +00:00
110 lines
2.2 KiB
JSON
110 lines
2.2 KiB
JSON
{
|
|
"componentName": "Page",
|
|
"fileName": "test",
|
|
"dataSource": {
|
|
"list": []
|
|
},
|
|
"state": {
|
|
"text": "outter"
|
|
},
|
|
"props": {
|
|
"ref": "outterView",
|
|
"autoLoading": true,
|
|
"style": {
|
|
"padding": 20
|
|
}
|
|
},
|
|
"children": [{
|
|
"componentName": "Form",
|
|
"props": {
|
|
"labelCol": 3,
|
|
"style": {},
|
|
"ref": "testForm"
|
|
},
|
|
"children": [{
|
|
"componentName": "Form.Item",
|
|
"props": {
|
|
"label": "姓名:",
|
|
"name": "name",
|
|
"initValue": "李雷"
|
|
},
|
|
"children": [{
|
|
"componentName": "Input",
|
|
"props": {
|
|
"placeholder": "请输入",
|
|
"size": "medium",
|
|
"style": {
|
|
"width": 320
|
|
}
|
|
}
|
|
}]
|
|
}, {
|
|
"componentName": "Form.Item",
|
|
"props": {
|
|
"label": "年龄:",
|
|
"name": "age",
|
|
"initValue": "22"
|
|
},
|
|
"children": [{
|
|
"componentName": "NumberPicker",
|
|
"props": {
|
|
"size": "medium",
|
|
"type": "normal"
|
|
}
|
|
}]
|
|
}, {
|
|
"componentName": "Form.Item",
|
|
"props": {
|
|
"label": "职业:",
|
|
"name": "profession"
|
|
},
|
|
"children": [{
|
|
"componentName": "Select",
|
|
"props": {
|
|
"dataSource": [{
|
|
"label": "教师",
|
|
"value": "t"
|
|
}, {
|
|
"label": "医生",
|
|
"value": "d"
|
|
}, {
|
|
"label": "歌手",
|
|
"value": "s"
|
|
}]
|
|
}
|
|
}]
|
|
}, {
|
|
"componentName": "Div",
|
|
"props": {
|
|
"style": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"children": [{
|
|
"componentName": "Button.Group",
|
|
"props": {},
|
|
"children": [{
|
|
"componentName": "Button",
|
|
"props": {
|
|
"type": "primary",
|
|
"style": {
|
|
"margin": "0 5px 0 5px"
|
|
},
|
|
"htmlType": "submit"
|
|
},
|
|
"children": "提交"
|
|
}, {
|
|
"componentName": "Button",
|
|
"props": {
|
|
"type": "normal",
|
|
"style": {
|
|
"margin": "0 5px 0 5px"
|
|
},
|
|
"htmlType": "reset"
|
|
},
|
|
"children": "重置"
|
|
}]
|
|
}]
|
|
}]
|
|
}]
|
|
} |