From 66966dbc8878f3c55d5c6b6b9c200d22f9451cee Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 8 Jul 2026 19:10:44 +0800 Subject: [PATCH] =?UTF-8?q?style:=20modernize=20card=20UI=20=E2=80=94=20co?= =?UTF-8?q?lored=20icon=20boxes,=20fixed=20height,=20white=20bg,=20Title3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pipeline_core: 3 cards with colored icon containers (blue/green/amber) - pipeline_ops: 3 cards with icons (red/sky/purple), consistent height - pipeline_dist: 2 cards with icons (green/orange), added distributor management card --- wwwroot/index.ui | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index e47f1eb..3f463eb 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -2,38 +2,44 @@ "widgettype": "VBox", "options": {"width": "100%", "height": "100%", "padding": "24px", "spacing": "20px"}, "subwidgets": [ - { - "widgettype": "Title2", - "options": {"text": "产线运营"} - }, + {"widgettype": "Title2", "options": {"text": "产线运营"}}, { "widgettype": "ResponsableBox", - "options": {"gap": "16px", "minWidth": "220px"}, + "options": {"gap": "24px", "minWidth": "260px"}, "subwidgets": [ { "widgettype": "VBox", - "options": {"css": "card", "cwidth": 22, "padding": "16px", "cursor": "pointer"}, + "options": {"css": "card", "cwidth": 23, "cheight": 11, "padding": "24px", "cursor": "pointer", "bgcolor": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('pipeline_pricing/')}}"}, "mode": "replace"}], "subwidgets": [ - {"widgettype": "Title4", "options": {"text": "定价管理"}}, + {"widgettype": "VBox", "options": {"width": "44px", "height": "44px", "bgcolor": "#FEF2F2", "borderRadius": "12px", "alignItems": "center", "justifyContent": "center", "marginBottom": "12px"}, "subwidgets": [ + {"widgettype": "Svg", "options": {"svg": "", "width": "24px", "height": "24px"}} + ]}, + {"widgettype": "Title3", "options": {"text": "定价管理", "marginBottom": "4px"}}, {"widgettype": "Text", "options": {"text": "管理产线计费方式和价格", "cfontsize": 0.9}} ] }, { "widgettype": "VBox", - "options": {"css": "card", "cwidth": 22, "padding": "16px", "cursor": "pointer"}, + "options": {"css": "card", "cwidth": 23, "cheight": 11, "padding": "24px", "cursor": "pointer", "bgcolor": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('pipeline_capacity/')}}"}, "mode": "replace"}], "subwidgets": [ - {"widgettype": "Title4", "options": {"text": "供应量管理"}}, + {"widgettype": "VBox", "options": {"width": "44px", "height": "44px", "bgcolor": "#F0F9FF", "borderRadius": "12px", "alignItems": "center", "justifyContent": "center", "marginBottom": "12px"}, "subwidgets": [ + {"widgettype": "Svg", "options": {"svg": "", "width": "24px", "height": "24px"}} + ]}, + {"widgettype": "Title3", "options": {"text": "供应量管理", "marginBottom": "4px"}}, {"widgettype": "Text", "options": {"text": "配置产线并发和调用限额", "cfontsize": 0.9}} ] }, { "widgettype": "VBox", - "options": {"css": "card", "cwidth": 22, "padding": "16px", "cursor": "pointer"}, + "options": {"css": "card", "cwidth": 23, "cheight": 11, "padding": "24px", "cursor": "pointer", "bgcolor": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('pipeline_usage_log/')}}"}, "mode": "replace"}], "subwidgets": [ - {"widgettype": "Title4", "options": {"text": "使用记录"}}, + {"widgettype": "VBox", "options": {"width": "44px", "height": "44px", "bgcolor": "#F5F3FF", "borderRadius": "12px", "alignItems": "center", "justifyContent": "center", "marginBottom": "12px"}, "subwidgets": [ + {"widgettype": "Svg", "options": {"svg": "", "width": "24px", "height": "24px"}} + ]}, + {"widgettype": "Title3", "options": {"text": "使用记录", "marginBottom": "4px"}}, {"widgettype": "Text", "options": {"text": "查看产线调用和消费记录", "cfontsize": 0.9}} ] }