alert
This commit is contained in:
parent
9df51b4476
commit
dc3bf2c974
|
@ -551,9 +551,7 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent;
|
let ua = navigator.userAgent;
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
alert(4)
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(44)
|
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "wx9ed74283ad25bca1",
|
programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
path: "pages/index/index",
|
||||||
|
|
|
@ -567,9 +567,7 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent;
|
let ua = navigator.userAgent;
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
alert(6)
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(66)
|
|
||||||
return Fw.device.api.openWXMiniProgram({
|
return Fw.device.api.openWXMiniProgram({
|
||||||
programID: "wx9ed74283ad25bca1",
|
programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
path: "pages/index/index",
|
||||||
|
|
|
@ -262,9 +262,7 @@
|
||||||
self.toLinkAlipay();
|
self.toLinkAlipay();
|
||||||
}
|
}
|
||||||
if (self.plaflam == 2) {
|
if (self.plaflam == 2) {
|
||||||
alert(5)
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(55)
|
|
||||||
return Fw.device.api.openWXMiniProgram({
|
return Fw.device.api.openWXMiniProgram({
|
||||||
programID: "wx9ed74283ad25bca1",
|
programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
path: "pages/index/index",
|
||||||
|
|
21
reduce.html
21
reduce.html
|
@ -259,18 +259,15 @@
|
||||||
if (self.plaflam == 2) {
|
if (self.plaflam == 2) {
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
console.log(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0"))
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
alert(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0"))
|
return Fw.device.api.openWXMiniProgram({
|
||||||
return Fw.device.api.openWXMiniProgram({
|
programID: "wx9ed74283ad25bca1",
|
||||||
programID: "wx9ed74283ad25bca1",
|
path: "pages/index/index",
|
||||||
path: "pages/index/index",
|
miniType: 2, // 1 开发版 2 体验版
|
||||||
miniType: 2, // 1 开发版 2 体验版
|
extJson: JSON.stringify({
|
||||||
extJson: {
|
order_number: res.data.order_number
|
||||||
order_number: res.data.order_number
|
})
|
||||||
}
|
})
|
||||||
})
|
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(33)
|
|
||||||
}
|
}
|
||||||
//微信
|
//微信
|
||||||
// if (ua.indexOf("dingtalk") > -1) {
|
// if (ua.indexOf("dingtalk") > -1) {
|
||||||
|
|
|
@ -267,9 +267,7 @@
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
let ua = navigator.userAgent;
|
let ua = navigator.userAgent;
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
alert(1)
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(11)
|
|
||||||
return Fw.device.api.openWXMiniProgram({
|
return Fw.device.api.openWXMiniProgram({
|
||||||
programID: "wx9ed74283ad25bca1",
|
programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
path: "pages/index/index",
|
||||||
|
|
|
@ -517,9 +517,7 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
let ua = navigator.userAgent;
|
let ua = navigator.userAgent;
|
||||||
alert(2)
|
if (ua.indexOf("CreditCardAppNew") > -1) {
|
||||||
if (ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) {
|
|
||||||
alert(22)
|
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "wx9ed74283ad25bca1",
|
programID: "wx9ed74283ad25bca1",
|
||||||
path: "pages/index/index",
|
path: "pages/index/index",
|
||||||
|
|
Loading…
Reference in New Issue