优化导出提示

master
chenzhi 4 years ago
parent 1ec951d344
commit 10e56211ce

@ -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");
});

@ -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();
}
});

Loading…
Cancel
Save