This commit is contained in:
lf 2024-07-24 10:03:52 +08:00
parent 9df51b4476
commit dc3bf2c974
6 changed files with 14 additions and 27 deletions

View File

@ -551,9 +551,7 @@
/* 小程序 */
let ua = navigator.userAgent;
// 邮储-唤起微信小程序
alert(4)
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(44)
if (ua.indexOf("CreditCardAppNew") > -1) {
Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",

View File

@ -567,9 +567,7 @@
/* 小程序 */
let ua = navigator.userAgent;
// 邮储-唤起微信小程序
alert(6)
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(66)
if (ua.indexOf("CreditCardAppNew") > -1) {
return Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",

View File

@ -262,9 +262,7 @@
self.toLinkAlipay();
}
if (self.plaflam == 2) {
alert(5)
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(55)
if (ua.indexOf("CreditCardAppNew") > -1) {
return Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",

View File

@ -259,18 +259,15 @@
if (self.plaflam == 2) {
// 邮储-唤起微信小程序
let ua = navigator.userAgent; //判断用户打开链接环境
console.log(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0"))
alert(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0"))
if (ua.indexOf("CreditCardAppNew") > -1) {
return Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",
miniType: 2, // 1 开发版 2 体验版
extJson: {
extJson: JSON.stringify({
order_number: res.data.order_number
}
})
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(33)
})
}
//微信
// if (ua.indexOf("dingtalk") > -1) {

View File

@ -267,9 +267,7 @@
this.loading = false;
let ua = navigator.userAgent;
// 邮储-唤起微信小程序
alert(1)
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(11)
if (ua.indexOf("CreditCardAppNew") > -1) {
return Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",

View File

@ -517,9 +517,7 @@
/* 小程序 */
// 邮储-唤起微信小程序
let ua = navigator.userAgent;
alert(2)
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
alert(22)
if (ua.indexOf("CreditCardAppNew") > -1) {
Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1",
path: "pages/index/index",