YM
2024-05-27 3d27635c7ac693c461dd2ca01e8f5bebb1f0c642
src/books/lifeCare/view/chapter004.vue
@@ -1,5 +1,5 @@
<template>
  <div class="chapter">
  <div class="chapter" num="4">
    <div class="page-box" page="55">
      <div class="bodystyle topImg">
        <h2 id="b004">
@@ -1111,21 +1111,6 @@
        <h4 id="d042">
          ▶▶ 应用与实践<span class="fontsz1">>>>>>>>></span>
        </h4>
        <div class="tips-bk">
          <div class="bj-tip">
            云测试:单元四应用与实践<img
              src="../icons/sub.png"
              @click="activityThree"
              alt=""
            />
          </div>
          <div
            v-if="chapter004.idOpenThree && chapter004.qustionData[4]"
            class="tips-file"
          >
            <examinations :cardList="chapter004.qustionData[4]" />
          </div>
        </div>
        <p><br /></p>
        <!-- <p><br /></p>
        <div class="bk-sys">
@@ -1218,43 +1203,67 @@
        <p class="block">B.吞咽反射</p>
        <p class="block">C.吸吮反射</p>
        <p class="block">D.条件反射</p>
        <p>7.培养良好的二便习惯和生活方式有利于( <input
        <p>
          7.培养良好的二便习惯和生活方式有利于( <input
            v-model="chapter004.radio.text7"
            @blur="onRadioText()"
          /> )。</p>
          /> )。
        </p>
        <p class="block">A.提高婴幼儿动作的灵活性</p>
        <p class="block">B.提高婴幼儿的社会交往能力</p>
        <p class="block">C.提高婴幼儿机体的工作效率</p>
        <p class="block">D.促进婴幼儿的智力发展</p>
        <p>8.培养婴幼儿的二便习惯要( <input
        <p>
          8.培养婴幼儿的二便习惯要( <input
            v-model="chapter004.radio.text8"
            @blur="onRadioText()"
          /> )。</p>
          /> )。
        </p>
        <p class="block">A.抓准间隔时间提前提醒</p>
        <p class="block">B.提早训练</p>
        <p class="block">C.以家长的威严制服婴儿</p>
        <p class="block">D.用食物逗引婴儿</p>
        <p>9.婴幼儿二便后不正确的清洁方法是( <input
        <p>
          9.婴幼儿二便后不正确的清洁方法是( <input
            v-model="chapter004.radio.text9"
            @blur="onRadioText()"
          /> )。</p>
          /> )。
        </p>
        <p class="block">A.便后洗手</p>
        <p class="block">B.用温水洗屁股</p>
        <p class="block">C.便后便盆清洗消毒</p>
        <p class="block">D.女婴大便后一定要从后向前擦</p>
        <div class="tips-bk">
          <div class="bj-tip">
            云测试:单元四应用与实践<img
              src="../icons/sub.png"
              @click="activityThree"
              alt=""
            />
          </div>
          <div
            v-if="chapter004.idOpenThree && chapter004.qustionData[65]"
            class="tips-file"
          >
            <examinations
              :primaryColor="'#f49a4c'"
              :cardList="chapter004.qustionData[65]"
            />
          </div>
        </div>
      </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: "chapter004",
  components: {
    // examinations
    examinations,
  },
  data() {
    return {
@@ -1312,21 +1321,31 @@
      },
    };
  },
  created() {
  async created() {
    const localData = JSON.parse(localStorage.getItem("chapter004"));
    if (localData) {
      this.chapter004 = { ...Object.assign(this.chapter004, localData) };
    }
    // this.chapter004.videOneUrl = getResourcePath("c276be12bae3b1df0b3ce4aa01b14e1e");
    // this.chapter004.videoTwoUrl = getResourcePath("7eb7fe2e3c13885a96143110ca4f5654");
    // this.chapter004.videoFourUrl = getResourcePath("1b04691b60e5b5b207b3a4967c495d29");
    this.chapter004.videOneUrl = getResourcePath(
      "c276be12bae3b1df0b3ce4aa01b14e1e"
    );
    this.chapter004.videoTwoUrl = getResourcePath(
      "7eb7fe2e3c13885a96143110ca4f5654"
    );
    this.chapter004.videoFourUrl = getResourcePath(
      "1b04691b60e5b5b207b3a4967c495d29"
    );
    this.chapter004.videOneUrl =
      "https://jsek.bnuic.com/file/api/ApiDownload?md5=c276be12bae3b1df0b3ce4aa01b14e1e";
    this.chapter004.videoTwoUrl =
      "https://jsek.bnuic.com/file/api/ApiDownload?md5=7eb7fe2e3c13885a96143110ca4f5654";
    this.chapter004.videoFourUrl =
      "https://jsek.bnuic.com/file/api/ApiDownload?md5=1b04691b60e5b5b207b3a4967c495d29";
    // this.chapter004.qustionData = await getQuestionData("4",testData[4]);
    this.chapter004.qustionData = await getQuestionData(
      "4",
      testData[4],
      this.config.activeBook
    );
  },
  methods: {
    activityOne() {