fix: responsive UI with VScrollPanel, cfontsize, css:card
This commit is contained in:
parent
5813749a98
commit
b7e69b48cd
@ -17,8 +17,7 @@
|
||||
{
|
||||
"widgettype": "Title2",
|
||||
"options": {
|
||||
"text": "定价管理",
|
||||
"fontWeight": "700"
|
||||
"text": "定价管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -28,56 +27,77 @@
|
||||
"widgettype": "Text",
|
||||
"options": {
|
||||
"text": "模型定价项目与计费规则配置",
|
||||
"fontSize": "14px"
|
||||
"cfontsize": 1.2
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"widgettype": "VScrollPanel",
|
||||
"options": {
|
||||
"css": "card",
|
||||
"padding": "24px",
|
||||
"cursor": "pointer"
|
||||
"css": "filler"
|
||||
},
|
||||
"binds": [
|
||||
{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.pricing_content",
|
||||
"options": {
|
||||
"url": "{{entire_url('/pricing/pricing_program')}}"
|
||||
},
|
||||
"mode": "replace"
|
||||
}
|
||||
],
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title4",
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"text": "定价项目管理",
|
||||
"fontWeight": "600",
|
||||
"marginBottom": "8px"
|
||||
}
|
||||
"spacing": 24
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "ResponsableBox",
|
||||
"options": {
|
||||
"gap": "16px",
|
||||
"minWidth": "300px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"css": "card",
|
||||
"cheight": 10,
|
||||
"cwidth": 25,
|
||||
"padding": "24px",
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"binds": [
|
||||
{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.pricing_content",
|
||||
"options": {
|
||||
"url": "{{entire_url('/pricing/pricing_program')}}"
|
||||
},
|
||||
"mode": "replace"
|
||||
}
|
||||
],
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title4",
|
||||
"options": {
|
||||
"text": "定价项目管理",
|
||||
"marginBottom": "8px"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Text",
|
||||
"options": {
|
||||
"text": "管理模型定价规则、计费项目和定时任务",
|
||||
"cfontsize": 1.2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "Text",
|
||||
"options": {
|
||||
"text": "管理模型定价规则、计费项目和定时任务",
|
||||
"fontSize": "14px"
|
||||
}
|
||||
"widgettype": "VBox",
|
||||
"id": "pricing_content"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"id": "pricing_content",
|
||||
"css": "filler",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"overflowY": "auto"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user