liting2017 6 years ago
parent
commit
018b916364
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/js/newMenu/patent.js

+ 5 - 5
src/js/newMenu/patent.js

@@ -55,10 +55,10 @@ $(function(){
     menuH();
     function menuH(){
         let imgH = $('#myCarousel img').height();
-         //$('.firstMenu').css('height',imgH+'px');
-        // let liH = imgH - $('.firstMenu>p').height();
-        // $('.firstMenu ul li').css({
-        //     'height':(liH/3)+'px'
-        // })
+        $('.firstMenu').css('height',imgH+'px');
+        let liH = imgH - $('.firstMenu>p').height();
+        $('.firstMenu ul li').css({
+            'height':(liH/3)+'px'
+        })
     }
 })