| | |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="10"> |
| | | <div v-if="showPageList.indexOf(10) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-first"> |
| | | <div class="header-bj"></div> |
| | |
| | | </p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="11"> |
| | | <div v-if="showPageList.indexOf(11) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-second"> |
| | | <div class="second-con"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="12"> |
| | | <div v-if="showPageList.indexOf(12) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-first"> |
| | | <div class="header-bj"></div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="13"> |
| | | <div v-if="showPageList.indexOf(13) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-second"> |
| | | <div class="second-con"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="14"> |
| | | <div v-if="showPageList.indexOf(14) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-first"> |
| | | <div class="header-bj"></div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="15"> |
| | | <div v-if="showPageList.indexOf(15) > -1"> |
| | | <div class="header"> |
| | | <div class="pageHeader-second"> |
| | | <div class="second-con"> |
| | |
| | | </div> |
| | | </div> |
| | | <div |
| | | v-if="chapter001.idOpenThree && chapter001.qustionData[9]" |
| | | v-if="chapter001.idOpenThree && questionData" |
| | | class="tips-file" |
| | | > |
| | | <examinations |
| | | :primaryColor="'#f49a4c'" |
| | | :cardList="chapter001.qustionData[9]" |
| | | :cardList="questionData[15]" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | |
| | | export default { |
| | | // eslint-disable-next-line vue/multi-word-component-names |
| | | name: "chapter001", |
| | | props: { |
| | | showPageList: { |
| | | type: Array, |
| | | default: [], |
| | | }, |
| | | questionData: { |
| | | type: Object, |
| | |
| | | examinations, |
| | | }, |
| | | async created() { |
| | | console.log(this.showPageList,'shoepage') |
| | | const localData = JSON.parse(localStorage.getItem("chapter001")); |
| | | this.chapter001.qustionData = this.questionData |
| | | if (localData) { |
| | | this.chapter001 = { ...Object.assign(this.chapter001, localData) }; |
| | | } |
| | | |
| | | this.chapter001.videOneUrl = getResourcePath( |
| | | "68ebd5c05bcb742999a9ebdce4b4bd53" |
| | | ); |
| | | // this.chapter001.qustionData = await getQuestionData( |
| | | // "1", |
| | | // testData[1], |
| | | // this.config.activeBook |
| | | // ); |
| | | }, |
| | | methods: { |
| | | activityOne() { |
| | |
| | | activityThree() { |
| | | this.chapter001.idOpenThree = !this.chapter001.idOpenThree; |
| | | }, |
| | | onBlurChange(val) { |
| | | onBlurChange() { |
| | | console.log(this.chapter001, "local"); |
| | | localStorage.setItem("chapter001", JSON.stringify(this.chapter001)); |
| | | }, |
| | | onBlurChangeTable(val) { |
| | | onBlurChangeTable() { |
| | | localStorage.setItem("chapter001", JSON.stringify(this.chapter001)); |
| | | }, |
| | | onBlurChangeTable112(val) { |
| | | onBlurChangeTable112() { |
| | | localStorage.setItem("chapter001", JSON.stringify(this.chapter001)); |
| | | }, |
| | | onBlurChangeText112() { |