fix: responsive UI with VScrollPanel, cfontsize, css:card
This commit is contained in:
parent
5813749a98
commit
b7e69b48cd
@ -17,8 +17,7 @@
|
|||||||
{
|
{
|
||||||
"widgettype": "Title2",
|
"widgettype": "Title2",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "定价管理",
|
"text": "定价管理"
|
||||||
"fontWeight": "700"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -28,56 +27,77 @@
|
|||||||
"widgettype": "Text",
|
"widgettype": "Text",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "模型定价项目与计费规则配置",
|
"text": "模型定价项目与计费规则配置",
|
||||||
"fontSize": "14px"
|
"cfontsize": 1.2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "VBox",
|
"widgettype": "VScrollPanel",
|
||||||
"options": {
|
"options": {
|
||||||
"css": "card",
|
"css": "filler"
|
||||||
"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": [
|
"subwidgets": [
|
||||||
{
|
{
|
||||||
"widgettype": "Title4",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "定价项目管理",
|
"spacing": 24
|
||||||
"fontWeight": "600",
|
},
|
||||||
"marginBottom": "8px"
|
"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",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"id": "pricing_content"
|
||||||
"text": "管理模型定价规则、计费项目和定时任务",
|
|
||||||
"fontSize": "14px"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"widgettype": "VBox",
|
|
||||||
"id": "pricing_content",
|
|
||||||
"css": "filler",
|
|
||||||
"options": {
|
|
||||||
"width": "100%",
|
|
||||||
"overflowY": "auto"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user