Merge branch 'feature/GFRS-2432【需求】金掌柜增加展示防范销售误导小视频' into dev

This commit is contained in:
proudlx
2021-04-23 17:42:11 +08:00

View File

@@ -219,11 +219,11 @@
</div>
<van-popup v-model="videoShow" position="bottom" style="height: 100vh; background: #666">
<!-- <video controls style="width: 100%; max-height: calc(100vh - 60px)" src="/app/video/rlsb.mp4"></video> -->
<div class="" v-if="videoShow" style="height: calc(100vh - 60px);display:flex;align-items:center;">
<div class="" v-if="videoShow" style="height: calc(100vh - 60px); display: flex; align-items: center">
<video controls style="width: 100%; max-height: calc(100vh - 60px)" :src="this.$assetsUrl + 'video/rlsb.mp4'"></video>
</div>
<div class="bottom-btn bg-white">
<van-button type="danger" size="large" @click="goUrl" v-no-more-click="1000">下一步</van-button>
<van-button type="danger" size="large" @click="isVideoUrl == 'goUrl' ? goUrl():insuredUrl()" v-no-more-click="1000">下一步</van-button>
</div>
</van-popup>
<!-- 短信验证 -->
@@ -282,6 +282,7 @@ export default {
operaFlag: null,
encyCustomerMobile: null,
sid: null,
isVideoUrl:'',
//人脸识别认证次数
faceAuthCount: {
appnt: 0,
@@ -924,6 +925,7 @@ export default {
})
this.videoShow = true
this.isVideo = true
this.isVideoUrl = 'goUrl'
} else {
let that = this
let path = ''
@@ -980,6 +982,28 @@ export default {
})
},
insuredUrl() {
this.$toast.loading({
// 持续展示 toast
duration: 0,
// 禁用背景点击s
forbidClick: true,
loadingType: 'spinner',
message: '获取信息中……',
})
getAgentInfo({}).then((res) => {
console.log(res)
if ((res.branchType == 'N1' || res.branchType == '1') && !this.isVideo) {
this.$jump({
flag: 'navigation',
extra: {
title: '防范销售误导',
hiddenRight: '1',
},
})
this.videoShow = true
this.isVideo = true
this.isVideoUrl = 'insuredUrl'
} else {
let that = this
let path = ''
if (that.insuredSign[0].documentStatus == 0) {
@@ -996,6 +1020,8 @@ export default {
path: '/sale/' + path,
},
})
}
})
},
toTest() {},
// 微信分享