reallife_asset/wwwroot/view_assets.ui
yumoqing 304e4c4071 fix: wrap rl_asset_results in VScrollPanel for scrolling
When many assets are returned, the results area needs scroll.
Wrap the target VBox in a VScrollPanel with fixed height.
2026-05-30 11:22:53 +08:00

61 lines
1.8 KiB
XML

{% set current_group = params_kw.get('vendor_group_id', '') %}
{
"widgettype": "VBox",
"options": {
"width": "100%",
"padding": "16px"
},
"subwidgets": [
{
"widgettype": "Title4",
"options": {
"text": "查看素材",
"fontWeight": "600",
"marginBottom": "16px"
}
},
{
"widgettype": "Form",
"id": "view_assets_form",
"options": {
"fields": [
{
"uitype": "code",
"name": "vendor_group_id",
"label": "认证组合",
"dataurl": "{{entire_url('api/get_org_groups.dspy')}}",
"data_field": "value",
"text_field": "text",
"required": true,
"value": "{{ current_group }}"
}
]
},
"binds": [
{
"wid": "self",
"event": "submit",
"actiontype": "urlwidget",
"target": "app.rl_asset_results",
"options": {
"method": "POST",
"url": "{{entire_url('api/submit_list_assets.dspy')}}"
},
"mode": "replace"
}
]
},
{
"widgettype": "VScrollPanel",
"options": {"height": "600px"},
"subwidgets": [
{
"widgettype": "VBox",
"id": "rl_asset_results",
"options": {"padding": "16px"}
}
]
}
]
}