YM
2024-05-15 d3d71f644755f2396ce21b5027f0177a80ed89c9
src/books/childHealth/view/content/components/chapter003.vue
@@ -405,7 +405,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src="config.resourceCtx +  '/video/chapterThree/专题三:影响学前儿童心理发展的因素.mp4'"
              :src="pathOne"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -529,7 +529,7 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <examinations :cardList="questionData[3][64]" />
          <examinations :cardList="questionData[64]" />
          <!-- <span class="img">专题三 学习主题一</span> -->
        </p>
        <h2 class="module_block" id="b014">
@@ -808,7 +808,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src=" config.resourceCtx + ' /video/chapterThree/专题三:过度依赖.mp4'"
              :src="pathTwo"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -904,7 +904,7 @@
          <div class="right" style="width: 60%">
            <p class="center">
              <video
                :src=" config.resourceCtx + '/video/chapterThree/专题三:自慰.mp4'"
                :src="pathThree"
                poster="../../../assets/images/chapterTwo/people-video-img.png"
                webkit-playsinline="true"
                x-webkit-airplay="true"
@@ -958,7 +958,7 @@
        </h6>
        <p class="blockh6-c center">
          <!-- <span class="img">专题三 学习主题二</span> -->
          <examinations :cardList="questionData[3][73]" />
          <examinations :cardList="questionData[73]" />
        </p>
        <h2 class="module_block" id="b015">
          <div class="custom1">学习主题三</div>
@@ -1156,7 +1156,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src="config.resourceCtx + ' /video/chapterThree/专题三:言语及语言发育障碍.mp4'"
              :src="pathFour"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -1194,7 +1194,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src="config.resourceCtx + '/video/chapterThree/专题三:怎样发现孩子发育迟缓.mp4'"
              :src="pathFive"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -1291,7 +1291,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src="config.resourceCtx + '/video/chapterThree/专题三:儿童多动症.mp4'"
              :src="pathSix"
              poster="../../../assets/images/chapterTwo/people-video-img.png"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -1347,7 +1347,7 @@
        </h6>
        <p class="blockh6-c center">
          <!-- <span class="img">专题三 学习主题三</span> -->
          <examinations :cardList="questionData[3][78]" />
          <examinations :cardList="questionData[78]" />
        </p>
      </div>
    </div>
@@ -1471,9 +1471,9 @@
        <p class="blockh6-c">
          学习完本专题,你的学习效果如何呢?咱们一起来扫码测一测吧!<br />
          <span class="img">过关检测(资格考试模拟题)1</span><br />
          <examinations :cardList="questionData[3][801]" />
          <examinations :cardList="questionData[801]" />
          <span class="img">过关检测(资格考试模拟题)2</span>
          <examinations :cardList="questionData[3][802]" />
          <examinations :cardList="questionData[802]" />
        </p>
        <h6 class="Conclusion-title4">•学习反思•</h6>
        <p class="blockh6 m0-t0 fl fl-di fl-cn">
@@ -1501,6 +1501,9 @@
import evenHeaderVue from "../../components/pageHeader/evenHeader.vue";
import oddHeaderVue from "../../components/pageHeader/oddHeader.vue";
import examinations from "@/components/examinations/index.vue";
import getQuestionData from '@/assets/methods/examination'
import testData from '../../../assets/examinationList'
import getResourcePath from '@/assets/methods/resources'
export default {
  name: "chapterThree",
  components: { evenHeaderVue, oddHeaderVue,examinations },
@@ -1514,11 +1517,25 @@
      learnTableOne: true,
      learnTableTwo: true,
      learnTableThree: true,
      questionData:{}
      questionData:{},
      pathOne:'',
      pathTwo:'',
      pathThree:'',
      pathFour:'',
      pathFive:'',
      pathSix:'',
    };
  },
  mounted() {
    this.$data.questionData = this.$store.state.questionData
    this.$data.questionData = getQuestionData(testData[3])
    this.$data.questionData = getQuestionData(testData[1])
    this.$data.pathOne = getResourcePath('ca2a1ae9429a5f7a28fe9aa1bfbf3b4a')
    this.$data.pathTwo = getResourcePath('8fa9d6565b97c5975b1a0a7ef09d38a9')
    this.$data.pathThree = getResourcePath('56170fb1a0ea272990fe51530086aab1')
    this.$data.pathFour = getResourcePath('ae67fd7678656c0ce89599bd1949f993')
    this.$data.pathFive = getResourcePath('5aa431a223cdba0d30f1175a2ec3f308')
    this.$data.pathSix = getResourcePath('bc3af85cd899b20adf885c308c595fbb')
  },
  methods: {
    changeResources(type) {