闫增涛
2024-05-23 e5a42538eda99a4860bddc417e107ef230df8837
src/books/lifeCare/view/chapter003.vue
@@ -1,7 +1,7 @@
<template>
  <div class="page-content-box">
    <div class="page-box">
      <div class="bodystyle">
      <div class="bodystyle topImg">
        <h2 id="b003">
          <img class="img-0" alt="" src="../image/dy3.jpg" />
        </h2>
@@ -476,6 +476,7 @@
            placeholder="请输入内容"
            rows="3"
            maxlength="100"
            class="textareaInput"
            @blur="onBlurChange('text7')"
          ></textarea>
          <p class="left">1~2岁</p>
@@ -485,6 +486,7 @@
            placeholder="请输入内容"
            rows="3"
            maxlength="100"
            class="textareaInput"
            @blur="onBlurChange('text8')"
          ></textarea>
          <p class="left">2~3岁</p>
@@ -494,6 +496,7 @@
            placeholder="请输入内容"
            rows="3"
            maxlength="100"
            class="textareaInput"
            @blur="onBlurChange('text9')"
          ></textarea>
        </div>
@@ -1659,6 +1662,7 @@
            placeholder="请输入内容"
            rows="3"
            maxlength="100"
            class="textareaInput"
            @blur="onBlurChange('text32')"
          ></textarea>
          <p class="left">影响因素</p>
@@ -1668,6 +1672,7 @@
            placeholder="请输入内容"
            rows="3"
            maxlength="100"
            class="textareaInput"
            @blur="onBlurChange('text33')"
          ></textarea>
        </div>
@@ -2279,13 +2284,10 @@
            />
          </div>
          <div
            v-if="chapter003.idOpenThree && chapter003.qustionData[48]"
            v-if="chapter003.idOpenThree && chapter003.qustionData[3]"
            class="tips-file"
          >
            <examinations
              :primaryColor="'#f49a4c'"
              :cardList="chapter003.qustionData[48]"
            />
            <examinations :cardList="chapter003.qustionData[3]" />
          </div>
        </div>
        <!-- <div class="bk-sys">
@@ -2415,10 +2417,10 @@
  </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: "chapter003",
@@ -2805,9 +2807,9 @@
    };
  },
  components: {
    examinations,
    // examinations,
  },
  async created() {
  created() {
    const localData = JSON.parse(localStorage.getItem("chapter003"));
    if (localData) {
      this.chapter003 = { ...Object.assign(this.chapter003, localData) };
@@ -2845,7 +2847,7 @@
      "https://jsek.bnuic.com/file/api/ApiDownload?md5=eb604885f7c01cdf2d95df839c9c233a";
    this.chapter003.videoTevUrl =
      "https://jsek.bnuic.com/file/api/ApiDownload?md5=f12a50c2ac57da78ff02f3d5f430163b";
    this.chapter003.qustionData = await getQuestionData("3",testData[3]);
    // this.chapter003.qustionData = await getQuestionData("3",testData[3]);
  },
  methods: {
    activityOne() {