diff --git a/paysuccess.html b/paysuccess.html
index af51a31..c3433c0 100644
--- a/paysuccess.html
+++ b/paysuccess.html
@@ -3,14 +3,18 @@
-
+
支付成功
-
-
+
+
-
+
@@ -58,7 +62,7 @@
plaflam: 1,
payResult: false,
copyLink: '',
- orderId:'',
+ orderId: '',
redirect_url: '' //微信小程序链接
};
},
@@ -115,7 +119,7 @@
this.plaflam = res.data.product.entity.channel;//只有立减金商品才有channel字段
this.redirect_url = res.data.wechat_redirect_url;
this.payStatus = res.data.pay_status;
- this.orderId=res.data.alipay_order_number;
+ this.orderId = res.data.alipay_order_number;
} else {
this.countdownFn();
}
@@ -157,7 +161,8 @@
);
let link = "http://openapi.1688sup.com/alipay/oauth?jump=" + banklink;
let ua = navigator.userAgent.toLowerCase(); //判断用户打开链接环境
- if (ua.match(/MicroMessenger/i) == "micromessenger") {
+ /* 判断如果是微信浏览器或者百度浏览器 则无法拉起支付宝 */
+ if (ua.match(/MicroMessenger/i) == "micromessenger" || ua.indexOf("baiduboxapp") > -1) {
//复制链接地址,提醒去浏览器打开
this.copyLink = link;
this.openErrorDialog(`请复制链接,在其他浏览器打开`, '点击复制')