|
@@ -1,10 +1,11 @@
|
|
-
|
|
|
|
var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
|
|
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=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
|
|
|
|
|
|
+// var g_Prefix="https://super.4dage.com/";
|
|
|
|
+var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
|
|
var s = window.location.href.split('/');
|
|
var s = window.location.href.split('/');
|
|
s.pop();
|
|
s.pop();
|
|
//var g_Prefix = s.join('/');
|
|
//var g_Prefix = s.join('/');
|
|
|
|
+window.isLocal = true
|
|
|
|
+
|
|
var g_index=null;
|
|
var g_index=null;
|
|
var g_modeldata=null;
|
|
var g_modeldata=null;
|
|
|
|
|
|
@@ -93,6 +94,7 @@ var settings = {
|
|
hotFastTran:false,
|
|
hotFastTran:false,
|
|
transparentBg: false,
|
|
transparentBg: false,
|
|
bgImg: null,
|
|
bgImg: null,
|
|
|
|
+ localPrefix: '',
|
|
|
|
|
|
tileClass:{//默认全景贴图加载的清晰度
|
|
tileClass:{//默认全景贴图加载的清晰度
|
|
pc:{
|
|
pc:{
|
|
@@ -671,7 +673,7 @@ var Manage = function(){
|
|
this.weixinURL = "https://res.wx.qq.com/open/js/jweixin-1.2.0.js",
|
|
this.weixinURL = "https://res.wx.qq.com/open/js/jweixin-1.2.0.js",
|
|
this.time = "?"+new Date().getTime();
|
|
this.time = "?"+new Date().getTime();
|
|
this.loadAudio();
|
|
this.loadAudio();
|
|
- this.loadWeixin();
|
|
|
|
|
|
+ // this.loadWeixin();
|
|
}
|
|
}
|
|
//动态加载js文件
|
|
//动态加载js文件
|
|
Manage.prototype.LoadJs = function(_files, succes){
|
|
Manage.prototype.LoadJs = function(_files, succes){
|