|
@@ -1,12 +1,14 @@
|
|
|
|
|
|
var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
|
|
|
-var g_Prefix="https://super.4dage.com/";
|
|
|
+// var g_Prefix="https://super.4dage.com/";
|
|
|
// var g_Prefix="http://project.4dage.com:8017/";//有自己的大场景编辑后台的 - 线上场景调试
|
|
|
// var g_Prefix=window.origin+'/';//有自己的大场景编辑后台的 - 打包
|
|
|
-// var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
|
|
|
+var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
|
|
|
var s = window.location.href.split('/');
|
|
|
s.pop();
|
|
|
//var g_Prefix = s.join('/');
|
|
|
+window.isLocal = true
|
|
|
+
|
|
|
var g_index=null;
|
|
|
var g_modeldata=null;
|
|
|
|
|
@@ -85,7 +87,8 @@ var settings = {
|
|
|
tourRotTime:2, //默认停留2秒
|
|
|
//dontExamHot:true
|
|
|
transparentBg: false,
|
|
|
- bgImg: null
|
|
|
+ bgImg: null,
|
|
|
+ localPrefix: ''
|
|
|
}
|
|
|
if(window.number == '725'||window.number == '724'){
|
|
|
settings.mobileNavHigh = true
|
|
@@ -353,7 +356,7 @@ var Manage = function(){
|
|
|
this.weixinURL = "https://res.wx.qq.com/open/js/jweixin-1.2.0.js",
|
|
|
this.time = "?"+new Date().getTime();
|
|
|
this.loadAudio();
|
|
|
- this.loadWeixin();
|
|
|
+ // this.loadWeixin();
|
|
|
}
|
|
|
//动态加载js文件
|
|
|
Manage.prototype.LoadJs = function(_files, succes){
|