| | |
| | | }, |
| | | showPageList:{ |
| | | type:Array |
| | | }, |
| | | isSearch:{ |
| | | type:Boolean, |
| | | default:false |
| | | } |
| | | }, |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | async mounted() { |
| | | const localData = localStorage.getItem("chapterThreeData"); |
| | | if(!this.isSearch) { |
| | | const localData = localStorage.getItem("chapterThreeData"); |
| | | if (localData) { |
| | | this.chapterThreeData = JSON.parse(localData); |
| | | } |
| | |
| | | } |
| | | }, 1000); |
| | | this.getVideoPath() |
| | | } |
| | | |
| | | }, |
| | | unmounted() { |
| | | if (window.timerThree) { |
| | |
| | | this.$data.videoState = !this.$data.videoState; |
| | | } |
| | | }, |
| | | getVideoPath() { |
| | | this.$data.pathOne = getResourcePath("ca2a1ae9429a5f7a28fe9aa1bfbf3b4a"); |
| | | this.$data.pathTwo = getResourcePath("8fa9d6565b97c5975b1a0a7ef09d38a9"); |
| | | this.$data.pathThree = getResourcePath( |
| | | async getVideoPath() { |
| | | this.$data.pathOne = await getResourcePath("ca2a1ae9429a5f7a28fe9aa1bfbf3b4a"); |
| | | this.$data.pathTwo = await getResourcePath("8fa9d6565b97c5975b1a0a7ef09d38a9"); |
| | | this.$data.pathThree = await getResourcePath( |
| | | "56170fb1a0ea272990fe51530086aab1" |
| | | ); |
| | | this.$data.pathFour = getResourcePath("ae67fd7678656c0ce89599bd1949f993"); |
| | | this.$data.pathFive = getResourcePath("5aa431a223cdba0d30f1175a2ec3f308"); |
| | | this.$data.pathSix = getResourcePath("bc3af85cd899b20adf885c308c595fbb"); |
| | | this.$data.pathFour = await getResourcePath("ae67fd7678656c0ce89599bd1949f993"); |
| | | this.$data.pathFive = await getResourcePath("5aa431a223cdba0d30f1175a2ec3f308"); |
| | | this.$data.pathSix = await getResourcePath("bc3af85cd899b20adf885c308c595fbb"); |
| | | }, |
| | | saveChapterOneData() { |
| | | this.saveTime = 20; |