From 39db75c8189fc0d988916b58757ac077911b8292 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 07:49:05 +0800 Subject: [PATCH] fix: replace background with bgcolor, unwrap widgettype:Page to promote subwidgets to top level --- wwwroot/base.ui | 16 ++++++++-------- wwwroot/dashboard.ui | 2 -- wwwroot/reports.ui | 2 -- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/wwwroot/base.ui b/wwwroot/base.ui index 0137c91..461c429 100644 --- a/wwwroot/base.ui +++ b/wwwroot/base.ui @@ -27,12 +27,12 @@ { "widgettype": "VBox", "options": { - "background": "#4CAF50", "color": "white", "padding": "24px", "borderRadius": "8px", "minWidth": "200px", - "flex": 1 + "flex": 1, + "bgcolor": "#4CAF50" }, "subwidgets": [ { @@ -57,12 +57,12 @@ { "widgettype": "VBox", "options": { - "background": "#2196F3", "color": "white", "padding": "24px", "borderRadius": "8px", "minWidth": "200px", - "flex": 1 + "flex": 1, + "bgcolor": "#2196F3" }, "subwidgets": [ { @@ -87,12 +87,12 @@ { "widgettype": "VBox", "options": { - "background": "#FF9800", "color": "white", "padding": "24px", "borderRadius": "8px", "minWidth": "200px", - "flex": 1 + "flex": 1, + "bgcolor": "#FF9800" }, "subwidgets": [ { @@ -117,12 +117,12 @@ { "widgettype": "VBox", "options": { - "background": "#F44336", "color": "white", "padding": "24px", "borderRadius": "8px", "minWidth": "200px", - "flex": 1 + "flex": 1, + "bgcolor": "#F44336" }, "subwidgets": [ { diff --git a/wwwroot/dashboard.ui b/wwwroot/dashboard.ui index 13f7960..07cbfe1 100644 --- a/wwwroot/dashboard.ui +++ b/wwwroot/dashboard.ui @@ -1,7 +1,5 @@ { - "widgettype": "Page", "options": { - "title": "仪表板", "height": "100%", "padding": "0" }, diff --git a/wwwroot/reports.ui b/wwwroot/reports.ui index 6abe363..93dc01c 100644 --- a/wwwroot/reports.ui +++ b/wwwroot/reports.ui @@ -1,7 +1,5 @@ { - "widgettype": "Page", "options": { - "title": "报表中心", "height": "100%", "padding": "0" },