unknown
2024-05-31 9f4ab1c39c70c93eff25803a5afde58ea6fcdedb
优化
5个文件已修改
32 ■■■■■ 已修改文件
src/books/lifeCare/css/default.less 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/view/chapter007.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/view/chapter010.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/view/front001.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/lifeCare/css/default.less
@@ -28,6 +28,7 @@
    text-indent: 2em;
    max-width: 630px;
    min-height: 100px;
    font-size: 16px;
  }
  .coverImg {
@@ -440,6 +441,10 @@
        overflow: hidden;
        white-space: pre-line;
        input {
          font-size: 14px;
        }
        textarea {
          width: 100%;
          min-height: 20px;
@@ -563,9 +568,8 @@
      }
      .btnUpload {
        width: 60px;
        height: 60px;
        border: 2px dashed #f49a4c;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
@@ -1100,7 +1104,7 @@
    }
    .imz {
      width: 96%;
      width: 100%;
      text-align: center;
    }
src/books/lifeCare/index.vue
@@ -186,7 +186,7 @@
  },
  mounted() {
    // 默认加载章节
    this.showCatalogList = [8];
    this.showCatalogList = [1];
    // 滚动监听节流
    this.throttledScrollHandler = _.throttle(
      this.scrollFun,
src/books/lifeCare/view/chapter007.vue
@@ -2234,8 +2234,8 @@
                    :style="{
                      width:
                        index == chapter007.headersData173.length - 1
                          ? '300px'
                          : '',
                          ? '350px'
                          : index == 0?'60px':'',
                    }"
                    v-for="(header, index) in chapter007.headersData173"
                    :key="index"
@@ -2899,6 +2899,11 @@
      this.$set(this.chapter007.tableData161[rowIndex], cellIndex, value);
      localStorage.setItem("chapter007", JSON.stringify(this.chapter007));
    },
    updateCell173(rowIndex, cellIndex, value) {
      // 更新单元格数据
      this.$set(this.chapter007.tableData173[rowIndex], cellIndex, value);
      localStorage.setItem("chapter007", JSON.stringify(this.chapter007));
    },
    onBlurChange() {
      localStorage.setItem("chapter007", JSON.stringify(this.chapter007));
    },
src/books/lifeCare/view/chapter010.vue
@@ -406,9 +406,6 @@
          </div>
        </div>
        <div class="bodystyle">
          <p class="center openImgBox">
            <img class="img-a" alt="" src="../image/0168-1.jpg" />
          </p>
          <h4 class="h4-zt" id="d099">(二)合理的一日生活的意义</h4>
          <h5 class="h5-zt" id="e089">1.促进婴幼儿养成良好的习惯</h5>
          <p>
src/books/lifeCare/view/front001.vue
@@ -12,7 +12,7 @@
    <div class="page-box" page="2">
      <div v-if="showPageList.indexOf(2) > -1">
        <div class="bodystyle">
          <p class="center">
          <p class="center coverImg">
            <img alt="" class="imz" src="../image/SMY.jpg" />
          </p>
        </div>
@@ -215,9 +215,9 @@
    <div class="page-box" page="9">
      <div v-if="showPageList.indexOf(9) > -1">
        <div class="bodystyle">
          <h1 id="a007">
          <p class="center coverImg">
            <img class="imz" alt="" src="../image/0011-1.jpg" />
          </h1>
          </p>
        </div>
      </div>
    </div>