扫码结果改为弹新窗口(PopupWindow)展示,不再替换当前页面
root.page_center → PopupWindow,扫码后弹出 85% 新窗口打开链接内容
This commit is contained in:
parent
2c986dca13
commit
acdabe4c33
@ -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}$"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user