浏览代码

Merge branch 'master' of http://192.168.0.115:3000/shaogen1995/ShouBo into master

shaogen1995 3 年之前
父节点
当前提交
bff89d3c7e
共有 4 个文件被更改,包括 37 次插入3 次删除
  1. 5 0
      web/README.md
  2. 13 1
      web/src/Help.vue
  3. 1 1
      web/src/config.js
  4. 18 1
      web/src/views/accessibility.vue

+ 5 - 0
web/README.md

@@ -1,5 +1,10 @@
 # shou_bo
 
+## 部署
+打包后,除了data目录,其他的都上传到这里:https://oss.console.aliyun.com/bucket/oss-cn-beijing/zzbbh/object?path=shouBo%2F
+
+data目录上传到上面链接的父目录中。
+
 ## Project setup
 ```
 npm install

+ 13 - 1
web/src/Help.vue

@@ -260,7 +260,7 @@ body {
   background: #F6F6F6;
 }
 main {
-  width: 1396px;
+  max-width: 1396px;
   background: #fff;
   margin-left: auto;
   margin-right: auto;
@@ -442,4 +442,16 @@ main {
     }
   }
 }
+
+@media screen and (max-width: 1500px) {
+  main {
+    width: 1280px;
+    > nav {
+      width: 350px;
+    }
+    > article {
+      width: 858px;
+    }
+  }
+}
 </style>

+ 1 - 1
web/src/config.js

@@ -9,7 +9,7 @@ switch (process.env.NODE_ENV) {
     break;
 }
 
-const version = 'v0530.1605'
+const version = 'v0624.1717'
 
 module.exports = {
   publicPath,

+ 18 - 1
web/src/views/accessibility.vue

@@ -214,7 +214,7 @@
       </li>
       <li>
         <button
-          class="special-color"
+          class="special-color screen-reading-accessibility"
           tabindex="0"
           aria-description="Screen Reading Accessibility"
           type="button"
@@ -1339,4 +1339,21 @@ a {
     }
   }
 }
+
+@media screen and (max-width: 1500px) {
+  .accessibility {
+    menu {
+      li {
+        button {
+          width: 90px !important;
+        }
+        .screen-reading-accessibility {
+          span {
+            margin-top: -5px;
+          }
+        }
+      }
+    }
+  }
+}
 </style>