From 7d22d8bd86cb1a58d811b96326eb4084a794b8e8 Mon Sep 17 00:00:00 2001 From: donqi Date: Sun, 28 May 2023 21:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/order/master.html | 20 +++++++++++++++++-- .../resources/templates/order/pay-qrcode.html | 3 +-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ghy-admin/src/main/resources/templates/order/master.html b/ghy-admin/src/main/resources/templates/order/master.html index b5367028..a010cbb0 100644 --- a/ghy-admin/src/main/resources/templates/order/master.html +++ b/ghy-admin/src/main/resources/templates/order/master.html @@ -541,8 +541,24 @@ } function showPayQrcode(id) { - var url = "order/detail/payQrcode/" + id; - $.modal.open("支付二维码", url, 290, 360); + var url = "detail/payQrcode/" + id; + + layer.open({ + type: 2, + area: ['290px', '360px'], + fix: false, + //不固定 + maxmin: true, + shade: 0.3, + title: '支付二维码', + content: url, + btn: ['关闭'], + // 弹层外区域关闭 + shadeClose: true, + cancel: function(index) { + return true; + } + }); } diff --git a/ghy-admin/src/main/resources/templates/order/pay-qrcode.html b/ghy-admin/src/main/resources/templates/order/pay-qrcode.html index 6a4189e8..f3b5fa6e 100644 --- a/ghy-admin/src/main/resources/templates/order/pay-qrcode.html +++ b/ghy-admin/src/main/resources/templates/order/pay-qrcode.html @@ -12,9 +12,8 @@
+ - -