zhouna 4 năm trước cách đây
mục cha
commit
9e94e2b096

+ 1 - 1
src/css/searchStaticList.less

@@ -5,7 +5,7 @@
   width: 100%;
   height: 100%;
   min-width: 900px;
-  padding: 60px 20px;
+  padding: 60px 20px 20px;
   box-sizing: border-box;
   background-color: #DDE2E4;
   overflow: auto;

+ 8 - 8
src/css/staticInfo.less

@@ -110,15 +110,15 @@
   }
 
   .container {
-    width:100%;
+    /*width:100%;*/
     overflow: hidden;
     background: #fff;
-    margin: 0 auto;
-    padding: 8px 0 0px 0px;
+    margin: 0 20px;
+    /*padding: 8px 0 0px 0px;
+    left: 0;
+    right: 0;*/
     display: none;
     position: relative;
-    left: 0;
-    right: 0;
   }
 
   pre {
@@ -241,7 +241,7 @@
     background: #fff;
     height: 58px;
     padding: 0 38px;
-    margin-top:60px;
+    margin: 60px 20px 0;
   }
 .tabBox .title{
   font-size: 20px;
@@ -294,10 +294,10 @@
 }
 .btmFix {
   height: 20px;
-  width: 100%;
+  width: calc(100% - 40px);
   position: fixed;
   bottom: 0;
-  left: 0;
+  left: 20px;
   z-index: 20;
   background-color: #fff;
 }

+ 3 - 1
src/css/staticInfoOut.less

@@ -303,7 +303,7 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
 }
 .empty{
   text-align: center;
-  margin-top: 32vh;
+  padding-top: 32vh;
   img{
     width: 140px;
     height: 75px;
@@ -330,6 +330,8 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
   height: 100px;
   background: #172238;
   padding-top: 25px;
+  position: absolute;
+  bottom: 0;
   p{
     color:#fff;
     text-align: center;

+ 3 - 2
src/js/staticInfoOut.js

@@ -34,7 +34,6 @@ function getInfomation() {
     "contentTypes":[1,2,3]
   };
   showName = param.hisName;
-  $(".titleCont .title").html(showName);
   // if (param.type == 5 || param.type == 51) {
   //   param.type = 12;
   //   param.name = uname;
@@ -49,6 +48,7 @@ function getInfomation() {
         showEmpty();
         return;
       }
+      $(".titleCont .title").html(showName);
       showLis=data
       for(let i = 0;i < showLis.length;i++){
         let tmp = showLis[i]
@@ -72,6 +72,7 @@ getInfomation();
 function showEmpty(){
   const str=`<div class="empty"><img src="../images/empty3.png" alt=""><p>暂无静态知识</p></div>`;
   $(".tabBox").html(str).css("border-bottom","none");
+  $("body").css('background','#fff');
 }
 function showInfo(data){
   var detailList = data.details
@@ -208,7 +209,7 @@ function bindTabClick(){
 }
 function adjustHeight() {
   var ht = window.innerHeight || document.documentElement.clientHeight;
-  $(".content").height(ht - 220 + "px");
+  $(".content").height(ht - 250 + "px");
 }
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;