fix: 查看素材页面Form高度固定,结果区用filler自适应

This commit is contained in:
yumoqing 2026-06-01 14:23:26 +08:00
parent f66260e753
commit 3c5fdfc149

View File

@ -3,6 +3,7 @@
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"width": "100%", "width": "100%",
"height": "100%",
"padding": "16px" "padding": "16px"
}, },
"subwidgets": [ "subwidgets": [
@ -11,13 +12,14 @@
"options": { "options": {
"text": "查看素材", "text": "查看素材",
"fontWeight": "600", "fontWeight": "600",
"marginBottom": "16px" "marginBottom": "12px"
} }
}, },
{ {
"widgettype": "Form", "widgettype": "Form",
"id": "view_assets_form", "id": "view_assets_form",
"options": { "options": {
"cheight": 8,
"fields": [ "fields": [
{ {
"uitype": "code", "uitype": "code",
@ -45,14 +47,29 @@
} }
] ]
}, },
{
"widgettype": "VBox",
"options": {
"css": "filler",
"padding": "0",
"marginTop": "12px"
},
"subwidgets": [
{ {
"widgettype": "VScrollPanel", "widgettype": "VScrollPanel",
"options": {"height": "600px"}, "options": {
"css": "filler"
},
"subwidgets": [ "subwidgets": [
{ {
"widgettype": "VBox", "widgettype": "VBox",
"id": "rl_asset_results", "id": "rl_asset_results",
"options": {"padding": "16px"} "options": {
"width": "100%",
"padding": "0"
}
}
]
} }
] ]
} }