| | |
| | | }, |
| | | showPageList:{ |
| | | type:Array |
| | | }, |
| | | isSearch:{ |
| | | type:Boolean, |
| | | default:false |
| | | } |
| | | }, |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | async mounted() { |
| | | const localData = localStorage.getItem("chapterTwoData"); |
| | | if(!this.isSearch) { |
| | | const localData = localStorage.getItem("chapterTwoData"); |
| | | if (localData) { |
| | | this.chapterTwoData = JSON.parse(localData); |
| | | } |
| | |
| | | } |
| | | }, 1000); |
| | | this.getVideoPath(); |
| | | } |
| | | }, |
| | | unmounted() { |
| | | if (window.timerTwo) { |
| | |
| | | this.$data.videoState = !this.$data.videoState; |
| | | } |
| | | }, |
| | | getVideoPath() { |
| | | this.$data.pathOne = getResourcePath("e2b2b610e8b77c82bad7cf94c7986646"); |
| | | this.$data.pathTwo = getResourcePath("b11b51863da2a4e7e21c73358fa96c1e"); |
| | | this.$data.pathThree = getResourcePath( |
| | | async getVideoPath() { |
| | | this.$data.pathOne = await getResourcePath("e2b2b610e8b77c82bad7cf94c7986646"); |
| | | this.$data.pathTwo = await getResourcePath("b11b51863da2a4e7e21c73358fa96c1e"); |
| | | this.$data.pathThree = await getResourcePath( |
| | | "67cf97bd8295dc3aeb46982c574df8d0" |
| | | ); |
| | | }, |