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