From 31bc2d30b6d25f37c72cfca8115bf4621a70aec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 13 Apr 2017 19:32:40 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E6=B5=8B=E8=AF=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/view/config.pay.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/application/wechat/view/config.pay.html b/application/wechat/view/config.pay.html index 4f4c939ed..d12347282 100644 --- a/application/wechat/view/config.pay.html +++ b/application/wechat/view/config.pay.html @@ -114,7 +114,7 @@ type: 1, title: false, closeBtn: 1, shadeClose: true, content: '' + '

请用微信扫码测试支付!

' - + '

退款测试

', + + '

退款测试

', end: function () { isShow = false; timer && window.clearInterval(timer), timer = null; @@ -122,6 +122,9 @@ success: function (layero, index) { isShow = true; timer = setInterval(payTest, 1000); + if(ret.code===2){ + $('[refund-qrc-test]').removeClass('hide'); + } } }); } @@ -132,7 +135,7 @@ $('[data-pay-test]').on('click', payTest); - $('body').on('click', '[refund-qrc-test]', function () { + $('body').on('click', '[refund-qrc-test] a', function () { $.msg.success('退款功能开发中哦!'); }); });