From c07897f3e474acb3409b101b98e013fa613ae45c Mon Sep 17 00:00:00 2001 From: leijun Date: Thu, 13 Sep 2018 20:10:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/home.jsp | 35 ++++++++++++------- src/main/webapp/WEB-INF/views/report/list.jsp | 18 ++++++++-- .../webapp/static/global/css/components.css | 2 -- .../plugins/bootstrap/css/bootstrap.css | 8 +++-- .../webapp/static/global/scripts/common.js | 12 +++++++ 5 files changed, 56 insertions(+), 19 deletions(-) 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'}); + + } +} + - +