From 39f4904b1532acfa68eab45d0acbb3217060ecf5 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 07 六月 2024 18:31:31 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/sportsAndHealth/index.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/books/sportsAndHealth/index.vue b/src/books/sportsAndHealth/index.vue index 375480f..5c4e9a4 100644 --- a/src/books/sportsAndHealth/index.vue +++ b/src/books/sportsAndHealth/index.vue @@ -17,22 +17,26 @@ 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 v-if="showCatalogList.indexOf(4) > -1" :showPageList="loadPageList" :questionData="questionData" + :isSearch="isSearch" /> <ChapterFour v-if="showCatalogList.indexOf(5) > -1" :showPageList="loadPageList" :questionData="questionData" + :isSearch="isSearch" /> <!-- <ChapterFive v-if="showCatalogList.indexOf(6) > -1" @@ -133,7 +137,7 @@ export default { data() { return { - catalogLength: 19, // 鎬荤珷鑺傛暟 + catalogLength: 5, // 鎬荤珷鑺傛暟 showCatalogList: [], // 鏄剧ず鐨勭珷鑺� loadThreshold: 300, // 瑙﹀彂鍔犺浇闃堝�� throttleThreshold: 100, // 鑺傛祦闃堝�� @@ -144,6 +148,7 @@ loadPageList: [], questionData: {}, renderSignMap: {}, + isSearch: false, }; }, computed: { @@ -189,7 +194,7 @@ }, mounted() { // 榛樿鍔犺浇绔犺妭 - this.showCatalogList = [5]; + this.showCatalogList = [1]; // 婊氬姩鐩戝惉鑺傛祦 this.throttledScrollHandler = _.throttle( this.scrollFun, -- Gitblit v1.9.1