新年活动:增加谷歌包跳转充值
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/index.js?v=1.1"></script>
|
||||
<script src="./js/index.js?v=1.3"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -31,7 +31,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
||||
})
|
||||
}
|
||||
|
||||
if (false) {//!browser.app
|
||||
if (!browser.app) {//false
|
||||
toastMsg('請在app內打開!');
|
||||
} else {
|
||||
$('.wrap').removeClass('no-in-app')
|
||||
@@ -107,7 +107,7 @@ function getInit() {
|
||||
},
|
||||
error(err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('网络错误,请退出重进')
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -156,7 +156,7 @@ function getConvertRecord(page) {
|
||||
scrollBool = true;
|
||||
bodyScroolFun(false)
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('网络错误,请退出重进')
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -204,7 +204,7 @@ function openFireworks(type, num) {
|
||||
error(err) {
|
||||
canWish = true
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('网络错误,请退出重进')
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -272,7 +272,7 @@ function getRank(type) {
|
||||
},
|
||||
error(err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('网络错误,请退出重进')
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -290,7 +290,7 @@ function sendLog(event) {
|
||||
}
|
||||
},
|
||||
error(err) {
|
||||
toastMsg('网络错误,请退出重进')
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -368,7 +368,7 @@ $('.gift-box-wrap .wish').click(function () {
|
||||
// }, 1000);
|
||||
}
|
||||
}else {
|
||||
toastMsg('烟花点燃中,请稍后~')
|
||||
toastMsg('煙花點燃中,請稍後~')
|
||||
}
|
||||
|
||||
|
||||
@@ -523,8 +523,15 @@ $('.tishiBox .close').click(function () {
|
||||
$('.tishiBox').on('click', '.recharge', function () {
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
sendLog('pay_click')
|
||||
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
|
||||
let channel = pubInfo.deviceInfo.channel;
|
||||
console.log(pubInfo.deviceInfo);
|
||||
if (channel == "google") {
|
||||
sendLog('pay_click')
|
||||
window.androidJsObj.openChargePage(0);
|
||||
} else {
|
||||
sendLog('pay_click')
|
||||
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
|
||||
}
|
||||
} else if (browser.ios) {
|
||||
sendLog('pay_click')
|
||||
window.webkit.messageHandlers.openChargePage.postMessage(null)
|
||||
|
Reference in New Issue
Block a user