闫增涛
2024-05-15 8cdcb6b7950710cbcf701cb5149e1b2f949e1b0f
src/books/childHealth/view/content/components/chapter001.vue
@@ -236,8 +236,8 @@
            <examinations
            v-if="testOne"
              ref="examinationOne"
              :productLinkPath="productLinkPath"
            ></examinations>
              :cardList="questionData[1][2]"
            />
        </p>
        <h2 class="module_block" id="b001" style="margin: 0">
          <div class="custom1">学习主题一</div>
@@ -508,7 +508,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <span class="img">专题一 学习主题一</span>
          <examinations :cardList="questionData[1][6]" />
          <!-- <span class="img">专题一 学习主题一</span> -->
        </p>
        <h4 id="d008">(五)注意保护好关节和韧带</h4>
        <p class="lh2">
@@ -720,7 +721,7 @@
          </div>
          <div class="right" style="width: 60%">
            <video
              :src="config.resourceCtx + '/video/chapterOne/breathing-video.mp4'"
              :src="pathOne"
              poster="../../../assets/images/chapterOne/people-video-img.jpg"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -834,8 +835,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0022-1.jpg" /><br /> -->
          <span class="img">专题一 学习主题二</span>
          <examinations :cardList="questionData[1][9]" />
          <!-- <span class="img">专题一 学习主题二</span> -->
        </p>
        <h4 id="d015">(五)保护声带</h4>
        <p class="lh2">选择适合学前儿童音域特点的歌曲或朗读材料,每次唱歌或朗读的时间不宜过长(最多5分钟),更不能高声喊叫,以防声带充血、肿胀、变厚,造成声音嘶哑。练习发声的</p>
@@ -1026,7 +1027,7 @@
          </div>
          <div class="right" style="width: 65%">
            <video
              :src="config.resourceCtx + '/video/chapterOne/blood-video.mp4'"
              :src="pathThree"
              poster="../../../assets/images/chapterOne/people-video-img.jpg"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -1176,8 +1177,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0032-1.jpg" /><br /> -->
          <span class="img">专题一 学习主题四</span>
          <examinations :cardList="questionData[1][14]" />
          <!-- <span class="img">专题一 学习主题三</span> -->
        </p>
        <h2 class="module_block" id="b004">
          <div class="custom1">学习主题四</div>
@@ -1358,7 +1359,7 @@
          </div>
          <div class="right" style="width: 65%">
            <video
              :src=" config.resourceCtx + '/video/chapterOne/teeth.mp4'"
              :src="pathFour"
              poster="../../../assets/images/chapterOne/people-video-img.jpg"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -1516,7 +1517,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <span class="img">专题一 学习主题四</span>
          <examinations :cardList="questionData[1][19]" />
          <!-- <span class="img">专题一 学习主题四</span> -->
        </p>
        <p class="custom_tag"><b>•资料链接•</b></p>
        <div class="fieldset">
@@ -1951,7 +1953,8 @@
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0036-3.jpg" /><br /> -->
          <span class="img">专题一 学习主题五、学习主题六</span>
          <!-- <span class="img">专题一 学习主题五、学习主题六</span> -->
          <examinations :cardList="questionData[1][24]" />
        </p>
        <p class="custom_tag"><b>•资料链接•</b></p>
        <div class="fieldset">
@@ -2197,7 +2200,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <span class="img">专题一 学习主题七</span>
          <!-- <span class="img">专题一 学习主题七</span> -->
          <examinations :cardList="questionData[1][26]" />
        </p>
        <h2 class="module_block" id="b008">
          <div class="custom1">学习主题八</div>
@@ -2536,7 +2540,8 @@
          云测试
        </h6>
        <p class="blockh6-c">
          <span class="img">专题一 学习主题八</span>
          <!-- <span class="img">专题一 学习主题八</span> -->
          <examinations :cardList="questionData[1][31]" />
        </p>
        <h4 id="d065">(六)安排丰富的活动及适当的体育锻炼</h4>
        <p>
