闫增涛
2024-05-15 8cdcb6b7950710cbcf701cb5149e1b2f949e1b0f
src/books/childHealth/view/content/components/chapter002.vue
@@ -1,5 +1,5 @@
<template>
  <div class="chapter-two">
  <div class="chapter" num="2">
    <div class="page-box padding-96">
      <p class="center" id="a008">
        <img
@@ -203,7 +203,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              src="http://182.92.203.7:3007/books/resource/1/video/chapterTwo/专题二:儿童各阶段的特点和保健要点.mp4"
              :src="config.resourceCtx + '/video/chapterTwo/专题二:儿童各阶段的特点和保健要点.mp4'"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -275,8 +275,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0058-1.jpg" /><br /> -->
          <span class="img">专题二 学习主题一</span>
          <examinations :cardList="questionData[2][46]" />
          <!-- <span class="img">专题二 学习主题一</span> -->
        </p>
        <h2 class="module_block" id="b011">
          <div class="custom1">学习主题二</div>
@@ -438,7 +438,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              src="http://182.92.203.7:3007/books/resource/1/video/chapterTwo/专题二:生长发育的“铁”规律.mp4"
              :src=" config.resourceCtx + '/video/chapterTwo/专题二:生长发育的“铁”规律.mp4'"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -572,7 +572,8 @@
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0062-1.jpg" /><br /> -->
          <span class="img">专题二 学习主题二</span>
          <!-- <span class="img">专题二 学习主题二</span> -->
          <examinations :cardList="questionData[2][49]" />
        </p>
        <p class="custom_tag"><b>•资料链接•</b></p>
        <div class="fieldset">
@@ -741,7 +742,7 @@
          </div>
          <div v-if="videoState">
            <video
              src="http://182.92.203.7:3007/books/resource/1/video/chapterTwo/专题二:影响儿童生长发育的因素.mp4"
              :src="config.resourceCtx + ' /video/chapterTwo/专题二:影响儿童生长发育的因素.mp4'"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -844,7 +845,8 @@
        </h6>
        <p class="blockh6-c center">
          <!-- <img class="img-g" alt="" src="image/0065-1.jpg" /><br /> -->
          <span class="img">专题二 学习主题三</span>
          <!-- <span class="img">专题二 学习主题三</span> -->
          <examinations :cardList="questionData[2][52]" />
        </p>
      </div>
    </div>
@@ -980,10 +982,10 @@
        </h6>
        <p class="blockh6-c">
          学习完本专题,你的学习效果如何呢?咱们一起来扫码测一测吧!<br />
          <!-- <img class="img-g" alt="" src="image/0067-1.jpg" /><br /> -->
          <span class="img">过关检测(资格考试模拟题)1</span><br />
          <!-- <img class="img-g" alt="" src="image/0067-2.jpg" /><br /> -->
          <examinations :cardList="questionData[2][541]" />
          <span class="img">过关检测(资格考试模拟题)2</span>
          <examinations :cardList="questionData[2][542]" />
        </p>
        <h6 class="Conclusion-title4">•学习反思•</h6>
        <p class="blockh6 m0-t0 fl fl-di fl-cn">
@@ -998,11 +1000,13 @@
</template>
<script>
import evenHeaderVue from '../../components/examinations/pageHeader/evenHeader.vue';
import oddHeaderVue from '../../components/examinations/pageHeader/oddHeader.vue';
import evenHeaderVue from '../../components/pageHeader/evenHeader.vue';
import oddHeaderVue from '../../components/pageHeader/oddHeader.vue';
import examinations from "@/components/examinations/index.vue";
import {mapState} from 'vuex'
export default {
  name: "chapterTwo",
  components:{evenHeaderVue,oddHeaderVue},
  components:{evenHeaderVue,oddHeaderVue,examinations},
  data() {
    return {
      taskOne: require("../../../assets/images/chapterTwo/task-sheet1.png"),
@@ -1015,8 +1019,13 @@
      learnTableOne: true,
      learnTableTwo: true,
      learnTableThree: true,
      questionData:{}
    };
  },
  mounted() {
    this.$data.questionData = this.$store.state.questionData
  },
  methods: {
    changeResources(type) {
      if (type == "learnTableOne") {