|
@@ -74,7 +74,7 @@ var musicList = {
|
|
var playMusic = function(pano){//根据漫游点切换bgm
|
|
var playMusic = function(pano){//根据漫游点切换bgm
|
|
//var describe = player.director.describe();
|
|
//var describe = player.director.describe();
|
|
//manage.bgmShouldPlay
|
|
//manage.bgmShouldPlay
|
|
- if( g_tourAudio.shouldPlay /* !g_tourAudio.paused */ || g_currentHot )return;
|
|
|
|
|
|
+ if( !manage.bgmShouldPlay || g_tourAudio.shouldPlay /* !g_tourAudio.paused */ || g_currentHot )return;
|
|
var shouldplayMusic
|
|
var shouldplayMusic
|
|
for(let i in musicList){
|
|
for(let i in musicList){
|
|
if(musicList[i].find(e=>e.includes(pano.id))){
|
|
if(musicList[i].find(e=>e.includes(pano.id))){
|
|
@@ -15003,8 +15003,11 @@ window.Modernizr = function(n, e, t) {
|
|
$('#gui-loading').fadeIn(200);
|
|
$('#gui-loading').fadeIn(200);
|
|
progressUpdate(0.1)
|
|
progressUpdate(0.1)
|
|
var fileName = g_version ? 'modeldata.js' : 'someData.json' ;
|
|
var fileName = g_version ? 'modeldata.js' : 'someData.json' ;
|
|
- $.ajax(g_Prefix + "data/"+window.number+"/"+fileName+"?"+randomTime().getTime(),{dataType: "json"}).done( function(e){ //改
|
|
|
|
|
|
+ $.ajax(g_Prefix + /* "data/"+ */window.number+"/"+fileName+"?"+randomTime().getTime(),{dataType: "json"}).done( function(e){ //改
|
|
var data = matcher(e);
|
|
var data = matcher(e);
|
|
|
|
+ data.files.templates = ["{{number}}/{{filename}}"]
|
|
|
|
+
|
|
|
|
+
|
|
data.files.templates[0] = g_Prefix + e.files.templates[0].replace("{{number}}",window.number);
|
|
data.files.templates[0] = g_Prefix + e.files.templates[0].replace("{{number}}",window.number);
|
|
data.user = {
|
|
data.user = {
|
|
"is_authenticated": false,
|
|
"is_authenticated": false,
|
|
@@ -18560,8 +18563,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
n.prototype.loadhots = function() {//xzw
|
|
n.prototype.loadhots = function() {//xzw
|
|
var e = $.Deferred();
|
|
var e = $.Deferred();
|
|
- //var t = g_Prefix+"data/" + this.sid + "/data2.js" +'?'+ randomTime().getTime();
|
|
|
|
- var t = 'https://ossxiaoan.4dage.com/cms_army_macao_data/762_en/data2.js'
|
|
|
|
|
|
+ var t = g_Prefix+/* "data/" + */ this.sid + "/data2.js" +'?'+ randomTime().getTime();
|
|
|
|
|
|
|
|
|
|
return a.get(t, {
|
|
return a.get(t, {
|
|
@@ -18606,10 +18608,10 @@ window.Modernizr = function(n, e, t) {
|
|
this.hots[sid] = new Hot(sid, data ,this);
|
|
this.hots[sid] = new Hot(sid, data ,this);
|
|
data.infoAttribute || (data.infoAttribute = {})
|
|
data.infoAttribute || (data.infoAttribute = {})
|
|
|
|
|
|
- data.infoAttribute.images = data.infoAttribute.images.map(e=>changeURL(e))
|
|
|
|
|
|
+ /* data.infoAttribute.images = data.infoAttribute.images.map(e=>changeURL(e))
|
|
data.infoAttribute.styleImg = data.infoAttribute.styleImg.map(e=>changeURL(e))
|
|
data.infoAttribute.styleImg = data.infoAttribute.styleImg.map(e=>changeURL(e))
|
|
data.infoAttribute.video = data.infoAttribute.video.map(e=> {return {url:changeURL(e.url)}})
|
|
data.infoAttribute.video = data.infoAttribute.video.map(e=> {return {url:changeURL(e.url)}})
|
|
-
|
|
|
|
|
|
+ */
|
|
this.hots[sid].initStyleImg(data.infoAttribute);
|
|
this.hots[sid].initStyleImg(data.infoAttribute);
|
|
window.hotData[sid] = data;
|
|
window.hotData[sid] = data;
|
|
})
|
|
})
|
|
@@ -18617,10 +18619,10 @@ window.Modernizr = function(n, e, t) {
|
|
this.createHotItem(window.hotData, this.hots);
|
|
this.createHotItem(window.hotData, this.hots);
|
|
|
|
|
|
|
|
|
|
- g_data2.overlays.forEach(e=>{
|
|
|
|
|
|
+ /* g_data2.overlays.forEach(e=>{
|
|
e.file = changeURL(e.file)
|
|
e.file = changeURL(e.file)
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+ */
|
|
|
|
|
|
|
|
|
|
g_index = w.valueFromHash("m");
|
|
g_index = w.valueFromHash("m");
|