|
@@ -302,13 +302,19 @@ $('.modal .close').click(function() {
|
|
|
//计算容器高度
|
|
|
function setBoxHeight() {
|
|
|
const ht = window.innerHeight;
|
|
|
- $('.content-box').height(ht - 60 + 'px');
|
|
|
+ const hw = window.innerWidth;
|
|
|
+ if(hw<1169){
|
|
|
+ $('.content-box').height(ht - 110 + 'px');
|
|
|
+ }else{
|
|
|
+ $('.content-box').height(ht - 60 + 'px');
|
|
|
+ }
|
|
|
+ //$('.content-box').height(ht - 60 + 'px');
|
|
|
$('.flaw-table').height(ht - 70 + 'px');
|
|
|
$('.content-ht').height(ht - 120 + 'px');
|
|
|
$('.scroll-table tbody').css('max-height', ht - 210 + 'px');
|
|
|
}
|
|
|
setBoxHeight();
|
|
|
-$(window).resize(function() {
|
|
|
+$(window).resize(function() {console.log(32)
|
|
|
setBoxHeight();
|
|
|
});
|
|
|
|