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 @@
+