fix: IconBar click not working - add id and reference in binds instead of self

This commit is contained in:
yumoqing 2026-05-31 14:00:08 +08:00
parent 8d447b90ea
commit 0080bbd7c4

View File

@ -20,6 +20,7 @@
"subwidgets":[
{
"widgettype":"IconBar",
"id":"iconbar_{{loop.index}}",
"options":{
"rate": 1.5,
"tools":[
@ -61,7 +62,7 @@
],
"binds":[
{
"wid":"self",
"wid":"iconbar_{{loop.index}}",
"event":"recharge",
"actiontype":"urlwidget",
"target":"PopupWindow",
@ -83,7 +84,7 @@
"url":"{{entire_url('/unipay/recharge.ui')}}"
}
},{
"wid":"self",
"wid":"iconbar_{{loop.index}}",
"event":"detail",
"actiontype":"urlwidget",
"target":"PopupWindow",