Integrate all module .ui and .dspy files into a single navigation page
using {{entire_url()}} for all path references.
170 lines
6.2 KiB
XML
170 lines
6.2 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "20px",
|
|
"backgroundColor": "#F9FAFB"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "统一仪表盘",
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"marginBottom": "20px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {
|
|
"gap": "16px",
|
|
"minWidth": "250px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.dashboard_content",
|
|
"options": {
|
|
"url": "{{entire_url('dashboard.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "业务仪表盘",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "实时业务数据可视化展示",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.dashboard_content",
|
|
"options": {
|
|
"url": "{{entire_url('reports.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "报表中心",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#059669"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "生成和查看各类业务报表",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.dashboard_content",
|
|
"options": {
|
|
"url": "{{entire_url('mobile_dashboard.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "移动端仪表盘",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#D97706"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "适配移动设备的仪表盘视图",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "dashboard_content",
|
|
"options": {
|
|
"width": "100%",
|
|
"flex": "1",
|
|
"marginTop": "20px",
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)"
|
|
}
|
|
}
|
|
]
|
|
}
|