人生啊人生 1 долоо хоног өмнө
parent
commit
3d29cedb3a

+ 27 - 3
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

@@ -285,6 +285,7 @@ export class QingXiCheAndQvCarEvent {
         // 优先关闭弹窗文本窗口
         // 优先关闭弹窗文本窗口
         WindowEvent.find().WindowTxtViewOpenExit();
         WindowEvent.find().WindowTxtViewOpenExit();
         WindowEvent.find().WindowVideoViewOpenExit();
         WindowEvent.find().WindowVideoViewOpenExit();
+        CommonGuiDbListTwo.find().removeAll();
         
         
         switch(type) {
         switch(type) {
             
             
@@ -602,6 +603,8 @@ export class QingXiCheAndQvCarEvent {
         }
         }
         
         
     }
     }
+    
+
 
 
     /**
     /**
      * 仿真模拟开始先进行初始化
      * 仿真模拟开始先进行初始化
@@ -697,9 +700,30 @@ export class QingXiCheAndQvCarEvent {
         QingXiCheAdnQvCarEventStep.find().meshVisibility("人物穿衣服", true);
         QingXiCheAdnQvCarEventStep.find().meshVisibility("人物穿衣服", true);
 
 
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("穿衣服_1");
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("穿衣服_1");
-
-
-        CommonGuiDbListTwo.find().removeAll();
+        
+        CommonGuiDbListTwo.find().addOrUpdate("addOrUpdate_1",
+            new BABYLON.Vector3(
+                -32.01094814892543,
+                1.1861893252100466,
+                65.48145750781143
+            ), 3, 173, 68 * 2, { "code" : "addOrUpdate_1" },
+            function(res) { console.log("自定义回调数据点击回调", res); },
+            [
+                {
+                    "type" : "title", "value" : "温馨提示",
+                    "height" : 30, "rectangleColor" : "#a9d5ff",
+                    "fontColor" : "#FFFFFF", "fontSize" : 10, "background" : "#a9d5ff",
+                },
+                {
+                    "type" : "switch", "tagName" : "点击人物或者闪烁点",
+                    "text" : "或者服饰触发", "value" : 1, "unit" : null,
+                    "height" : 30, "rectangleColor" : "#000000",
+                    "left_fontColor" : "#FFFFFF", "left_fontSize" : 12, "left_background" : "#00d800",
+                    "right_fontColor" : "#FFFFFF", "right_fontSize" : 12, "right_background" : "#ffffff",
+                },
+            ],
+            false
+        );
         
         
         // WindowEvent.find().WindowTxtViewOpenEvent(
         // WindowEvent.find().WindowTxtViewOpenEvent(
         //     "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"
         //     "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"

+ 2 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvThreeWorldEvent.js

@@ -3,6 +3,7 @@ import { QingXiCheAndQvCarEventClick } from "../js/QingXiCheAndQvCarEventClick.j
 import { QingXiCheAndQvCarEvent } from "./QingXiCheAndQvCarEvent.js";
 import { QingXiCheAndQvCarEvent } from "./QingXiCheAndQvCarEvent.js";
 import { QingXiCheAndQvComHighlightLayer } from "../js/QingXiCheAndQvComHighlightLayer.js";
 import { QingXiCheAndQvComHighlightLayer } from "../js/QingXiCheAndQvComHighlightLayer.js";
 import { ElMessage, ElMessageBox } from 'element-plus';
 import { ElMessage, ElMessageBox } from 'element-plus';
+import { CommonGuiDbListTwo } from "../../../utils/common/CommonGuiDbListTwo.js";
 
 
 /**
 /**
  * 操作 3d场景 相关事件
  * 操作 3d场景 相关事件
@@ -344,6 +345,7 @@ export class QingXiCheAndQvThreeWorldEvent {
 
 
             QingXiCheAndQvComHighlightLayer.find().flickerBoolEvent();
             QingXiCheAndQvComHighlightLayer.find().flickerBoolEvent();
             QingXiCheAndQvCarEventClick.find().renderEvent();
             QingXiCheAndQvCarEventClick.find().renderEvent();
+            CommonGuiDbListTwo.find().cameraRadiusEvent();
 
 
             if (
             if (
                 QingXiCheAndQvCarEventClick.find().moveCameraRadius != null && QingXiCheAndQvCarEventClick.find().moveCameraRadius != undefined
                 QingXiCheAndQvCarEventClick.find().moveCameraRadius != null && QingXiCheAndQvCarEventClick.find().moveCameraRadius != undefined