fix: 子页面卡片target改为-main_content,简化布局去除VScrollPanel子容器

This commit is contained in:
yumoqing 2026-06-12 01:24:54 +08:00
parent 05f22677ab
commit 06b7b3f986
3 changed files with 183 additions and 262 deletions

View File

@ -2,16 +2,8 @@
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "0"
},
"subwidgets": [
{
"widgettype": "HBox",
"options": {
"width": "100%",
"alignItems": "center",
"marginBottom": "24px"
"padding": "32px",
"spacing": "24px"
},
"subwidgets": [
{
@ -20,25 +12,13 @@
"text": "产线管理"
}
},
{
"widgettype": "Filler"
},
{
"widgettype": "Text",
"options": {
"text": "产线定义、步骤配置与发布管理",
"cfontsize": 1.2
}
}
]
},
{
"widgettype": "VBox",
"options": {
"css": "filler",
"spacing": 16
},
"subwidgets": [
{
"widgettype": "ResponsableBox",
"options": {
@ -54,18 +34,16 @@
"cwidth": 23,
"cheight": 8
},
"binds": [
{
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_core_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipelines/')}}"
},
"mode": "replace"
}
]
}]
},
{
"widgettype": "Button",
@ -75,18 +53,16 @@
"cwidth": 23,
"cheight": 8
},
"binds": [
{
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_core_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipeline_steps/')}}"
},
"mode": "replace"
}
]
}]
},
{
"widgettype": "Button",
@ -96,29 +72,16 @@
"cwidth": 23,
"cheight": 8
},
"binds": [
{
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_core_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipeline_versions/')}}"
},
"mode": "replace"
}
]
}
]
},
{
"widgettype": "VScrollPanel",
"id": "pipeline_core_content",
"options": {
"css": "filler",
"width": "100%",
"height": "100%"
}
}]
}
]
}

View File

@ -1,21 +1,4 @@
{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "0"
},
"subwidgets": [
{
"widgettype": "VScrollPanel",
"id": "pipeline_dist_content",
"options": {
"css": "filler",
"width": "100%",
"height": "100%"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {
"width": "100%",
@ -55,7 +38,7 @@
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_dist_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('distributors/')}}"
},
@ -74,7 +57,7 @@
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_dist_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('distributor_pipeline/')}}"
},
@ -84,8 +67,4 @@
]
}
]
}
]
}
]
}

View File

@ -1,21 +1,4 @@
{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "0"
},
"subwidgets": [
{
"widgettype": "VScrollPanel",
"id": "pipeline_ops_content",
"options": {
"css": "filler",
"width": "100%",
"height": "100%"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {
"width": "100%",
@ -55,7 +38,7 @@
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_ops_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipeline_pricing/')}}"
},
@ -74,7 +57,7 @@
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_ops_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipeline_capacity/')}}"
},
@ -93,7 +76,7 @@
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "-pipeline_ops_content",
"target": "-main_content",
"options": {
"url": "{{entire_url('pipeline_usage_log/')}}"
},
@ -103,8 +86,4 @@
]
}
]
}
]
}
]
}