This commit is contained in:
yumoqing 2026-02-25 13:03:00 +08:00
parent 9d38f0f672
commit 4f015d46ae
2 changed files with 15 additions and 7 deletions

View File

@ -2,12 +2,20 @@
"widgettype": "QRCodeSCan",
"options": {},
"binds": [
"wid": "self",
"event": "recognized",
"actiontype": "urlwidget",
"target": "root.page_center",
"options": {
"url": "$text"
{
"wid": "self",
"event": "recognized",
"actiontype": "urlwidget",
"target": "root.page_center",
"options": {
"url": "$text"
}
}, {
"wid": "self",
"event": "recognized",
"actiontype": "script",
"target": "#PopupWindow",
"script": "this.dismiss()"
}
]
}

View File

@ -14,7 +14,7 @@
"icon": "{{entire_url('/bricks/imgs/qr-scan.svg')}}",
"name":"qr-scan",
"label":"扫码",
"url":"{{entire_url('qr_scan.ui')}}"
"url":"{{entire_url('qr_scan.ui')}}",
"popup_options":{
"height": "300px",
"width": "300px"