|
@@ -1,10 +1,11 @@
|
|
|
/*全局自适应高度*/
|
|
|
function autoFlashHeight(){
|
|
|
var headerHeight = $(".header").height();
|
|
|
+ var toolsBar = $(".tools-bar").height();
|
|
|
$(".content").height($(window).height()-headerHeight);
|
|
|
$(".main-side").height($(window).height()-headerHeight-2);
|
|
|
$(".main-content").height($(window).height()-headerHeight-2);
|
|
|
- $(".fluid-content").height($(window).height()-headerHeight-1);
|
|
|
+ $(".main-data").height($(window).height()-headerHeight-toolsBar);
|
|
|
};
|
|
|
$(window).resize(autoFlashHeight);
|
|
|
/*全局自适应高度结束*/
|