|
@@ -46,12 +46,22 @@
|
|
<CourseChapter3dView></CourseChapter3dView>
|
|
<CourseChapter3dView></CourseChapter3dView>
|
|
</div> -->
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <!-- 后台交互,显示,上一步下一步逻辑UI -->
|
|
<StepTips
|
|
<StepTips
|
|
v-if="
|
|
v-if="
|
|
- (courseChapter3dShow().show.showToastViewBool == false && courseChapter3dShow().show.showLinkOkNextBool == false) ||
|
|
|
|
- (courseChapter3dShow().show.showToastViewBool == true &&
|
|
|
|
- courseChapter3dShow().show.showToastState == '' &&
|
|
|
|
- courseChapter3dShow().show.showLinkOkNextBool == false)
|
|
|
|
|
|
+ stepTipsLook == true
|
|
|
|
+ && (
|
|
|
|
+ (
|
|
|
|
+ courseChapter3dShow().show.showToastViewBool == false
|
|
|
|
+ && courseChapter3dShow().show.showLinkOkNextBool == false
|
|
|
|
+ )
|
|
|
|
+ || (
|
|
|
|
+ courseChapter3dShow().show.showToastViewBool == true
|
|
|
|
+ && courseChapter3dShow().show.showToastState == ''
|
|
|
|
+ && courseChapter3dShow().show.showLinkOkNextBool == false
|
|
|
|
+ )
|
|
|
|
+ )
|
|
"
|
|
"
|
|
:msg="state.tipsMsg"
|
|
:msg="state.tipsMsg"
|
|
:btns="state.tipsBtns"
|
|
:btns="state.tipsBtns"
|
|
@@ -134,6 +144,13 @@ let studentTaskIdList: any = ref([]);
|
|
// 用于控制3d场景什么时候加载显示
|
|
// 用于控制3d场景什么时候加载显示
|
|
let courseChapter3dViewBool = ref(false);
|
|
let courseChapter3dViewBool = ref(false);
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * 因为引入了其他三维场景
|
|
|
|
+ * 三维场景里,自带了上一步,下一步的逻辑UI
|
|
|
|
+ * 所以控制,原先前端UI的 上一步,下一步的UI逻辑是否显示还是隐藏
|
|
|
|
+ */
|
|
|
|
+let stepTipsLook = ref(true);
|
|
|
|
+
|
|
const buildChapterQueue = (data: anyObj[], optionChapters: anyObj[], root = true): anyObj[] => {
|
|
const buildChapterQueue = (data: anyObj[], optionChapters: anyObj[], root = true): anyObj[] => {
|
|
let chapters: anyObj[] = [];
|
|
let chapters: anyObj[] = [];
|
|
data?.forEach((item, idx) => {
|
|
data?.forEach((item, idx) => {
|