From 865d9b136e58c6f565ef211e8e37d92bce5d80c7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 25 May 2026 18:32:04 +0800 Subject: [PATCH] feat: modernize accounting UI - add index.ui with card navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Create index.ui with standardized card layout for 我的账户 and 账单明细 - Add page header with Title2 + description text - Use consistent SVG icon styling (36px, 1.5 stroke width) - Card style: #1E293B bg, 12px radius, #334155 borders --- wwwroot/index.ui | 157 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 wwwroot/index.ui diff --git a/wwwroot/index.ui b/wwwroot/index.ui new file mode 100644 index 0000000..368ebdf --- /dev/null +++ b/wwwroot/index.ui @@ -0,0 +1,157 @@ +{ + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "HBox", + "options": { + "width": "100%", + "alignItems": "center", + "marginBottom": "24px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "计费管理", + "color": "#F1F5F9", + "fontWeight": "700" + } + }, + { + "widgettype": "Filler" + }, + { + "widgettype": "Text", + "options": { + "text": "账户管理、账单明细与计费配置", + "fontSize": "14px", + "color": "#64748B" + } + } + ] + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "250px" + }, + "subwidgets": [ + { + "widgettype": "VBox", + "options": { + "bgcolor": "#1E293B", + "padding": "24px", + "borderRadius": "12px", + "border": "1px solid #334155", + "cursor": "pointer" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.accounting_content", + "options": { + "url": "{{entire_url('myaccounts')}}" + }, + "mode": "replace" + } + ], + "subwidgets": [ + { + "widgettype": "Svg", + "options": { + "svg": "", + "width": "36px", + "height": "36px", + "marginBottom": "16px" + } + }, + { + "widgettype": "Title4", + "options": { + "text": "我的账户", + "color": "#F1F5F9", + "fontWeight": "600", + "marginBottom": "8px" + } + }, + { + "widgettype": "Text", + "options": { + "text": "查看账户余额与充值记录", + "fontSize": "14px", + "color": "#94A3B8" + } + } + ] + }, + { + "widgettype": "VBox", + "options": { + "bgcolor": "#1E293B", + "padding": "24px", + "borderRadius": "12px", + "border": "1px solid #334155", + "cursor": "pointer" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.accounting_content", + "options": { + "url": "{{entire_url('accdetail')}}" + }, + "mode": "replace" + } + ], + "subwidgets": [ + { + "widgettype": "Svg", + "options": { + "svg": "", + "width": "36px", + "height": "36px", + "marginBottom": "16px" + } + }, + { + "widgettype": "Title4", + "options": { + "text": "账单明细", + "color": "#F1F5F9", + "fontWeight": "600", + "marginBottom": "8px" + } + }, + { + "widgettype": "Text", + "options": { + "text": "查看计费明细与消费流水", + "fontSize": "14px", + "color": "#94A3B8" + } + } + ] + } + ] + }, + { + "widgettype": "VBox", + "id": "accounting_content", + "options": { + "width": "100%", + "flex": "1", + "marginTop": "20px" + } + } + ] +}