parent
f919b7c6aa
commit
ee102105ea
|
|
@ -121,7 +121,7 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
g.wrap.style.left = "0";
|
g.wrap.style.left = "0";
|
||||||
g.wrap.style.width = "100%";
|
g.wrap.style.width = "100%";
|
||||||
g.wrap.style.height = "100%";
|
g.wrap.style.height = "100%";
|
||||||
g.wrap.style.zIndex = 99999999999;
|
g.wrap.style.zIndex = 9999999;
|
||||||
g.inner.style.position = "absolute";
|
g.inner.style.position = "absolute";
|
||||||
g.inner.style.top = g.top;
|
g.inner.style.top = g.top;
|
||||||
g.inner.style.bottom = g.bottom;
|
g.inner.style.bottom = g.bottom;
|
||||||
|
|
@ -133,14 +133,12 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
g.inner.style.transform = "translate3d(" + g.translate + ")";
|
g.inner.style.transform = "translate3d(" + g.translate + ")";
|
||||||
g.inner.style.webkitTransition = "all .2s ease-out";
|
g.inner.style.webkitTransition = "all .2s ease-out";
|
||||||
g.inner.style.transition = "all .2s ease-out";
|
g.inner.style.transition = "all .2s ease-out";
|
||||||
g.inner.style.zIndex = 100000000000;
|
g.inner.style.zIndex = 10000000;
|
||||||
g.mask.style.width = "100%";
|
g.mask.style.width = "100%";
|
||||||
g.mask.style.height = "100%";
|
g.mask.style.height = "100%";
|
||||||
g.mask.style.opacity = "0";
|
g.mask.style.opacity = "0.1";
|
||||||
g.mask.style.backgroundColor = "black";
|
g.mask.style.backgroundColor = "black";
|
||||||
g.mask.style.zIndex = "99999999998";
|
g.mask.style.zIndex = "9999998";
|
||||||
g.mask.style.webkitTransition = "all .2s ease-out";
|
|
||||||
g.mask.style.transition = "all .2s ease-out";
|
|
||||||
g.mask.style.webkitBackfaceVisibility = "hidden";
|
g.mask.style.webkitBackfaceVisibility = "hidden";
|
||||||
g.events()
|
g.events()
|
||||||
},
|
},
|
||||||
|
|
@ -151,7 +149,7 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
d.inner.style.transform = "translate3d(0,0,0)";
|
d.inner.style.transform = "translate3d(0,0,0)";
|
||||||
d.inner.style.webkitTransform = "translate3d(0,0,0)";
|
d.inner.style.webkitTransform = "translate3d(0,0,0)";
|
||||||
d.mask.style.opacity = 0.5
|
d.mask.style.opacity = 0.1
|
||||||
}, 30);
|
}, 30);
|
||||||
if (d.opts.time) {
|
if (d.opts.time) {
|
||||||
d.timer = setTimeout(function() {
|
d.timer = setTimeout(function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue