This commit is contained in:
lf 2024-07-24 11:31:29 +08:00
parent 5bc458e8b6
commit 6bafbdd94a
1 changed files with 11 additions and 13 deletions

View File

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