Commit d671823193d51eec080a90d2aa5a62b17cb78ab3

Authored by Andy
1 parent eabbfe41

add service swiper

css/services.css
... ... @@ -63,12 +63,12 @@
63 63 .part .hd h2{width: 110px !important; cursor: pointer; float: left; font-size: 20px; padding-bottom: 15px; margin-bottom: 0; text-align: center;}
64 64 .part .hd h2.active-nav{ border-bottom: solid 3px #3F9FFE;color:#3F9FFE; }
65 65 .part .hd h2 .icon{ width: 54px;height: 54px; margin-bottom: 15px; background:url(../images/service_bgsmallIco.png) -4px 0 no-repeat; display: inline-block; }
66   -.part .hd h2.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -543px 0 no-repeat;}
  66 +.part .hd h2.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -544px 0 no-repeat;}
67 67 .part .hd h2 span{display: block;}
68   -.part .hd h2.icon2 .icon{ background:url(../images/service_bgsmallIco.png) -63px 0 no-repeat; }
69   -.part .hd h2.icon2.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -254px 0 no-repeat;}
70   -.part .hd h2.icon3 .icon{ background:url(../images/service_bgsmallIco.png) -125px 0 no-repeat; }
71   -.part .hd h2.icon3.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -254px 0 no-repeat;}
  68 +.part .hd h2.icon2 .icon{ background:url(../images/service_bgsmallIco.png) -65px 0 no-repeat; }
  69 +.part .hd h2.icon2.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -605px 0 no-repeat;}
  70 +.part .hd h2.icon3 .icon{ background:url(../images/service_bgsmallIco.png) -127px 0 no-repeat; }
  71 +.part .hd h2.icon3.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -667px 0 no-repeat;}
72 72 .part .bd{width: 100%;float: left;}
73 73 .part3 .bd .txt , .part5 .bd .txt {float: right; width: 500px;}
74 74 .part4 .bd .txt {float: left; width: 416px; margin-left: 0px;}
... ...
services.html
... ... @@ -24,6 +24,7 @@
24 24 <link type="text/css" rel="stylesheet" href="css/font-awesome.min.css">
25 25  
26 26 <link type="text/css" rel="stylesheet" href="css/swiper.css">
  27 + <!--<link href="http://files.cnblogs.com/files/heyiming/swiper3.3.1.min.css" rel="stylesheet" type="text/css">-->
27 28 <!-- Ruby CSS -->
28 29 <link type="text/css" rel="stylesheet" href="css/normalize.css">
29 30 <link type="text/css" rel="stylesheet" href="style.css?a=2">
... ... @@ -330,7 +331,8 @@
330 331 <!--<script type="text/javascript" src="js/particles.min.js"></script>-->
331 332 <!--<script type="text/javascript" src="js/particle-code.js"></script>-->
332 333 <script type="text/javascript" src="js/jquery.counterup.min.js"></script>
333   -<script type="text/javascript" src="js/swiper.js"></script>
  334 +<!--<script type="text/javascript" src="js/swiper.js"></script>-->
  335 +<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/js/swiper.min.js"></script>
334 336 <script type="text/javascript" src="js/gmaps.min.js"></script>
335 337 <script type="text/javascript" src="js/nav-footer.js?a=2"></script>
336 338 <script type="text/javascript" src="js/main.js?a=2"></script>
... ...