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('退款功能开发中哦!'); }); });