From 912ba0077c8f4b3347d84ee392b0344b950a8423 Mon Sep 17 00:00:00 2001 From: proudlx <965752348@qq.com> Date: Tue, 27 Apr 2021 17:25:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?'=E9=98=B2=E8=8C=83=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=B1=95=E7=A4=BA'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureConfirmation.vue | 80 ++++++++++--------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 112f34b07..b8683ee70 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() { @@ -967,17 +979,17 @@ export default { this.videoShow = true this.isVideo = true this.isVideoUrl = 'goUrl' - this.$nextTick(() => { - this.$dialog - .alert({ - className: 'dialog-alert', - title: '提示', - message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', - confirmButtonColor: '#ee0a24', - confirmButtonText: '确认' - }) - .then(() => {}) - }) + // this.$nextTick(() => { + // this.$dialog + // .alert({ + // className: 'dialog-alert', + // title: '提示', + // message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', + // confirmButtonColor: '#ee0a24', + // confirmButtonText: '确认' + // }) + // .then(() => {}) + // }) } else { let that = this let path = '' @@ -1057,17 +1069,17 @@ export default { this.videoShow = true this.isVideo = true this.isVideoUrl = 'insuredUrl' - this.$nextTick(() => { - this.$dialog - .alert({ - className: 'dialog-alert', - title: '提示', - message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', - confirmButtonColor: '#ee0a24', - confirmButtonText: '确认' - }) - .then(() => {}) - }) + // this.$nextTick(() => { + // this.$dialog + // .alert({ + // className: 'dialog-alert', + // title: '提示', + // message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。', + // confirmButtonColor: '#ee0a24', + // confirmButtonText: '确认' + // }) + // .then(() => {}) + // }) } else { let that = this let path = ''