瀏覽代碼

修改样式5711

zhangxc 5 年之前
父節點
當前提交
0ab8bf65f4

+ 15 - 1
src/css/information.less

@@ -97,9 +97,23 @@
     overflow: hidden;
     background: #fff;
     margin: 0 auto;
-    padding: 43px 0 30px 20px;
+    padding: 43px 0 0px 20px;
  
   }
+  .borderTop,.borderBottom{
+    height: 3px;
+    background:#dde2ea;
+    position: absolute;
+    width: 100%;
+    left: 0;
+}
+.borderTop{
+    top: 0;
+}
+.borderBottom{
+    height: 5px;
+    bottom: 0;
+}
   pre {
     white-space: pre-wrap;
     word-wrap: break-word;

+ 15 - 0
src/css/staticSearch.css

@@ -10,6 +10,7 @@
     height: 100%;
     overflow: hidden;
     /* box-sizing: border-box; */
+  
 }
 .staticSearchT {
     position: relative;
@@ -26,6 +27,20 @@
     box-sizing: border-box;
     border: 1px #CECECE solid;
 }
+.borderTop,.borderBottom{
+    height: 3px;
+    background:#dde2ea;
+    position: absolute;
+    width: 100%;
+    left: 0;
+}
+.borderTop{
+    top: 0;
+}
+.borderBottom{
+    height: 5px;
+    bottom: 0;
+}
 .container .ipt input {
     width: 100%;
     position: relative;

文件差異過大導致無法顯示
+ 23 - 1
src/html/disclaimer.html


+ 2 - 0
src/html/information.html

@@ -16,6 +16,8 @@
 
 <body>
   <div class="container disCopy">
+    <div class="borderTop"></div>
+    <div class="borderBottom"></div>
     <h1></h1>
     <div class="content">
         <div class="infos"></div>

+ 2 - 0
src/html/staticSearch.html

@@ -38,6 +38,8 @@
 
 <body>
     <div class="container">
+        <div class="borderTop"></div>
+        <div class="borderBottom"></div>
         <div class="searchKnowledge">
             <div class="staticSearchT">
                 <div class="ipt">

文件差異過大導致無法顯示
+ 26 - 4
src/html/version.html


+ 2 - 0
src/js/disclaimer.js

@@ -13,6 +13,8 @@ $(function(){
       }
       $("h1").html('免责声明');
       $(".content").html(item.description);
+     
+     
     })
   }
   getDisclaimer();

+ 5 - 1
src/js/information.js

@@ -219,7 +219,11 @@ function adjustWidth() {
 
 function adjustHeight() {
   var ht = window.innerHeight || document.documentElement.clientHeight;
-  $(".content").height(ht - 145 + "px");
+  $(".content").height(ht - 145+30 + "px");
+  if(getUrlArgObject('type') == 82 || getUrlArgObject('type') == 83){
+    $(".content").height(ht - 105+30 + "px");
+  }
+
 }
 $(window).on('resize', function(){
   adjustHeight()

+ 1 - 0
src/js/version.js

@@ -14,6 +14,7 @@ $(function(){
         dom += '<p>'+dtl[i].title+'</p><p>'+dtl[i].description+'</p>';
       }
       $(".content").html(dom);
+      $(".content").append('<div class="borderBottom"></div>')
     })
   }
   getVersion();