This commit is contained in:
lf 2024-07-24 15:49:04 +08:00
parent e5a7fa35c0
commit 801dc7bdc4
4 changed files with 4 additions and 0 deletions

View File

@ -566,6 +566,7 @@
} else { } else {
/* 小程序 */ /* 小程序 */
let ua = navigator.userAgent; //判断用户打开链接环境 let ua = navigator.userAgent; //判断用户打开链接环境
alert(ua, 6)
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",

View File

@ -262,6 +262,7 @@
self.toLinkAlipay(); self.toLinkAlipay();
} }
if (self.plaflam == 2) { if (self.plaflam == 2) {
alert(ua, 5)
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
return Fw.device.api.openWXMiniProgram({ return Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",

View File

@ -266,6 +266,7 @@
// 第二步:其它环境 微信小程序 // 第二步:其它环境 微信小程序
this.loading = false; this.loading = false;
let ua = navigator.userAgent; //判断用户打开链接环境 let ua = navigator.userAgent; //判断用户打开链接环境
alert(ua, 3)
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",

View File

@ -517,6 +517,7 @@
/* 小程序 */ /* 小程序 */
// 邮储-唤起微信小程序 // 邮储-唤起微信小程序
let ua = navigator.userAgent; //判断用户打开链接环境 let ua = navigator.userAgent; //判断用户打开链接环境
alert(ua, 4)
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",