From 013e9dcc33c3a8a6fa551c14d8ea054c0b73db78 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 29 May 2026 00:10:53 +0800 Subject: [PATCH] fix: replace old top/center/bottom layout with modern VScrollPanel --- wwwroot/index.ui | 63 +++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 2cbe938..2d12a25 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -1,27 +1,40 @@ { - "widgettype":"VBox", - "options":{ - "width":"100%", - "height":"100%" - }, - "subwidgets":[ - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('top.ui')}}" - } - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('center.ui')}}" - } - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('bottom.ui')}}" - } - } - ] + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "HBox", + "options": { + "width": "100%", + "alignItems": "center", + "marginBottom": "16px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "应用代码管理" + } + } + ] + }, + { + "widgettype": "VScrollPanel", + "options": { + "css": "filler" + }, + "subwidgets": [ + { + "widgettype": "urlwidget", + "options": { + "url": "{{entire_url('/appbase/appcodes')}}" + } + } + ] + } + ] }