diff --git a/wwwroot/index.ui b/wwwroot/index.ui new file mode 100644 index 0000000..cd8e982 --- /dev/null +++ b/wwwroot/index.ui @@ -0,0 +1,177 @@ +{ + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "HBox", + "options": { + "width": "100%", + "height": "48px", + "bgcolor": "var(--sage-bg-secondary, #1e293b)", + "padding": "0 16px", + "alignItems": "center", + "gap": "16px" + }, + "subwidgets": [ + { + "widgettype": "Title4", + "options": { + "text": "产线平台", + "color": "#fff" + } + }, + { + "widgettype": "Filler" + }, + { + "widgettype": "Menu", + "options": { + "target": "app.main_content", + "cwidth": 12, + "items": [ + { + "name": "pipeline_core", + "label": "产线管理", + "url": "{{entire_url('/pipeline_core/')}}" + }, + { + "name": "pipeline_ops", + "label": "运营管理", + "url": "{{entire_url('/pipeline_ops/')}}" + }, + { + "name": "pipeline_dist", + "label": "分销管理", + "url": "{{entire_url('/pipeline_dist/')}}" + }, + { + "name": "pipeline_task", + "label": "任务中心", + "url": "{{entire_url('/pipeline_task/')}}" + } + ] + } + }, + { + "widgettype": "Button", + "options": { + "label": "管理", + "css": "text", + "color": "#fff" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.main_content", + "options": { + "url": "{{entire_url('/rbac/user/')}}" + }, + "mode": "replace" + } + ] + } + ] + }, + { + "widgettype": "VScrollPanel", + "id": "app.main_content", + "options": { + "css": "filler", + "width": "100%", + "height": "100%" + }, + "subwidgets": [ + { + "widgettype": "VBox", + "options": { + "width": "100%", + "padding": "32px", + "spacing": "24px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "产线平台" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理产线定义、运营配置、分销渠道与任务执行", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "220px" + }, + "subwidgets": [ + { + "widgettype": "Button", + "options": { + "label": "产线管理", + "cwidth": 23, + "cheight": 8, + "css": "card", + "actiontype": "urlwidget", + "target": "app.main_content", + "url": "{{entire_url('/pipeline_core/')}}", + "mode": "replace" + } + }, + { + "widgettype": "Button", + "options": { + "label": "运营管理", + "cwidth": 23, + "cheight": 8, + "css": "card", + "actiontype": "urlwidget", + "target": "app.main_content", + "url": "{{entire_url('/pipeline_ops/')}}", + "mode": "replace" + } + }, + { + "widgettype": "Button", + "options": { + "label": "分销管理", + "cwidth": 23, + "cheight": 8, + "css": "card", + "actiontype": "urlwidget", + "target": "app.main_content", + "url": "{{entire_url('/pipeline_dist/')}}", + "mode": "replace" + } + }, + { + "widgettype": "Button", + "options": { + "label": "任务中心", + "cwidth": 23, + "cheight": 8, + "css": "card", + "actiontype": "urlwidget", + "target": "app.main_content", + "url": "{{entire_url('/pipeline_task/')}}", + "mode": "replace" + } + } + ] + } + ] + } + ] + } + ] +}