duanshenglang 3 dní pred
rodič
commit
718d0442ba
1 zmenil súbory, kde vykonal 9 pridanie a 3 odobranie
  1. 9 3
      lottery/carOwnerScreening.html

+ 9 - 3
lottery/carOwnerScreening.html

@@ -228,7 +228,6 @@
     <div class="page6" v-else-if="noTestDrive">
       <div class="no_testDrive">{{lightData.wxcpLighten.livecodeGuide}}</div>
       <div class="qrcode_box">
-        <!-- <img class="qrcode_img" src="./img/noDrive-qrcode.png" alt=""> -->
         <img class="qrcode_img" :src="lightData.livecode1Qrcode" alt="">
       </div>
       <div class="noTestDrive_tip">{{lightData.wxcpLighten.livecodeGuide2}}</div>
@@ -424,7 +423,7 @@
           }).then(result => {
             let { data, code, msg } = result
             if (code === 1) {
-              if (data.client.state === 2) {
+              if (data.client.state === 2 && data.livecode1Qrcode) {
                 // let url = ''
                 // if (!this.env || this.env === 'prod') {
                 //   url = `https://lottery2.camlook.cn/?bId=${data.raffle1BizId}&h5Type=30`
@@ -581,7 +580,14 @@
             //   url = `https://lottery2.camlook.cn/?bId=${this.lightData.raffle1BizId}&env=dev&h5Type=30`
             // }
             // window.location.replace(url)
-            this.noTestDrive = true
+            if (this.lightData.livecode1Qrcode) {
+              this.noTestDrive = true
+            } else {
+              this.$message({
+                message: '提交成功',
+                type: 'success'
+              })
+            }
           } else {
             this.$message({
               message: msg,