From 026e8f84576e10bdac639d628c1d31f960fb2c62 Mon Sep 17 00:00:00 2001 From: yujiacong <1016029365@qq.com> Date: Wed, 20 Aug 2025 10:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=88=E5=85=85=E5=80=BC?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=85=85=E5=80=BC=E8=B7=B3=E8=BD=AC=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/rechargeNew/js/index.js | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/view/moliparty/activity/rechargeNew/js/index.js b/view/moliparty/activity/rechargeNew/js/index.js index 5bcbc9b..8940cfd 100644 --- a/view/moliparty/activity/rechargeNew/js/index.js +++ b/view/moliparty/activity/rechargeNew/js/index.js @@ -177,20 +177,26 @@ function getConfig() { } // 跳转充值 $('.myRecharge .but').click(function () { - if (browser.android) { - let channel = pubInfo.deviceInfo.channel; - if (channel == "google") { - window.androidJsObj.openChargePage(6); - } else { - window.location.href = urlPrefix + '/moliparty/modules/pay/index.html?channelType=4'; - } - } else if (browser.ios) { - let channel = pubInfo.deviceInfo.channel; - if (channel == "appstore") { - window.webkit.messageHandlers.openChargePage.postMessage(null); - } else { - window.location.href = urlPrefix + '/moliparty/modules/pay/index.html?channelType=4'; - } + // if (browser.android) { + // let channel = pubInfo.deviceInfo.channel; + // if (channel == "google") { + // window.androidJsObj.openChargePage(6); + // } else { + // window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4'; + // } + // } else if (browser.ios) { + // let channel = pubInfo.deviceInfo.channel; + // if (channel == "appstore") { + // window.webkit.messageHandlers.openChargePage.postMessage(null); + // } else { + // window.location.href = urlPrefix + '/molistar/modules/pay/index.html?channelType=4'; + // } + // } + if(browser.android){ + // window.androidJsObj.openChargePage() + tools.nativeUtils.jumpAppointPage('RECHARGE_PAGE') + }else if(browser.ios){ + window.webkit.messageHandlers.openChargePage.postMessage(null) } }) // 打开规则弹窗