修改周充值点击充值跳转客户端
This commit is contained in:
@@ -175,20 +175,26 @@ function getConfig() {
|
|||||||
}
|
}
|
||||||
// 跳转充值
|
// 跳转充值
|
||||||
$('.myRecharge .but').click(function () {
|
$('.myRecharge .but').click(function () {
|
||||||
if (browser.android) {
|
// if (browser.android) {
|
||||||
let channel = pubInfo.deviceInfo.channel;
|
// let channel = pubInfo.deviceInfo.channel;
|
||||||
if (channel == "google") {
|
// if (channel == "google") {
|
||||||
window.androidJsObj.openChargePage(6);
|
// window.androidJsObj.openChargePage(6);
|
||||||
} else {
|
// } else {
|
||||||
window.location.href = urlPrefix + '/eparty/modules/pay/index.html?channelType=4';
|
// window.location.href = urlPrefix + '/eparty/modules/pay/index.html?channelType=4';
|
||||||
}
|
// }
|
||||||
} else if (browser.ios) {
|
// } else if (browser.ios) {
|
||||||
let channel = pubInfo.deviceInfo.channel;
|
// let channel = pubInfo.deviceInfo.channel;
|
||||||
if (channel == "appstore") {
|
// if (channel == "appstore") {
|
||||||
window.webkit.messageHandlers.openChargePage.postMessage(null);
|
// window.webkit.messageHandlers.openChargePage.postMessage(null);
|
||||||
} else {
|
// } else {
|
||||||
window.location.href = urlPrefix + '/eparty/modules/pay/index.html?channelType=4';
|
// window.location.href = urlPrefix + '/eparty/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