From 0c9d469fa247665eaa37908b811ae5f183da7a3e Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@DESKTOP-5BIMHQ3> Date: 星期二, 27 二月 2024 16:02:00 +0800 Subject: [PATCH] Merge branch 'master' into wxw --- HTML/js/public.js | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/HTML/js/public.js b/HTML/js/public.js index 7b8cf0d..7e11b1b 100644 --- a/HTML/js/public.js +++ b/HTML/js/public.js @@ -179,6 +179,9 @@ var bodyHeight = $("#body").outerHeight(); var topHeight = $("#top").outerHeight(); var centerHeight = $("#center").outerHeight(); +// console.log(bodyHeight); +// console.log(topHeight); +// console.log(centerHeight); var hh = bodyHeight - topHeight-centerHeight - 26 ;//6鏄痓ody涓婂唴杈硅窛 return hh; @@ -207,6 +210,20 @@ var h2 = parseInt(hh*0.4) return h2; } +//鑾峰彇闄ゆ悳绱㈡潯浠朵互鍙婇〉绛惧楂樺害 +function GetTableTabHeight() { + var bodyHeight = $("#body").outerHeight(); + var topHeight = $("#top").outerHeight(); + var centerHeight = $("#center").outerHeight(); + var tabHeight = $("#tab").outerHeight(); + // console.log(bodyHeight); + // console.log(topHeight); + // console.log(centerHeight); + // console.log(tabHeight); + + var hh = bodyHeight - topHeight-centerHeight-tabHeight - 57 ;//6鏄痓ody涓婂唴杈硅窛 + return hh; +} //鍒ゆ柇鏄惁姝f暣鏁� true 姝f暣鏁� false 鍏朵粬 function isIntNum(val){ -- Gitblit v1.8.0