liting2017 7 gadi atpakaļ
vecāks
revīzija
a1bc092099
3 mainītis faili ar 11 papildinājumiem un 16 dzēšanām
  1. 1 3
      src/css/aboutUs.css
  2. 1 4
      src/js/aboutUs.js
  3. 9 9
      template/aboutUs.html

+ 1 - 3
src/css/aboutUs.css

@@ -44,7 +44,7 @@
 .spot span.this{background: #000000;}
 
 /*发展历程*/
-.history{clear: both;padding-top: 70px;}
+.history{clear: both;padding-top: 70px;position: relative;}
 .history h4{font-weight: normal;font-size: 24px;color: #1a1a1a;}
 .history h4 img{margin-right: 5px;vertical-align: middle;margin-top: -2px;margin-right: 5px;}
 .history h4 span{font-size: 16px;color: #605f5f;}
@@ -87,5 +87,3 @@
 .historyBanner>ul>li:first-child+li>ol>li:nth-child(10){margin-top: 1px;margin-left:0px;}
 .historyBanner>ul>li:first-child+li>ol>li:nth-child(11){margin-top:31px;margin-left: 12px;}
 
-
-

+ 1 - 4
src/js/aboutUs.js

@@ -7,10 +7,7 @@ import './main_banner.js';
 import '../css/aboutUs.css';
 
 $(function(){
-	//公司简介切换
-	$('.aboutHeader ul li').click(function(){
-		$(this).addClass('on').siblings().removeClass('on');
-	});
+	
 	//资质荣誉切换
 	$('.honor>div>ul>li').eq(0).show().siblings().hide();
 	$('.spot span').click(function(){

+ 9 - 9
template/aboutUs.html

@@ -38,8 +38,8 @@
   	<div class="carouselt">
 		<ul class="ct-img-big clear">
 			<li data-index=0 ><a href=""><img src="../img/aboutUs_01.png" alt=""/></a></li>
-			<li data-index=1 ><a href=""><img src="../img/thinkTank_banner01.jpg" alt=""/></a></li>
-			<li data-index=2 ><a href=""><img src="../img/thinkTank_banner01.jpg" alt=""/></a></li>			
+			<li data-index=1 ><a href=""><img src="../img/aboutUs_01.png" alt=""/></a></li>
+			<li data-index=2 ><a href=""><img src="../img/aboutUs_01.png" alt=""/></a></li>			
 		</ul>
 		<a class="btn btn-next" href="">
 			<img src="../img/index_next.png" alt=""/>
@@ -54,9 +54,9 @@
 	  	<div class="aboutHeader">
  			<ul>
  				<li class="on">公司简介</li>
- 				<li>业务范围</li>
- 				<li>资质荣誉</li>
- 				<li>发展历程</li>
+ 				<li><a href="#business">业务范围</a></li>
+ 				<li><a href="#honor">资质荣誉</a></li>
+ 				<li><a href="#development">发展历程</a></li>
  			</ul> 			
  		</div>
  	</div>
@@ -71,7 +71,7 @@
 				<p>目前,公司总部设湖南,下设20分(子)机构:广州科中、广州科道、安徽、北京、河北、广西、湖北、福建、山东、河南、辽宁、江苏、云南、贵州、四川、内蒙古、长春、大连、青岛、江西。</p>
 			</div>
  		</div>
- 		<div class="business"> 			
+ 		<div class="business" id="business"> 			
 			<div>
 				<h4><img src="../img/aboutUs02.jpg" alt="" />业务范围   <span>SCOPE OF BUSINESS</span></h4>
 				<div class="business_txt">
@@ -82,7 +82,7 @@
 			</div>
 			<img src="../img/aboutUs03.jpg" alt="" />
  		</div>
- 		<div class="honor"> 					
+ 		<div class="honor" id="honor"> 					
 			<div>
 				<h4><img src="../img/aboutUs02.jpg" alt="" />资质荣誉   <span>SCOPE OF BUSINESS</span></h4>
 				<ul>
@@ -191,7 +191,7 @@
 			
  		</div>
  		</div>
- 		<div class="history container">
+ 		<div class="history container" id="development">
  			<h4><img src="../img/aboutUs02.jpg" alt="" />发展历程     <span>DEVELOPMENT HISTORY</span></h4>
  			<div class="historyBanner">
  				<ul>
@@ -299,7 +299,7 @@
  			</div>
  			<div class="direction">
  				<span class="pre"><</span><span class="next">></span>
- 			</div>
+ 			</div>			 			
  		</div>
  	</div>	
   	<!--主体内容区域结束-->