| | |
| | | </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="2" :page="questionNum" |
| | | :questionTitle="questionTitleMain" ref="dialogRef"> |
| | | <dialogExaminations :isClear="dialogVisibleOne" :primaryColor="themeColor" :cardList="cardArrayList" |
| | | v-if="interfaceQuestion" :chapter="2" :page="questionNum" :questionTitle="questionTitleMain" |
| | | ref="dialogRef"> |
| | | </dialogExaminations> |
| | | <mindMapView :isClear="mapDialogVisible" ref="mindMapDialogRef"></mindMapView> |
| | | </div> |
| | |
| | | themeColor: "#6dcff6", |
| | | questionNum: 0, |
| | | questionTitleMain: "", |
| | | cardArrayList: [], |
| | | chapterData: { |
| | | isCollectVideo: false, |
| | | isCollectVideo01: false, |
| | |
| | | questionDataImg: "" |
| | | } |
| | | }, |
| | | 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-chapter01-tableData"); |
| | | if (bookQuestion) { |
| | |
| | | this.videoPathEight = await getResourcePath( |
| | | "8215ef4093c9b916f147c41cdbe8f60a" |
| | | ); |
| | | |
| | | |
| | | }, |
| | | handleCollect(e) { |
| | | if (e == 'video-01') { |
| | |
| | | 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(); |
| | | } |
| | | }, |