人生啊人生 2 周之前
父节点
当前提交
20d2a5b63e

+ 6 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAdnQvCarEventStep.js

@@ -701,6 +701,12 @@ export class QingXiCheAdnQvCarEventStep {
                 ];
                 break;
 
+            case "小卷筒使用方法_开启车身侧门":
+                meshList = [
+                    "exhibition_html_1754310217237_hua_",
+                ];
+                break;
+
             case "回到驾驶室踩下车辆离合器5秒":
 
                 meshList = [

+ 40 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -1740,11 +1740,50 @@ export class QingXiCheAndQvCarEventClick {
 
                 break;
 
+            
+            // 小卷筒使用方法_开启车身侧门
+            case '小卷筒使用方法_开启车身侧门':
+
+                if (QingXiCheAdnQvCarEventStep.find().meshListBool(type, objMesh.id) == true) {
+
+                    QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
+
+                    // 切换成正在处理中
+                    QingXiCheAndQvCarEvent.find().eventEnd = 1;
+                    
+                    // 切换视角
+                    objThreeWorldEventMain.coordinateMoveSphereFollowUpdate();
+                    objIframeEdit.modelPeopleLook(3);
+                    objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车拉出水管到需要的长度固定2");
+                    objIframeEdit.roleShow(false);
+
+                    let thisTime = new Date().getTime();
+                    // 控制延迟逻辑
+                    ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500, function(fpsEventAddRet) {
+                        ComVal.find().fpsEventDel(fpsEventAddRet.code);
+
+                        QingXiCheAndQvComClipPlaneMeshEvent.find().jieKaiLookYes(function() {
 
+                            QingXiCheAndQvCarEvent.find().eventEnd = 2;
+                            QingXiCheAndQvCarEvent.find().tipsBtnsUpOpenEventCallbackMain(false);
+                            QingXiCheAndQvCarEvent.find().tipsBtnsDownOpenEventCallbackMain(true);
 
+                            ElMessageBox.alert('恭喜你,完成了当前任务,请点击下一步继续', '提示', {
+                                confirmButtonText: '知道了',
+                                callback: (action) => {
+                                    
+                                },
+                            });
+                            
+                        });
+                        
+                    });
+                    
+                }
 
+                break;
                 
-            
+
             // 回到驾驶室踩下车辆离合器5秒
             case '回到驾驶室踩下车辆离合器5秒':