31 lines
2.0 KiB
XML
31 lines
2.0 KiB
XML
{
|
||
"widgettype": "VBox",
|
||
"options": {"width": "100%", "height": "100%", "padding": "20px"},
|
||
"subwidgets": [
|
||
{"widgettype": "Text", "options": {"label": "世界管理", "fontSize": "24px", "marginBottom": "12px"}},
|
||
{"widgettype": "ResponsableBox", "options": {"gap": "16px", "minWidth": "250px"}, "subwidgets": [
|
||
{
|
||
"widgettype": "VBox",
|
||
"options": {"backgroundColor": "#FFFFFF", "padding": "20px", "cursor": "pointer", "borderRadius": "6px", "boxShadow": "0 1px 4px rgba(0,0,0,0.1)"},
|
||
"binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.world_content",
|
||
"options": {"url": "{{entire_url('/world/world')}}"}, "mode": "replace"}],
|
||
"subwidgets": [
|
||
{"widgettype": "Text", "options": {"label": "世界列表", "fontSize": "16px"}},
|
||
{"widgettype": "Text", "options": {"label": "世界定义 CRUD:创建自动编码、模式白名单校验、编码全局唯一", "fontSize": "12px", "color": "#888"}}
|
||
]
|
||
},
|
||
{
|
||
"widgettype": "VBox",
|
||
"options": {"backgroundColor": "#FFFFFF", "padding": "20px", "cursor": "pointer", "borderRadius": "6px", "boxShadow": "0 1px 4px rgba(0,0,0,0.1)"},
|
||
"binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.world_content",
|
||
"options": {"url": "{{entire_url('/world/api/list_worlds.dspy')}}"}, "mode": "replace"}],
|
||
"subwidgets": [
|
||
{"widgettype": "Text", "options": {"label": "列表查询接口", "fontSize": "16px"}},
|
||
{"widgettype": "Text", "options": {"label": "sqlPaging 分页 + 复合索引过滤({list, total})", "fontSize": "12px", "color": "#888"}}
|
||
]
|
||
}
|
||
]},
|
||
{"widgettype": "VBox", "id": "world_content", "options": {"width": "100%", "flex": "1", "marginTop": "20px"}}
|
||
]
|
||
}
|