This commit is contained in:
yumoqing 2025-12-26 10:27:11 +08:00
parent 792acb4303
commit 225d83ce03

View File

@ -1,7 +1,7 @@
{ {
"widgettype":"HBox", "widgettype":"HBox",
"options":{ "options":{
"css":"filler" "css":"filler clickable"
}, },
"subwidgets":[ "subwidgets":[
{ {
@ -11,22 +11,7 @@
"tip":"进入主菜单", "tip":"进入主菜单",
"css":"clickable", "css":"clickable",
"url":"{{entire_url('/imgs/opencomputing-1.png')}}" "url":"{{entire_url('/imgs/opencomputing-1.png')}}"
},
"binds":[
{
"wid":"self",
"event":"click",
"actiontype":"urlwidget",
"target":"Popup",
"popup_options":{
"eventpos":true,
"dismiss_events":["command"]
},
"options":{
"url":"{{entire_url('menu.ui')}}"
} }
}
]
}, },
{ {
"widgettype":"Title4", "widgettype":"Title4",
@ -37,5 +22,21 @@
"halign":"left" "halign":"left"
} }
} }
],
"binds":[
{
"wid":"self",
"event":"click",
"actiontype":"urlwidget",
"target":"Popup",
"popup_options":{
"cwidth": 12,
"eventpos":true,
"dismiss_events":["command"]
},
"options":{
"url":"{{entire_url('menu.ui')}}"
}
}
] ]
} }