From 10e56211cec3734e07d603da5de72c8e76f43031 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 23 Jul 2020 09:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=BC=E5=87=BA=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Partner/lists.html | 6 +++++- Application/Admin/View/PromoteCompany/lists.html | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Application/Admin/View/Partner/lists.html b/Application/Admin/View/Partner/lists.html index 25a757d09..f17b9b201 100644 --- a/Application/Admin/View/Partner/lists.html +++ b/Application/Admin/View/Partner/lists.html @@ -256,6 +256,7 @@ $("#downloadexcel").on("click",function(){ var url = $(this).attr("url"); var title = '合作方导出'; + var index = layer.load(2); layer.open({ type: 2, title: title, @@ -263,7 +264,10 @@ shade: 0, area: ['40%', '60%'], content: url, - zIndex :-5 + zIndex :-5, + success:function(){ + layer.closeAll(); + } }); // window.open(url, "blank"); }); diff --git a/Application/Admin/View/PromoteCompany/lists.html b/Application/Admin/View/PromoteCompany/lists.html index 0b6c733d1..f47f7dfe1 100644 --- a/Application/Admin/View/PromoteCompany/lists.html +++ b/Application/Admin/View/PromoteCompany/lists.html @@ -469,12 +469,12 @@ layer.open({ type: 2, title: title, - shadeClose: true, + shadeClose: false, shade: 0.8, area: ['40%', '30%'], content: url, success:function(){ - layer.close(index); + layer.closeAll(); } });