|
@@ -487,6 +487,7 @@ $(function(){
|
|
|
$('.RecommendTitle h2,.patentTitle h2').mouseout(function(){
|
|
|
let h2Len = $(this).text(),
|
|
|
lenW = (h2Len.length)*30;
|
|
|
+
|
|
|
$(this).siblings().css({
|
|
|
width:'54px'
|
|
|
})
|
|
@@ -494,13 +495,14 @@ $(function(){
|
|
|
}
|
|
|
}
|
|
|
//banner 箭头高度处理
|
|
|
- bannerFun();
|
|
|
+
|
|
|
function bannerFun(){
|
|
|
+
|
|
|
let imgH = $('.carousel-inner div').eq(0).find('img').innerHeight();
|
|
|
- $('.carousel-control').css({
|
|
|
- 'height':imgH+'px',
|
|
|
- 'line-height':(imgH)+'px'
|
|
|
- })
|
|
|
+ console.log(imgH);
|
|
|
+ $('.carousel-control').css({'height':(imgH)+'px','line-height':(imgH)+'px'})
|
|
|
+ console.log($(".carousel-control").css("height"));
|
|
|
}
|
|
|
+ bannerFun();
|
|
|
});
|
|
|
|