【银保app】修改首页轮播图跳转方式的判断条件

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2022-11-16 13:33:37 +08:00
parent 0b2aac5230
commit bee3c77d4e

View File

@@ -477,12 +477,10 @@ export default {
this.clickFlag = false this.clickFlag = false
}, },
touchend(data){ touchend(data){
let dataURL = 'https://iagentsales-test2.e-guofu.com:5100/personal-manage/BusinessCard' if(this.clickFlag){
let dataURL = JSON.parse(data.route).extra.url
if(dataURL){ if(dataURL){
let thisRoute = dataURL.slice (dataURL.lastIndexOf("/#")+2) let thisRoute = dataURL.substring(dataURL.lastIndexOf("/#")+2)
// let thisRoute = '/poster/posterList'
// console.log(typeof thisRoute)
// console.log(location.origin + '/#'+ thisRoute)
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
@@ -494,6 +492,8 @@ export default {
}) })
} }
} }
}
}, },
} }
</script> </script>