fix: responsive UI with VScrollPanel, cfontsize, css:card

This commit is contained in:
yumoqing 2026-05-29 00:12:52 +08:00
parent 5813749a98
commit b7e69b48cd

View File

@ -17,8 +17,7 @@
{ {
"widgettype": "Title2", "widgettype": "Title2",
"options": { "options": {
"text": "定价管理", "text": "定价管理"
"fontWeight": "700"
} }
}, },
{ {
@ -28,15 +27,36 @@
"widgettype": "Text", "widgettype": "Text",
"options": { "options": {
"text": "模型定价项目与计费规则配置", "text": "模型定价项目与计费规则配置",
"fontSize": "14px" "cfontsize": 1.2
} }
} }
] ]
}, },
{
"widgettype": "VScrollPanel",
"options": {
"css": "filler"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {
"spacing": 24
},
"subwidgets": [
{
"widgettype": "ResponsableBox",
"options": {
"gap": "16px",
"minWidth": "300px"
},
"subwidgets": [
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"css": "card", "css": "card",
"cheight": 10,
"cwidth": 25,
"padding": "24px", "padding": "24px",
"cursor": "pointer" "cursor": "pointer"
}, },
@ -57,7 +77,6 @@
"widgettype": "Title4", "widgettype": "Title4",
"options": { "options": {
"text": "定价项目管理", "text": "定价项目管理",
"fontWeight": "600",
"marginBottom": "8px" "marginBottom": "8px"
} }
}, },
@ -65,19 +84,20 @@
"widgettype": "Text", "widgettype": "Text",
"options": { "options": {
"text": "管理模型定价规则、计费项目和定时任务", "text": "管理模型定价规则、计费项目和定时任务",
"fontSize": "14px" "cfontsize": 1.2
} }
} }
] ]
}
]
}
]
}, },
{ {
"widgettype": "VBox", "widgettype": "VBox",
"id": "pricing_content", "id": "pricing_content"
"css": "filler", }
"options": { ]
"width": "100%",
"overflowY": "auto"
}
} }
] ]
} }