<script type="text/javascript">
layui.use(['element','layer'], function(){
var element = layui.element;
$ = layui.jquery;
resetMenuHeight();
});
// 页面高度
function resetMenuHeight(){
var height = document.documentElement.clientHeight - 50;
$('#menu').height(height);
}
// 主操作区高度
function resetMainHeight(obj){
var height = parent.document.documentElement.clientHeight - 53;
$(obj).parent('div').height(height);
}
</script>