Commit a8afa9499f66ff7db8daf19fd18ba290b0327a10
1 parent
212b6191
江阴app扫码
Showing
2 changed files
with
12 additions
and
0 deletions
src/components/navigation.vue
@@ -55,6 +55,12 @@ export default { | @@ -55,6 +55,12 @@ export default { | ||
55 | this.carNumber = this.$route.query.carNumber // 车牌号码 | 55 | this.carNumber = this.$route.query.carNumber // 车牌号码 |
56 | this.carWrapBG = this.$route.query.carNumberColor // 车牌颜色 | 56 | this.carWrapBG = this.$route.query.carNumberColor // 车牌颜色 |
57 | console.log(this.carNumber) | 57 | console.log(this.carNumber) |
58 | + console.log(this.$utils.clientBrowsePayType()) | ||
59 | + if(this.$utils.clientBrowsePayType() == 5){ | ||
60 | + 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 | ||
61 | + } | ||
62 | + | ||
63 | + | ||
58 | 64 | ||
59 | }, | 65 | }, |
60 | created() { | 66 | created() { |
src/utils/utils.js
@@ -106,6 +106,12 @@ export default { | @@ -106,6 +106,12 @@ export default { | ||
106 | }else if (/BankabcAndroid/.test(window.navigator.userAgent)) { | 106 | }else if (/BankabcAndroid/.test(window.navigator.userAgent)) { |
107 | console.log("农行客户端"); | 107 | console.log("农行客户端"); |
108 | return '34' | 108 | return '34' |
109 | + }else if (/ByAndroid/.test(window.navigator.userAgent)) { | ||
110 | + console.log("最江阴"); | ||
111 | + return '5' | ||
112 | + } else if (/ByIphone/.test(window.navigator.userAgent)) { | ||
113 | + console.log("最江阴"); | ||
114 | + return '5' | ||
109 | }else { | 115 | }else { |
110 | console.log("其他浏览器"); | 116 | console.log("其他浏览器"); |
111 | return '1' | 117 | return '1' |