diff --git a/view/pay_manage/channel_list.html b/view/pay_manage/channel_list.html
index fbf3648..a9b4277 100644
--- a/view/pay_manage/channel_list.html
+++ b/view/pay_manage/channel_list.html
@@ -40,16 +40,28 @@
util.on({
getQrcode: function () {
(async () => {
+ const type_data = this.getAttribute("data-type");
const qrcode_data = this.getAttribute("data-qrcode")
- const qrcode_img = await getQrcode(qrcode_data, QR);
- layer.open({
- type: 1,
- area: ['200px', '200px'],
- title: false,
- closeBtn: 0,
- shadeClose: true,
- content: ``
- });
+ if (type_data == 1) {
+ layer.open({
+ type: 1,
+ area: ['200px', '200px'],
+ title: false,
+ closeBtn: 0,
+ shadeClose: true,
+ content: `
`
+ });
+ } else if (type_data == 0) {
+ const qrcode_img = await getQrcode(qrcode_data, QR);
+ layer.open({
+ type: 1,
+ area: ['200px', '200px'],
+ title: false,
+ closeBtn: 0,
+ shadeClose: true,
+ content: `
`
+ });
+ }
})()
},
edit: function () {
@@ -104,7 +116,7 @@