@@ -245,7 +245,12 @@ footer{
}
-
+@media screen and (max-width:1200px){
+ .banner{
+ width: 1200px!important;
+ margin: 0 auto;
+ }
@@ -254,7 +254,12 @@ margin-bottom: 100px;
+ .carousel{
+}
@@ -886,7 +886,6 @@ input:-webkit-autofill {
display: inline-block;
.bannerList .carousel .left, .bannerList .carousel .right,.carousel-control.left,.carousel-control.right {
- line-height: 475px;
font-size: 60px;
.carousel img{
@@ -494,7 +494,14 @@ $(function(){
})
+ //banner 箭头高度处理
+ bannerFun();
+ function bannerFun(){
+ let imgH = $('.carousel-inner div').eq(0).find('img').height();
+ $('.carousel-control').css({
+ 'line-height':imgH+'px'
+ })
});