| | |
| | | showPageList: { |
| | | type: Array, |
| | | }, |
| | | resourceList: { |
| | | type: Object, |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | bookData: { |
| | | one: "", |
| | | }, |
| | | chapter001: { |
| | | videoMd5: [ |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[137], |
| | | handleMd5: "", |
| | | name: "指导幼儿正确刷牙", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[138], |
| | | handleMd5: "", |
| | | name: "指导幼儿正确洗手", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[159], |
| | | handleMd5: "", |
| | | name: "维生素D缺乏性佝偻病", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[168], |
| | | handleMd5: "", |
| | | name: "婴幼儿安全环境创设指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[170], |
| | | handleMd5: "", |
| | | name: "婴幼儿玩具科学投放指导(上)", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[171], |
| | | handleMd5: "", |
| | | name: "婴幼儿玩具科学投放指导(下)", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[175], |
| | | handleMd5: "", |
| | | name: "亲子阅读《好酸好酸的柠檬呀》", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[178], |
| | | handleMd5: "", |
| | | name: "“爬行”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[179], |
| | | handleMd5: "", |
| | | name: "“投掷”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[180], |
| | | handleMd5: "", |
| | | name: "“上、下楼梯”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[181], |
| | | handleMd5: "", |
| | | name: "“跳跃”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[182], |
| | | handleMd5: "", |
| | | name: "“踢球”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[183], |
| | | handleMd5: "", |
| | | name: "“跑动”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[185], |
| | | handleMd5: "", |
| | | name: "“搭积木”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[186], |
| | | handleMd5: "", |
| | | name: "“旋腕”亲子游戏指导", |
| | | }, |
| | | |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[187], |
| | | handleMd5: "", |
| | | name: "“三只捏”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[188], |
| | | handleMd5: "", |
| | | name: "“嵌塞”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[189], |
| | | handleMd5: "", |
| | | name: "“穿串珠”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[190], |
| | | handleMd5: "", |
| | | name: "“拧螺丝”亲子游戏指导", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[193], |
| | | handleMd5: "", |
| | | name: "幼儿认知游戏“空气娃娃”", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[195], |
| | | handleMd5: "", |
| | | name: "幼儿独立培养", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[200], |
| | | handleMd5: "", |
| | | name: "切鸡蛋", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[203], |
| | | handleMd5: "", |
| | | name: "学生校内实训早教课", |
| | | }, |
| | | { |
| | | isCollectVideo: false, |
| | | md5: this.resourceList[204], |
| | | handleMd5: "", |
| | | name: "亲子游戏“箱中取宝”", |
| | | }, |
| | | |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | }, |
| | | methods: { |
| | | async getVidoePath() { |
| | | this.videoPathOne = await getResourcePath( |
| | | "d056878ebe8cb0dbf323afa4f50ce59e" |
| | | ); |
| | | this.videoPathTwo = await getResourcePath( |
| | | "be2714f3c8679bbe0ff150b5443321a9" |
| | | ); |
| | | for (let index = 0; index < this.chapter001.videoMd5.length; index++) { |
| | | const item = this.chapter001.videoMd5[index]; |
| | | if (item.md5 && !item.md5.includes("https:")) { |
| | | item.handleMd5 = await getResourcePath(item.md5); |
| | | } |
| | | } |
| | | }, |
| | | setBookQuestion() { |
| | | localStorage.setItem( |
| | |
| | | this.unitQuestion.isShowAnswer = false; |
| | | }, |
| | | handleCollect(e) { |
| | | if (e == "video-01") { |
| | | if (e) { |
| | | this.handleCollectResource( |
| | | "d056878ebe8cb0dbf323afa4f50ce59e", |
| | | "d056878ebe8cb0dbf323afa4f50ce59e", |
| | | e.md5, |
| | | e.md5, |
| | | "", |
| | | "视频", |
| | | "bits", |
| | | "视频:孕期唐氏筛查" |
| | | "视频:" + e.md5, |
| | | ); |
| | | this.chapterData.isCollectVideo = !this.chapterData.isCollectVideo; |
| | | } else if (e == "video-02") { |
| | | this.handleCollectResource( |
| | | "be2714f3c8679bbe0ff150b5443321a9", |
| | | "be2714f3c8679bbe0ff150b5443321a9", |
| | | "", |
| | | "视频", |
| | | "bits", |
| | | "视频:孕期保健" |
| | | ); |
| | | this.chapterData.isCollectVideo01 = !this.chapterData.isCollectVideo01; |
| | | e.isCollectVideo = !e.isCollectVideo; |
| | | } |
| | | this.handleChapterData(); |
| | | }, |