ソースを参照

对接页hover效果优化,7663

zhouna 4 年 前
コミット
793f2dbe08
4 ファイル変更5 行追加2 行削除
  1. 0 0
      src/css/common.css
  2. 3 0
      src/css/followUpV.less
  3. 1 1
      src/css/staticInfoOut.less
  4. 1 1
      src/js/staticInfoOut.js

+ 0 - 0
src/css/common.css


+ 3 - 0
src/css/followUpV.less

@@ -64,6 +64,9 @@
 }
 .infoBox:hover{
     background: #EEEEEE;
+    .title h2 {
+        background: #EEEEEE;
+    }
 }
 .itemBoxTitle{
     position: absolute;

+ 1 - 1
src/css/staticInfoOut.less

@@ -76,7 +76,7 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
   }
 
   .infos>div {
-    margin-right: 160px;
+    margin-right: 6.5%;
     .contentWrapper img{
       width: 100%;
     }

+ 1 - 1
src/js/staticInfoOut.js

@@ -229,7 +229,7 @@ function adjustHeight() {
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;
   $(".titleH2").width(wt- 0.2*wt -33 - 200 - 17 - 40 -15 + 'px')
-  $("pre").width(wt- 0.2*wt - 200 + 'px')
+    //$("pre").width(wt- 0.2*wt - 200 + 'px')
 }
 $(window).on('resize', function(){
   adjustHeight()