dev01 3 years ago
parent
commit
125bb52bdc
2 changed files with 4 additions and 4 deletions
  1. 3 3
      src/css/aboutUs.css
  2. 1 1
      src/js/aboutUs.js

+ 3 - 3
src/css/aboutUs.css

@@ -51,7 +51,7 @@
 .historyBanner{width: 1100px;clear: both;overflow: hidden;height: 350px;margin-left: 50px;}
 .historyBanner ul{width: 1000000px;overflow: hidden;padding-top: 50px;transition: all .5s;}
 .historyBanner>ul>li{float: left;height: 300px;width: 1100px;}
-.historyBanner>ul>li>ol>li{float: left;text-align: center;width: 88px;vertical-align: top;} 
+.historyBanner>ul>li>ol>li{float: left;text-align: center;width: 88px;vertical-align: top;display: flex;flex-direction: column;align-items: center;} 
 .historyBanner>ul>li>ol>li p{width: 100px;font-size: 14px;color: #8d8d8d;visibility: hidden;margin-bottom: 5px;}
 .historyBanner>ul>li:first-child{background: url(../../img/aboutUs011.png) no-repeat center;background-size:98% 80% ;background-position-x: -11px;}
 .historyBanner>ul>li>ol>li span:hover{color: #ff7302;}
@@ -121,7 +121,7 @@
 .historyBanner>ul>li:nth-child(4)>ol>li:nth-child(9){margin-top: -23px;margin-left: 10px;}
 .historyBanner>ul>li:nth-child(4)>ol>li:nth-child(9) p{width: 251px;margin-left: -159px;margin-top: -10px;margin-bottom: 14px;}
 .historyBanner>ul>li:nth-child(4)>ol>li:nth-child(10){margin-top:-2px;margin-left: 0px}
-.historyBanner>ul>li:nth-child(4)>ol>li:nth-child(11){margin-top:-25px;margin-left: 12px}
-.historyBanner>ul>li:nth-child(5)>ol>li:nth-child(1){margin-top:-54px;margin-left: 4px}
+.historyBanner>ul>li:nth-child(4)>ol>li:nth-child(11){margin-top:-28px;margin-left: 10px}
+.historyBanner>ul>li:nth-child(5)>ol>li:nth-child(1){margin-top:-54px;margin-left: 0px}
 .historyBanner>ul>li:nth-child(5)>ol>li:nth-child(2){margin-top:-40px;margin-left: -2px}
 

+ 1 - 1
src/js/aboutUs.js

@@ -29,7 +29,7 @@ $(function(){
 		if(i>19){
 			i=19
 		}
-		$('.historyBanner ul').css('margin-left',-178*i)
+		$('.historyBanner ul').css('margin-left',-179*i)
 	});	
 	$('.direction .pre').click(function(){
 		i--;