fix: 修复首页卡片点击无响应,VBox改用Button
This commit is contained in:
parent
6e351005fa
commit
9ae927c899
177
wwwroot/index.ui
Normal file
177
wwwroot/index.ui
Normal file
@ -0,0 +1,177 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"padding": "0"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "HBox",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"height": "48px",
|
||||
"bgcolor": "var(--sage-bg-secondary, #1e293b)",
|
||||
"padding": "0 16px",
|
||||
"alignItems": "center",
|
||||
"gap": "16px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title4",
|
||||
"options": {
|
||||
"text": "产线平台",
|
||||
"color": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Filler"
|
||||
},
|
||||
{
|
||||
"widgettype": "Menu",
|
||||
"options": {
|
||||
"target": "app.main_content",
|
||||
"cwidth": 12,
|
||||
"items": [
|
||||
{
|
||||
"name": "pipeline_core",
|
||||
"label": "产线管理",
|
||||
"url": "{{entire_url('/pipeline_core/')}}"
|
||||
},
|
||||
{
|
||||
"name": "pipeline_ops",
|
||||
"label": "运营管理",
|
||||
"url": "{{entire_url('/pipeline_ops/')}}"
|
||||
},
|
||||
{
|
||||
"name": "pipeline_dist",
|
||||
"label": "分销管理",
|
||||
"url": "{{entire_url('/pipeline_dist/')}}"
|
||||
},
|
||||
{
|
||||
"name": "pipeline_task",
|
||||
"label": "任务中心",
|
||||
"url": "{{entire_url('/pipeline_task/')}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Button",
|
||||
"options": {
|
||||
"label": "管理",
|
||||
"css": "text",
|
||||
"color": "#fff"
|
||||
},
|
||||
"binds": [
|
||||
{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.main_content",
|
||||
"options": {
|
||||
"url": "{{entire_url('/rbac/user/')}}"
|
||||
},
|
||||
"mode": "replace"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "VScrollPanel",
|
||||
"id": "app.main_content",
|
||||
"options": {
|
||||
"css": "filler",
|
||||
"width": "100%",
|
||||
"height": "100%"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"padding": "32px",
|
||||
"spacing": "24px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title2",
|
||||
"options": {
|
||||
"text": "产线平台"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Text",
|
||||
"options": {
|
||||
"text": "管理产线定义、运营配置、分销渠道与任务执行",
|
||||
"cfontsize": 1.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "ResponsableBox",
|
||||
"options": {
|
||||
"gap": "16px",
|
||||
"minWidth": "220px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Button",
|
||||
"options": {
|
||||
"label": "产线管理",
|
||||
"cwidth": 23,
|
||||
"cheight": 8,
|
||||
"css": "card",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.main_content",
|
||||
"url": "{{entire_url('/pipeline_core/')}}",
|
||||
"mode": "replace"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Button",
|
||||
"options": {
|
||||
"label": "运营管理",
|
||||
"cwidth": 23,
|
||||
"cheight": 8,
|
||||
"css": "card",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.main_content",
|
||||
"url": "{{entire_url('/pipeline_ops/')}}",
|
||||
"mode": "replace"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Button",
|
||||
"options": {
|
||||
"label": "分销管理",
|
||||
"cwidth": 23,
|
||||
"cheight": 8,
|
||||
"css": "card",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.main_content",
|
||||
"url": "{{entire_url('/pipeline_dist/')}}",
|
||||
"mode": "replace"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Button",
|
||||
"options": {
|
||||
"label": "任务中心",
|
||||
"cwidth": 23,
|
||||
"cheight": 8,
|
||||
"css": "card",
|
||||
"actiontype": "urlwidget",
|
||||
"target": "app.main_content",
|
||||
"url": "{{entire_url('/pipeline_task/')}}",
|
||||
"mode": "replace"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user