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}} + ] + } + ] + } + ] }