diff --git a/src/components/navigation.vue b/src/components/navigation.vue index 62b9b3a..93c11ff 100644 --- a/src/components/navigation.vue +++ b/src/components/navigation.vue @@ -55,6 +55,12 @@ export default { this.carNumber = this.$route.query.carNumber // 车牌号码 this.carWrapBG = this.$route.query.carNumberColor // 车牌颜色 console.log(this.carNumber) + console.log(this.$utils.clientBrowsePayType()) + if(this.$utils.clientBrowsePayType() == 5){ + window.location.href = 'https://park.ijiangyin.com?carNumber='+this.carNumber+'&carType='+this.$route.query.carType+'&carNumberColor='+this.$route.query.carNumberColor+'&orgId='+this.$route.query.orgId+'&codeType='+this.$route.query.codeType + } + + }, created() { diff --git a/src/utils/utils.js b/src/utils/utils.js index bf65b75..cc164c9 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -106,6 +106,12 @@ export default { }else if (/BankabcAndroid/.test(window.navigator.userAgent)) { console.log("农行客户端"); return '34' + }else if (/ByAndroid/.test(window.navigator.userAgent)) { + console.log("最江阴"); + return '5' + } else if (/ByIphone/.test(window.navigator.userAgent)) { + console.log("最江阴"); + return '5' }else { console.log("其他浏览器"); return '1'