HuaJingwen il y a 6 ans
Parent
commit
0fb5cd8b17
4 fichiers modifiés avec 12 ajouts et 7 suppressions
  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
                 copy_1.value = data;
277
                 copy_1.value = data;
278
                 btn.addEventListener('click', function () {
278
                 btn.addEventListener('click', function () {
279
                     // console.log('test');
279
                     // console.log('test');
280
-                    toCopy();
281
                     toast.classList.add('show');
280
                     toast.classList.add('show');
281
+                    toCopy();
282
                     setTimeout(function () {
282
                     setTimeout(function () {
283
                         toast.classList.remove('show').add('hide');
283
                         toast.classList.remove('show').add('hide');
284
                     }, 2000)
284
                     }, 2000)

BIN
img/icon.png


+ 9 - 4
index.css

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

+ 2 - 2
index.html

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