Browse Source

0916上线后优化

liting2017 6 years ago
parent
commit
6e45e37745

+ 1 - 5
src/css/newMenu/adviser.css

@@ -143,10 +143,6 @@ footer{
     box-shadow: 0 0 20px #ccc;
     transition: all .2 ease-in;
 }
-.listHead ul li:hover .bjImg img{
-    transform: scale(1.1);
-    transition: all .5 ease-in;
-}
 .listHead ul li .bjImg{
     width: 100%;
     height: 100%;
@@ -161,7 +157,7 @@ footer{
     width: 100%;
     display: inline-block;
     height: 100%;
-    transition: all .2 ease-in-out;
+    border: 0;
 }
 .listHead ul li .collectionNumber{
     position: absolute;

+ 9 - 7
src/css/newMenu/adviserDetail.css

@@ -1,11 +1,11 @@
 .componyLogo{
-    width:800px;
+    width:100%;
     height: 80px;
     z-index: 50;
     position: relative;
     margin-bottom: 10px;
 }
-.componyLogo div{
+.componyLogo div:first-child{
     width: 120px;
     height: 120px;
     background: #ffffff;
@@ -81,20 +81,22 @@
 }
 .adviser_consultation{
     clear: both;
+    position: absolute;
+    right: 20px;
+    top: 20px;
 }
 .adviser_consultation a{
     cursor: pointer;
     float: right;
     display: inline-block;
-    width: 140px;
-    line-height: 53px;
-    height: 55px;
+    width: 120px;
+    line-height: 38px;
+    height: 40px;
     border: 1px solid #ff580e;
     color: #ff580e;
     background: #ffeee6;
     text-align: center;
-    font-size: 18px;
-    margin-bottom: 90px;
+    font-size: 16px;
 }
 .adviser_consultation a:hover{
     border-color:#fff;

+ 7 - 7
src/css/newMenu/index.css

@@ -210,7 +210,7 @@
 .handle ul li:hover{
     box-shadow: 0 4px 15px #ccc;
 }
-.handle .more{
+.more{
     clear: both;
     overflow: hidden;
     float:right;
@@ -252,16 +252,16 @@
     -webkit-box-orient: vertical;       
     -webkit-line-clamp:3;
 }
-.handle .more:hover{
+.more:hover{
     color: #1697e9;
 }
-.handle .more:hover span{
+.more:hover span{
     background: #1697e9;
 }
-.handle .more:hover span::after{
+.more:hover span::after{
     background: #1697e9;
 }
-.handle .more span{
+.more span{
     display: inline-block;
     width: 22px;
     height: 1px;
@@ -270,7 +270,7 @@
     background: #323131;
     vertical-align: middle;
 }
-.handle .more span:after{
+.more span:after{
     content: '';
     width: 6px;
     height: 1px;
@@ -696,7 +696,7 @@
     display: flex;
     display: -webkit-flex;
     justify-content: space-between;
-    margin-bottom: 60px;
+    margin-bottom: 20px;
 }
 .publicNumber .video{
     width: 565px;

+ 1 - 0
src/css/newMenu/patent.css

@@ -549,6 +549,7 @@
     display: -webkit-flex;
     justify-content: space-between;
     margin-bottom: 20px;
+    margin-top: 15px;
 }
 .copyright ul li{
     width: 360px;

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

@@ -21,6 +21,8 @@ th, td  {
 }
 img{
 	border: none;
+	image-rendering: optimizeQuality;  
+    -ms-interpolation-mode: bicubic;
 }
 body,
 button, input, select, textarea  {

+ 1 - 1
src/css/newMenu/serviceDetails.css

@@ -119,7 +119,6 @@
 .serviceDetailsTxt a{
     cursor: pointer;
     width: 150px;
-    /*float: right;*/
     display: inline-block;
     height: 54px;
     line-height: 54px;
@@ -128,6 +127,7 @@
     color: #ffffff;
     background: #1697ea;
     margin-top: 16px;
+    border: 1px solid transparent;
 }
 .serviceDetailsTxt a:hover{
     background: #ffff;

+ 1 - 0
src/js/newMenu/serviceDetails.js

@@ -20,6 +20,7 @@ $(function () {
         add();
     }
     $('.collection p').eq(0).click(function () {
+        window.location.hash='jump';
         let heart = $('.heart');
         if (heart.hasClass('active')) {
             collectionApi(0) //取消收藏

+ 2 - 2
src/js/thinkTank/policyList.js

@@ -104,10 +104,10 @@ $(function () {
 							day = timeAll.getDate()>9?timeAll.getDate():'0'+timeAll.getDate(), //号
 							month =timeAll.getMonth()+1>9?timeAll.getMonth()+1:'0'+(timeAll.getMonth()+1), //年、月
 							year =timeAll.getFullYear(),
-						 	summary = thisdata.summary; //简介
+						 	summary = (thisdata.summary).length>90?(thisdata.summary).substr(0,90)+'...':thisdata.summary; //简介
 						if (summary == null) {
 							summary == '暂无内容'
-						};
+						}
 						var srctt = globalConfig.context + '/portal/news/newsDetail.html?id=' + id+'&type='+thisdata.type;
 						theArr.push([
 							'<li>',