|
@@ -76,6 +76,12 @@
|
|
|
)
|
|
|
) && threeWorldLoadType == 'cctv'
|
|
|
)
|
|
|
+ || (
|
|
|
+ (
|
|
|
+ threeWorldLoadType == 'qv'
|
|
|
+ || threeWorldLoadType == 'sonar'
|
|
|
+ ) && stepTipsBool == true
|
|
|
+ )
|
|
|
"
|
|
|
:msg="state.tipsMsg"
|
|
|
:btns="state.tipsBtns"
|
|
@@ -88,6 +94,7 @@
|
|
|
<!-- <div v-show="state.hasRead && state.showCnt && state.currentChapter.type == 30" class="chapter-3d"> -->
|
|
|
<div v-if="courseChapter3dViewBool == true" class="chapter-3d">
|
|
|
|
|
|
+ <!-- type == 30 是当前流程是三维流程 -->
|
|
|
<div v-show="state.hasRead && state.showCnt && state.currentChapter.type == 30">
|
|
|
|
|
|
<!-- CCTV实训检测三维场景逻辑 -->
|
|
@@ -429,11 +436,7 @@ onUnmounted(() => {
|
|
|
watch(
|
|
|
() => state.currentChapter,
|
|
|
(newVal) => {
|
|
|
-
|
|
|
- console.log(
|
|
|
- "更新到新的流程 state.currentChapter ===>", state.currentChapter
|
|
|
- );
|
|
|
-
|
|
|
+
|
|
|
initTips();
|
|
|
|
|
|
//滚动当前课程菜单至可视区域
|
|
@@ -448,6 +451,24 @@ watch(
|
|
|
const idx = (state.chapterTree[state.currentStep].children as anyObj[])?.findIndex((x) => x.id == newVal.id);
|
|
|
if (idx > -1) state.activeSecondMenu = idx;
|
|
|
}
|
|
|
+
|
|
|
+ console.log(
|
|
|
+ "更新到新的流程 state.currentChapter ===>",
|
|
|
+ state.currentChapter,
|
|
|
+ state.currentChapter.type,
|
|
|
+ state.currentChapter.threeDimensionalConfig
|
|
|
+ );
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 后面新增其他三维逻辑进行控制展示
|
|
|
+ */
|
|
|
+ if (
|
|
|
+ threeWorldLoadType.value == 'qv'
|
|
|
+ || threeWorldLoadType.value == 'sonar'
|
|
|
+ ) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
);
|
|
|
|