| | |
| | | v-if="showCatalogList.indexOf(6) > -1" |
| | | :showPageList="loadPageList" |
| | | :questionData="questionData" |
| | | @Upload_initViewer="changeDomViewer" |
| | | /> |
| | | <chapterSix |
| | | v-if="showCatalogList.indexOf(7) > -1" |
| | |
| | | :showPageList="loadPageList" |
| | | :questionData="questionData" |
| | | @eventSwdt="swdtChange" |
| | | @Upload_initViewer="changeDomViewer" |
| | | /> |
| | | <chapterEight |
| | | v-if="showCatalogList.indexOf(9) > -1" |
| | |
| | | // }, 1000); |
| | | }, |
| | | methods: { |
| | | changeDomViewer(){ |
| | | setTimeout(() => { |
| | | this.initViewer() |
| | | }, 500); |
| | | }, |
| | | // 滚动监听 |
| | | scrollFun(event) { |
| | | // 判断向上滚动还是向下滚动 |
| | |
| | | if (type == "3") { |
| | | that.chapter005.pictrueListThree.push(getPublicImage(e)); |
| | | } |
| | | that.isLoding = false; |
| | | localStorage.setItem("chapter005", JSON.stringify(this.chapter005)); |
| | | that.$emit('Upload_initViewer',"") |
| | | localStorage.setItem("chapter005", JSON.stringify(that.chapter005)); |
| | | }, 1000); |
| | | }) |
| | | .catch((e) => { |
| | |
| | | that.chapter007.pictrueListFour.push(getPublicImage(e)); |
| | | } |
| | | that.isLoding = false; |
| | | this.$emit('Upload_initViewer',"") |
| | | localStorage.setItem("chapter007", JSON.stringify(this.chapter007)); |
| | | }, 1000); |
| | | }) |