duanshenglang 7 miesięcy temu
rodzic
commit
2a37c564cd
1 zmienionych plików z 6 dodań i 30 usunięć
  1. 6 30
      lottery/live_code.html

+ 6 - 30
lottery/live_code.html

@@ -165,11 +165,13 @@
     align-items: center;
     position: fixed;
     bottom: 40px;
-    left: 30px;
+    width: 100%;
+    padding: 0 30px;
+    box-sizing: border-box;
   }
 
   .save_btn {
-    width: 152px;
+    width: 100%;
     height: 52px;
     line-height: 52px;
     text-align: center;
@@ -181,18 +183,6 @@
     color: #222222;
     margin-right: 11px;
   }
-
-  .data_btn {
-    width: 152px;
-    height: 52px;
-    line-height: 52px;
-    text-align: center;
-    background: #222222;
-    border-radius: 20px;
-    font-weight: 500;
-    font-size: 16px;
-    color: #FFFFFF;
-  }
 </style>
 
 <body>
@@ -246,8 +236,7 @@
         </div>
       </div>
       <div class="foot_btn">
-        <div class="save_btn" @click="saveImage">保存二维码</div>
-        <div class="data_btn" @click="showData">数据查看</div>
+        <div class="save_btn">长按保存二维码</div>
       </div>
     </div>
   </div>
@@ -262,7 +251,7 @@
         env: '',
         memberId: null,
         corpId: null,
-        step: null,
+        step: 3,
         qrCode: '',
         salesMan: '',
         form: {
@@ -361,19 +350,6 @@
           }
         })
       },
-      // 保存二维码
-      saveImage () {
-        const link = document.createElement('a')
-        link.href = this.qrCode
-        link.download = 'qrCode.jpg'
-        document.body.appendChild(link);
-        link.click();
-        document.body.removeChild(link);
-      },
-      // 查看数据
-      showData () {
-        window.location.href = `prize.html?httpUrl=${this.httpUrl}&corpId=${this.corpId}&memberId=${this.memberId}`;
-      },
       // 截取url中的数据
       getQueryParam (paramName) {
         // 获取当前URL的查询字符串部分