【银保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,22 +477,22 @@ 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){
if(dataURL){ let dataURL = JSON.parse(data.route).extra.url
let thisRoute = dataURL.slice (dataURL.lastIndexOf("/#")+2) if(dataURL){
// let thisRoute = '/poster/posterList' let thisRoute = dataURL.substring(dataURL.lastIndexOf("/#")+2)
// console.log(typeof thisRoute) this.$jump({
// console.log(location.origin + '/#'+ thisRoute) flag: 'h5',
this.$jump({ extra: {
flag: 'h5', url: location.origin + '/#' + thisRoute,
extra: { },
url: location.origin + '/#' + thisRoute, routerInfo: {
}, path: thisRoute,
routerInfo: { },
path: thisRoute, })
}, }
})
} }
} }
}, },
} }