人生啊人生 3 miesięcy temu
rodzic
commit
851e17aa89

+ 16 - 6
user_web/src/view/student/trainChapter/trainChapter.vue

@@ -126,12 +126,6 @@ import QvSimulationMain from "../../../components/QvSimulation/QvSimulationMain.
 import CarSimulationMain from "../../../components/CarSimulation/CarSimulationMain.vue";
 import SonarSimulationMain from "../../../components/SonarSimulation/SonarSimulationMain.vue";
 
-// 地下车是否可以展示
-let CarSimulationMainLook = ref(true);
-// QV检测是否可以展示
-let QvSimulationMainLook = ref(false);
-// 声纳车是否可以展示
-let SonarSimulationMainLook = ref(false);
 
 const route = useRoute();
 const taskId = route.params.taskId as string;
@@ -154,6 +148,22 @@ const state: anyObj = reactive({
     lastChapterNum: -1,
 });
 
+// 地下车是否可以展示
+let CarSimulationMainLook = ref(true);
+// QV检测是否可以展示
+let QvSimulationMainLook = ref(false);
+// 声纳车是否可以展示
+let SonarSimulationMainLook = ref(false);
+/**
+ * 之前CCTV的逻辑是固定了,这里是新增的
+ * 用于控制 QV 检测 和 声纳车 以及后续可能新增的分类
+ * 因为后面新增的,有自己的上一步,下一步UI了
+ * 此时进入三维的上一步下一步再三维UI控制
+ * 
+ * 所以外部流程控制的先隐藏,直到三维流程走完才显示
+ */
+let stepTipsBool = ref(true);
+
 /**
  * 用于控制应该加载哪个三维场景
  * cctv         cctv实训检测