From cc7bbbd9b6a859235c9985cc09836effc1157fe8 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 10:51:38 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/index.vue | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/books/sportsAndHealth/index.vue b/src/books/sportsAndHealth/index.vue index b01a85c..5c4e9a4 100644 --- a/src/books/sportsAndHealth/index.vue +++ b/src/books/sportsAndHealth/index.vue @@ -17,23 +17,27 @@ v-if="showCatalogList.indexOf(2) > -1" :showPageList="loadPageList" :questionData="questionData" + :isSearch="isSearch" /> <ChapterTwo v-if="showCatalogList.indexOf(3) > -1" :showPageList="loadPageList" :questionData="questionData" @eventPublic="swdtChange" + :isSearch="isSearch" /> - <!-- <ChapterThree + <ChapterThree v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :questionData="questionData" - /> --> - <!-- <ChapterFour + :isSearch="isSearch" + /> + <ChapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" :questionData="questionData" - /> --> + :isSearch="isSearch" + /> <!-- <ChapterFive v-if="showCatalogList.indexOf(6) > -1" :showPageList="loadPageList" @@ -104,6 +108,8 @@ import front001 from "./view/front001"; import ChapterOne from "./view/chapter001"; import ChapterTwo from "./view/chapter002"; +import ChapterThree from "./view/testDynaicTable"; +import ChapterFour from "./view/testPp"; // import ChapterThree from "./view/chapter003"; // import ChapterFour from "./view/chapter004"; // import ChapterFive from "./view/chapter005"; @@ -131,7 +137,7 @@ export default { data() { return { - catalogLength: 19, // 鎬荤珷鑺傛暟 + catalogLength: 5, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -142,6 +148,7 @@ loadPageList: [], questionData: {}, renderSignMap: {}, + isSearch: false, }; }, computed: { @@ -187,7 +194,7 @@ }, mounted() { // 榛樿鍔犺浇绔犺妭 - this.showCatalogList = [2]; + this.showCatalogList = [1]; // 婊氬姩鐩戝惉鑺傛祦 this.throttledScrollHandler = _.throttle( this.scrollFun, @@ -775,8 +782,8 @@ front001, ChapterOne, ChapterTwo, - // ChapterThree, - // ChapterFour, + ChapterThree, + ChapterFour, // ChapterFive, // chapterSix, // chapterSeven, -- Gitblit v1.9.1