From 9ae927c899e86e7d3c8c4580ae932de3ff295c29 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 12 Jun 2026 00:02:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E7=82=B9=E5=87=BB=E6=97=A0=E5=93=8D=E5=BA=94?= =?UTF-8?q?=EF=BC=8CVBox=E6=94=B9=E7=94=A8Button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/index.ui | 177 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 wwwroot/index.ui 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" + } + } + ] + } + ] + } + ] + } + ] +}