瀏覽代碼

添加二维码和下载链接

Allen Iverson 5 年之前
父節點
當前提交
18441d27cb
共有 3 個文件被更改,包括 13 次插入2 次删除
  1. 5 0
      index.css
  2. 4 2
      index.html
  3. 4 0
      index.js

+ 5 - 0
index.css

@@ -102,6 +102,11 @@ a {
   margin-right: .2rem;
   background: red;
   border-radius: .08rem;
+  overflow: hidden;
+}
+.page-1 .download .qr img {
+  width: 100%;
+  height: 100%;
 }
 .page-1 .download .button {
   display: flex;

文件差異過大導致無法顯示
+ 4 - 2
index.html


+ 4 - 0
index.js

@@ -19,3 +19,7 @@ function index() {
 function about() {
   fullpage_api.moveTo(6)
 }
+
+function download() {
+  window.open('http://h5.uptoyo.com/download','_blank')
+}