zhongshujie
15 小时以前 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
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();
            }
        },