diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 112f34b07..4eb13f232 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -220,7 +220,7 @@
- 为维护您的合法权益,请您务必观看防范销售误导视频。 +
- 下一步 + 下一步
@@ -279,7 +279,7 @@ export default { let isWeixin = this.$utils.device().isWeixin //判断环境 return { isVideo: false, //是否已阅读视频 - isVideoNext: true, + isVideoNext: false, videoShow: false, //防误导视频 show: false, // 获取短信验证码 codeDisabled: false, // 获取验证码按钮是否禁用 @@ -367,7 +367,7 @@ export default { timeupdate() { console.log(this.$refs['vid'].paused) if (!this.$refs['vid'].paused) { - this.isVideoNext = false + this.isVideoNext = true } }, fakeFaceAuth(expect) { @@ -424,8 +424,20 @@ export default { }, isVideoUrlClick() { console.log(this.isVideoUrl) - this.isVideoNext = !this.isVideoNext - this.isVideoUrl == 'goUrl' ? this.goUrl() : this.insuredUrl() + if (!this.isVideoNext) { + this.$dialog + .alert({ + className: 'dialog-alert', + title: '提示', + message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', + confirmButtonColor: '#ee0a24', + confirmButtonText: '确认' + }) + .then(() => {}) + } else { + this.isVideoNext = !this.isVideoNext + this.isVideoUrl == 'goUrl' ? this.goUrl() : this.insuredUrl() + } }, // 初始化 async init() { @@ -957,26 +969,27 @@ export default { getAgentInfo({}).then((res) => { console.log(res) if ((res.branchType == 'N1' || res.branchType == '1') && !this.isVideo) { - this.$dialog - .alert({ - className: 'dialog-alert', - title: '提示', - message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', - confirmButtonColor: '#ee0a24', - confirmButtonText: '确认' - }) - .then(() => { - this.$jump({ - flag: 'navigation', - extra: { - title: '防范销售误导', - hiddenRight: '1' - } - }) - this.videoShow = true - this.isVideo = true - this.isVideoUrl = 'goUrl' - }) + this.$jump({ + flag: 'navigation', + extra: { + title: '防范销售误导', + hiddenRight: '1' + } + }) + this.videoShow = true + this.isVideo = true + this.isVideoUrl = 'goUrl' + // this.$nextTick(() => { + // this.$dialog + // .alert({ + // className: 'dialog-alert', + // title: '提示', + // message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', + // confirmButtonColor: '#ee0a24', + // confirmButtonText: '确认' + // }) + // .then(() => {}) + // }) } else { let that = this let path = '' @@ -1046,26 +1059,27 @@ export default { console.log(res) console.log(this.isVideo) if ((res.branchType == 'N1' || res.branchType == '1') && !this.isVideo) { - this.$dialog - .alert({ - className: 'dialog-alert', - title: '提示', - message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', - confirmButtonColor: '#ee0a24', - confirmButtonText: '确认' - }) - .then(() => { - this.$jump({ - flag: 'navigation', - extra: { - title: '防范销售误导', - hiddenRight: '1' - } - }) - this.videoShow = true - this.isVideo = true - this.isVideoUrl = 'insuredUrl' - }) + this.$jump({ + flag: 'navigation', + extra: { + title: '防范销售误导', + hiddenRight: '1' + } + }) + this.videoShow = true + this.isVideo = true + this.isVideoUrl = 'insuredUrl' + // this.$nextTick(() => { + // this.$dialog + // .alert({ + // className: 'dialog-alert', + // title: '提示', + // message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', + // confirmButtonColor: '#ee0a24', + // confirmButtonText: '确认' + // }) + // .then(() => {}) + // }) } else { let that = this let path = ''