From 0080bbd7c40c23b0f03467d825aa7484ad99e20c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 31 May 2026 14:00:08 +0800 Subject: [PATCH] fix: IconBar click not working - add id and reference in binds instead of self --- wwwroot/myaccounts.ui | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wwwroot/myaccounts.ui b/wwwroot/myaccounts.ui index 82b87e3..2c04a93 100644 --- a/wwwroot/myaccounts.ui +++ b/wwwroot/myaccounts.ui @@ -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",