人生啊人生 il y a 1 semaine
Parent
commit
3ee68a7bfc

+ 24 - 6
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -2036,17 +2036,35 @@ export class QingXiCheAndQvCarEventClick {
                     // 切换成正在处理中
                     QingXiCheAndQvCarEvent.find().eventEnd = 1;
                     
-                    QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('清洗车踩离合5秒', function() {
 
-                        WindowEvent.find().WindowCountdownOpen(5, "自定义返回数据", function(WindowCountdownOpenRes) {
-                            QingXiCheAndQvCarEvent.find().eventEnd = 2;
-                            QingXiCheAndQvCarEvent.find().tipsBtnsUpOpenEventCallbackMain(false);
-                            QingXiCheAndQvCarEvent.find().tipsBtnsDownOpenEventCallbackMain(true);
+                    // 切换视角
+                    objIframeEdit.modelPeopleLook(3);
+                    objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车踩离合5秒");
+                    objIframeEdit.roleShow(false);
+
+                    let thisTime = new Date().getTime();
+                    // 控制延迟逻辑
+                    ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500, function(fpsEventAddRet) {
+                        ComVal.find().fpsEventDel(fpsEventAddRet.code);
+                    
+                        QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('踩下车辆离合器5秒', function() {
+
+                            WindowEvent.find().WindowCountdownOpen(5, "自定义返回数据", function(WindowCountdownOpenRes) {
+
+                                QingXiCheAndQvCarEvent.find().eventEnd = 2;
+                                QingXiCheAndQvCarEvent.find().tipsBtnsUpOpenEventCallbackMain(false);
+                                QingXiCheAndQvCarEvent.find().tipsBtnsDownOpenEventCallbackMain(true);
+
+                                thisClass.downTimeEvent();
+
+                            });
+                            
                         });
-                        
+
                     });
                     
                 }
+                
                 break;
 
             // 关闭取力器开关