瀏覽代碼

静态信息绑定

zhangxc 4 年之前
父節點
當前提交
c43593dfce
共有 3 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      src/js/cdss.js
  2. 1 0
      src/js/cdssHorizontal.js
  3. 1 1
      src/js/information.js

+ 1 - 0
src/js/cdss.js

@@ -271,6 +271,7 @@ function renderPushData(){
         }
       }
       bindOpenInfo()
+      moreInfo()
       bindSlide()
     }
   })

+ 1 - 0
src/js/cdssHorizontal.js

@@ -303,6 +303,7 @@ function renderPushData(){
       // }icon
       bindOpenInfo()
       bindSlide()
+      moreInfo()
     }
   })
 }

+ 1 - 1
src/js/information.js

@@ -155,7 +155,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 -33 - 200 - 17 - 40 -15 + 'px')
+  $("pre").width(wt- 0.2*wt - 200 + 'px')
 }
 $(window).on('resize', function(){
   adjustHeight()