From 06b7b3f986c3d1f53bf6a191507c60fbb952fa57 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 12 Jun 2026 01:24:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=90=E9=A1=B5=E9=9D=A2=E5=8D=A1?= =?UTF-8?q?=E7=89=87target=E6=94=B9=E4=B8=BA-main=5Fcontent=EF=BC=8C?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E5=B8=83=E5=B1=80=E5=8E=BB=E9=99=A4VScrollPa?= =?UTF-8?q?nel=E5=AD=90=E5=AE=B9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/pipeline_core/index.ui | 165 +++++++++++++-------------------- wwwroot/pipeline_dist/index.ui | 121 ++++++++++-------------- wwwroot/pipeline_ops/index.ui | 159 ++++++++++++++----------------- 3 files changed, 183 insertions(+), 262 deletions(-) diff --git a/wwwroot/pipeline_core/index.ui b/wwwroot/pipeline_core/index.ui index fdd372d..0e4a3bd 100644 --- a/wwwroot/pipeline_core/index.ui +++ b/wwwroot/pipeline_core/index.ui @@ -2,123 +2,86 @@ "widgettype": "VBox", "options": { "width": "100%", - "height": "100%", - "padding": "0" + "padding": "32px", + "spacing": "24px" }, "subwidgets": [ { - "widgettype": "HBox", + "widgettype": "Title2", "options": { - "width": "100%", - "alignItems": "center", - "marginBottom": "24px" - }, - "subwidgets": [ - { - "widgettype": "Title2", - "options": { - "text": "产线管理" - } - }, - { - "widgettype": "Filler" - }, - { - "widgettype": "Text", - "options": { - "text": "产线定义、步骤配置与发布管理", - "cfontsize": 1.2 - } - } - ] + "text": "产线管理" + } }, { - "widgettype": "VBox", + "widgettype": "Text", "options": { - "css": "filler", - "spacing": 16 + "text": "产线定义、步骤配置与发布管理", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "250px" }, "subwidgets": [ { - "widgettype": "ResponsableBox", + "widgettype": "Button", "options": { - "gap": "16px", - "minWidth": "250px" + "label": "产线定义", + "css": "card", + "cwidth": 23, + "cheight": 8 }, - "subwidgets": [ - { - "widgettype": "Button", - "options": { - "label": "产线定义", - "css": "card", - "cwidth": 23, - "cheight": 8 - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_core_content", - "options": { - "url": "{{entire_url('pipelines/')}}" - }, - "mode": "replace" - } - ] + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipelines/')}}" }, - { - "widgettype": "Button", - "options": { - "label": "产线步骤", - "css": "card", - "cwidth": 23, - "cheight": 8 - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_core_content", - "options": { - "url": "{{entire_url('pipeline_steps/')}}" - }, - "mode": "replace" - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "发布记录", - "css": "card", - "cwidth": 23, - "cheight": 8 - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_core_content", - "options": { - "url": "{{entire_url('pipeline_versions/')}}" - }, - "mode": "replace" - } - ] - } - ] + "mode": "replace" + }] }, { - "widgettype": "VScrollPanel", - "id": "pipeline_core_content", + "widgettype": "Button", "options": { - "css": "filler", - "width": "100%", - "height": "100%" - } + "label": "产线步骤", + "css": "card", + "cwidth": 23, + "cheight": 8 + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipeline_steps/')}}" + }, + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "发布记录", + "css": "card", + "cwidth": 23, + "cheight": 8 + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipeline_versions/')}}" + }, + "mode": "replace" + }] } ] } diff --git a/wwwroot/pipeline_dist/index.ui b/wwwroot/pipeline_dist/index.ui index 3fa952d..1a60917 100644 --- a/wwwroot/pipeline_dist/index.ui +++ b/wwwroot/pipeline_dist/index.ui @@ -2,88 +2,67 @@ "widgettype": "VBox", "options": { "width": "100%", - "height": "100%", - "padding": "0" + "padding": "32px", + "spacing": "24px" }, "subwidgets": [ { - "widgettype": "VScrollPanel", - "id": "pipeline_dist_content", + "widgettype": "Title2", "options": { - "css": "filler", - "width": "100%", - "height": "100%" + "text": "分销管理" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理分销商与产线配置", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "220px" }, "subwidgets": [ { - "widgettype": "VBox", + "widgettype": "Button", "options": { - "width": "100%", - "padding": "32px", - "spacing": "24px" + "label": "分销商管理", + "cwidth": 23, + "cheight": 8, + "css": "card" }, - "subwidgets": [ - { - "widgettype": "Title2", - "options": { - "text": "分销管理" - } + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('distributors/')}}" }, - { - "widgettype": "Text", - "options": { - "text": "管理分销商与产线配置", - "cfontsize": 1.2 - } + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "分销商产线配置", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('distributor_pipeline/')}}" }, - { - "widgettype": "ResponsableBox", - "options": { - "gap": "16px", - "minWidth": "220px" - }, - "subwidgets": [ - { - "widgettype": "Button", - "options": { - "label": "分销商管理", - "cwidth": 23, - "cheight": 8, - "css": "card" - }, - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_dist_content", - "options": { - "url": "{{entire_url('distributors/')}}" - }, - "mode": "replace" - }] - }, - { - "widgettype": "Button", - "options": { - "label": "分销商产线配置", - "cwidth": 23, - "cheight": 8, - "css": "card" - }, - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_dist_content", - "options": { - "url": "{{entire_url('distributor_pipeline/')}}" - }, - "mode": "replace" - }] - } - ] - } - ] + "mode": "replace" + }] } ] } diff --git a/wwwroot/pipeline_ops/index.ui b/wwwroot/pipeline_ops/index.ui index 213f890..1d4361b 100644 --- a/wwwroot/pipeline_ops/index.ui +++ b/wwwroot/pipeline_ops/index.ui @@ -2,107 +2,86 @@ "widgettype": "VBox", "options": { "width": "100%", - "height": "100%", - "padding": "0" + "padding": "32px", + "spacing": "24px" }, "subwidgets": [ { - "widgettype": "VScrollPanel", - "id": "pipeline_ops_content", + "widgettype": "Title2", "options": { - "css": "filler", - "width": "100%", - "height": "100%" + "text": "运营管理" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理产线定价、供应量与使用记录", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "220px" }, "subwidgets": [ { - "widgettype": "VBox", + "widgettype": "Button", "options": { - "width": "100%", - "padding": "32px", - "spacing": "24px" + "label": "定价管理", + "cwidth": 23, + "cheight": 8, + "css": "card" }, - "subwidgets": [ - { - "widgettype": "Title2", - "options": { - "text": "运营管理" - } + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipeline_pricing/')}}" }, - { - "widgettype": "Text", - "options": { - "text": "管理产线定价、供应量与使用记录", - "cfontsize": 1.2 - } + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "供应量管理", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipeline_capacity/')}}" }, - { - "widgettype": "ResponsableBox", - "options": { - "gap": "16px", - "minWidth": "220px" - }, - "subwidgets": [ - { - "widgettype": "Button", - "options": { - "label": "定价管理", - "cwidth": 23, - "cheight": 8, - "css": "card" - }, - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_ops_content", - "options": { - "url": "{{entire_url('pipeline_pricing/')}}" - }, - "mode": "replace" - }] - }, - { - "widgettype": "Button", - "options": { - "label": "供应量管理", - "cwidth": 23, - "cheight": 8, - "css": "card" - }, - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_ops_content", - "options": { - "url": "{{entire_url('pipeline_capacity/')}}" - }, - "mode": "replace" - }] - }, - { - "widgettype": "Button", - "options": { - "label": "使用记录", - "cwidth": 23, - "cheight": 8, - "css": "card" - }, - "binds": [{ - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "-pipeline_ops_content", - "options": { - "url": "{{entire_url('pipeline_usage_log/')}}" - }, - "mode": "replace" - }] - } - ] - } - ] + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "使用记录", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-main_content", + "options": { + "url": "{{entire_url('pipeline_usage_log/')}}" + }, + "mode": "replace" + }] } ] }