From c2cf40da87715b8cee4639f93c4bb5cab89dae76 Mon Sep 17 00:00:00 2001 From: chenjinsong Date: Tue, 9 Oct 2018 11:30:10 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E7=AA=97=E5=8F=A3=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E6=94=B9=E5=8F=98=E6=97=B6=E8=A1=A8=E5=A4=B4=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E5=87=BA=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=202.?= =?UTF-8?q?=E5=B0=86=E6=8B=93=E6=89=91=E3=80=813d=E6=9C=BA=E6=88=BF?= =?UTF-8?q?=E7=9A=84=E5=BC=B9=E6=A1=86=E6=94=B9=E4=B8=BA=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebRoot/js/onmouse.js | 16 +++++++++------- WebRoot/main.jsp | 5 ++--- .../detecWarning/detecConfLevelWarningList.jsp | 4 ++-- WebRoot/page/show/nodeGroup/newShowTopo.jsp | 5 ++++- WebRoot/page/show/showNodeRoom.jsp | 14 ++++++++++++-- 5 files changed, 29 insertions(+), 15 deletions(-) diff --git a/WebRoot/js/onmouse.js b/WebRoot/js/onmouse.js index 155f322..1fabdf4 100644 --- a/WebRoot/js/onmouse.js +++ b/WebRoot/js/onmouse.js @@ -254,7 +254,7 @@ function $id(tid,type,show){// id 类型 alter的消息 $cloneHeader.attr("id",defaults.cloneHeader); //行列两层嵌套循环,对应设定克隆表列宽 //计算表头行数defaults.minRows - $cloneHeader.find("tr").each(function(row,domEle){ // 克隆表 行循环 + $cloneHeader.find("tr").each(function(row,domEle){// 克隆表 行循环 if(row 20) { + div.css('top','0px'); + div.css('display','inline'); + } } return $("#"+defaults.headerDiv); @@ -363,14 +365,14 @@ function $id(tid,type,show){// id 类型 alter的消息 if(tableOrgPosition.top < divO.scrollTop){ var preDivTop=$headerDiv.parent().prevAll("div[id='divTop']"); if(preDivTop.length>0){ - $headerDiv.css('top','28px'); + $("#"+defaults.headerDiv).css('top','28px'); }else{ - $headerDiv.css('top','0px'); + $("#"+defaults.headerDiv).css('top','0px'); } - $headerDiv.css('display','inline'); + $("#"+defaults.headerDiv).css('display','inline'); }else{ - $headerDiv.css('display','none'); + $("#"+defaults.headerDiv).css('display','none'); } } }); diff --git a/WebRoot/main.jsp b/WebRoot/main.jsp index e009d36..426094c 100644 --- a/WebRoot/main.jsp +++ b/WebRoot/main.jsp @@ -412,7 +412,6 @@ $(function(){ } -