Sfoglia il codice sorgente

banner 箭头处理函数优化

liting2017 6 anni fa
parent
commit
fb787e721b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/js/public.js

+ 1 - 1
src/js/public.js

@@ -500,7 +500,7 @@ $(function(){
 	function bannerFun(){
 		let imgH = $('.carousel-inner div').eq(0).find('img').height();
 		$('.carousel-control').css({
-			'line-height':imgH+'px'
+			'line-height':(imgH-4)+'px'
 		})
 	}
 });