...
|
...
|
@@ -458,20 +458,16 @@ layui.extend({ |
|
|
imgUrl="/src/style/img/fault.png";
|
|
|
}
|
|
|
if(toastType=='faultprogress'){
|
|
|
imgUrl="/src/style/img/faultprogress.png";
|
|
|
imgUrl="/src/style/img/faultover.png";
|
|
|
}
|
|
|
if(toastType=='faultover'){
|
|
|
imgUrl="/src/style/img/faultover.png";
|
|
|
imgUrl="/src/style/img/faultprogress.png";
|
|
|
}
|
|
|
setTimeout(function () {
|
|
|
new msgTips({
|
|
|
dom: ".right-bottom-tips",
|
|
|
title: title,
|
|
|
message: `<p style="line-height: 24px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;padding: 10px;background-position-x: right;padding-left: 29px;padding-top: 145px;">
|
|
|
<span class="title closeFault" style="position: relative;top: -75px;left: 170px;">X</span>
|
|
|
<span style="position: relative;left: 35px;top: -21px; font-weight: bold;">${title}</span>
|
|
|
${content}
|
|
|
</p>`,
|
|
|
message: `<p style="line-height: 24px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;background-position-x: right;padding-left: 25px;padding-top: 145px;"><span >${content}</span><span class="title closeFault" style="position: relative;top: -126px;left: 22px;">X</span><span style="position: relative;left: -89px;top: -96px; font-weight: bold;float: right;">${title}</span></p>`,
|
|
|
duration: 10000,
|
|
|
space: 10,
|
|
|
firstSpace: 8,
|
...
|
...
|
@@ -489,7 +485,6 @@ layui.extend({ |
|
|
//}
|
|
|
}
|
|
|
})
|
|
|
|
|
|
}, delay);
|
|
|
}else{
|
|
|
setTimeout(function () {
|
...
|
...
|
|