mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 19:56:43 +08:00
Merge branch 'feature/vip专区' into dev
This commit is contained in:
@@ -168,7 +168,6 @@ export default {
|
|||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
if (res.content.redirect) {
|
if (res.content.redirect) {
|
||||||
this.redirectUrl = res.content.linkUrl
|
this.redirectUrl = res.content.linkUrl
|
||||||
}
|
|
||||||
let thirdName = res.content.tip
|
let thirdName = res.content.tip
|
||||||
const toast = Toast.loading({
|
const toast = Toast.loading({
|
||||||
duration: 0, // 持续展示 toast
|
duration: 0, // 持续展示 toast
|
||||||
@@ -176,6 +175,7 @@ export default {
|
|||||||
icon: 'info-o',
|
icon: 'info-o',
|
||||||
message: `3s后将为您跳转至${thirdName}`
|
message: `3s后将为您跳转至${thirdName}`
|
||||||
})
|
})
|
||||||
|
|
||||||
let second = 3
|
let second = 3
|
||||||
let timer = setInterval(() => {
|
let timer = setInterval(() => {
|
||||||
second--
|
second--
|
||||||
@@ -184,6 +184,12 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
if (res.content.redirect) {
|
if (res.content.redirect) {
|
||||||
this.thirdUrlReady = true
|
this.thirdUrlReady = true
|
||||||
|
}
|
||||||
|
clearInterval(timer)
|
||||||
|
// 手动清除 Toast
|
||||||
|
toast.clear()
|
||||||
|
}
|
||||||
|
}, 1000)
|
||||||
} else {
|
} else {
|
||||||
if (res.content.rightBtnShow && !this.isWeixin) {
|
if (res.content.rightBtnShow && !this.isWeixin) {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
@@ -203,11 +209,6 @@ export default {
|
|||||||
this.pdfUrl = this.$assetsUrl + res.content.pdfUrl
|
this.pdfUrl = this.$assetsUrl + res.content.pdfUrl
|
||||||
this.isCanCheck2 = true
|
this.isCanCheck2 = true
|
||||||
}
|
}
|
||||||
clearInterval(timer)
|
|
||||||
// 手动清除 Toast
|
|
||||||
toast.clear()
|
|
||||||
}
|
|
||||||
}, 1000)
|
|
||||||
this.loaded = true
|
this.loaded = true
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user