| | |
| | | </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> |
| | |
| | | themeColor: "#6dcff6", |
| | | questionNum: 0, |
| | | questionTitleMain: "", |
| | | cardArrayList: [], |
| | | // 题目 |
| | | tableData: { |
| | | unitOne: { |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | 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-chapter02-tableData" |
| | |
| | | JSON.stringify(this.unitQuestionOne) |
| | | ); |
| | | }, |
| | | |
| | | |
| | | goUnitTwo() { |
| | | for (let index = 0; index < this.unitQuestionTwo.unitOne.length; index++) { |
| | | const item = this.unitQuestionTwo.unitOne[index]; |
| | |
| | | JSON.stringify(this.unitQuestionTwo) |
| | | ); |
| | | }, |
| | | |
| | | toUrl(val) { |
| | | if (val) { |
| | | this.p_md5 = this.chapter001.pdfMd5[val].md5; |