| | |
| | | <template> |
| | | <div class="page-content-box"> |
| | | <div class="page-box"> |
| | | <div class="bodystyle"> |
| | | <div class="bodystyle topImg"> |
| | | <h2 id="b001"> |
| | | <img class="img-0" alt="" src="../image/dy1.jpg" /> |
| | | </h2> |
| | |
| | | @blur="onBlurChange('desc3')" |
| | | ></textarea> |
| | | </div> |
| | | <p><br /></p> |
| | | <div class="tips-bk"> |
| | | <div class="bj-tip"> |
| | | 云测试:单元一应用与实践<img |
| | |
| | | v-if="chapter001.idOpenThree && chapter001.qustionData[9]" |
| | | class="tips-file" |
| | | > |
| | | <examinations |
| | | :primaryColor="'#f49a4c'" |
| | | :cardList="chapter001.qustionData[9]" |
| | | /> |
| | | <examinations :cardList="chapter001.qustionData[9]" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import getResourcePath from "@/assets/methods/resources.js"; |
| | | import getQuestionData from "@/assets/methods/examination.js"; |
| | | // import getResourcePath from "@/assets/methods/resources.js"; |
| | | // import getQuestionData from "@/assets/methods/examination.js"; |
| | | import testData from "../js/examinationList.js"; |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | // import examinations from "@/components/examinations/index.vue"; |
| | | |
| | | export default { |
| | | name: "chapter001", |
| | |
| | | }; |
| | | }, |
| | | components: { |
| | | examinations, |
| | | // examinations, |
| | | }, |
| | | async created() { |
| | | created() { |
| | | const localData = JSON.parse(localStorage.getItem("chapter001")); |
| | | if (localData) { |
| | | this.chapter001 = { ...Object.assign(this.chapter001, localData) }; |
| | | } |
| | | |
| | | this.chapter001.videOneUrl = getResourcePath( |
| | | "68ebd5c05bcb742999a9ebdce4b4bd53" |
| | | ); |
| | | this.chapter001.qustionData = await getQuestionData("1", testData[1]); |
| | | // this.chapter001.videOneUrl = getResourcePath("68ebd5c05bcb742999a9ebdce4b4bd53"); |
| | | // this.qustionData = await getQuestionData('1',testData[1]); |
| | | }, |
| | | methods: { |
| | | activityOne() { |