修改月充值点击充值跳转客户端

This commit is contained in:
2025-08-20 10:27:37 +08:00
parent 882b10de59
commit 026e8f8457

View File

@@ -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)
}
})
// 打开规则弹窗