Merge branch 'master-V32-LH' into 'master'
杭州-故障弹框-替换故障弹框背景 优化 See merge request !320
Showing
5 changed files
with
3 additions
and
2 deletions
@@ -469,7 +469,7 @@ layui.extend({ | @@ -469,7 +469,7 @@ layui.extend({ | ||
469 | new msgTips({ | 469 | new msgTips({ |
470 | dom: ".right-bottom-tips", | 470 | dom: ".right-bottom-tips", |
471 | title: title, | 471 | title: title, |
472 | - message: `<p style="line-height: 20px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;background-position-x: right;padding-left: 25px;padding-top: 145px;" ><span style=" overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;margin-left: -11px;" lay-tips="${content}">${content}</span><span class="title closeFault" style="position: absolute;top: 72px;left: 213px;">X</span><span style="position: absolute;left: 87px;top: 124px; font-weight: bold;float: right;">${title}</span></p>`, | 472 | + message: `<p style="line-height: 18px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;background-position-x: right;padding: 145px 22px 0; "><span style=" overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;" lay-tips="${content}">${content}</span><span class="title closeFault" style="position: absolute;top: 66px;left: 214px;">X</span><span style="position: absolute;left: 87px;top: 124px; font-weight: bold;float: right;">${title}</span></p>`, |
473 | duration: 10000, | 473 | duration: 10000, |
474 | space: 10, | 474 | space: 10, |
475 | firstSpace: 8, | 475 | firstSpace: 8, |
@@ -487,6 +487,7 @@ layui.extend({ | @@ -487,6 +487,7 @@ layui.extend({ | ||
487 | //} | 487 | //} |
488 | } | 488 | } |
489 | }) | 489 | }) |
490 | + debugger | ||
490 | }, delay); | 491 | }, delay); |
491 | }else{ | 492 | }else{ |
492 | setTimeout(function () { | 493 | setTimeout(function () { |
@@ -127,7 +127,7 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) { | @@ -127,7 +127,7 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) { | ||
127 | $(newContainer).css({ | 127 | $(newContainer).css({ |
128 | 'transition-timing-function':options.timingFun, | 128 | 'transition-timing-function':options.timingFun, |
129 | // 'width':options.width, | 129 | // 'width':options.width, |
130 | - 'width':'226px', | 130 | + 'width':'240px', |
131 | 'bottom':'350px' | 131 | 'bottom':'350px' |
132 | }); | 132 | }); |
133 | var height = $(newContainer).outerHeight(true); | 133 | var height = $(newContainer).outerHeight(true); |
-
Please register or login to post a comment