人生啊人生 2 tygodni temu
rodzic
commit
6823b23624

+ 7 - 0
src/components/ThreeWorldEventQingXiCheAndQv/ThreeWorldEventMainQingXiCheAndQv.vue

@@ -358,6 +358,13 @@ const callbackCameraVisualAngleJsonToLookEvent = (json) => {
         QingXiCheAndQvCarEventClick.find().closeCarMen(function() {});
     }
     
+    if (json.name == '清洗车打开车门') {
+        objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车进入副驾驶1");
+    }
+
+    if (json.name == '清洗车进入副驾驶1') {
+        objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车进入副驾驶2");
+    }
 
 }
 

+ 10 - 2
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -557,17 +557,25 @@ export class QingXiCheAndQvCarEventClick {
                         // 切换视角
                         objThreeWorldEventMain.coordinateMoveSphereFollowUpdate();
                         objIframeEdit.modelPeopleLook(3);
-                        objIframeEdit.cameraVisualAngleGetListNameGpsTo("侧身进入驾驶室");
+                        objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车打开车门");
                         objIframeEdit.roleShow(false);
 
                         let thisTime = new Date().getTime();
                         // 控制延迟逻辑
-                        ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500, function(fpsEventAddRet) {
+                        // ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500, function(fpsEventAddRet) {
+                        ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500 * 3, function(fpsEventAddRet) {
                             ComVal.find().fpsEventDel(fpsEventAddRet.code);
                             
                             QingXiCheAndQvCarEvent.find().eventEnd = 2;
                             QingXiCheAndQvCarEvent.find().tipsBtnsUpOpenEventCallbackMain(false);
                             QingXiCheAndQvCarEvent.find().tipsBtnsDownOpenEventCallbackMain(true);
+
+                            ElMessageBox.alert('恭喜你,完成了当前任务,请点击下一步继续', '提示', {
+                                confirmButtonText: '知道了',
+                                callback: (action) => {
+                                    
+                                },
+                            });
                             
                         });