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/chapter006.vue | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/books/toddlerGameImplementation/view/components/chapter006.vue b/src/books/toddlerGameImplementation/view/components/chapter006.vue index dd2045e..46f190a 100644 --- a/src/books/toddlerGameImplementation/view/components/chapter006.vue +++ b/src/books/toddlerGameImplementation/view/components/chapter006.vue @@ -81,7 +81,7 @@ <p>鈶℃煡闃� 0~1宀佸┐鍎胯瑷�灏忔父鎴忥紝骞惰褰曚笅鏉ャ��</p> <p class="td-0"><b>瀛︿範涓細</b></p> <p>鈶犲畬鎴愭湰浠诲姟涓殑鎷撳睍娲诲姩銆�</p> - <p>鈶℃�濊�冨苟鎬荤粨璁捐0-1宀佸┐鍎胯瑷�娓告垙闇�瑕佹敞鎰忓摢鍑犱釜鏂归潰銆�</p> + <p>鈶℃�濊�冨苟鎬荤粨璁捐0~1宀佸┐鍎胯瑷�娓告垙闇�瑕佹敞鎰忓摢鍑犱釜鏂归潰銆�</p> <p class="td-0"><b>瀛︿範鍚庯細</b></p> <p>鈶犲畬鎴愭湰浠诲姟鐨勫涔犳晥鏋滄娴嬨��</p> <p>鈶″彲浠ュ湪瀹為檯鐢熸椿涓疄鏂借嚜宸辫璁$殑璇█娓告垙銆�</p> @@ -1136,7 +1136,7 @@ x5-playsinline="" controls controlslist="nodownload" class="w100 video"></video> </p> <p class="center videoname"> - <span>瑙嗛锛�2锝�3宀佸┐骞煎効璇█娓告垙璁捐涓庢寚瀵�</span> + <span>瑙嗛锛�2锝�3宀佸辜鍎胯瑷�娓告垙璁捐涓庢寚瀵�</span> <el-tooltip class="item" effect="dark" :content="chapterData.isCollectVideo02 ? '鐐瑰嚮鍙栨秷' : '鐐瑰嚮鏀惰棌'" placement="top-start"> <img :src="collectResourceList.findIndex(item => item.id == 'db468e8ad864b7c24c89bafb684878b9') > -1 ? collectCheck : collectImg" @@ -1354,9 +1354,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="3" :page="questionNum" :questionTitle="questionTitleMain" + ref="dialogRef"> </dialogExaminations> </div> </template> @@ -1389,11 +1389,11 @@ chapter001: { pdfMd5: { 1: { - md5: "f751cb1f40862cc81972df87fdf1451c", + md5: "c0bc1cf672ea6d25f5cb3ecba2cc9dff", name: "妯″潡鍏犲矖浣嶈繘闃惰缁�", }, 2: { - md5: "16eb97c685067d0651b97aacb3548315", + md5: "f9d9026bc00a9b0560e4a348352fb385", name: "妯″潡鍏犲疄璁伐浣滀换鍔�", }, }, @@ -1461,6 +1461,7 @@ themeColor: "#6dcff6", questionNum: 0, questionTitleMain: "", + cardArrayList: [], // 棰樼洰 collectImg: require("../../assets/images/icon/heart.png"), collectCheck: require("../../assets/images/icon/heart-check.png"), @@ -1884,6 +1885,17 @@ }, } }, + watch: { + interfaceQuestion: { + handler(newValue) { + if (newValue[this.questionNum] != undefined) { + this.cardArrayList = newValue[this.questionNum]; + } + }, + deep: true, + immediate: true + }, + }, async mounted() { const bookQuestion = localStorage.getItem("toddleGame-book-chapter06-tableData"); if (bookQuestion) { @@ -2088,6 +2100,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