From 513b0f521d9d33114c5da5784c7e73118fd48e08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=80=81=E8=83=A1?= <1094551889@qq.com>
Date: Mon, 9 Dec 2024 15:31:19 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=94=9F=E6=88=90?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
view/pay_manage/channel_list.html | 32 +++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
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 @@