alert
This commit is contained in:
parent
9df51b4476
commit
dc3bf2c974
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
21
reduce.html
21
reduce.html
|
@ -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"))
|
||||
return Fw.device.api.openWXMiniProgram({
|
||||
programID: "wx9ed74283ad25bca1",
|
||||
path: "pages/index/index",
|
||||
miniType: 2, // 1 开发版 2 体验版
|
||||
extJson: {
|
||||
order_number: res.data.order_number
|
||||
}
|
||||
})
|
||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
||||
alert(33)
|
||||
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||
return Fw.device.api.openWXMiniProgram({
|
||||
programID: "wx9ed74283ad25bca1",
|
||||
path: "pages/index/index",
|
||||
miniType: 2, // 1 开发版 2 体验版
|
||||
extJson: JSON.stringify({
|
||||
order_number: res.data.order_number
|
||||
})
|
||||
})
|
||||
}
|
||||
//微信
|
||||
// if (ua.indexOf("dingtalk") > -1) {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue