Authored by ww

fix: 表格全局样式优化

... ... @@ -154,7 +154,7 @@ button {
}
.warn-btns {
padding-bottom: 6px;
padding-bottom: 10px;
/*padding-bottom: 0px;*/
overflow: hidden;
}
... ...
... ... @@ -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();
... ...