layui执行操作的时候弹出等待框--亲测可用
function showLoad() {
return layer.msg('拼命执行中...', {icon: 16,shade: [0.5, '#f5f5f5'],scrollbar: false,offset: 'auto', time:100000});
}
function closeLoad(index) {
layer.close(index);
}
function showSuccess() {
layer.msg('执行成功!',{time: 1000,offset: 'auto'});
}
转载:https://blog.csdn.net/u012442504/article/details/99593528