HuaJingwen 6 vuotta sitten
vanhempi
commit
0fb5cd8b17
4 muutettua tiedostoa jossa 12 lisäystä ja 7 poistoa
  1. 1 1
      dist/index.js
  2. BIN
      img/icon.png
  3. 9 4
      index.css
  4. 2 2
      index.html

+ 1 - 1
dist/index.js

@@ -277,8 +277,8 @@ window.onload = function () {
277 277
                 copy_1.value = data;
278 278
                 btn.addEventListener('click', function () {
279 279
                     // console.log('test');
280
-                    toCopy();
281 280
                     toast.classList.add('show');
281
+                    toCopy();
282 282
                     setTimeout(function () {
283 283
                         toast.classList.remove('show').add('hide');
284 284
                     }, 2000)

BIN
img/icon.png


+ 9 - 4
index.css

@@ -63,15 +63,21 @@ a{
63 63
     display: flex;
64 64
     display: -webkit-flex;
65 65
     width: 100%;
66
-    height: 0.92rem;
66
+    height: 1.12rem;
67 67
     align-items: center;
68 68
     justify-content: center;
69
-    padding: 0.1rem 0.2rem;
69
+    padding: 0.2rem;
70 70
     background: #F4F4F4;
71
+    position: fixed;
72
+    top: 0;
73
+    left: 0;
74
+    z-index: 500;
71 75
 }
72 76
 .download-wrapper .img-box{
73 77
     flex: 0 0 0.72rem;
74 78
     margin-right: 12px;
79
+    border-radius: 6px;
80
+    overflow: hidden;
75 81
 }
76 82
 .download-wrapper .img-box img{
77 83
     width: 100%;
@@ -109,10 +115,9 @@ a{
109 115
 .swiper-container{
110 116
     width: 7.5rem;
111 117
     height: 7.5rem;
112
-    /*background-color: #f5f5f5;*/
113
-    /*width: 100%;*/
114 118
     overflow: hidden;
115 119
     position: relative;
120
+    padding-top: 0.92rem;
116 121
 }
117 122
 .swiper-wrapper{
118 123
     width: 100%;

+ 2 - 2
index.html

@@ -1,7 +1,7 @@
1 1
 <html>
2 2
     <head>
3 3
         <meta charset="utf-8">
4
-        <title></title>
4
+        <title>猎豆优选</title>
5 5
         <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
6 6
         <meta name="format-detection" content="telephone=no,address=no,email=no" />
7 7
         <meta name="mobileOptimized" content="width" />
@@ -38,7 +38,7 @@
38 38
         <div class="download-wrapper">
39 39
             <div class="img-box"><img src="img/icon.png" alt=""></div>
40 40
             <div class="content">
41
-              <h6 class="title">省钱达人</h6>
41
+              <h6 class="title">猎豆优选</h6>
42 42
               <p class="text">购物省钱,分享赚钱,更多奖励等你来</p>
43 43
             </div>
44 44
             <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.kuxuan.coupon">下载APP</a>