From d11b7bf0ecbf1662ca96c127beda0581ecfd6853 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期六, 19 七月 2025 00:07:27 +0800 Subject: [PATCH] 7.19 --- src/books/toddlerGameImplementation/view/components/chapter003.vue | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/books/toddlerGameImplementation/view/components/chapter003.vue b/src/books/toddlerGameImplementation/view/components/chapter003.vue index 2e0d834..82af7b0 100644 --- a/src/books/toddlerGameImplementation/view/components/chapter003.vue +++ b/src/books/toddlerGameImplementation/view/components/chapter003.vue @@ -1575,9 +1575,9 @@ </div> </div> <preView :isClear="dialogVisible" :md5="p_md5" :pdfTitle="somePdfTitleValue" ref="pdfDialogRef"></preView> - <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" - :cardList="interfaceQuestion[questionNum]" v-if="interfaceQuestion" :chapter="3" :page="questionNum" - :questionTitle="questionTitleMain" ref="dialogRef"> + <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList" + v-if="interfaceQuestion" :chapter="4" :page="questionNum" :questionTitle="questionTitleMain" + ref="dialogRef"> </dialogExaminations> </div> </template> @@ -1610,15 +1610,15 @@ chapter001: { pdfMd5: { 1: { - md5: "d5db7d4d8d605f7339473cfd56817ef4", + md5: "e62219f5283bb7f304856f2037b1aab3", name: "璧拌繎棣欏北鎱堝辜闄�", }, 2: { - md5: "878b95e1430df73cec22bf947e3cbbc7", + md5: "09600dcdfb3c4a1d2a6f873aed587930", name: "椹儗鎽囩鈥斺�斿欢瀹変繚鑲查櫌", }, 3: { - md5: "f2d1d4f55d7b41c7a516bf1b54ae74ae", + md5: "39c965f960dbf4e80eebabe15f858f8c", name: "妯″潡涓壜犲矖浣嶈繘闃惰缁�", }, 4: { @@ -1638,6 +1638,7 @@ themeColor: "#6dcff6", questionNum: 0, questionTitleMain: "", + cardArrayList: [], // 棰樼洰 collectImg: require("../../assets/images/icon/heart.png"), collectCheck: require("../../assets/images/icon/heart-check.png"), @@ -2089,6 +2090,17 @@ }, } }, + watch: { + interfaceQuestion: { + handler(newValue) { + if (newValue && newValue[this.questionNum] != undefined) { + this.cardArrayList = newValue[this.questionNum]; + } + }, + deep: true, + immediate: true + }, + }, async mounted() { const bookQuestion = localStorage.getItem("toddleGame-book-chapter03-tableData"); if (bookQuestion) { @@ -2166,7 +2178,7 @@ } else if (e == 'video-03') { this.handleCollectResource("bc39e1bc833fef30f8c0d2f2692f7794", "bc39e1bc833fef30f8c0d2f2692f7794", '', "瑙嗛", "bits", '瑙嗛锛氬┐骞煎効娓告垙鐨勮瘎浠�') this.chapterData.isCollectVideo02 = !this.chapterData.isCollectVideo02 - } + } }, //璧勬簮鏀惰棌浜嬩欢 // resourcePath 鏂囦欢璺緞锛� @@ -2343,6 +2355,9 @@ if (num) { this.questionNum = this.chapter001.question[num].questionNum; this.questionTitleMain = this.chapter001.question[num].questionTitleMain; + if (this.interfaceQuestion && this.interfaceQuestion[this.questionNum] != undefined) { + this.cardArrayList = this.interfaceQuestion[this.questionNum]; + } this.$refs.dialogRef.openDialogQuestion(); } }, -- Gitblit v1.9.1