From 05205848a630fba2897ef15c02531c55ddb37ec9 Mon Sep 17 00:00:00 2001 From: lf <1534621107@qq.com> Date: Wed, 24 Jul 2024 10:51:18 +0800 Subject: [PATCH] alert --- reduce.html | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/reduce.html b/reduce.html index 59cfba5..8f82e53 100644 --- a/reduce.html +++ b/reduce.html @@ -259,18 +259,19 @@ if (self.plaflam == 2) { // 邮储-唤起微信小程序 let ua = navigator.userAgent; //判断用户打开链接环境 - alert(6) + alert(7) if (ua.indexOf("CreditCardAppNew") > -1) { - alert(6) - return Fw.device.api.openWXMiniProgram({ - programID: "wx9ed74283ad25bca1", - path: "pages/index/index", - miniType: 2, // 1 开发版 2 体验版 - // extJson: JSON.stringify({ - // token: '', - // order_number: res.data.order_number - // }) - }) + alert(7) + window.open(res.data.redirect_url) + // return Fw.device.api.openWXMiniProgram({ + // programID: "wx9ed74283ad25bca1", + // path: "pages/index/index", + // miniType: 2, // 1 开发版 2 体验版 + // // extJson: JSON.stringify({ + // // token: '', + // // order_number: res.data.order_number + // // }) + // }) } //微信 // if (ua.indexOf("dingtalk") > -1) {