entity/wwwroot/index.ui

56 lines
2.1 KiB
XML

{
"widgettype": "VBox",
"options": {"width": "100%", "height": "100%", "padding": "20px"},
"subwidgets": [
{
"widgettype": "Text",
"options": {"label": "实体管理", "fontSize": "24px", "fontWeight": "bold"}
},
{
"widgettype": "ResponsableBox",
"options": {"gap": "16px", "minWidth": "250px"},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"backgroundColor": "#FFFFFF", "padding": "20px", "cursor": "pointer", "borderRadius": "8px", "boxShadow": "0 1px 4px rgba(0,0,0,0.08)"},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.entity_content",
"options": {"url": "{{entire_url('entity/entity_list.ui')}}", "mode": "replace"}
}
],
"subwidgets": [
{"widgettype": "Text", "options": {"label": "实体列表", "fontSize": "16px"}},
{"widgettype": "Text", "options": {"label": "实体表 CRUD / 分页列表查询", "fontSize": "12px", "color": "#888888"}}
]
},
{
"widgettype": "VBox",
"options": {"backgroundColor": "#FFFFFF", "padding": "20px", "cursor": "pointer", "borderRadius": "8px", "boxShadow": "0 1px 4px rgba(0,0,0,0.08)"},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.entity_content",
"options": {"url": "{{entire_url('import_page.ui')}}", "mode": "replace"}
}
],
"subwidgets": [
{"widgettype": "Text", "options": {"label": "实体导入", "fontSize": "16px"}},
{"widgettype": "Text", "options": {"label": "CSV/JSON 文件导入,校验失败全量拦截回滚", "fontSize": "12px", "color": "#888888"}}
]
}
]
},
{
"widgettype": "VBox",
"id": "app.entity_content",
"options": {"width": "100%", "flex": "1", "marginTop": "20px"}
}
]
}