修改月充值点击充值跳转客户端
This commit is contained in:
@@ -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 + '/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) {
|
||||
// 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)
|
||||
}
|
||||
})
|
||||
// 打开规则弹窗
|
||||
|
Reference in New Issue
Block a user