Explorar el Código

banner 箭头处理函数优化

liting2017 hace 6 años
padre
commit
fb787e721b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'
 		})
 	}
 });