From b0f54fe29cb4b648fb95a85cab607a54bd109a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Tue, 4 Apr 2023 14:11:41 +0800 Subject: [PATCH] 3 --- app/admin/view/store_product/buy.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); } }