Showing
2 changed files
with
7 additions
and
5 deletions
@@ -331,10 +331,12 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util', 'sessions', 'common' | @@ -331,10 +331,12 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util', 'sessions', 'common' | ||
331 | if (!options.elem[0]) return that; | 331 | if (!options.elem[0]) return that; |
332 | 332 | ||
333 | //高度铺满:full-差距值 | 333 | //高度铺满:full-差距值 |
334 | - if (options.height && /^full-\d+$/.test(options.height)) { | ||
335 | - that.fullHeightGap = options.height.split('-')[1]; | ||
336 | - options.height = _WIN.height() - that.fullHeightGap; | ||
337 | - } | 334 | + // if (options.height && /^full-\d+$/.test(options.height)) { |
335 | + // that.fullHeightGap = options.height.split('-')[1]; | ||
336 | + // options.height = _WIN.height() - that.fullHeightGap; | ||
337 | + // } | ||
338 | + that.fullHeightGap = 100; | ||
339 | + options.height = _WIN.height() - that.fullHeightGap; | ||
338 | 340 | ||
339 | //初始化一些参数 | 341 | //初始化一些参数 |
340 | that.setInit(); | 342 | that.setInit(); |
-
Please register or login to post a comment