杨磊
2 天以前 97eb39caf61e8ea8f70776af267f6deed51720fe
src/books/aurturingAndEducationAged0to3/view/components/index.vue
@@ -9,10 +9,14 @@
      transformOrigin: 'center top',
    }">
      <pageHeader v-if="showCatalogList.indexOf(1) > -1" :showPageList="loadPageList"></pageHeader>
      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList"  :resourceList="resourceList"></chapterOne>
      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList"  :resourceList="resourceList"></chapterTwo>
      <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList"  :resourceList="resourceList"></chapterThree>
      <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList"  :resourceList="resourceList"></chapterFour>
      <chapterOne v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" :resourceList="resourceList">
      </chapterOne>
      <chapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" :resourceList="resourceList">
      </chapterTwo>
      <chapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :resourceList="resourceList">
      </chapterThree>
      <chapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" :resourceList="resourceList">
      </chapterFour>
      <chapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList"  ></chapterFive>
    </div>
  </div>
@@ -171,9 +175,9 @@
    }, 500);
    // 测试页面跳转
    setTimeout(() => {
      this.gotoPage(3, 29);
    }, 500);
    //setTimeout(() => {
    //   this.gotoPage(5, 252);
    //}, 500);
    // const pageDom = (this.container ? this.container : document)
    //   .querySelector("#app")