新增跳转动态类型
This commit is contained in:
@@ -499,7 +499,6 @@ function drawPageRecord (page) {
|
|||||||
drawPageSizeLack = false;
|
drawPageSizeLack = false;
|
||||||
hideLoading(layerIndex)
|
hideLoading(layerIndex)
|
||||||
$('.duihuanBg .dividerecordsBg_in .ul').append(str);
|
$('.duihuanBg .dividerecordsBg_in .ul').append(str);
|
||||||
drawPageSizeLack = true;
|
|
||||||
$('.duihuanBg').show();
|
$('.duihuanBg').show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -664,15 +663,15 @@ $('.page1 .play2 .playBox2 .task .taks2 .but').click(function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (browser.android) {
|
if (browser.android) {
|
||||||
if (JSON.parse(pubInfo.deviceInfo).appVersionCode >= 200) {
|
console.log(pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", ""));
|
||||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
if (pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", "") >= 200) {
|
||||||
tools.nativeUtils.jumpAppointPage('DONG_TAI', dynamicWorldId);
|
tools.nativeUtils.jumpAppointPage('DONG_TAI', dynamicWorldId);
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
toastMsg('請前往論壇發佈話題圖文');
|
toastMsg('請前往論壇發佈話題圖文');
|
||||||
}
|
}
|
||||||
} else if (browser.ios) {
|
} else if (browser.ios) {
|
||||||
if (pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", "") >= 1014) {
|
console.log(pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", ""));
|
||||||
|
if (pubInfo.deviceInfo.appVersion.replace(".", "").replace(".", "") >= 20000) {
|
||||||
window.webkit.messageHandlers.jumpAppointPage.postMessage(JSON.stringify({ routerType: 75, routerVal: dynamicWorldId }))
|
window.webkit.messageHandlers.jumpAppointPage.postMessage(JSON.stringify({ routerType: 75, routerVal: dynamicWorldId }))
|
||||||
} else {
|
} else {
|
||||||
toastMsg('請前往論壇發佈話題圖文');
|
toastMsg('請前往論壇發佈話題圖文');
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
var baba = document.querySelector('body');
|
var baba = document.querySelector('body');
|
||||||
baba.addEventListener('click', function (e) {
|
baba.addEventListener('click', function (e) {
|
||||||
|
$('body,html').css({"width":"100%","position": "relative", "overflow": "hidden" });
|
||||||
tianJia(e);
|
tianJia(e);
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -32,7 +33,7 @@ function move () {
|
|||||||
// erZi[i].scale = erZi[i].scale + 0.0001;
|
// erZi[i].scale = erZi[i].scale + 0.0001;
|
||||||
erZi[i].el.style.cssText = `
|
erZi[i].el.style.cssText = `
|
||||||
top: ${erZi[i].top}px;
|
top: ${erZi[i].top}px;
|
||||||
left: ${erZi[i].left+10}px;
|
left: ${erZi[i].left + 10}px;
|
||||||
color: ${erZi[i].color};
|
color: ${erZi[i].color};
|
||||||
opacity: ${erZi[i].opacity};
|
opacity: ${erZi[i].opacity};
|
||||||
transform: scale(${erZi[i].scale});
|
transform: scale(${erZi[i].scale});
|
||||||
@@ -40,5 +41,6 @@ function move () {
|
|||||||
`
|
`
|
||||||
|
|
||||||
}
|
}
|
||||||
|
$('body,html').css({"width":"100%","position": "relative", "overflow": "auto" });
|
||||||
window.requestAnimationFrame(move);
|
window.requestAnimationFrame(move);
|
||||||
}
|
}
|
@@ -22,5 +22,7 @@ var routeTypeConstant = {
|
|||||||
RECOMMEND_CARD_PAGE: 20, //跳转到推荐卡仓库
|
RECOMMEND_CARD_PAGE: 20, //跳转到推荐卡仓库
|
||||||
TEACHER_PUPIL_PAGE: 28, //跳转到师徒页面入口
|
TEACHER_PUPIL_PAGE: 28, //跳转到师徒页面入口
|
||||||
WORLD_GROUND_PAGE: 47, //跳转小世界广场
|
WORLD_GROUND_PAGE: 47, //跳转小世界广场
|
||||||
VOICE_PAGE: 42 //声音瓶子
|
VOICE_PAGE: 42, //声音瓶子
|
||||||
|
DONG_SET: 75, //跳转设置
|
||||||
|
DONG_TAI: 76 //跳转设置
|
||||||
}
|
}
|
Reference in New Issue
Block a user