liting2017 преди 6 години
родител
ревизия
596bb8a380
променени са 3 файла, в които са добавени 29 реда и са изтрити 9 реда
  1. 8 2
      src/css/newMenu/public.css
  2. 19 7
      src/css/newMenu/services.css
  3. 2 0
      src/js/newMenu/serviceList.js

+ 8 - 2
src/css/newMenu/public.css

@@ -8,7 +8,9 @@
 	}
 *{margin: 0;padding: 0;list-style: none;font-family: siyuan}
 
-
+body{
+	-webkit-font-smoothing: antialiased; /* 抗锯齿 */
+}
 body, h1, h2, h3, h4, h5, h6, hr, p, blockquote,
 dl, dt, dd, ul, ol, li, 
 pre, 
@@ -40,6 +42,11 @@ table { border-collapse: collapse; border-spacing: 0; }
 img{
 	vertical-align: middle;
 }
+
+.container{
+	width: 1200px!important;
+	margin:  0 auto;
+}
 .float-left{
     float: left;
 }
@@ -584,7 +591,6 @@ a:active{text-decoration:none;}/* 指正在点的链接*/
 	position: relative;
 	background: url(../../../img/bottom_bg.png) no-repeat center center;
 	background-size: 120% 100%;
-	;
 }
 
 .bottom {

+ 19 - 7
src/css/newMenu/services.css

@@ -106,6 +106,7 @@
     border: 1px solid #efefef;
     border-left: none;
     height: 226px;
+    overflow: hidden;
 }
 .subsidy .subsidyTxt ul {
    
@@ -388,7 +389,7 @@
     height: 100%;
 }
 .certification .certificationList{
-    width: 378px;
+    width: 770px;
     height: 280px;
 }
 .certification .certificationList>div{
@@ -409,11 +410,12 @@
 .certification .certificationList>div img{
     margin-right: 10px;
 }
+
 .certification .certificationList ol li{
     width: 50%;
     float: left;
-    height: 51px;
-    line-height: 51px;
+    height: 55.5px;
+    line-height: 55px;
     text-align: center;
     font-size: 14px;
     color: #7a7878;
@@ -424,6 +426,13 @@
     text-overflow:ellipsis; 
     -o-text-overflow:ellipsis;
 }
+.certification .certificationList ol li:nth-child(1),.certification .certificationList ol li:nth-child(2){
+    border-top: 1px solid #efefef
+}
+.certification .certificationList ol{
+    overflow: hidden;
+    height: 278px;
+}
 .certificationList ol li:hover{
     background: #f8f8f8;
 }
@@ -448,7 +457,8 @@
 /* 管理 */
 .administration{
     overflow: hidden;
-    border: 1px solid #efefef;
+    height: 192px;
+    border-left: 1px solid #efefef;
 }
 .administration ul li {
     width:25%;
@@ -456,8 +466,8 @@
     line-height: 48px;
     float: left;
     text-align: center;
-    border-top: 1px solid #efefef;
-    border-left: 1px solid #efefef
+    border-bottom: 1px solid #efefef;
+    border-right: 1px solid #efefef
 }
 .administration ul li a{
     width: 100%;
@@ -633,7 +643,7 @@
 }
 .newFlash ul{
     padding-top: 10px;
-    height: 315px;
+    height: 290px;
 }
 .newFlash ul li{
     border-bottom: 1px dashed #eeeeee;
@@ -1011,6 +1021,8 @@
 }
 .projectMid .imgLeft {
     width: 680px;
+    height: 236px;
+    overflow: hidden;
 }
 .projectMid .imgLeft ul li {
     float: left;

+ 2 - 0
src/js/newMenu/serviceList.js

@@ -263,6 +263,8 @@ $(function () {
                 $('.objList div').eq(index).find('span').addClass('active');     
             }
             $('.productionType ol').html('<li class="active" data-id=" ">不限</li>')
+            $('.productionType ol').css({'height':'50px','line-height':'50px'});
+            $('.productionType p').css({'height':'50px','line-height':'50px'});
             $('.preFirst').show();
             $('.preFirst').html($(this).text());
             $('.next').css('display', 'none')