| 
					
				 | 
			
			
				@@ -31,7 +31,7 @@ import In02 from '../components/In02.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import In03 from '../components/In03.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import In04 from '../components/In04.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import In05 from '../components/In05.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export default {     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     components:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Bottom, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Fac, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -67,8 +67,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let reconntimer=null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let MarkerMapFac={}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let AutoPlayer=ref(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let markerLClickObj=null;         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let markerLClickObj=null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let  inPoints={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "IN02":{"Text001_002":1,"x1":-28.07801,"y1":37.95126,"x2":-23.32394,"y2":31.16921}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "IN03":{"Text001_006":1,"x1":46.86921,"y1":24.87041,"x2":51.91054,"y2":17.87417}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -139,7 +139,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         function senceInit(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             player = new RemotePlayer({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 video: EngineContent.value, //绑定视频标签或图片标签 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                signalServer: window.PLAYER3D_URL, //云渲染服务器,发布时需要改为实际地址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                signalServer: process.env.VUE_APP_3D, //云渲染服务器,发布时需要改为实际地址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 engineId: "" + Date.now(), // 引擎会话id,如果已存在则连接,没有则创建,会话在断开连接后超时自动关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 rtcIni: 'rtc.ini', // 可指定webrtc配置文件,默认为rtc.ini,相对目录为集群节点的enginePath目录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 autoResize: true, // 引擎是否跟跟随标签尺寸 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -171,9 +171,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 in05modelloadstate.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 window.IN03Markers=null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 window.IN04Markers=null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                window.IN05Markers=null;       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AutoPlayer.value=false;      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                EngineContent.value.pause();      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                window.IN05Markers=null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AutoPlayer.value=false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                EngineContent.value.pause(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(e=='signal websocket error'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     //服务器网络不通 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -202,7 +202,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //5. [推荐] 响应UserTimeOut消息,引擎接收用户鼠标触屏事件超时发出通知 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             player.on("UserTimeOut", () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.info('用户长时间没有操作三维视图,可调用player.resetTimer()取消退出'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //AutoPlayer.value = true;  //暂时取消自动漫游功能               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //AutoPlayer.value = true;  //暂时取消自动漫游功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             player.on('TimeOutExit',()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.info('长时间没有操作,已断开连接'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -253,7 +253,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         loadFacModel(Native); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //调整视角,使其达到最佳初始效果 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //backMasterView(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //player.Native.Camera.moveToItem(lastPtr,1); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -347,14 +347,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_ALL.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var errStr = await PlayerUtils.call(Native.Model.loadModel, currentTargetType.value, cf); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 modelLoadState[currentTargetType.value] = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Settings.set('ambientIndenty', 'float', 0.39);//初始化环境光补偿 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Settings.set('diffuseIntensity', 'float', 1.2);//初始化光线强度 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Settings.set('specularIntensity', 'float', 0.64);//初始化高光强度 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible(currentTargetType.value,true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             facModelLoadState.value=true;//全厂模型加载完成 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await player.Native.CameraAnimation.clearKeyFrame();             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            setTimeout(async() => {                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            await player.Native.CameraAnimation.clearKeyFrame(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            setTimeout(async() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_02.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 await PlayerUtils.call(Native.Model.loadModel, 'IN02', cf); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 modelLoadState['IN02']=true; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -362,7 +362,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_03.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 await PlayerUtils.call(Native.Model.loadModel, 'IN03', cf); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 modelLoadState['IN03']=true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                await player.Native.Model.setModelVisible('IN03',false);                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                await player.Native.Model.setModelVisible('IN03',false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 isLoaded.value=true;//所有模型加载,通知导航菜单可以进行切换操作了 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -377,7 +377,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN02",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN03",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN04",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(modelLoadState[currentTargetType.value]==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_03.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var errStr = await PlayerUtils.call(Native.Model.loadModel, 'IN03', cf); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -397,7 +397,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("FAC",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN02",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN03",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await player.Native.Model.setModelVisible("IN05",false);             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            await player.Native.Model.setModelVisible("IN05",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(modelLoadState[currentTargetType.value]==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_03.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var errStr = await PlayerUtils.call(Native.Model.loadModel, 'IN03', cf); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -419,8 +419,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("FAC",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN02",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN04",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await player.Native.Model.setModelVisible("IN05",false);   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            var cf = "data://models/T_03.pr";           
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            await player.Native.Model.setModelVisible("IN05",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var cf = "data://models/T_03.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(modelLoadState[currentTargetType.value]!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 await player.Native.Model.unloadModel('IN03'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.log('IN03模型卸载完成') 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -445,7 +445,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN03",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN04",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await player.Native.Model.setModelVisible("IN05",false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(modelLoadState[currentTargetType.value]==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var cf = "data://models/T_02.pr"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var errStr = await PlayerUtils.call(Native.Model.loadModel, currentTargetType.value, cf); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -608,8 +608,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             markerLClickObj, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             loadNavModel, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    },     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style scoped> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-</style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</style> 
			 |