Parcourir la source

添加二维码和下载链接

Allen Iverson il y a 5 ans
Parent
commit
18441d27cb
3 fichiers modifiés avec 13 ajouts et 2 suppressions
  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;

Fichier diff supprimé car celui-ci est trop grand
+ 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')
+}