Authored by 鲁尚清

【无】快照完成后提示框显示在最上面,需要把提示框添加到body下

... ... @@ -49,7 +49,7 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) {
$(newContainer).removeClass('active');
setTimeout(function () {
$(newContainer).remove();
}, 700)
}, 10000700)
};
timer = setTimeout(timeOut, options.duration);
var newTimes;
... ... @@ -98,7 +98,10 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) {
$(newContent).css('cursor', 'pointer').on(options.type, options.action);
}
}, 1);
$(options.dom).append(newContainer);
//lsq 快照完成后提示框显示在最上面,需要把提示框添加到body下 20022-08-30
// $(options.dom).append(newContainer);
$('body').append(newContainer);
$('.ez_tips ').css('z-index','99999999');
} else if (options.toastType == 'faultinfo' || options.toastType == 'faultprogress' || options.toastType == 'faultover') {
var container = "<div class='fault_ez_tips " + options.toastType + "' style=" + firstDirection + ":" + options.margin + "px;transform:translateX(" + minus + "110%); ></div>"
... ...