zhouna 4 éve
szülő
commit
be4ec42ea9

+ 6 - 4
src/css/homeStatic.less

@@ -55,8 +55,10 @@
       padding: 0 30px;
       padding: 0 30px;
     }
     }
     .searchBtn {
     .searchBtn {
-      width: 100px;
-      border-left: 1px solid #C4C6CF;
+      width: 88px;
+      height: 100%;
+      line-height: 50px;
+      border-left: 1px solid #979797;
       position: absolute;
       position: absolute;
       right: 0;
       right: 0;
       top: 0;
       top: 0;
@@ -66,8 +68,8 @@
       box-sizing: border-box;
       box-sizing: border-box;
       img {
       img {
         position: absolute;
         position: absolute;
-        left: 20px;
-        top: 20px;
+        left: 34px;
+        top: 22px;
         width: 20px;
         width: 20px;
         height: 20px;
         height: 20px;
       }
       }

+ 2 - 1
src/css/staticInfo.less

@@ -91,7 +91,8 @@
   .infos {
   .infos {
     height: 100%;
     height: 100%;
     overflow-y: auto;
     overflow-y: auto;
-    padding: 0 60px 0 0;
+    /*padding: 0 60px 0 0;*/
+    width: calc(100% - 250px);
   }
   }
 
 
   .infos>div {
   .infos>div {

+ 3 - 2
src/css/staticInfoOut.less

@@ -71,7 +71,8 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
   .infos {
   .infos {
     height: 100%;
     height: 100%;
     overflow-y: auto;
     overflow-y: auto;
-    padding: 0 60px 0 0;
+    /*padding: 0 60px 0 0;*/
+    width: calc(100% - 250px);
   }
   }
 
 
   .infos>div {
   .infos>div {
@@ -327,7 +328,7 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
 }
 }
 .footer{
 .footer{
   width: 100%;
   width: 100%;
-  height: 100px;
+  height: 75px;
   background: #172238;
   background: #172238;
   padding-top: 25px;
   padding-top: 25px;
   position: absolute;
   position: absolute;

+ 2 - 2
src/html/homeStatic.html

@@ -28,8 +28,8 @@
         <div class="staticTopSearch clearfix">
         <div class="staticTopSearch clearfix">
           <input class="searchStr" type="text" placeholder="请输入搜索内容">
           <input class="searchStr" type="text" placeholder="请输入搜索内容">
           <div class="searchBtn">
           <div class="searchBtn">
-            <img src="../images/staticBgS.png" alt=""> 搜索</div>
-        </div>
+            <img src="../images/staticBgS.png" alt="">
+          </div>
       </div>
       </div>
     </div>
     </div>
     <p class="foryou">——— 为你提供丰富的医学知识查询 ———</p>
     <p class="foryou">——— 为你提供丰富的医学知识查询 ———</p>

+ 1 - 1
src/js/staticInfo.js

@@ -155,7 +155,7 @@ function bindTabClick(){
 }
 }
 function adjustHeight() {
 function adjustHeight() {
   var ht = window.innerHeight || document.documentElement.clientHeight;
   var ht = window.innerHeight || document.documentElement.clientHeight;
-  $(".content").height(ht - 30 + "px");
+  $(".content,.content .infos").height(ht - 132 + "px");
 }
 }
 function adjustWidth() {
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;
   var wt = window.innerWidth || document.documentElement.clientWidth;

+ 1 - 1
src/js/staticInfoOut.js

@@ -208,7 +208,7 @@ function bindTabClick(){
 }
 }
 function adjustHeight() {
 function adjustHeight() {
   var ht = window.innerHeight || document.documentElement.clientHeight;
   var ht = window.innerHeight || document.documentElement.clientHeight;
-  $(".content").height(ht - 250 + "px");
+  $(".content,.content .infos").height(ht - 228 + "px");
 }
 }
 function adjustWidth() {
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;
   var wt = window.innerWidth || document.documentElement.clientWidth;