unknown
2024-06-05 c3a97e9da90ab1a34f766acd35944d295cc5a6bf
src/books/childHealth/view/content/components/chapter010.vue
@@ -45,12 +45,8 @@
            />
            专题导学
          </h6>
          <p class="blockh6 m0-t0">
            <el-image
              :src="learn"
              :preview-src-list="[learn]"
              class="open-image"
            />
          <p class="blockh6 m0-t0 openImgBox">
            <img src="../../../assets/images/chapterTen/0270-1.jpg" class="w100">
          </p>
        </div>
      </div>
@@ -337,12 +333,8 @@
            表10-1 全日制幼儿园各项用房使用面积和建筑面积一览表<a id="w1"></a
            ><a href="chapter010.html#m1"><sup>[1]</sup></a>
          </p>
          <p class="center">
            <el-image
              :src="tableOne"
              :preview-src-list="[tableOne]"
              class="open-image"
            />
          <p class="center openImgBox">
            <img src="../../../assets/images/chapterTen/0272-1.jpg" class="w100">
          </p>
          <p>
            幼儿园的生活用房应由幼儿生活单元、公共活动空间和多功能活动室组成。公共活动空间可根据需要设置。生活用房是园内的主体建筑,它包括活动室、卧室、卫生间等。一般将小班、中班安排在低层,大班安排在高层,音体活动室可安排在较高层次。生活用房应朝南,日照充分,通风良好。
@@ -455,12 +447,8 @@
            活动室和寝室合并设置采用面积指标低限。人均使用面积为3.5平方米,每班使用面积105平方米。分开设置采用面积指标高限。活动室人均使用面积为2.4平方米,每班使用面积72平方米。活动室的室内净高参见表10-2。
          </p>
          <p class="img">表10-2 幼儿园主要建筑的室内净高</p>
          <p class="center">
            <el-image
              :src="tableTwo"
              :preview-src-list="[tableTwo]"
              class="open-image"
            />
          <p class="center openImgBox">
            <img src="../../../assets/images/chapterTen/0274-1.jpg" class="w100">
          </p>
          <p>
            活动室的窗应向南,不应向北或向西,最好是双面采光。窗高(内地面至窗上缘高)不低于2.8米。为使儿童能在室内向外远眺,窗台距地面的高度应为50~60厘米。楼层无室外阳台时,应设护栏,距地面1.30米内不应设平开窗。活动室净高不低于3.3米。地面应铺木地板,保温、防潮,便于打扫,且防止儿童摔伤。室内噪声声级不应大于50分贝。
@@ -741,6 +729,7 @@
          <p class="blockh6-c">
            <span class="img center dl-bl w100">专题十 学习主题一</span>
            <examinations
            v-if="questionData && questionData[275]"
              :cardList="questionData[275]"
              :chapter="10"
              :page="267"
@@ -1186,6 +1175,7 @@
          <p class="blockh6-c">
            <span class="img center dl-bl w100">专题十 学习主题二</span>
            <examinations
            v-if="questionData && questionData[280]"
              :cardList="questionData[280]"
              :chapter="10"
              :page="272"
@@ -1330,6 +1320,7 @@
            学习完本专题,你的学习效果如何呢?咱们一起来扫码测一测吧!<br />
            <span class="img">过关检测(资格考试模拟题)1</span><br />
            <examinations
            v-if="questionData && questionData[281][1]"
              :cardList="questionData[281][1]"
              :chapter="10"
              :page="2731"
@@ -1337,6 +1328,7 @@
            <span class="span-border"></span>
            <span class="img mt-20 dl-bl">过关检测(资格考试模拟题)2</span>
            <examinations
            v-if="questionData && questionData[281][2]"
              :cardList="questionData[281][2]"
              :chapter="10"
              :page="2732"
@@ -1361,7 +1353,7 @@
<script>
import examinations from "@/components/examinations/index.vue";
import getResourcePath from "@/assets/methods/resources";
import {getResourcePath} from "@/assets/methods/resources";
export default {
  name: "chapterTen",
  components: { examinations },
@@ -1372,14 +1364,13 @@
    showPageList: {
      type: Array,
    },
    isSearch: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      learn: require("../../../assets/images/chapterTen/0270-1.jpg"),
      taskOne: require("../../../assets/images/chapterTen/task-sheet1.png"),
      taskTwo: require("../../../assets/images/chapterTen/task-sheet2.png"),
      tableOne: require("../../../assets/images/chapterTen/0272-1.jpg"),
      tableTwo: require("../../../assets/images/chapterTen/0274-1.jpg"),
      learnTableOne: true,
      learnTableTwo: true,
      learnTableThree: true,
@@ -1439,17 +1430,19 @@
    };
  },
  async mounted() {
    const localData = localStorage.getItem("chapterTenData");
    if (localData) {
      this.chapterTenData = JSON.parse(localData);
    }
    window.timerTen = setInterval(() => {
      this.saveTime--;
      if (this.saveTime == 0) {
        this.saveChapterOneData();
    if(!this.isSearch) {
      const localData = localStorage.getItem("chapterTenData");
      if (localData) {
        this.chapterTenData = JSON.parse(localData);
      }
    }, 1000);
    this.getVideoPath();
      window.timerTen = setInterval(() => {
        this.saveTime--;
        if (this.saveTime == 0) {
          this.saveChapterOneData();
        }
      }, 1000);
      this.getVideoPath();
    }
  },
  unmounted() {
    if (window.timerTen) {
@@ -1478,9 +1471,9 @@
        JSON.stringify(this.chapterTenData)
      );
    },
    getVideoPath() {
      this.$data.pathOne = getResourcePath("3f507f73eb9d8c2af4dfcfb032ae696e");
      this.$data.pathTwo = getResourcePath("93d4edcc8ef4f947ebfb0cee38ccaa71");
   async getVideoPath() {
      this.$data.pathOne = await getResourcePath("3f507f73eb9d8c2af4dfcfb032ae696e");
      this.$data.pathTwo = await getResourcePath("93d4edcc8ef4f947ebfb0cee38ccaa71");
    },
  },
};