diff --git a/coupon/myOrder.html b/coupon/myOrder.html index f6c6de2..c69eebc 100644 --- a/coupon/myOrder.html +++ b/coupon/myOrder.html @@ -317,6 +317,8 @@ let ua = navigator.userAgent.toLowerCase(); //判断用户打开链接环境 + + /* 支付宝 */ if (res.goods.channel == 1) { let bankLink = encodeURIComponent( @@ -325,8 +327,8 @@ ); let link = "http://openapi.1688sup.com/alipay/oauth?jump=" + bankLink; - if (ua.indexOf("micromessenger") > -1) { - //在微信内置环境打开,不能唤起支付宝 + if (ua.indexOf("micromessenger") > -1 || ua.indexOf("baiduboxapp") > -1) { + //在微信内置环境、百度app打开,不能唤起支付宝 this.href = link this.popFunction({ title: '温馨提示', text: `请复制链接,在其他浏览器打开`, status: 2, b_text: '点击复制', show: true }) } else {