@@ -2731,8 +2736,9 @@
            </p>
          </div>
          <div class="right" style="width: 60%">
            <!-- config.resourceCtx + '/video/chapterOne/专题一:学前儿童眼睛的生理特点与保健.mp4' -->
            <video
              :src=" config.resourceCtx + '/video/chapterOne/专题一:学前儿童眼睛的生理特点与保健.mp4'"
              :src="pathTwo"
              poster="../../../assets/images/chapterOne/people-video-img.jpg"
              webkit-playsinline="true"
              x-webkit-airplay="true"
@@ -3132,7 +3138,8 @@
        </h6>
        <p class="blockh6-c">
          <!-- <img class="img-g" alt="" src="image/0053-1.jpg" /><br /> -->
          <span class="img">专题一 学习主题九</span>
          <!-- <span class="img">专题一 学习主题九</span> -->
          <examinations :cardList="questionData[1][40]" />
        </p>
        <h6 class="Conclusion-title4">专题小结</h6>
        <p class="blockh6">
@@ -3296,10 +3303,10 @@
        </h6>
        <p class="blockh6-c">
          学习完本专题,你的学习效果如何呢?咱们一起来扫码测一测吧!<br />
          <!-- <img class="img-g" alt="" src="image/0054-1.jpg" /><br /> -->
          <span class="img">过关检测(资格考试模拟题)1</span><br />
          <!-- <img class="img-g" alt="" src="image/0054-2.jpg" /><br /> -->
          <examinations :cardList="questionData[1][421]" />
          <span class="img">过关检测(资格考试模拟题)2</span>
          <examinations :cardList="questionData[1][422]" />
        </p>
        <h6 class="Conclusion-title4">•学习反思•</h6>
        <p class="blockh6 fl fl-di fl-cn" style="text-indent: 0">
@@ -3332,6 +3339,7 @@
import examinations from "@/components/examinations/index.vue";
import evenHeaderVue from '../../components/pageHeader/evenHeader.vue';
import oddHeaderVue from '../../components/pageHeader/oddHeader.vue';
import getResourcePath from '@/assets/methods/resources'
export default {
  name: "chapter-one",
  components: { examinations,evenHeaderVue,oddHeaderVue },
@@ -3360,36 +3368,6 @@
        require("../../../assets/images/chapterOne/posture-01.png"),
        require("../../../assets/images/chapterOne/posture-02.png"),
        require("../../../assets/images/chapterOne/posture-03.png"),
      ],
      questionList: [
        {
          analysisCon: "详见教材P3。",
          answer: "A",
          difficulty: 0,
          id: 47459,
          isCollect: false,
          isComplete: false,
          isRight: null,
          isUnfold: "",
          isUserAnswer: false,
          number: 1,
          option: [
            { index: "6595", txt: "德鲁克", value: "A", img: "" },
            { index: "6660", txt: "泰勒", value: "B", img: "" },
            { index: "803B", txt: "法约尔", value: "C", img: "" },
            { index: "9887", txt: "西蒙", value: "D", img: "" },
          ],
          optionStyle: "Txt",
          questionType: "singleChoice",
          score: 2,
          stem: {
            stemTxt:
              "1. 首次提出“管理学”概念,认为“管理是一门科学”且“管理是一种实践”的是(    )。",
          },
          stemStyle: "Txt",
          type: "单选题",
          userAnswer: "",
        },
      ],
      resourceState: "",
      type: "option",
@@ -3434,10 +3412,21 @@
      learnTableSix:true,
      learnTableSeven:true,
      learnTableEight:true,
      learnTableNine:true
      learnTableNine:true,
      questionData:{},
      pathOne:'',
      pathTWo:'',
      pathThree:'',
      pathFour:'',
    };
  },
  mounted() {},
  mounted() {
    this.$data.questionData = this.$store.state.questionData
    this.$data.pathOne = getResourcePath('f6f6588a75086576b87bed2fb9ca1ec1')
    this.$data.pathTwo = getResourcePath('e5993b62684fe55d13190cfe52bf00ed')
    this.$data.pathThree = getResourcePath('6b6d42213aa85aa5ff7724aaf96ffee6')
    this.$data.pathFour = getResourcePath('17fb1555f98c8fceabce5ff75077af58')
  },
  methods: {
    changeResources(type) {
      if (type == "learnTbaleOne") {