diff --git a/src/main/webapp/WEB-INF/views/home.jsp b/src/main/webapp/WEB-INF/views/home.jsp index ba5fe6af6..a15dc24fa 100644 --- a/src/main/webapp/WEB-INF/views/home.jsp +++ b/src/main/webapp/WEB-INF/views/home.jsp @@ -63,7 +63,6 @@ $(this).val(""); }); - }); //页面跳转函数 level:级别,1顶级,2有子级。name:菜单名称,有多级#间隔。url:访问路径。object:点击元素对象。 @@ -123,9 +122,6 @@ function page_turn(id, functionId,level, name, url,obj){ $("#mainFrame").load(function(){ App.stopPageLoading(); }); - - - } @@ -182,17 +178,35 @@ function changeFrameHeight() { iframe.contents().find(".page-content").addClass("page-content-body"); iframe.prop("height",clientHeight-headerHeight-barHeight-footerHeight-paddingHeight); - + menuHeight(); } window.onresize=function(){ changeFrameHeight(); + menuHeight(); } +function menuHeight(){ + var height=document.documentElement.clientHeight; + if($('.overhi')){ + $('.overhi').css({'height':height-82+'px'}); + $('.page-content-wrapper').css({'height':height-82+'px'}); + + } +} + - +