去掉无用的模板文件

封装ajax提示方法
This commit is contained in:
2021-03-20 05:06:27 +08:00
parent bd9c315d7e
commit c564147f20
68 changed files with 664 additions and 21421 deletions
@@ -210,15 +210,12 @@
return;
}
var index = layer.msg('照片压缩中...', {
icon: 16,
shade: 0.1,
time: 6000 * 10
});
var loading = showLoading('照片压缩中...');
$.post('{{url("archive")}}', {
id: ids
}, function(res) {
layer.close(index);
layer.close(loading);
if (res.status) {
$.messager.alert('照片下载', '<div class="text-center"><a href="' + app.url('promotion/material/download', {
sn: '{{$promotion->sn}}'