Przeglądaj źródła

免责声明、版本样式

zhouna 3 lat temu
rodzic
commit
2e8b828058

+ 29 - 1
src/css/common.less

@@ -137,4 +137,32 @@
     }
   }
 }
-.version{}
+.version .banner{
+  background: @bgcBlue;
+  height: 100px;
+  margin-bottom: 30px;
+  h1{
+    padding-top: 20px;
+    color: #fff;
+    text-align: left;
+    font-size: 20px;
+    margin-bottom: 8px;
+    img{
+      margin: 0 14px 0 45px;
+      vertical-align: middle;
+    }
+    span{
+      font-size: 20px;
+    }
+  }
+  .time{
+    display: inline-block;
+    margin-left: 83px;
+    padding: 0 26px 0 4px;
+    color: @bgcBlue;
+    font-size: 12px;
+    line-height: 20px;
+    background: url("../images/arr.png") #fff 76px center no-repeat;
+  }
+
+}

+ 3 - 3
src/html/disclaimer.html

@@ -32,10 +32,10 @@
     }
 
     .container {
-      width: 80%;
       background: #fff;
-      margin: 0 auto;
-      padding: 0 30px 40px;
+    }
+    .content{
+      padding: 0 45px 40px;
     }
   </style>
   <script>

Plik diff jest za duży
+ 7 - 23
src/html/version.html


BIN
src/images/arr.png


BIN
src/images/rock.png


+ 2 - 1
src/js/version.js

@@ -1,5 +1,6 @@
 const {post, config} = require('./promise.js');
 const $ = require("jquery");
+require('../images/rock.png')
 
 $(function(){
   function getVersion() {
@@ -9,7 +10,7 @@ $(function(){
       const time = data.refreshTime.substr(0,10);
       let dom = '';
       $("h1 span").html(data.name);
-      $("h1 i").html(time);
+      $(".time").html(time);
       for(let i=0;i<dtl.length;i++){
         dom += '<p>'+dtl[i].title+'</p><p>'+dtl[i].description+'</p>';
       }