Browse Source

添加二维码和下载链接

Allen Iverson 5 years ago
parent
commit
18441d27cb
3 changed files with 13 additions and 2 deletions
  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;
   margin-right: .2rem;
   background: red;
   background: red;
   border-radius: .08rem;
   border-radius: .08rem;
+  overflow: hidden;
+}
+.page-1 .download .qr img {
+  width: 100%;
+  height: 100%;
 }
 }
 .page-1 .download .button {
 .page-1 .download .button {
   display: flex;
   display: flex;

File diff suppressed because it is too large
+ 4 - 2
index.html


+ 4 - 0
index.js

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