alert
This commit is contained in:
parent
6b799a1bc7
commit
e645a1435c
30
reduce.html
30
reduce.html
|
@ -258,22 +258,22 @@
|
||||||
}
|
}
|
||||||
if (self.plaflam == 2) {
|
if (self.plaflam == 2) {
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
// let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
alert(9)
|
alert(8)
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1) {
|
// if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
alert(9)
|
// alert(8)
|
||||||
// window.open("weixin://dl/business/?t=qFSkO5EQyFh")
|
// window.open("weixin://dl/business/?t=qFSkO5EQyFh")
|
||||||
return Fw.device.api.openWXMiniProgram({
|
// return Fw.device.api.openWXMiniProgram({
|
||||||
id: "wx9ed74283ad25bca1",
|
// programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
// path: "pages/index/index",
|
||||||
miniType: 2, // 1 开发版 2 体验版
|
// miniType: 2, // 1 开发版 2 体验版
|
||||||
extJson: JSON.stringify({
|
// extJson: JSON.stringify({
|
||||||
theme_id: 'market_voucher',
|
// theme_id: 'market_voucher',
|
||||||
token: '',
|
// token: '',
|
||||||
order_number: res.data.order_number
|
// order_number: res.data.order_number
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
//微信
|
//微信
|
||||||
// if (ua.indexOf("dingtalk") > -1) {
|
// if (ua.indexOf("dingtalk") > -1) {
|
||||||
// //在钉钉内置环境打开,不能唤起微信小程序
|
// //在钉钉内置环境打开,不能唤起微信小程序
|
||||||
|
|
Loading…
Reference in New Issue