Commit d019ff19 by tsushima

#28512 【Biz 1.8.5/ABook360】Vツアーへのコンテンツ間リンクでシーン指定が正しく動作しない

parent 58a759b7
{
"apiUrl" : "https://web5.abook.bz/acms/{0}/abvapi",
"apiLoginUrl" : "https://web5.abook.bz/acms/nuabvapi",
"apiResourceDlUrl" : "https://web5.abook.bz/acms/{0}/dl",
"apiUrl" : "https://web180.abook.bz/acms/{0}/abvapi",
"apiLoginUrl" : "https://web180.abook.bz/acms/nuabvapi",
"apiResourceDlUrl" : "https://web180.abook.bz/acms/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
......
/// コンテンツ詳細画面
/// コンテンツ詳細画面
//名前空間用のオブジェクトを用意する
var CONTENTVIEW = {};
......@@ -2203,9 +2203,11 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
var oldPageNo = CONTENTVIEW.panoOldContent();
if(oldPageNo != null){
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/vtour/play/" + CONTENTVIEW_GENERAL.contentID + "/" + "?startscene=scene" + oldPageNo+"&a=1";
}else if (CONTENTVIEW_GENERAL.prePageNo) {
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/vtour/play/" + CONTENTVIEW_GENERAL.contentID + "/" + "?startscene=scene" + CONTENTVIEW_GENERAL.prePageNo+"&a=1";
}else{
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/vtour/play/" + CONTENTVIEW_GENERAL.contentID + "/";
}
}
CONTENTVIEW.createSessionForPanoramaContent(apiUrl,function(){
CONTENTVIEW.handleForContentTypePanoImage(linkUrlTmp);
......
......@@ -1198,6 +1198,7 @@ CONTENTVIEW_GETDATA.getContentID = function() {
if (ClientData.common_preContentId()) {
CONTENTVIEW_GENERAL.contentID = ClientData.common_preContentId();
ClientData.common_preContentId(null);
CONTENTVIEW_GENERAL.prePageNo = ClientData.common_prePageNo();
} else if (ClientData.IsJumpBack() == true) {
var dataJump = ClientData.JumpQueue();
CONTENTVIEW_GENERAL.contentID = dataJump[dataJump.length - 1].oldContentID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment