diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 05fb2ec..f5f64d0 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -2,8 +2,7 @@ "widgettype": "VBox", "options": { "width": "100%", - "height": "100%", - "bgcolor": "#0B1120" + "height": "100%" }, "subwidgets": [ { @@ -17,7 +16,6 @@ { "widgettype": "Title2", "options": { - "color": "#F1F5F9", "fontWeight": "700", "otext": "数据概览", "i18n": true @@ -30,8 +28,7 @@ "widgettype": "Text", "options": { "text": "最后更新: {{get_today_usage(request) and request._run_ns.curDateString() or ''}}", - "fontSize": "13px", - "color": "#64748B" + "fontSize": "13px" } } ] @@ -132,10 +129,8 @@ "widgettype": "VBox", "options": { "width": "60%", - "bgcolor": "#1E293B", "borderRadius": "12px", - "padding": "20px", - "border": "1px solid #334155" + "padding": "20px" }, "subwidgets": [ { @@ -149,7 +144,6 @@ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "otext": "Top 3 模型(今日调用)", "i18n": true @@ -162,8 +156,6 @@ "widgettype": "Button", "options": { "label": "刷新", - "bgcolor": "#334155", - "color": "#94A3B8", "border": "none", "borderRadius": "6px", "padding": "4px 12px", @@ -196,16 +188,13 @@ "widgettype": "VBox", "options": { "width": "40%", - "bgcolor": "#1E293B", "borderRadius": "12px", - "padding": "20px", - "border": "1px solid #334155" + "padding": "20px" }, "subwidgets": [ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "16px", "otext": "快捷入口", @@ -222,10 +211,8 @@ { "widgettype": "Button", "options": { - "bgcolor": "#1E293B", "padding": "16px", "borderRadius": "8px", - "border": "1px solid #475569", "textAlign": "center" }, "binds": [ @@ -256,7 +243,6 @@ { "widgettype": "Text", "options": { - "color": "#FFFFFF", "fontWeight": "600", "fontSize": "13px", "marginTop": "8px", @@ -271,10 +257,8 @@ { "widgettype": "Button", "options": { - "bgcolor": "#1E293B", "padding": "16px", "borderRadius": "8px", - "border": "1px solid #475569", "textAlign": "center" }, "binds": [ @@ -305,7 +289,6 @@ { "widgettype": "Text", "options": { - "color": "#FFFFFF", "fontWeight": "600", "fontSize": "13px", "marginTop": "8px", @@ -320,7 +303,6 @@ { "widgettype": "Button", "options": { - "bgcolor": "#334155", "padding": "16px", "borderRadius": "8px", "border": "none", @@ -354,7 +336,6 @@ { "widgettype": "Text", "options": { - "color": "#E2E8F0", "fontSize": "13px", "marginTop": "8px", "otext": "知识库", @@ -368,7 +349,6 @@ { "widgettype": "Button", "options": { - "bgcolor": "#334155", "padding": "16px", "borderRadius": "8px", "border": "none", @@ -402,7 +382,6 @@ { "widgettype": "Text", "options": { - "color": "#E2E8F0", "fontSize": "13px", "marginTop": "8px", "otext": "异常记录", @@ -423,17 +402,14 @@ "widgettype": "VBox", "options": { "width": "100%", - "bgcolor": "#1E293B", "borderRadius": "12px", "padding": "20px", - "border": "1px solid #334155", "marginTop": "20px" }, "subwidgets": [ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "16px", "otext": "用户消费排行(Top 5)", @@ -454,17 +430,14 @@ "widgettype": "VBox", "options": { "width": "100%", - "bgcolor": "#1E293B", "borderRadius": "12px", "padding": "20px", - "border": "1px solid #334155", "marginTop": "20px" }, "subwidgets": [ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "16px", "otext": "用户调用排行(Top 5)", @@ -493,16 +466,13 @@ "widgettype": "VBox", "options": { "width": "50%", - "bgcolor": "#1E293B", "borderRadius": "12px", - "padding": "20px", - "border": "1px solid #334155" + "padding": "20px" }, "subwidgets": [ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "16px", "otext": "供应商交易排行(金额 Top 5)", @@ -523,16 +493,13 @@ "widgettype": "VBox", "options": { "width": "50%", - "bgcolor": "#1E293B", "borderRadius": "12px", - "padding": "20px", - "border": "1px solid #334155" + "padding": "20px" }, "subwidgets": [ { "widgettype": "Title4", "options": { - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "16px", "otext": "供应商调用排行(数量 Top 5)", diff --git a/wwwroot/stat_active_users.ui b/wwwroot/stat_active_users.ui index 8b0264b..b383f55 100644 --- a/wwwroot/stat_active_users.ui +++ b/wwwroot/stat_active_users.ui @@ -1,10 +1,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -35,7 +33,6 @@ "text": "{{get_active_users_today(request)}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -43,7 +40,6 @@ "widgettype": "Text", "options": { "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px", "otext": "今日活跃用户", "i18n": true diff --git a/wwwroot/stat_errors.ui b/wwwroot/stat_errors.ui index fcf6a71..7f785de 100644 --- a/wwwroot/stat_errors.ui +++ b/wwwroot/stat_errors.ui @@ -1,10 +1,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -35,7 +33,6 @@ "text": "{{get_accounting_errors(request)}}", "fontSize": "32px", "fontWeight": "700", - "color": "#EF4444", "lineHeight": "1.1" } }, @@ -43,7 +40,6 @@ "widgettype": "Text", "options": { "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px", "otext": "记账异常", "i18n": true diff --git a/wwwroot/stat_today_usage.ui b/wwwroot/stat_today_usage.ui index 777a0b6..64bb7ac 100644 --- a/wwwroot/stat_today_usage.ui +++ b/wwwroot/stat_today_usage.ui @@ -1,10 +1,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px", "cursor": "pointer" @@ -36,7 +34,6 @@ "text": "{{get_today_usage(request)}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -44,7 +41,6 @@ "widgettype": "Text", "options": { "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px", "otext": "今日调用笔数", "i18n": true diff --git a/wwwroot/stat_total_users.ui b/wwwroot/stat_total_users.ui index ccb2d2b..f0a9898 100644 --- a/wwwroot/stat_total_users.ui +++ b/wwwroot/stat_total_users.ui @@ -1,10 +1,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -35,7 +33,6 @@ "text": "{{get_total_users(request)}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -43,7 +40,6 @@ "widgettype": "Text", "options": { "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px", "otext": "用户总数", "i18n": true diff --git a/wwwroot/table_top_providers_amount.ui b/wwwroot/table_top_providers_amount.ui index 03e7e78..0c928c0 100644 --- a/wwwroot/table_top_providers_amount.ui +++ b/wwwroot/table_top_providers_amount.ui @@ -12,7 +12,6 @@ "width": "100%", "padding": "12px 0", {% if not loop.first %} - "borderTop": "1px solid #334155", {% endif %} "alignItems": "center" }, @@ -22,7 +21,6 @@ "options": { "text": "{{loop.index}}", "width": "30px", - "color": "#64748B", "fontSize": "14px", "textAlign": "center" } @@ -32,7 +30,6 @@ "options": { "text": "{{p.provider_name}}", "flex": "1", - "color": "#F1F5F9", "fontSize": "14px", "fontWeight": "500" } @@ -42,7 +39,6 @@ "options": { "text": "{{p.cnt}} 笔", "width": "80px", - "color": "#94A3B8", "fontSize": "13px", "textAlign": "right" } @@ -68,7 +64,6 @@ "otext": "暂无数据", "i18n": true, - "color": "#64748B", "fontSize": "14px", "textAlign": "center", "padding": "20px 0" diff --git a/wwwroot/table_top_providers_count.ui b/wwwroot/table_top_providers_count.ui index fffef9e..e94d51c 100644 --- a/wwwroot/table_top_providers_count.ui +++ b/wwwroot/table_top_providers_count.ui @@ -12,7 +12,6 @@ "width": "100%", "padding": "12px 0", {% if not loop.first %} - "borderTop": "1px solid #334155", {% endif %} "alignItems": "center" }, @@ -22,7 +21,6 @@ "options": { "text": "{{loop.index}}", "width": "30px", - "color": "#64748B", "fontSize": "14px", "textAlign": "center" } @@ -32,7 +30,6 @@ "options": { "text": "{{p.provider_name}}", "flex": "1", - "color": "#F1F5F9", "fontSize": "14px", "fontWeight": "500" } @@ -42,7 +39,6 @@ "options": { "text": "{{p.cnt}} 笔", "width": "80px", - "color": "#60A5FA", "fontSize": "14px", "fontWeight": "600", "textAlign": "right" @@ -68,7 +64,6 @@ "otext": "暂无数据", "i18n": true, - "color": "#64748B", "fontSize": "14px", "textAlign": "center", "padding": "20px 0" diff --git a/wwwroot/table_top_users_count.ui b/wwwroot/table_top_users_count.ui index d53c0b0..8aec086 100644 --- a/wwwroot/table_top_users_count.ui +++ b/wwwroot/table_top_users_count.ui @@ -12,7 +12,6 @@ "width": "100%", "padding": "12px 0", {% if not loop.first %} - "borderTop": "1px solid #334155", {% endif %} "alignItems": "center" }, @@ -22,7 +21,6 @@ "options": { "text": "{{loop.index}}", "width": "30px", - "color": "#64748B", "fontSize": "14px", "textAlign": "center" } @@ -32,7 +30,6 @@ "options": { "text": "{{u.user_name}}", "flex": "1", - "color": "#F1F5F9", "fontSize": "14px", "fontWeight": "500" } @@ -42,7 +39,6 @@ "options": { "text": "{{u.cnt}} 笔", "width": "80px", - "color": "#60A5FA", "fontSize": "14px", "fontWeight": "600", "textAlign": "right" @@ -68,7 +64,6 @@ "otext": "暂无数据", "i18n": true, - "color": "#64748B", "fontSize": "14px", "textAlign": "center", "padding": "20px 0"