新增版本跳转
This commit is contained in:
@@ -128,7 +128,7 @@ function jackpotConfig () {
|
||||
leftTime = res.data.jackpotEndTime - res.timestamp;
|
||||
if (leftTime >= 0) {
|
||||
countup();
|
||||
}else{
|
||||
} else {
|
||||
$('.page1 .play1 .playBox .dosBg p').html(`<span class="span1">00</span>時<span class="span2">00</span>分<span class="span3">00</span>秒`)
|
||||
}
|
||||
} else {
|
||||
@@ -663,17 +663,32 @@ $('.page1 .play2 .playBox2 .task .taks2 .but').click(function () {
|
||||
if (bool == 1) {
|
||||
return;
|
||||
}
|
||||
if (browser.app) {
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.jumpAppointPage.postMessage(JSON.stringify({ routerType: 75, routerVal: dynamicWorldId }))
|
||||
} else if (browser.android) {
|
||||
if (browser.android) {
|
||||
if (JSON.parse(pubInfo.deviceInfo).appVersionCode >= 200) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
tools.nativeUtils.jumpAppointPage('DONG_TAI', dynamicWorldId);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
toastMsg('請在app內打開')
|
||||
toastMsg('請前往論壇發佈話題圖文');
|
||||
}
|
||||
} else if (browser.ios) {
|
||||
if (pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", "") >= 1014) {
|
||||
window.webkit.messageHandlers.jumpAppointPage.postMessage(JSON.stringify({ routerType: 75, routerVal: dynamicWorldId }))
|
||||
} else {
|
||||
toastMsg('請前往論壇發佈話題圖文');
|
||||
}
|
||||
}
|
||||
// if (browser.app) {
|
||||
// if (browser.ios) {
|
||||
// window.webkit.messageHandlers.jumpAppointPage.postMessage(JSON.stringify({ routerType: 75, routerVal: dynamicWorldId }))
|
||||
// } else if (browser.android) {
|
||||
// if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
// tools.nativeUtils.jumpAppointPage('DONG_TAI', dynamicWorldId);
|
||||
// }
|
||||
// }
|
||||
// } else {
|
||||
// toastMsg('請在app內打開')
|
||||
// }
|
||||
})
|
||||
// 完成首頁循環任務按鈕
|
||||
$('.page1 .play2 .playBox2 .task .taks3 .but,.page1 .play2 .playBox2 .task .taks4 .but,.page1 .play2 .playBox2 .task .taks5 .but').click(function () {
|
||||
|
Reference in New Issue
Block a user