From 77ced63b68271acb537c5ef3d144d3f2c5f43a71 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 8 Jul 2026 17:43:49 +0800 Subject: [PATCH] fix: rewrite index.ui for pipeline_ops/pipeline_dist as proper bricks cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pipeline_ops: VBox+ResponsableBox cards → pricing/capacity/usage_log - pipeline_dist: VBox+ResponsableBox cards → distributor_pipeline - main index.ui: fix task center URL (/pipeline_task→/pipeline_sdlc/sd_projects), menu cwidth --- wwwroot/index.ui | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index d234498..c28023b 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -1,16 +1,25 @@ { - "title": "分销管理", - "layout": "cards", - "cards": [ - { - "title": "分销商管理", - "icon": "people", - "url": "{{entire_url('../json/distributors.json')}}" - }, - { - "title": "分销商产线配置", - "icon": "link", - "url": "{{entire_url('../json/distributor_pipeline.json')}}" - } - ] + "widgettype": "VBox", + "options": {"width": "100%", "height": "100%", "padding": "24px", "spacing": "20px"}, + "subwidgets": [ + { + "widgettype": "Title2", + "options": {"text": "分销管理"} + }, + { + "widgettype": "ResponsableBox", + "options": {"gap": "16px", "minWidth": "220px"}, + "subwidgets": [ + { + "widgettype": "VBox", + "options": {"css": "card", "cwidth": 22, "padding": "16px", "cursor": "pointer"}, + "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('../pipeline_dist/distributor_pipeline/')}}"}, "mode": "replace"}], + "subwidgets": [ + {"widgettype": "Title4", "options": {"text": "分销商产线配置"}}, + {"widgettype": "Text", "options": {"text": "管理分销商产线绑定", "cfontsize": 0.9}} + ] + } + ] + } + ] }