diff --git a/app/admin/view/store_product/buy.html b/app/admin/view/store_product/buy.html index 2822eba..2f1e7bb 100644 --- a/app/admin/view/store_product/buy.html +++ b/app/admin/view/store_product/buy.html @@ -363,11 +363,14 @@ // }); // parent.layer.closeAll();//关闭弹出层 layer.msg('支付成功',{time:2000,icon:6}); - parent.layer.closeAll(); + /** 如果支付成功, 就取消定时器, 并重新加载页面 */ window.clearInterval(timer); // 关闭所有层 + setTimeout(function () { + parent.layer.closeAll(); + }, 2000); // tool.sideClose(2000); } }