| | |
| | | </h6> |
| | | <p class="blockh6-c"> |
| | | <span class="img center dl-bl w100">专题二 学习主题一</span> |
| | | <examinations :cardList="questionData[46]" /> |
| | | <examinations |
| | | v-if="questionData" |
| | | :cardList="questionData[46]" |
| | | :chapter="2" |
| | | :page="46" |
| | | /> |
| | | </p> |
| | | <h2 class="module_block" id="b011"> |
| | | <div class="custom1">学习主题二</div> |
| | |
| | | <p class="blockh6-c"> |
| | | <!-- <img class="img-g" alt="" src="image/0062-1.jpg" /><br /> --> |
| | | <span class="img center dl-bl w100">专题二 学习主题二</span> |
| | | <examinations :cardList="questionData[49]" /> |
| | | <examinations v-if="questionData" :cardList="questionData[49]" /> |
| | | </p> |
| | | <p class="custom_tag"><b>•资料链接•</b></p> |
| | | <div class="fieldset"> |
| | |
| | | <p class="blockh6-c center"> |
| | | <!-- <img class="img-g" alt="" src="image/0065-1.jpg" /><br /> --> |
| | | <span class="img center dl-bl w100">专题二 学习主题三</span> |
| | | <examinations :cardList="questionData[52]" /> |
| | | <examinations v-if="questionData" :cardList="questionData[52]" /> |
| | | </p> |
| | | </div> |
| | | </div> |
| | |
| | | <p class="blockh6-c"> |
| | | 学习完本专题,你的学习效果如何呢?咱们一起来扫码测一测吧!<br /> |
| | | <span class="img">过关检测(资格考试模拟题)1</span><br /> |
| | | <examinations :cardList="questionData[541]" /> |
| | | <examinations v-if="questionData" :cardList="questionData[541]" /> |
| | | <span class="span-border"></span> |
| | | <span class="img mt-20 dl-bl">过关检测(资格考试模拟题)2</span> |
| | | <examinations :cardList="questionData[542]" /> |
| | | <examinations v-if="questionData" :cardList="questionData[542]" /> |
| | | </p> |
| | | <h6 class="Conclusion-title4">•学习反思•</h6> |
| | | <p class="blockh6 m0-t0 fl fl-di fl-cn"> |
| | |
| | | import getQuestionData from "@/assets/methods/examination"; |
| | | import testData from "../../../assets/examinationList"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import { mapState } from "vuex"; |
| | | export default { |
| | | name: "chapterTwo", |
| | | components: { evenHeaderVue, oddHeaderVue, examinations }, |
| | |
| | | }; |
| | | }, |
| | | async mounted() { |
| | | this.$data.questionData = await getQuestionData(testData[2]); |
| | | const localData = localStorage.getItem('chapterTwoData') |
| | | if(localData) { |
| | | this.chapterTwoData = JSON.parse(localData) |
| | | } |
| | | window.timerOne = setInterval(() => { |
| | | this.saveTime-- |
| | | if(this.saveTime == 0) { |
| | | this.saveChapterOneData() |
| | | } |
| | | },1000) |
| | | this.$data.questionData = await getQuestionData('2',testData[2]); |
| | | this.$data.pathOne = getResourcePath("e2b2b610e8b77c82bad7cf94c7986646"); |
| | | this.$data.pathTwo = getResourcePath("b11b51863da2a4e7e21c73358fa96c1e"); |
| | | this.$data.pathThree = getResourcePath("67cf97bd8295dc3aeb46982c574df8d0"); |
| | | }, |
| | | unmounted() { |
| | | if(window.timerTwo) { |
| | | clearInterval(window.timerTwo) |
| | | } |
| | | localStorage.setItem('chapterTwoData',JSON.stringify(this.chapterTwoData)) |
| | | }, |
| | | methods: { |
| | | changeResources(type) { |
| | |
| | | this.$data.videoState = !this.$data.videoState; |
| | | } |
| | | }, |
| | | saveChapterOneData() { |
| | | this.saveTime = 20 |
| | | console.log(this.chapterTwoData); |
| | | localStorage.setItem('chapterTwoData',JSON.stringify(this.chapterTwoData)) |
| | | } |
| | | }, |
| | | }; |
| | | </script> |