扫码结果改为弹新窗口(PopupWindow)展示,不再替换当前页面

root.page_center → PopupWindow,扫码后弹出 85% 新窗口打开链接内容
This commit is contained in:
yumoqing 2026-07-06 13:47:39 +08:00
parent 2c986dca13
commit acdabe4c33

View File

@ -6,9 +6,15 @@
"wid": "self",
"event": "recognized",
"actiontype": "urlwidget",
"target": "root.page_center",
"target": "PopupWindow",
"popup_options": {
"title": "扫码结果",
"dismiss_events": ["cancel"],
"height": "85%",
"width": "85%"
},
"options": {
"url": "${text}"
"url": "${text}$"
}
},
{