...
|
...
|
@@ -331,10 +331,12 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util', 'sessions', 'common' |
|
|
if (!options.elem[0]) return that;
|
|
|
|
|
|
//高度铺满:full-差距值
|
|
|
if (options.height && /^full-\d+$/.test(options.height)) {
|
|
|
that.fullHeightGap = options.height.split('-')[1];
|
|
|
options.height = _WIN.height() - that.fullHeightGap;
|
|
|
}
|
|
|
// if (options.height && /^full-\d+$/.test(options.height)) {
|
|
|
// that.fullHeightGap = options.height.split('-')[1];
|
|
|
// options.height = _WIN.height() - that.fullHeightGap;
|
|
|
// }
|
|
|
that.fullHeightGap = 100;
|
|
|
options.height = _WIN.height() - that.fullHeightGap;
|
|
|
|
|
|
//初始化一些参数
|
|
|
that.setInit();
|
...
|
...
|
|