Commit 40bf7fda authored by wangwei's avatar wangwei

调整

parent 53114eb1
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style></style><link href=/static/css/app.b6828e6a32dc0bb3cc073db8e99a595e.css rel=stylesheet></head><body><div id=app></div><script src=http://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.2726f996debee2fd6cf0.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.e09fbce75dcfea257ec2.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style></style><link href=/static/css/app.a0add60409278adc09eb4abde521ea49.css rel=stylesheet></head><body><div id=app></div><script src=http://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.a82fee4d304f29920226.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.e09fbce75dcfea257ec2.js></script></body></html>
\ No newline at end of file
webpackJsonp([8],{nikG:function(t,o){},v9XT:function(t,o,s){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=s("CCn6"),n=s("Jmy5"),e=s("Au9i"),a={name:"lesson",data:function(){var t=this.$route.query;return{periods_id:t.periods_id,category_id:t.category_id,parent_category_id:t.parent_category_id,type:t.type,radioLenth:0,showFinish:!1,showObj:null,watch_list:[],lessonList:null,playAudioType:!1,timeCheck:0,id:0,lookAudioType:!0,audioLeft:0,playVideoType:!0,nowLesson:null,userDetail:null,timeLong:Date.parse(new Date),mouldUrl:{look1:n.b,radio1:n.f,play1:n.e,show1:n.i,refueling1:n.g}}},mounted:function(){this.initPage()},methods:{playLook1Audio:function(){this.$refs.lookAudio.play(),this.lookAudioType=!1},stopLook1Audio:function(){this.$refs.lookAudio.pause(),this.lookAudioType=!0},timeS:function(){var t=this;this.timeCheck>0&&(this.timeCheck--,setTimeout(function(){t.timeS()},1e3))},initPage:function(){var t=this;Object(i.j)().then(function(o){t.userDetail=o}),Object(i.d)(this.periods_id,this.category_id).then(function(o){t.lessonList=JSON.parse(o.content),t.id=o.id,t.watch_list=o.watch_list,t.nowLesson=t.lessonList.find(function(o){return o.key===t.type}),t.watch_list.find(function(t){return 1===t.page_id})||(t.timeCheck=t.nowLesson.content.timeLang,t.timeS()),Object(i.m)({api_list:"chooseImage,previewImage,uploadImage,downloadImage,getLocalImgData,onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList})})})},playJiayou:function(){this.$refs.jiayouAudio.paused?this.$refs.jiayouAudio.play():this.$refs.jiayouAudio.pause()},playVideo:function(){this.playVideoType=!1,this.$refs.video.play()},aRadio:function(){this.radioLenth<this.nowLesson.content.radio.length-1?(this.radioLenth++,this.playAudioType=!1,this.audioLeft=0):Object(e.Toast)("已是最后一个")},dRadio:function(){this.radioLenth>0?(this.radioLenth--,this.playAudioType=!1,this.audioLeft=0):Object(e.Toast)("已是第一个")},playAudio:function(){this.$refs.audio.play(),this.playAudioType=!0},chooseImage:function(){wx.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){t.localIds;console.log(t)}})},updateTime:function(t){var o=t.target.currentTime/t.target.duration*72.5333333;this.audioLeft=o+"vw",t.target.currentTime===t.target.duration&&(this.playAudioType=!1)},stopAudio:function(){this.$refs.audio.pause(),this.playAudioType=!1},chooseRadio:function(){wx.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){}})},subLog:function(t){var o=this;Object(i.l)().then(function(t){o.showObj=t,o.showFinish=!0})},goNext:function(t,o){var s=this,n=Date.parse(new Date)-this.timeLong,e=0;"look1"===this.nowLesson.key?e=1:"play1"===this.nowLesson.key||"radio1"===this.nowLesson.key&&0===this.nowLesson.content.titleType?e=2:"show1"===this.nowLesson.key?e=3:("refueling1"===this.nowLesson.key||"radio1"===this.nowLesson.key&&1===this.nowLesson.content.titleType)&&(e=4);var a={page_type:0,page_id:e,stay_time:n/1e3};Object(i.p)(this.id,this.category_id,this.periods_id,a).then(function(t){s.timeLong+=n}),this.nowLesson=this.lessonList[t],console.log(this.nowLesson)},backToList:function(){var t={periods_id:this.periods_id,parent_category_id:this.parent_category_id};this.$router.push({name:"map",query:t})}}},l={render:function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",{staticClass:"lesson"},[s("transition",{attrs:{name:"fade"}},[t.nowLesson&&"look1"===t.nowLesson.key?s("div",{staticClass:"look1",style:{backgroundImage:"url("+t.mouldUrl.look1.bg+")"}},[s("div",{staticClass:"content"},[s("img",{staticClass:"reqiqiu",attrs:{src:t.mouldUrl.look1.reqiqiu}}),t._v(" "),s("img",{staticClass:"qiqiu",attrs:{src:t.mouldUrl.look1.qiqiu}}),t._v(" "),s("img",{staticClass:"feiji",attrs:{src:t.mouldUrl.look1.feiji}}),t._v(" "),s("div",{staticClass:"title"},[s("img",{attrs:{src:t.mouldUrl.look1.title1}})]),t._v(" "),t.nowLesson.content.radio.length>0?s("audio",{ref:"lookAudio",attrs:{src:t.nowLesson.content.radio[0].url,autoplay:""},on:{ended:function(o){t.lookAudioType=!0},play:function(o){t.lookAudioType=!1}}}):t._e(),t._v(" "),s("div",{staticClass:"radio"},[s("img",{staticClass:"r1",attrs:{src:t.mouldUrl.look1.r1}}),t._v(" "),t.lookAudioType?s("img",{staticClass:"r2",attrs:{src:t.mouldUrl.look1.r2}}):t._e(),t._v(" "),t.lookAudioType?t._e():s("img",{staticClass:"r2",attrs:{src:t.mouldUrl.look1.playing}}),t._v(" "),s("img",{staticClass:"r3",attrs:{src:t.mouldUrl.look1.r3}}),t._v(" "),t.lookAudioType?s("img",{staticClass:"rp",attrs:{src:t.mouldUrl.look1.rp},on:{click:t.playLook1Audio}}):t._e(),t._v(" "),t.lookAudioType?t._e():s("img",{staticClass:"rs",attrs:{src:t.mouldUrl.look1.rs},on:{click:t.stopLook1Audio}})]),t._v(" "),s("div",{staticClass:"today-block"},[s("img",{attrs:{src:t.mouldUrl.look1.tadayBg}}),t._v(" "),s("div",{staticClass:"today-text"},[s("div",{staticClass:"zhanwei1"}),t._v(" "),s("div",{staticClass:"zhanwei2"}),t._v(" "),s("div",{staticClass:"zhanwei3"}),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.nowLesson.content.today)}})])]),t._v(" "),s("div",{staticClass:"title2-block"},[s("img",{staticClass:"title2",attrs:{src:t.mouldUrl.look1.title2}}),t._v(" "),s("div",{staticClass:"directory-text"},[s("div",{domProps:{innerHTML:t._s(t.nowLesson.content.directory)}})])])]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.look1.bank},on:{click:function(o){t.backToList()}}}),t._v(" "),-1!==t.nowLesson.content.nextIndex?s("img",{attrs:{src:t.mouldUrl.look1.go},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex,t.nowLesson.content.timeLang)}}}):t._e(),t._v(" "),t.timeCheck>0?s("div",{staticClass:"time-check"},[t._v(t._s(t.timeCheck))]):t._e()])]):t._e()]),t._v(" "),s("transition",{attrs:{name:"fade"}},[t.nowLesson&&"play1"===t.nowLesson.key?s("div",{staticClass:"play1",style:{backgroundImage:"url("+t.mouldUrl.play1.bg+")"}},[s("div",{staticClass:"bg-block"},[s("div",{staticClass:"video-block"},[t.playVideoType?s("div",{staticClass:"icon-class"},[s("img",{attrs:{src:t.mouldUrl.play1.play},on:{click:function(o){t.playVideo()}}})]):t._e(),t._v(" "),t.nowLesson.content.videoUrl.length>0?s("video",{ref:"video",attrs:{preload:"auto","x5-video-player-type":"h5",controls:!t.playVideoType,controlsList:"nodownload",poster:t.nowLesson.content.banner[0]?t.nowLesson.content.banner[0].url:"",src:t.nowLesson.content.videoUrl[0].url}}):t._e()]),t._v(" "),t.nowLesson.content.tabRadio.type?s("img",{staticClass:"radio-img",attrs:{src:t.mouldUrl.play1.radio},on:{click:function(o){t.goNext(t.nowLesson.content.tabRadio.index)}}}):t._e(),t._v(" "),s("img",{staticClass:"btn back",attrs:{src:t.mouldUrl.play1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{staticClass:"btn next",attrs:{src:t.mouldUrl.play1.next},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})])]):t._e()]),t._v(" "),s("transition",{attrs:{name:"fade"}},[t.nowLesson&&"radio1"===t.nowLesson.key?s("div",{staticClass:"radio1",style:{backgroundImage:"url("+(0===t.nowLesson.content.titleType?t.mouldUrl.radio1.bg:t.mouldUrl.radio1.moerduoBg)+")"}},[s("div",{staticClass:"bg-block",style:{backgroundImage:"url('"+t.mouldUrl.radio1.contentBg+"')"}},[t.nowLesson.content.tabVideo.type?s("img",{staticClass:"tab-video-img",attrs:{src:t.mouldUrl.radio1.tabVideo},on:{click:function(o){t.goNext(t.nowLesson.content.tabVideo.index)}}}):t._e(),t._v(" "),s("div",{staticClass:"title"},[0===t.nowLesson.content.titleType?s("img",{attrs:{src:t.mouldUrl.radio1.title}}):t._e(),t._v(" "),1===t.nowLesson.content.titleType?s("img",{attrs:{src:t.mouldUrl.radio1.moerduo}}):t._e()]),t._v(" "),s("div",{staticClass:"cd"},[s("img",{attrs:{src:t.mouldUrl.radio1.CD}})]),t._v(" "),s("audio",{ref:"audio",attrs:{src:t.nowLesson.content.radio[t.radioLenth].url},on:{timeupdate:t.updateTime}}),t._v(" "),s("div",{staticClass:"name-block"},[s("div",{staticClass:"name"},[t.nowLesson.content.radio[t.radioLenth]?s("span",[t._v(t._s(t.nowLesson.content.radio[t.radioLenth].title))]):t._e()]),t._v(" "),s("div",{staticClass:"ahtor"},[t.nowLesson.content.radio[t.radioLenth]?s("span",[t._v(t._s(t.nowLesson.content.radio[t.radioLenth].lable))]):t._e()])]),t._v(" "),s("div",{staticClass:"play-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.loading}}),t._v(" "),s("div",{staticClass:"radius-icon",style:{left:t.audioLeft}})]),t._v(" "),s("div",{staticClass:"btn-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.near},on:{click:function(o){t.dRadio()}}}),t._v(" "),t.playAudioType?t._e():s("img",{staticClass:"play",attrs:{src:t.mouldUrl.radio1.play},on:{click:function(o){t.playAudio()}}}),t._v(" "),t.playAudioType?s("img",{staticClass:"play",attrs:{src:t.mouldUrl.radio1.stop},on:{click:function(o){t.stopAudio()}}}):t._e(),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.next},on:{click:function(o){t.aRadio()}}})])]),t._v(" "),0===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backLookBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.showBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),1===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backPlayBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),2===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backLookBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),3===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backPlayBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.nextBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e()]):t._e()]),t._v(" "),s("transition",{attrs:{name:"fade"}},[t.nowLesson&&"show1"===t.nowLesson.key?s("div",{staticClass:"show1",style:{backgroundImage:"url("+t.mouldUrl.show1.bg+")"}},[s("img",{staticClass:"riji",attrs:{src:t.mouldUrl.show1.riji}}),t._v(" "),s("img",{staticClass:"yeziyou",attrs:{src:t.mouldUrl.show1.yeziyou}}),t._v(" "),s("img",{staticClass:"yezizuo",attrs:{src:t.mouldUrl.show1.yezizuo}}),t._v(" "),s("img",{staticClass:"zhaopianqiang",attrs:{src:t.mouldUrl.show1.zhaopianqiang}}),t._v(" "),s("div",{staticClass:"bg-block",style:{backgroundImage:"url("+t.mouldUrl.show1.contentBg+")"}},[s("div",{staticClass:"title-block"},[s("img",{attrs:{src:t.mouldUrl.show1.title}})]),t._v(" "),s("div",{staticClass:"textarea"},[s("div",{staticClass:"text",attrs:{contenteditable:"",id:"text"}}),t._v(" "),s("div",{staticClass:"btn-block"},[s("img",{attrs:{src:t.mouldUrl.show1.radioIcon},on:{click:function(o){t.chooseRadio()}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.imgIcon},on:{click:t.chooseImage}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.videoIcon}})])]),t._v(" "),s("div",{staticClass:"text-block"},[t._v("\n 解释说明:\n "),s("div",{staticClass:"text-content"},[t._v("\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\n "),s("span",{staticStyle:{color:"#333"}},[t._v("唱学加油包")]),t._v("哦!\n ")])])]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.show1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.jiayoubao},on:{click:function(o){t.subLog(t.nowLesson.content.nextIndex)}}})])]):t._e()]),t._v(" "),s("transition",{attrs:{name:"fade"}},[t.nowLesson&&"refueling1"===t.nowLesson.key?s("div",{staticClass:"refueling1",style:{backgroundImage:"url("+t.mouldUrl.refueling1.bg+")"}},[s("div",{staticClass:"bg-block"},[s("img",{staticClass:"title",attrs:{src:t.mouldUrl.refueling1.title}}),t._v(" "),t.nowLesson.content.radio.length?s("audio",{ref:"jiayouAudio",attrs:{src:t.nowLesson.content.radio[0].url,autoplay:""}}):t._e(),t._v(" "),s("div",{staticClass:"content-img",style:{backgroundImage:t.nowLesson.content.banner[0]?"url("+t.nowLesson.content.banner[0].url+")":""}},[s("img",{staticClass:"radio-icon",attrs:{src:t.mouldUrl.refueling1.radio},on:{click:function(o){t.playJiayou()}}})])]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.refueling1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),-1!==t.nowLesson.content.nextIndex?s("img",{attrs:{src:t.mouldUrl.refueling1.next},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}}):t._e()])]):t._e()]),t._v(" "),s("mt-popup",{model:{value:t.showFinish,callback:function(o){t.showFinish=o},expression:"showFinish"}},[t.showObj?s("div",{staticClass:"showFinish-block",style:{backgroundImage:"url("+t.mouldUrl.show1.finish+")"}},[s("div",{staticClass:"header"},[t.userDetail?s("img",{attrs:{src:t.userDetail.avatar}}):t._e()]),t._v(" "),s("div",{staticClass:"text1"},[t._v(t._s(t.showObj.total_day))]),t._v(" "),s("div",{staticClass:"text2"},[t._v(t._s((t.showObj.total_time/60).toFixed(0)))]),t._v(" "),s("div",{staticClass:"text3"},[t._v(t._s(t.showObj.total_words_num))])]):t._e(),t._v(" "),s("div",{staticClass:"finishBtn"},[s("img",{attrs:{src:t.mouldUrl.show1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex),t.showFinish=!1}}})])])],1)},staticRenderFns:[]};var c=s("VU/8")(a,l,!1,function(t){s("nikG")},"data-v-4487a198",null);o.default=c.exports}});
//# sourceMappingURL=8.9bab51e647cd133ebc75.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/lesson.vue","webpack:///./src/components/lesson.vue?5179","webpack:///./src/components/lesson.vue"],"names":["lesson","name","data","query","this","$route","periods_id","category_id","parent_category_id","type","radioLenth","showFinish","showObj","watch_list","lessonList","playAudioType","timeCheck","id","lookAudioType","audioLeft","playVideoType","nowLesson","userDetail","timeLong","Date","parse","mouldUrl","look1","imgUrl","radio1","play1","show1","refueling1","mounted","initPage","methods","playLook1Audio","$refs","lookAudio","play","stopLook1Audio","pause","timeS","_this","setTimeout","_this2","Object","api","then","res","JSON","content","find","i","key","x","page_id","timeLang","api_list","url","window","location","href","split","wx","config","debug","appId","timestamp","parseInt","nonceStr","signature","jsApiList","playJiayou","jiayouAudio","paused","playVideo","video","aRadio","radio","length","mint_ui_common","dRadio","playAudio","audio","chooseImage","count","sizeType","sourceType","success","localIds","console","log","updateTime","e","time","target","currentTime","duration","stopAudio","chooseRadio","subLog","index","_this3","goNext","setTime","_this4","stay_time","titleType","json","page_type","backToList","$router","push","components_lesson","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","style","backgroundImage","src","reqiqiu","_v","qiqiu","feiji","title1","ref","autoplay","on","ended","$event","_e","r1","r2","playing","r3","rp","click","rs","tadayBg","domProps","innerHTML","_s","today","title2","directory","bank","nextIndex","go","videoUrl","preload","x5-video-player-type","controls","controlsList","poster","banner","tabRadio","backBtn","lastIndex","next","bg","moerduoBg","tabVideo","title","moerduo","CD","timeupdate","lable","loading","left","near","stop","buttonType","backLookBtn","showBtn","backPlayBtn","finishBtn","nextBtn","riji","yeziyou","yezizuo","zhaopianqiang","contenteditable","radioIcon","imgIcon","videoIcon","staticStyle","color","jiayoubao","model","value","callback","$$v","expression","avatar","total_day","total_time","toFixed","total_words_num","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kKAgMAA,GACAC,KAAA,SACAC,KAFA,WAGA,IAAAC,EAAAC,KAAAC,OAAAF,MACA,OACAG,WAAAH,EAAAG,WACAC,YAAAJ,EAAAI,YACAC,mBAAAL,EAAAK,mBACAC,KAAAN,EAAAM,KACAC,WAAA,EACAC,YAAA,EACAC,QAAA,KACAC,cACAC,WAAA,KACAC,eAAA,EACAC,UAAA,EACAC,GAAA,EACAC,eAAA,EACAC,UAAA,EACAC,eAAA,EACAC,UAAA,KACAC,WAAA,KACAC,SAAAC,KAAAC,MAAA,IAAAD,MACAE,UACAC,MAAAC,EAAA,EACAC,OAAAD,EAAA,EACAE,MAAAF,EAAA,EACAG,MAAAH,EAAA,EACAI,WAAAJ,EAAA,KAIAK,QAhCA,WAiCA7B,KAAA8B,YAEAC,SAEAC,eAFA,WAGAhC,KAAAiC,MAAAC,UAAAC,OACAnC,KAAAc,eAAA,GAGAsB,eAPA,WAQApC,KAAAiC,MAAAC,UAAAG,QACArC,KAAAc,eAAA,GAEAwB,MAXA,WAWA,IAAAC,EAAAvC,KACAA,KAAAY,UAAA,IACAZ,KAAAY,YACA4B,WAAA,WAC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AoBL,EAAAW,GAAAX,EAAA+B,GAAA/B,EAAAxG,QAAA+L,sBAAAvF,EAAAoB,KAAApB,EAAAW,GAAA,KAAAR,EAAA,OAAiFE,YAAA,cAAwBF,EAAA,OAAYG,OAAOG,IAAAT,EAAA1F,SAAAK,MAAAsJ,WAAmChD,IAAKS,MAAA,SAAAP,GAAyBnB,EAAAZ,OAAAY,EAAA/F,UAAA8B,QAAAqG,WAA4CpC,EAAAzG,YAAA,WAAyB,IAEv6WiM,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE/M,EACAkH,GATF,EAVA,SAAA8F,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/8.9bab51e647cd133ebc75.js","sourcesContent":["<template>\n <div class=\"lesson\">\n <!--看一看1-->\n\n <transition name=\"fade\">\n <div :style=\"{backgroundImage:`url(${mouldUrl.look1.bg})`}\" class=\"look1\" v-if=\"nowLesson && nowLesson.key === 'look1'\">\n <div class=\"content\">\n <img :src=\"mouldUrl.look1.reqiqiu\" class=\"reqiqiu\"/>\n <img :src=\"mouldUrl.look1.qiqiu\" class=\"qiqiu\"/>\n <img :src=\"mouldUrl.look1.feiji\" class=\"feiji\"/>\n <div class=\"title\">\n <img :src=\"mouldUrl.look1.title1\"/>\n </div>\n <audio ref=\"lookAudio\" v-if=\"nowLesson.content.radio.length>0\" :src=\"nowLesson.content.radio[0].url\" @ended=\"lookAudioType = true\" @play=\"lookAudioType = false\" autoplay></audio>\n <div class=\"radio\">\n <img :src=\"mouldUrl.look1.r1\" class=\"r1\">\n <img :src=\"mouldUrl.look1.r2\" class=\"r2\" v-if=\"lookAudioType\">\n <img :src=\"mouldUrl.look1.playing\" class=\"r2\" v-if=\"!lookAudioType\">\n <img :src=\"mouldUrl.look1.r3\" class=\"r3\">\n <img :src=\"mouldUrl.look1.rp\" class=\"rp\" @click=\"playLook1Audio\" v-if=\"lookAudioType\">\n <img :src=\"mouldUrl.look1.rs\" class=\"rs\" @click=\"stopLook1Audio\" v-if=\"!lookAudioType\">\n </div>\n <div class=\"today-block\">\n <img :src=\"mouldUrl.look1.tadayBg\"/>\n <div class=\"today-text\">\n <div class=\"zhanwei1\"></div>\n <div class=\"zhanwei2\"></div>\n <div class=\"zhanwei3\"></div>\n <div v-html=\"nowLesson.content.today\">\n </div>\n </div>\n </div>\n <div class=\"title2-block\">\n <img :src=\"mouldUrl.look1.title2\" class=\"title2\"/>\n <div class=\"directory-text\">\n <div v-html=\"nowLesson.content.directory\">\n </div>\n </div>\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.look1.bank\" @click=\"backToList()\"/>\n <img :src=\"mouldUrl.look1.go\" v-if=\"nowLesson.content.nextIndex !== -1\" @click=\"goNext(nowLesson.content.nextIndex,nowLesson.content.timeLang)\"/>\n <div class=\"time-check\" v-if=\"timeCheck > 0 \">{{timeCheck}}</div>\n </div>\n </div>\n </transition>\n <!--玩一玩1-->\n\n <transition name=\"fade\">\n <div v-if=\"nowLesson && nowLesson.key === 'play1'\" class=\"play1\" :style=\"{backgroundImage:`url(${mouldUrl.play1.bg})`}\">\n <div class=\"bg-block\">\n <div class=\"video-block\">\n <div class=\"icon-class\" v-if=\"playVideoType\">\n <img :src=\"mouldUrl.play1.play\" @click=\"playVideo()\"/>\n </div>\n <video\n ref=\"video\"\n preload=\"auto\"\n x5-video-player-type=\"h5\"\n v-if=\"nowLesson.content.videoUrl.length > 0\"\n :controls=\"!playVideoType\"\n controlsList=\"nodownload\" :poster=\"!!nowLesson.content.banner[0] ? nowLesson.content.banner[0].url : '' \" :src=\"nowLesson.content.videoUrl[0].url\"></video>\n </div>\n <img :src=\"mouldUrl.play1.radio\" class=\"radio-img\" v-if=\"nowLesson.content.tabRadio.type\" @click=\"goNext(nowLesson.content.tabRadio.index)\"/>\n <img :src=\"mouldUrl.play1.backBtn\" class=\"btn back\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.play1.next\" class=\"btn next\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n </transition>\n <!--玩一玩音频-->\n <transition name=\"fade\">\n <div v-if=\"nowLesson && nowLesson.key === 'radio1'\" class=\"radio1\" :style=\"{backgroundImage:`url(${nowLesson.content.titleType === 0 ? mouldUrl.radio1.bg:mouldUrl.radio1.moerduoBg})`}\">\n <div class=\"bg-block\" :style=\"{backgroundImage:`url('${mouldUrl.radio1.contentBg}')`}\">\n <img :src=\"mouldUrl.radio1.tabVideo\" class=\"tab-video-img\" @click=\"goNext(nowLesson.content.tabVideo.index)\" v-if=\"nowLesson.content.tabVideo.type\"/>\n <div class=\"title\">\n <img :src=\"mouldUrl.radio1.title\" v-if=\"nowLesson.content.titleType === 0\"/>\n <img :src=\"mouldUrl.radio1.moerduo\" v-if=\"nowLesson.content.titleType === 1\"/>\n </div>\n <div class=\"cd\">\n <img :src=\"mouldUrl.radio1.CD\"/>\n </div>\n <audio ref=\"audio\" :src=\"nowLesson.content.radio[radioLenth].url\" @timeupdate=\"updateTime\">\n </audio>\n <div class=\"name-block\">\n <div class=\"name\">\n <span v-if=\"nowLesson.content.radio[radioLenth]\">{{nowLesson.content.radio[radioLenth].title}}</span>\n </div>\n <div class=\"ahtor\">\n <span v-if=\"nowLesson.content.radio[radioLenth]\">{{nowLesson.content.radio[radioLenth].lable}}</span>\n </div>\n </div>\n <div class=\"play-block\">\n <img :src=\"mouldUrl.radio1.loading\"/>\n <div class=\"radius-icon\" :style=\"{left:audioLeft}\"></div>\n </div>\n <div class=\"btn-block\">\n <img :src=\"mouldUrl.radio1.near\" @click=\"dRadio()\"/>\n <img :src=\"mouldUrl.radio1.play\" class=\"play\" v-if=\"!playAudioType\" @click=\"playAudio()\"/>\n <img :src=\"mouldUrl.radio1.stop\" class=\"play\" v-if=\"playAudioType\" @click=\"stopAudio()\"/>\n <img :src=\"mouldUrl.radio1.next\" @click=\"aRadio()\"/>\n </div>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 0\">\n <img :src=\"mouldUrl.radio1.backLookBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.showBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 1\">\n <img :src=\"mouldUrl.radio1.backPlayBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 2\">\n <img :src=\"mouldUrl.radio1.backLookBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 3\">\n <img :src=\"mouldUrl.radio1.backPlayBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.nextBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n </transition>\n <!--秀宝贝1-->\n <transition name=\"fade\">\n <div v-if=\"nowLesson && nowLesson.key === 'show1'\" class=\"show1\" :style=\"{backgroundImage:`url(${mouldUrl.show1.bg})`}\">\n <img :src=\"mouldUrl.show1.riji\" class=\"riji\"/>\n <img :src=\"mouldUrl.show1.yeziyou\" class=\"yeziyou\"/>\n <img :src=\"mouldUrl.show1.yezizuo\" class=\"yezizuo\"/>\n <img :src=\"mouldUrl.show1.zhaopianqiang\" class=\"zhaopianqiang\"/>\n <div class=\"bg-block\" :style=\"{backgroundImage:`url(${mouldUrl.show1.contentBg})`}\">\n <div class=\"title-block\">\n <img :src=\"mouldUrl.show1.title\"/>\n </div>\n <div class=\"textarea\">\n <div contenteditable class=\"text\" id=\"text\">\n\n </div>\n <div class=\"btn-block\">\n <img :src=\"mouldUrl.show1.radioIcon\" @click=\"chooseRadio()\"/>\n <img :src=\"mouldUrl.show1.imgIcon\" @click=\"chooseImage\"/>\n <img :src=\"mouldUrl.show1.videoIcon\"/>\n </div>\n </div>\n <div class=\"text-block\">\n 解释说明:\n <div class=\"text-content\">\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\n <span style=\"color: #333\">唱学加油包</span>哦!\n </div>\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.show1.backBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.show1.jiayoubao\" @click=\"subLog(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n </transition>\n <!--加油包1-->\n <transition name=\"fade\">\n <div v-if=\"nowLesson && nowLesson.key === 'refueling1'\" class=\"refueling1\" :style=\"{backgroundImage:`url(${mouldUrl.refueling1.bg})`}\">\n <div class=\"bg-block\">\n <img :src=\"mouldUrl.refueling1.title\" class=\"title\" >\n <audio v-if=\"nowLesson.content.radio.length\" :src=\"nowLesson.content.radio[0].url\" autoplay ref=\"jiayouAudio\"></audio>\n <div class=\"content-img\" :style=\"{backgroundImage:nowLesson.content.banner[0] ? `url(${nowLesson.content.banner[0].url})`:''}\">\n <img :src=\"mouldUrl.refueling1.radio\" class=\"radio-icon\" @click=\"playJiayou()\">\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.refueling1.backBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.refueling1.next\" v-if=\"nowLesson.content.nextIndex !== -1\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n </transition>\n\n <mt-popup v-model=\"showFinish\">\n <div class=\"showFinish-block\" v-if=\"showObj\" :style=\"{backgroundImage:`url(${mouldUrl.show1.finish})`}\">\n <div class=\"header\">\n <img :src=\"userDetail.avatar\" v-if=\"userDetail\">\n </div>\n <div class=\"text1\">{{showObj.total_day}}</div>\n <div class=\"text2\">{{(showObj.total_time/60).toFixed(0)}}</div>\n <div class=\"text3\">{{showObj.total_words_num}}</div>\n </div>\n <div class=\"finishBtn\">\n <img :src=\"mouldUrl.show1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex);showFinish = false\"/>\n </div>\n </mt-popup>\n </div>\n</template>\n<script>\n import {getLessonDetailApi,subUserLessonApi,getwechatParam,getUserWatchApi,getUserDetailApi} from \"../service/api\";\n import {look1,radio1,play1,show1,refueling1} from \"../util/imgUrl\";\n import { Toast } from 'mint-ui';\n export default {\n name: \"lesson\",\n data(){\n let query = this.$route.query;\n return{\n periods_id:query.periods_id,\n category_id:query.category_id,\n parent_category_id:query.parent_category_id,\n type:query.type,\n radioLenth:0,\n showFinish:false,\n showObj:null,\n watch_list:[],\n lessonList:null,\n playAudioType:false,\n timeCheck:0,\n id:0,\n lookAudioType:true,\n audioLeft:0,\n playVideoType:true,\n nowLesson:null,\n userDetail:null,\n timeLong:Date.parse(new Date()),\n mouldUrl:{\n look1:look1,\n radio1:radio1,\n play1:play1,\n show1:show1,\n refueling1:refueling1\n }\n }\n },\n mounted(){\n this.initPage();\n },\n methods:{\n // 播放看一看音频\n playLook1Audio(){\n this.$refs.lookAudio.play();\n this.lookAudioType = false\n },\n // 暂停看一看音频\n stopLook1Audio(){\n this.$refs.lookAudio.pause();\n this.lookAudioType = true\n },\n timeS(){\n if(this.timeCheck > 0){\n this.timeCheck --;\n setTimeout( ()=> {\n this.timeS();\n },1000)\n }\n },\n // 初始化页面\n initPage(){\n getUserDetailApi().then(res=>{\n this.userDetail = res\n });\n getLessonDetailApi(this.periods_id,this.category_id).then(res=>{\n this.lessonList = JSON.parse(res.content);\n this.id = res.id;\n this.watch_list = res.watch_list;\n this.nowLesson = this.lessonList.find(i=>{return i.key === this.type});\n\n if( !this.watch_list.find(x => {\n return x.page_id === 1\n })){\n this.timeCheck = this.nowLesson.content.timeLang;\n this.timeS();\n }\n\n getwechatParam({\n api_list:'chooseImage,previewImage,uploadImage,downloadImage,getLocalImgData,onMenuShareAppMessage,onMenuShareTimeline',\n url:window.location.href.split('#')[0]\n }).then(res=>{\n wx.config({\n debug: false,\n appId: res.appId,\n timestamp: parseInt(res.timestamp),\n nonceStr: res.nonceStr,\n signature: res.signature,\n jsApiList: res.jsApiList\n });\n });\n });\n\n },\n // 播放加油包音频\n playJiayou(){\n if(this.$refs.jiayouAudio.paused){\n this.$refs.jiayouAudio.play()\n }else{\n this.$refs.jiayouAudio.pause()\n }\n },\n // 播放视频\n playVideo(){\n this.playVideoType = false;\n this.$refs.video.play()\n },\n // 切换音频+\n aRadio(){\n if(this.radioLenth < this.nowLesson.content.radio.length - 1){\n this.radioLenth ++;\n this.playAudioType = false;\n this.audioLeft = 0;\n }else{\n Toast('已是最后一个')\n }\n },\n // 切换音频-\n dRadio(){\n if(this.radioLenth>0){\n this.radioLenth --;\n this.playAudioType = false;\n this.audioLeft = 0;\n }else{\n Toast('已是第一个')\n }\n },\n // 播放音频\n playAudio(){\n this.$refs.audio.play();\n this.playAudioType = true;\n },\n // 选择图片\n chooseImage(){\n wx.chooseImage({\n count: 1, // 默认9\n sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有\n sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有\n success: function (res) {\n var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片\n console.log(res)\n }\n });\n },\n // 音频进度条\n updateTime(e){\n let time = e.target.currentTime / e.target.duration * 72.5333333;\n this.audioLeft = time + 'vw';\n if(e.target.currentTime === e.target.duration ){\n this.playAudioType = false\n }\n },\n // 暂停音频\n stopAudio(){\n this.$refs.audio.pause();\n this.playAudioType = false\n },\n // 选择音频\n chooseRadio(){\n wx.chooseImage({\n count: 1, // 默认9\n sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有\n sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有\n success: function (res) {\n // var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片\n }\n });\n },\n // 提交秀宝贝数据\n subLog(index){\n getUserWatchApi().then(res=>{\n this.showObj = res;\n this.showFinish = true\n })\n },\n // 下一页\n goNext(i, setTime) {\n let stay_time = Date.parse(new Date()) - this.timeLong;\n // if (!this.watch_list.find(x => {\n // return x.page_id === 1\n // }) && setTime && stay_time / 1000 < setTime) {\n // Toast('尚未到时间,请继续观看');\n // return\n // }\n let page_id = 0;\n if (this.nowLesson.key === 'look1') {\n page_id = 1\n } else if (this.nowLesson.key === 'play1' || (this.nowLesson.key === 'radio1' && this.nowLesson.content.titleType === 0)) {\n page_id = 2\n } else if (this.nowLesson.key === 'show1') {\n page_id = 3\n } else if (this.nowLesson.key === 'refueling1' || (this.nowLesson.key === 'radio1' && this.nowLesson.content.titleType === 1)) {\n page_id = 4\n }\n let json = {\n page_type: 0,\n page_id: page_id,\n stay_time: stay_time / 1000\n };\n subUserLessonApi(this.id, this.category_id, this.periods_id, json).then(res => {\n this.timeLong += stay_time\n });\n this.nowLesson = this.lessonList[i];\n\n console.log(this.nowLesson)\n },\n // 返回列表\n backToList(){\n let query = {\n periods_id:this.periods_id,\n parent_category_id:this.parent_category_id\n };\n this.$router.push({name:'map',query:query})\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n .lesson{\n height: 100%;\n overflow: auto;\n .look1{\n height: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: 100% 100%;\n .bottom-block{\n position: fixed;\n bottom: 9 * @toVw;\n width: 100%;\n left: 0;\n text-align: center;\n img{\n width: 127 * @toVw;\n }\n img:first-child{\n margin-right: 25 * @toVw;\n }\n .time-check{\n background-color: rgba(0,0,0,0.3);\n color: white;\n width: 127 * @toVw;\n height: 30 * @toVw;\n position: absolute;\n left: 54% ;\n line-height: 30 * @toVw;\n border-radius: 1000px;\n top: 0;\n\n }\n }\n .content{\n width: 325 * @toVw;\n height: 520 * @toVw;\n background: white;\n border-radius: 5px;\n position: relative;\n top: 15 * @toVw;\n padding: 10 * @toVw;\n .reqiqiu{\n position: absolute;\n left: -30/ 2 * @toVw;\n width: 56 * @toVw;\n z-index: 1;\n }\n .qiqiu{\n position: absolute;\n z-index: 1;\n width: 42 *@toVw;\n left: -30/ 2 * @toVw;\n top: 700/ 2 * @toVw\n }\n .feiji{\n position: absolute;\n z-index: 1;\n width: 84 * @toVw;\n right: -10 * @toVw;\n top: 120 * @toVw;\n }\n .title{\n img{\n width: 100%;\n }\n }\n .radio{\n text-align: center;\n position: relative;\n height: 55 * @toVw;\n .r1{\n position: absolute;\n bottom: 10 * @toVw;\n width: 225.5 * @toVw;\n right: 10 * @toVw;\n }\n .r2{\n position: absolute;\n right: 45 * @toVw;\n width: 118*@toVw;\n bottom: 13 * @toVw;\n }\n .r3{\n position: absolute;\n left: 15 * @toVw;\n bottom: 10 * @toVw;\n width: 73 * @toVw;\n }\n .rs{\n position: absolute;\n right: 190 * @toVw;\n bottom: 15 * @toVw;\n width: 22 * @toVw;\n }\n .rp{\n position: absolute;\n right: 190 * @toVw;\n bottom: 15 * @toVw;\n width: 22 * @toVw;\n }\n }\n .today-block{\n position: relative;\n img{\n width: 100%;\n }\n .today-text{\n position: absolute;\n top: 35* @toVw;\n left: 0;\n bottom: 0;\n right: 0;\n font-size: 14* @toVw;\n line-height: 35* @toVw;\n text-align: left;\n padding-left: 20* @toVw;\n padding-right: 15* @toVw;\n z-index: 3;\n overflow: hidden;\n .zhanwei1{\n float: left;\n clear: left;\n width: 15* @toVw;\n height: 35* @toVw;\n }\n .zhanwei2{\n float: left;\n clear: left;\n width: 60* @toVw;\n height: 35* @toVw;\n }\n .zhanwei3{\n float: left;\n clear: left;\n width: 70* @toVw;\n height: 35* @toVw;\n }\n }\n }\n .title2-block{\n background: #FFFFFF;\n border: 1px solid #2E2E2E;\n border-radius: 4px;\n position: relative;\n top: 10 * @toVw;\n height: 213 * @toVw;\n .directory-text{\n position: absolute;\n top: 50/ 2 * @toVw;\n left: 0;\n bottom: 0;\n right: 0;\n font-size: 28/ 2 * @toVw;\n line-height: 50/ 2 * @toVw;\n text-align: left;\n padding-left: 40/ 2 * @toVw;\n padding-right: 30/ 2 * @toVw;\n z-index: 3;\n overflow: auto;\n }\n .title2{\n position: absolute;\n width: 192 * @toVw;\n top: -20 * @toVw;\n left: 10 * @toVw;\n }\n .redM{\n position: absolute;\n width: 96 * @toVw;\n top: -2 * @toVw;\n right: -2 * @toVw;\n }\n .flour{\n position: absolute;\n bottom: 0;\n width: 169 * @toVw;\n right: 0;\n }\n }\n }\n }\n .play1{\n height: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: 100% 100%;\n .bg-block{\n background: white;\n text-align: left;\n border-radius: 4 * @toVw;\n width: 557 * @toVw ;\n height: 294 * @toVw;\n transform-origin: 163 * @toVw 180 * @toVw;\n transform: rotate(90deg);\n padding: 10* @toVw;\n .radio-img{\n position: absolute;\n right: 10 * @toVw;\n top: 10 * @toVw;\n width: 40 * @toVw;\n }\n .btn{\n position: absolute;\n width: 40 * @toVw;\n right: 10 * @toVw;\n bottom: 10 * @toVw;\n &.back{\n bottom:60 * @toVw\n }\n }\n .video-block{\n margin: 0;\n background: black;\n border-radius: 8/ 2 * @toVw;\n height: 100%;\n width: 506 * @toVw;\n position: relative;\n\n .icon-class{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0,0,0,0.3);\n }\n img{\n position: absolute;\n top: 50%;\n z-index: 2;\n left: 50%;\n width: 58 * @toVw ;\n margin-top: -50/ 2 * @toVw;\n margin-left: -50/ 2 * @toVw;\n }\n video{\n width: 100%;\n }\n }\n }\n }\n .radio1{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-size: 100% 100%;\n .bg-block{\n background-color: transparent;\n border: none;\n width: 345 * @toVw;\n top: 10 *@toVw;\n height: 540 * @toVw;\n padding: 10*@toVw;\n box-shadow: none;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n position: relative;\n .tab-video-img{\n position: absolute;\n bottom: 15 * @toVw;\n width: 24* @toVw;\n right: 15 * @toVw;\n }\n .title{\n text-align: center;\n img{\n width: 80%;\n }\n }\n .cd{\n text-align: center;\n img{\n width: 194 * @toVw;\n }\n }\n .name-block{\n text-align: center;\n margin-top: 20 * @toVw;\n font-family: PingFang-SC-Regular;\n color: #333333;\n .name{\n height: 25 * @toVw;\n line-height: 25 * @toVw;\n font-size: 16 * @toVw;\n }\n .ahtor{\n font-size: 12 * @toVw;\n }\n }\n .play-block{\n width: 272 * @toVw;\n margin: 20 * @toVw auto auto auto;\n position: relative;\n img{\n width: 272 * @toVw;\n }\n .radius-icon{\n position: absolute;\n width: 13 * @toVw;\n top: 5*@toVw;\n left: 0;\n height: 13 * @toVw;\n background: #80952B ;\n border-radius: 50 * @toVw;\n }\n }\n .btn-block{\n line-height: 100 * @toVw;\n text-align: center;\n img{\n vertical-align: middle;;\n margin-right: 10 * @toVw;\n width: 24 *@toVw;\n &.play{\n width: 36 *@toVw;\n }\n &:last-child{\n margin-right: 0;\n }\n }\n }\n }\n .bottom-block{\n position: fixed;\n width: 100%;\n bottom: 10*@toVw;\n text-align: center;\n img{\n width: 127 * @toVw;\n }\n img:first-child{\n margin-right: 25 * @toVw;\n }\n }\n }\n .show1{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n width: 100%;\n background-size: 100% 100%;\n position: relative;\n &>img{\n position: absolute;\n z-index: 2;\n &.haiou{\n top: 390 * @toVw;\n left: 70/ 2 * @toVw;\n width: 81 * @toVw;\n }\n &.riji{\n width:78*@toVw ;\n top: 25 * @toVw;\n left: 0;\n }\n &.yeziyou{\n bottom: 0;\n right: 0;\n width: 258/2*@toVw;\n }\n &.yezizuo{\n width: 238 / 2 *@toVw;\n bottom: 0;\n left: 0;\n }\n &.zhaopianqiang{\n top: 400 * @toVw;\n left: 80/ 2 * @toVw;\n width: 234 / 2 * @toVw;\n }\n }\n .bg-block{\n position: relative;\n width: 344 * @toVw;\n background-size: 100%;\n height: 552 * @toVw;\n .zhuangshi{\n bottom: 0;\n }\n }\n .title-block{\n padding-top: 50 * @toVw;\n text-align: center;\n img{\n width: 420 / 2 * @toVw;\n }\n }\n .textarea{\n background: #FDFDFD;\n height: 352/ 2 * @toVw;\n width: 626/ 2 * @toVw;\n margin:10*@toVw auto 0 auto;\n box-shadow: inset 1/ 2 * @toVw 1/ 2 * @toVw 3/ 2 * @toVw 1/ 2 * @toVw rgba(142,142,142,0.50);\n border-radius: 8/ 2 * @toVw;\n position: relative;\n .text{\n position: absolute;\n top: 5px;\n left: 5px;\n overflow: auto;\n outline: none;\n bottom: 5px;\n right: 5px;\n }\n .btn-block{\n position: absolute;\n bottom: 10/ 2 * @toVw;\n right: 10/ 2 * @toVw;\n img{\n width: 24 * @toVw;\n margin-right: 10/ 2 * @toVw;\n }\n }\n }\n .text-block{\n width: 600/ 2 * @toVw;\n margin: auto;\n padding-top: 20/ 2 * @toVw;\n text-align: left;\n font-family: PingFang-SC-Medium;\n font-size: 28/ 2 * @toVw;\n color: #666666;\n line-height: 40/ 2 * @toVw;\n .text-content{\n font-family: PingFang-SC-Regular;\n font-size: 24/ 2 * @toVw;\n color: #999999;\n }\n }\n .sub-block{\n position: absolute;\n width: 100%;\n text-align: center;\n bottom: 160/ 2 * @toVw;\n img{\n width: 88 * @toVw\n }\n }\n .bottom-block{\n width: 100%;\n text-align: center;\n position: fixed;\n z-index: 2;\n bottom: 10 * @toVw;\n img{\n width: 127 * @toVw;\n &:first-child{\n margin-right: 15 * @toVw;\n }\n }\n }\n }\n .refueling1{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: 100% 100%;\n height: 100%;\n .bg-block{\n width: 325 * @toVw;\n height: 520 * @toVw;\n background: white;\n overflow: hidden;\n border-radius: 8 * @toVw;\n padding: 10 * @toVw;\n position: relative;\n top: 10 * @toVw;\n text-align: center;\n }\n .title{\n width: 280 * @toVw ;\n }\n .bottom-block{\n position: fixed;\n bottom: 10 *@toVw;\n width: 100%;\n text-align: center;\n img{\n width: 127 * @toVw;\n &:first-child{\n margin-right: 10*@toVw;\n }\n }\n }\n .content-img{\n position: relative;\n height: 832/ 2 * @toVw;\n background: #333;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n margin: 20/ 2 * @toVw;\n border-radius: 8/ 2 * @toVw;\n .radio-icon{\n position: absolute;\n width: 40 * @toVw;\n right: 20/ 2 * @toVw;\n top: 20/ 2 * @toVw;\n }\n }\n }\n .finishBtn{\n width: 100%;\n text-align: center;\n position: absolute;\n top: 375 * @toVw;\n img{\n width: 215 * @toVw;\n }\n }\n .showFinish-block{\n background-size: 100% 100%;\n position: relative;\n width: 313 * @toVw;\n height: 439 * @toVw;\n background-color: rgba(0,0,0,0.5);\n .header{\n position: absolute;\n width: 100%;\n text-align: center;\n top: 110 * @toVw;\n img{\n width: 48 * @toVw;\n border-radius: 1000px;\n }\n }\n .text1{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 181 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n .text2{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 225 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n .text3{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 273 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n }\n }\n .fade-enter-active, .fade-leave-active {\n transition: opacity .5s;\n }\n .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {\n opacity: 0;\n }\n @media screen and (orientation: landscape) {\n .lesson {\n .play1 {\n height: 100%;\n background-size: 100% 100%;\n padding: 5 * @toVw;\n .bg-block {\n background: white;\n text-align: left;\n border-radius: 4 * @toVw;\n width: 245 * @toVw;\n height: 120 * @toVw;\n transform: rotate(0deg);\n padding: 10* @toVw;\n .radio-img {\n position: absolute;\n right: 5 * @toVw;\n top: 5 * @toVw;\n width: 20 * @toVw;\n }\n .btn {\n position: absolute;\n width: 20 * @toVw;\n right: 5 * @toVw;\n bottom: 5 * @toVw;\n &.back {\n bottom: 30 * @toVw\n }\n }\n .video-block {\n margin: 0;\n background: black;\n border-radius: 8/ 2 * @toVw;\n height: 100%;\n width: 220 * @toVw;\n position: relative;\n\n .icon-class {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.3);\n }\n img {\n position: absolute;\n top: 50%;\n z-index: 2;\n left: 50%;\n width: 30 * @toVw;\n margin-top: -30/ 2 * @toVw;\n margin-left: -30/ 2 * @toVw;\n }\n video {\n width: 100%;\n }\n }\n }\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/lesson.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lesson\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.nowLesson && _vm.nowLesson.key === 'look1')?_c('div',{staticClass:\"look1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.look1.bg) + \")\")})},[_c('div',{staticClass:\"content\"},[_c('img',{staticClass:\"reqiqiu\",attrs:{\"src\":_vm.mouldUrl.look1.reqiqiu}}),_vm._v(\" \"),_c('img',{staticClass:\"qiqiu\",attrs:{\"src\":_vm.mouldUrl.look1.qiqiu}}),_vm._v(\" \"),_c('img',{staticClass:\"feiji\",attrs:{\"src\":_vm.mouldUrl.look1.feiji}}),_vm._v(\" \"),_c('div',{staticClass:\"title\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.title1}})]),_vm._v(\" \"),(_vm.nowLesson.content.radio.length>0)?_c('audio',{ref:\"lookAudio\",attrs:{\"src\":_vm.nowLesson.content.radio[0].url,\"autoplay\":\"\"},on:{\"ended\":function($event){_vm.lookAudioType = true},\"play\":function($event){_vm.lookAudioType = false}}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"radio\"},[_c('img',{staticClass:\"r1\",attrs:{\"src\":_vm.mouldUrl.look1.r1}}),_vm._v(\" \"),(_vm.lookAudioType)?_c('img',{staticClass:\"r2\",attrs:{\"src\":_vm.mouldUrl.look1.r2}}):_vm._e(),_vm._v(\" \"),(!_vm.lookAudioType)?_c('img',{staticClass:\"r2\",attrs:{\"src\":_vm.mouldUrl.look1.playing}}):_vm._e(),_vm._v(\" \"),_c('img',{staticClass:\"r3\",attrs:{\"src\":_vm.mouldUrl.look1.r3}}),_vm._v(\" \"),(_vm.lookAudioType)?_c('img',{staticClass:\"rp\",attrs:{\"src\":_vm.mouldUrl.look1.rp},on:{\"click\":_vm.playLook1Audio}}):_vm._e(),_vm._v(\" \"),(!_vm.lookAudioType)?_c('img',{staticClass:\"rs\",attrs:{\"src\":_vm.mouldUrl.look1.rs},on:{\"click\":_vm.stopLook1Audio}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"today-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.tadayBg}}),_vm._v(\" \"),_c('div',{staticClass:\"today-text\"},[_c('div',{staticClass:\"zhanwei1\"}),_vm._v(\" \"),_c('div',{staticClass:\"zhanwei2\"}),_vm._v(\" \"),_c('div',{staticClass:\"zhanwei3\"}),_vm._v(\" \"),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.nowLesson.content.today)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"title2-block\"},[_c('img',{staticClass:\"title2\",attrs:{\"src\":_vm.mouldUrl.look1.title2}}),_vm._v(\" \"),_c('div',{staticClass:\"directory-text\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.nowLesson.content.directory)}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.bank},on:{\"click\":function($event){_vm.backToList()}}}),_vm._v(\" \"),(_vm.nowLesson.content.nextIndex !== -1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.go},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex,_vm.nowLesson.content.timeLang)}}}):_vm._e(),_vm._v(\" \"),(_vm.timeCheck > 0 )?_c('div',{staticClass:\"time-check\"},[_vm._v(_vm._s(_vm.timeCheck))]):_vm._e()])]):_vm._e()]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.nowLesson && _vm.nowLesson.key === 'play1')?_c('div',{staticClass:\"play1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.play1.bg) + \")\")})},[_c('div',{staticClass:\"bg-block\"},[_c('div',{staticClass:\"video-block\"},[(_vm.playVideoType)?_c('div',{staticClass:\"icon-class\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.play1.play},on:{\"click\":function($event){_vm.playVideo()}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.videoUrl.length > 0)?_c('video',{ref:\"video\",attrs:{\"preload\":\"auto\",\"x5-video-player-type\":\"h5\",\"controls\":!_vm.playVideoType,\"controlsList\":\"nodownload\",\"poster\":!!_vm.nowLesson.content.banner[0] ? _vm.nowLesson.content.banner[0].url : '',\"src\":_vm.nowLesson.content.videoUrl[0].url}}):_vm._e()]),_vm._v(\" \"),(_vm.nowLesson.content.tabRadio.type)?_c('img',{staticClass:\"radio-img\",attrs:{\"src\":_vm.mouldUrl.play1.radio},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.tabRadio.index)}}}):_vm._e(),_vm._v(\" \"),_c('img',{staticClass:\"btn back\",attrs:{\"src\":_vm.mouldUrl.play1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{staticClass:\"btn next\",attrs:{\"src\":_vm.mouldUrl.play1.next},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})])]):_vm._e()]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.nowLesson && _vm.nowLesson.key === 'radio1')?_c('div',{staticClass:\"radio1\",style:({backgroundImage:(\"url(\" + (_vm.nowLesson.content.titleType === 0 ? _vm.mouldUrl.radio1.bg:_vm.mouldUrl.radio1.moerduoBg) + \")\")})},[_c('div',{staticClass:\"bg-block\",style:({backgroundImage:(\"url('\" + (_vm.mouldUrl.radio1.contentBg) + \"')\")})},[(_vm.nowLesson.content.tabVideo.type)?_c('img',{staticClass:\"tab-video-img\",attrs:{\"src\":_vm.mouldUrl.radio1.tabVideo},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.tabVideo.index)}}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"title\"},[(_vm.nowLesson.content.titleType === 0)?_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.title}}):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.titleType === 1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.moerduo}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"cd\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.CD}})]),_vm._v(\" \"),_c('audio',{ref:\"audio\",attrs:{\"src\":_vm.nowLesson.content.radio[_vm.radioLenth].url},on:{\"timeupdate\":_vm.updateTime}}),_vm._v(\" \"),_c('div',{staticClass:\"name-block\"},[_c('div',{staticClass:\"name\"},[(_vm.nowLesson.content.radio[_vm.radioLenth])?_c('span',[_vm._v(_vm._s(_vm.nowLesson.content.radio[_vm.radioLenth].title))]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"ahtor\"},[(_vm.nowLesson.content.radio[_vm.radioLenth])?_c('span',[_vm._v(_vm._s(_vm.nowLesson.content.radio[_vm.radioLenth].lable))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"play-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.loading}}),_vm._v(\" \"),_c('div',{staticClass:\"radius-icon\",style:({left:_vm.audioLeft})})]),_vm._v(\" \"),_c('div',{staticClass:\"btn-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.near},on:{\"click\":function($event){_vm.dRadio()}}}),_vm._v(\" \"),(!_vm.playAudioType)?_c('img',{staticClass:\"play\",attrs:{\"src\":_vm.mouldUrl.radio1.play},on:{\"click\":function($event){_vm.playAudio()}}}):_vm._e(),_vm._v(\" \"),(_vm.playAudioType)?_c('img',{staticClass:\"play\",attrs:{\"src\":_vm.mouldUrl.radio1.stop},on:{\"click\":function($event){_vm.stopAudio()}}}):_vm._e(),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.next},on:{\"click\":function($event){_vm.aRadio()}}})])]),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 0)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backLookBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.showBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 1)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backPlayBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 2)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backLookBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 3)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backPlayBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.nextBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e()]):_vm._e()]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.nowLesson && _vm.nowLesson.key === 'show1')?_c('div',{staticClass:\"show1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.bg) + \")\")})},[_c('img',{staticClass:\"riji\",attrs:{\"src\":_vm.mouldUrl.show1.riji}}),_vm._v(\" \"),_c('img',{staticClass:\"yeziyou\",attrs:{\"src\":_vm.mouldUrl.show1.yeziyou}}),_vm._v(\" \"),_c('img',{staticClass:\"yezizuo\",attrs:{\"src\":_vm.mouldUrl.show1.yezizuo}}),_vm._v(\" \"),_c('img',{staticClass:\"zhaopianqiang\",attrs:{\"src\":_vm.mouldUrl.show1.zhaopianqiang}}),_vm._v(\" \"),_c('div',{staticClass:\"bg-block\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.contentBg) + \")\")})},[_c('div',{staticClass:\"title-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.title}})]),_vm._v(\" \"),_c('div',{staticClass:\"textarea\"},[_c('div',{staticClass:\"text\",attrs:{\"contenteditable\":\"\",\"id\":\"text\"}}),_vm._v(\" \"),_c('div',{staticClass:\"btn-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.radioIcon},on:{\"click\":function($event){_vm.chooseRadio()}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.imgIcon},on:{\"click\":_vm.chooseImage}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.videoIcon}})])]),_vm._v(\" \"),_c('div',{staticClass:\"text-block\"},[_vm._v(\"\\n 解释说明:\\n \"),_c('div',{staticClass:\"text-content\"},[_vm._v(\"\\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\\n \"),_c('span',{staticStyle:{\"color\":\"#333\"}},[_vm._v(\"唱学加油包\")]),_vm._v(\"哦!\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.jiayoubao},on:{\"click\":function($event){_vm.subLog(_vm.nowLesson.content.nextIndex)}}})])]):_vm._e()]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.nowLesson && _vm.nowLesson.key === 'refueling1')?_c('div',{staticClass:\"refueling1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.refueling1.bg) + \")\")})},[_c('div',{staticClass:\"bg-block\"},[_c('img',{staticClass:\"title\",attrs:{\"src\":_vm.mouldUrl.refueling1.title}}),_vm._v(\" \"),(_vm.nowLesson.content.radio.length)?_c('audio',{ref:\"jiayouAudio\",attrs:{\"src\":_vm.nowLesson.content.radio[0].url,\"autoplay\":\"\"}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"content-img\",style:({backgroundImage:_vm.nowLesson.content.banner[0] ? (\"url(\" + (_vm.nowLesson.content.banner[0].url) + \")\"):''})},[_c('img',{staticClass:\"radio-icon\",attrs:{\"src\":_vm.mouldUrl.refueling1.radio},on:{\"click\":function($event){_vm.playJiayou()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.refueling1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),(_vm.nowLesson.content.nextIndex !== -1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.refueling1.next},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}}):_vm._e()])]):_vm._e()]),_vm._v(\" \"),_c('mt-popup',{model:{value:(_vm.showFinish),callback:function ($$v) {_vm.showFinish=$$v},expression:\"showFinish\"}},[(_vm.showObj)?_c('div',{staticClass:\"showFinish-block\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.finish) + \")\")})},[_c('div',{staticClass:\"header\"},[(_vm.userDetail)?_c('img',{attrs:{\"src\":_vm.userDetail.avatar}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"text1\"},[_vm._v(_vm._s(_vm.showObj.total_day))]),_vm._v(\" \"),_c('div',{staticClass:\"text2\"},[_vm._v(_vm._s((_vm.showObj.total_time/60).toFixed(0)))]),_vm._v(\" \"),_c('div',{staticClass:\"text3\"},[_vm._v(_vm._s(_vm.showObj.total_words_num))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"finishBtn\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex);_vm.showFinish = false}}})])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4487a198\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/lesson.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4487a198\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./lesson.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./lesson.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./lesson.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4487a198\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./lesson.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-4487a198\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/lesson.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([8],{tUee:function(t,o){},v9XT:function(t,o,s){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=s("CCn6"),n=s("Jmy5"),e=s("Au9i"),a={name:"lesson",data:function(){var t=this.$route.query;return{periods_id:t.periods_id,category_id:t.category_id,parent_category_id:t.parent_category_id,type:t.type,radioLenth:0,showFinish:!1,showObj:null,watch_list:[],lessonList:null,playAudioType:!1,id:0,lookAudioType:!1,audioLeft:0,playVideoType:!0,nowLesson:null,userDetail:null,timeLong:Date.parse(new Date),mouldUrl:{look1:n.b,radio1:n.f,play1:n.e,show1:n.i,refueling1:n.g}}},mounted:function(){this.initPage()},methods:{playLook1Audio:function(){this.$refs.lookAudio.play(),this.lookAudioType=!1},stopLook1Audio:function(){this.$refs.lookAudio.pause(),this.lookAudioType=!0},initPage:function(){var t=this;Object(i.j)().then(function(o){t.userDetail=o}),Object(i.d)(this.periods_id,this.category_id).then(function(o){t.lessonList=JSON.parse(o.content),t.id=o.id,t.watch_list=o.watch_list,t.nowLesson=t.lessonList.find(function(o){return o.key===t.type}),Object(i.m)({api_list:"chooseImage,previewImage,uploadImage,downloadImage,getLocalImgData,onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!0,appId:t.appId,timeStamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList})})})},playJiayou:function(){this.$refs.jiayouAudio.paused?this.$refs.jiayouAudio.play():this.$refs.jiayouAudio.pause()},playVideo:function(){this.playVideoType=!1,this.$refs.video.play()},aRadio:function(){this.radioLenth<this.nowLesson.content.radio.length-1?(this.radioLenth++,this.playAudioType=!1,this.audioLeft=0):Object(e.Toast)("已是最后一个")},dRadio:function(){this.radioLenth>0?(this.radioLenth--,this.playAudioType=!1,this.audioLeft=0):Object(e.Toast)("已是第一个")},playAudio:function(){this.$refs.audio.play(),this.playAudioType=!0},chooseImage:function(){wx.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){t.localIds;console.log(t)}})},updateTime:function(t){var o=t.target.currentTime/t.target.duration*72.5333333;this.audioLeft=o+"vw",t.target.currentTime===t.target.duration&&(this.playAudioType=!1)},stopAudio:function(){this.$refs.audio.pause(),this.playAudioType=!1},chooseRadio:function(){wx.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){t.localIds}})},subLog:function(t){var o=this;Object(i.l)().then(function(t){o.showObj=t,o.showFinish=!0})},goNext:function(t,o){var s=this,n=Date.parse(new Date)-this.timeLong;if(!this.watch_list.find(function(t){return 1===t.page_id})&&o&&n/1e3<o)Object(e.Toast)("尚未到时间,请继续观看");else{var a=0;"look1"===this.nowLesson.key?a=1:"play1"===this.nowLesson.key||"radio1"===this.nowLesson.key&&0===this.nowLesson.content.titleType?a=2:"show1"===this.nowLesson.key?a=3:("refueling1"===this.nowLesson.key||"radio1"===this.nowLesson.key&&1===this.nowLesson.content.titleType)&&(a=4);var l={page_type:0,page_id:a,stay_time:n/1e3};Object(i.p)(this.id,this.category_id,this.periods_id,l).then(function(t){s.timeLong+=n}),this.nowLesson=this.lessonList[t],console.log(this.nowLesson)}},backToList:function(){var t={periods_id:this.periods_id,parent_category_id:this.parent_category_id};this.$router.push({name:"map",query:t})}}},l={render:function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",{staticClass:"lesson"},[t.nowLesson&&"look1"===t.nowLesson.key?s("div",{staticClass:"look1",style:{backgroundImage:"url("+t.mouldUrl.look1.bg+")"}},[s("div",{staticClass:"content"},[s("img",{staticClass:"reqiqiu",attrs:{src:t.mouldUrl.look1.reqiqiu}}),t._v(" "),s("img",{staticClass:"qiqiu",attrs:{src:t.mouldUrl.look1.qiqiu}}),t._v(" "),s("img",{staticClass:"feiji",attrs:{src:t.mouldUrl.look1.feiji}}),t._v(" "),s("div",{staticClass:"title"},[s("img",{attrs:{src:t.mouldUrl.look1.title1}})]),t._v(" "),t.nowLesson.content.radio.length>0?s("audio",{ref:"lookAudio",attrs:{src:t.nowLesson.content.radio[0].url,autoplay:""}}):t._e(),t._v(" "),s("div",{staticClass:"radio"},[s("img",{staticClass:"r1",attrs:{src:t.mouldUrl.look1.r1}}),t._v(" "),t.lookAudioType?s("img",{staticClass:"r2",attrs:{src:t.mouldUrl.look1.r2}}):t._e(),t._v(" "),t.lookAudioType?t._e():s("img",{staticClass:"r2",attrs:{src:t.mouldUrl.look1.playing}}),t._v(" "),s("img",{staticClass:"r3",attrs:{src:t.mouldUrl.look1.r3}}),t._v(" "),t.lookAudioType?s("img",{staticClass:"rp",attrs:{src:t.mouldUrl.look1.rp},on:{click:t.playLook1Audio}}):t._e(),t._v(" "),t.lookAudioType?t._e():s("img",{staticClass:"rs",attrs:{src:t.mouldUrl.look1.rs},on:{click:t.stopLook1Audio}})]),t._v(" "),s("div",{staticClass:"today-block"},[s("img",{attrs:{src:t.mouldUrl.look1.tadayBg}}),t._v(" "),s("div",{staticClass:"today-text"},[s("div",{staticClass:"zhanwei1"}),t._v(" "),s("div",{staticClass:"zhanwei2"}),t._v(" "),s("div",{staticClass:"zhanwei3"}),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.nowLesson.content.today)}})])]),t._v(" "),s("div",{staticClass:"title2-block"},[s("img",{staticClass:"title2",attrs:{src:t.mouldUrl.look1.title2}}),t._v(" "),s("div",{staticClass:"directory-text"},[s("div",{domProps:{innerHTML:t._s(t.nowLesson.content.directory)}})])])]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.look1.bank},on:{click:function(o){t.backToList()}}}),t._v(" "),-1!==t.nowLesson.content.nextIndex?s("img",{attrs:{src:t.mouldUrl.look1.go},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex,t.nowLesson.content.timeLang)}}}):t._e()])]):t._e(),t._v(" "),t.nowLesson&&"play1"===t.nowLesson.key?s("div",{staticClass:"play1",style:{backgroundImage:"url("+t.mouldUrl.play1.bg+")"}},[s("div",{staticClass:"bg-block"},[s("div",{staticClass:"video-block"},[t.playVideoType?s("div",{staticClass:"icon-class"},[s("img",{attrs:{src:t.mouldUrl.play1.play},on:{click:function(o){t.playVideo()}}})]):t._e(),t._v(" "),t.nowLesson.content.videoUrl.length>0?s("video",{ref:"video",attrs:{preload:"auto","x5-video-player-type":"h5",controls:!t.playVideoType,controlsList:"nodownload",poster:t.nowLesson.content.banner[0]?t.nowLesson.content.banner[0].url:"",src:t.nowLesson.content.videoUrl[0].url}}):t._e()]),t._v(" "),t.nowLesson.content.tabRadio.type?s("img",{staticClass:"radio-img",attrs:{src:t.mouldUrl.play1.radio},on:{click:function(o){t.goNext(t.nowLesson.content.tabRadio.index)}}}):t._e(),t._v(" "),s("img",{staticClass:"btn back",attrs:{src:t.mouldUrl.play1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{staticClass:"btn next",attrs:{src:t.mouldUrl.play1.next},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})])]):t._e(),t._v(" "),t.nowLesson&&"radio1"===t.nowLesson.key?s("div",{staticClass:"radio1",style:{backgroundImage:"url("+(0===t.nowLesson.content.titleType?t.mouldUrl.radio1.bg:t.mouldUrl.radio1.moerduoBg)+")"}},[s("div",{staticClass:"bg-block",style:{backgroundImage:"url('"+t.mouldUrl.radio1.contentBg+"')"}},[t.nowLesson.content.tabVideo.type?s("img",{staticClass:"tab-video-img",attrs:{src:t.mouldUrl.radio1.tabVideo},on:{click:function(o){t.goNext(t.nowLesson.content.tabVideo.index)}}}):t._e(),t._v(" "),s("div",{staticClass:"title"},[0===t.nowLesson.content.titleType?s("img",{attrs:{src:t.mouldUrl.radio1.title}}):t._e(),t._v(" "),1===t.nowLesson.content.titleType?s("img",{attrs:{src:t.mouldUrl.radio1.moerduo}}):t._e()]),t._v(" "),s("div",{staticClass:"cd"},[s("img",{attrs:{src:t.mouldUrl.radio1.CD}})]),t._v(" "),s("audio",{ref:"audio",attrs:{src:t.nowLesson.content.radio[t.radioLenth].url},on:{timeupdate:t.updateTime}}),t._v(" "),s("div",{staticClass:"name-block"},[s("div",{staticClass:"name"},[t.nowLesson.content.radio[t.radioLenth]?s("span",[t._v(t._s(t.nowLesson.content.radio[t.radioLenth].title))]):t._e()]),t._v(" "),s("div",{staticClass:"ahtor"},[t.nowLesson.content.radio[t.radioLenth]?s("span",[t._v(t._s(t.nowLesson.content.radio[t.radioLenth].lable))]):t._e()])]),t._v(" "),s("div",{staticClass:"play-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.loading}}),t._v(" "),s("div",{staticClass:"radius-icon",style:{left:t.audioLeft}})]),t._v(" "),s("div",{staticClass:"btn-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.near},on:{click:function(o){t.dRadio()}}}),t._v(" "),t.playAudioType?t._e():s("img",{staticClass:"play",attrs:{src:t.mouldUrl.radio1.play},on:{click:function(o){t.playAudio()}}}),t._v(" "),t.playAudioType?s("img",{staticClass:"play",attrs:{src:t.mouldUrl.radio1.stop},on:{click:function(o){t.stopAudio()}}}):t._e(),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.next},on:{click:function(o){t.aRadio()}}})])]),t._v(" "),0===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backLookBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.showBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),1===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backPlayBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),2===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backLookBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e(),t._v(" "),3===t.nowLesson.content.buttonType?s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.radio1.backPlayBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.radio1.nextBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}})]):t._e()]):t._e(),t._v(" "),t.nowLesson&&"show1"===t.nowLesson.key?s("div",{staticClass:"show1",style:{backgroundImage:"url("+t.mouldUrl.show1.bg+")"}},[s("img",{staticClass:"riji",attrs:{src:t.mouldUrl.show1.riji}}),t._v(" "),s("img",{staticClass:"yeziyou",attrs:{src:t.mouldUrl.show1.yeziyou}}),t._v(" "),s("img",{staticClass:"yezizuo",attrs:{src:t.mouldUrl.show1.yezizuo}}),t._v(" "),s("img",{staticClass:"zhaopianqiang",attrs:{src:t.mouldUrl.show1.zhaopianqiang}}),t._v(" "),s("div",{staticClass:"bg-block",style:{backgroundImage:"url("+t.mouldUrl.show1.contentBg+")"}},[s("div",{staticClass:"title-block"},[s("img",{attrs:{src:t.mouldUrl.show1.title}})]),t._v(" "),s("div",{staticClass:"textarea"},[s("div",{staticClass:"text",attrs:{contenteditable:"",id:"text"}}),t._v(" "),s("div",{staticClass:"btn-block"},[s("img",{attrs:{src:t.mouldUrl.show1.radioIcon},on:{click:function(o){t.chooseRadio()}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.imgIcon},on:{click:t.chooseImage}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.videoIcon}})])]),t._v(" "),t._m(0)]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.show1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),s("img",{attrs:{src:t.mouldUrl.show1.jiayoubao},on:{click:function(o){t.subLog(t.nowLesson.content.nextIndex)}}})])]):t._e(),t._v(" "),t.nowLesson&&"refueling1"===t.nowLesson.key?s("div",{staticClass:"refueling1",style:{backgroundImage:"url("+t.mouldUrl.refueling1.bg+")"}},[s("div",{staticClass:"bg-block"},[s("img",{staticClass:"title",attrs:{src:t.mouldUrl.refueling1.title}}),t._v(" "),t.nowLesson.content.radio.length?s("audio",{ref:"jiayouAudio",attrs:{src:t.nowLesson.content.radio[0].url,autoplay:""}}):t._e(),t._v(" "),s("div",{staticClass:"content-img",style:{backgroundImage:t.nowLesson.content.banner[0]?"url("+t.nowLesson.content.banner[0].url+")":""}},[s("img",{staticClass:"radio-icon",attrs:{src:t.mouldUrl.refueling1.radio},on:{click:function(o){t.playJiayou()}}})])]),t._v(" "),s("div",{staticClass:"bottom-block"},[s("img",{attrs:{src:t.mouldUrl.refueling1.backBtn},on:{click:function(o){t.goNext(t.nowLesson.content.lastIndex)}}}),t._v(" "),-1!==t.nowLesson.content.nextIndex?s("img",{attrs:{src:t.mouldUrl.refueling1.next},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex)}}}):t._e()])]):t._e(),t._v(" "),s("mt-popup",{model:{value:t.showFinish,callback:function(o){t.showFinish=o},expression:"showFinish"}},[t.showObj?s("div",{staticClass:"showFinish-block",style:{backgroundImage:"url("+t.mouldUrl.show1.finish+")"}},[s("div",{staticClass:"header"},[t.userDetail?s("img",{attrs:{src:t.userDetail.avatar}}):t._e()]),t._v(" "),s("div",{staticClass:"text1"},[t._v(t._s(t.showObj.total_day))]),t._v(" "),s("div",{staticClass:"text2"},[t._v(t._s((t.showObj.total_time/60).toFixed(0)))]),t._v(" "),s("div",{staticClass:"text3"},[t._v(t._s(t.showObj.total_words_num))])]):t._e(),t._v(" "),s("div",{staticClass:"finishBtn"},[s("img",{attrs:{src:t.mouldUrl.show1.finishBtn},on:{click:function(o){t.goNext(t.nowLesson.content.nextIndex),t.showFinish=!1}}})])])],1)},staticRenderFns:[function(){var t=this.$createElement,o=this._self._c||t;return o("div",{staticClass:"text-block"},[this._v("\n 解释说明:\n "),o("div",{staticClass:"text-content"},[this._v("\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\n "),o("span",{staticStyle:{color:"#333"}},[this._v("唱学加油包")]),this._v("哦!\n ")])])}]};var c=s("VU/8")(a,l,!1,function(t){s("tUee")},"data-v-4ecf0dfc",null);o.default=c.exports}});
//# sourceMappingURL=8.faff48e028ffc6cf7381.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/lesson.vue","webpack:///./src/components/lesson.vue?5515","webpack:///./src/components/lesson.vue"],"names":["lesson","name","data","query","this","$route","periods_id","category_id","parent_category_id","type","radioLenth","showFinish","showObj","watch_list","lessonList","playAudioType","id","lookAudioType","audioLeft","playVideoType","nowLesson","userDetail","timeLong","Date","parse","mouldUrl","look1","imgUrl","radio1","play1","show1","refueling1","mounted","initPage","methods","playLook1Audio","$refs","lookAudio","play","stopLook1Audio","pause","_this","Object","api","then","res","JSON","content","find","i","key","api_list","url","window","location","href","split","wx","config","debug","appId","timeStamp","parseInt","timestamp","nonceStr","signature","jsApiList","playJiayou","jiayouAudio","paused","playVideo","video","aRadio","radio","length","mint_ui_common","dRadio","playAudio","audio","chooseImage","count","sizeType","sourceType","success","localIds","console","log","updateTime","e","time","target","currentTime","duration","stopAudio","chooseRadio","subLog","index","_this2","goNext","setTime","_this3","stay_time","x","page_id","titleType","json","page_type","backToList","$router","push","components_lesson","render","_vm","_h","$createElement","_c","_self","staticClass","style","backgroundImage","attrs","src","reqiqiu","_v","qiqiu","feiji","title1","ref","autoplay","_e","r1","r2","playing","r3","rp","on","click","rs","tadayBg","domProps","innerHTML","_s","today","title2","directory","bank","$event","nextIndex","go","timeLang","videoUrl","preload","x5-video-player-type","controls","controlsList","poster","banner","tabRadio","backBtn","lastIndex","next","bg","moerduoBg","tabVideo","title","moerduo","CD","timeupdate","lable","loading","left","near","stop","buttonType","backLookBtn","showBtn","backPlayBtn","finishBtn","nextBtn","riji","yeziyou","yezizuo","zhaopianqiang","contenteditable","radioIcon","imgIcon","videoIcon","_m","jiayoubao","model","value","callback","$$v","expression","avatar","total_day","total_time","toFixed","total_words_num","staticRenderFns","staticStyle","color","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kKAkLAA,GACAC,KAAA,SACAC,KAFA,WAGA,IAAAC,EAAAC,KAAAC,OAAAF,MACA,OACAG,WAAAH,EAAAG,WACAC,YAAAJ,EAAAI,YACAC,mBAAAL,EAAAK,mBACAC,KAAAN,EAAAM,KACAC,WAAA,EACAC,YAAA,EACAC,QAAA,KACAC,cACAC,WAAA,KACAC,eAAA,EACAC,GAAA,EACAC,eAAA,EACAC,UAAA,EACAC,eAAA,EACAC,UAAA,KACAC,WAAA,KACAC,SAAAC,KAAAC,MAAA,IAAAD,MACAE,UACAC,MAAAC,EAAA,EACAC,OAAAD,EAAA,EACAE,MAAAF,EAAA,EACAG,MAAAH,EAAA,EACAI,WAAAJ,EAAA,KAIAK,QA/BA,WAgCA5B,KAAA6B,YAEAC,SAEAC,eAFA,WAGA/B,KAAAgC,MAAAC,UAAAC,OACAlC,KAAAa,eAAA,GAEAsB,eANA,WAOAnC,KAAAgC,MAAAC,UAAAG,QACApC,KAAAa,eAAA,GAEAgB,SAVA,WAUA,IAAAQ,EAAArC,KACMsC,OAAAC,EAAA,EAAAD,GAANE,KAAA,SAAAC,GACAJ,EAAApB,WAAAwB,IAEMH,OAAAC,EAAA,EAAAD,CAANtC,KAAAE,WAAAF,KAAAG,aAAAqC,KAAA,SAAAC,GACAJ,EAAA3B,WAAAgC,KAAAtB,MAAAqB,EAAAE,SACAN,EAAAzB,GAAA6B,EAAA7B,GACAyB,E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l.look1.bg})`}\" class=\"look1\" v-if=\"nowLesson && nowLesson.key === 'look1'\">\n <div class=\"content\">\n <img :src=\"mouldUrl.look1.reqiqiu\" class=\"reqiqiu\"/>\n <img :src=\"mouldUrl.look1.qiqiu\" class=\"qiqiu\"/>\n <img :src=\"mouldUrl.look1.feiji\" class=\"feiji\"/>\n <div class=\"title\">\n <img :src=\"mouldUrl.look1.title1\"/>\n </div>\n <audio ref=\"lookAudio\" v-if=\"nowLesson.content.radio.length>0\" :src=\"nowLesson.content.radio[0].url\" autoplay></audio>\n <div class=\"radio\">\n <img :src=\"mouldUrl.look1.r1\" class=\"r1\">\n <img :src=\"mouldUrl.look1.r2\" class=\"r2\" v-if=\"lookAudioType\">\n <img :src=\"mouldUrl.look1.playing\" class=\"r2\" v-if=\"!lookAudioType\">\n <img :src=\"mouldUrl.look1.r3\" class=\"r3\">\n <img :src=\"mouldUrl.look1.rp\" class=\"rp\" @click=\"playLook1Audio\" v-if=\"lookAudioType\">\n <img :src=\"mouldUrl.look1.rs\" class=\"rs\" @click=\"stopLook1Audio\" v-if=\"!lookAudioType\">\n </div>\n <div class=\"today-block\">\n <img :src=\"mouldUrl.look1.tadayBg\"/>\n <div class=\"today-text\">\n <div class=\"zhanwei1\"></div>\n <div class=\"zhanwei2\"></div>\n <div class=\"zhanwei3\"></div>\n <div v-html=\"nowLesson.content.today\">\n </div>\n </div>\n </div>\n <div class=\"title2-block\">\n <img :src=\"mouldUrl.look1.title2\" class=\"title2\"/>\n <div class=\"directory-text\">\n <div v-html=\"nowLesson.content.directory\">\n </div>\n </div>\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.look1.bank\" @click=\"backToList()\"/>\n <img :src=\"mouldUrl.look1.go\" v-if=\"nowLesson.content.nextIndex !== -1\" @click=\"goNext(nowLesson.content.nextIndex,nowLesson.content.timeLang)\"/>\n </div>\n </div>\n <!--玩一玩1-->\n <div v-if=\"nowLesson && nowLesson.key === 'play1'\" class=\"play1\" :style=\"{backgroundImage:`url(${mouldUrl.play1.bg})`}\">\n <div class=\"bg-block\">\n <div class=\"video-block\">\n <div class=\"icon-class\" v-if=\"playVideoType\">\n <img :src=\"mouldUrl.play1.play\" @click=\"playVideo()\"/>\n </div>\n <video\n ref=\"video\"\n preload=\"auto\"\n x5-video-player-type=\"h5\"\n v-if=\"nowLesson.content.videoUrl.length > 0\"\n :controls=\"!playVideoType\"\n controlsList=\"nodownload\" :poster=\"!!nowLesson.content.banner[0] ? nowLesson.content.banner[0].url : '' \" :src=\"nowLesson.content.videoUrl[0].url\"></video>\n </div>\n <img :src=\"mouldUrl.play1.radio\" class=\"radio-img\" v-if=\"nowLesson.content.tabRadio.type\" @click=\"goNext(nowLesson.content.tabRadio.index)\"/>\n <img :src=\"mouldUrl.play1.backBtn\" class=\"btn back\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.play1.next\" class=\"btn next\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n <!--玩一玩音频-->\n <div v-if=\"nowLesson && nowLesson.key === 'radio1'\" class=\"radio1\" :style=\"{backgroundImage:`url(${nowLesson.content.titleType === 0 ? mouldUrl.radio1.bg:mouldUrl.radio1.moerduoBg})`}\">\n <div class=\"bg-block\" :style=\"{backgroundImage:`url('${mouldUrl.radio1.contentBg}')`}\">\n <img :src=\"mouldUrl.radio1.tabVideo\" class=\"tab-video-img\" @click=\"goNext(nowLesson.content.tabVideo.index)\" v-if=\"nowLesson.content.tabVideo.type\"/>\n <div class=\"title\">\n <img :src=\"mouldUrl.radio1.title\" v-if=\"nowLesson.content.titleType === 0\"/>\n <img :src=\"mouldUrl.radio1.moerduo\" v-if=\"nowLesson.content.titleType === 1\"/>\n </div>\n <div class=\"cd\">\n <img :src=\"mouldUrl.radio1.CD\"/>\n </div>\n <audio ref=\"audio\" :src=\"nowLesson.content.radio[radioLenth].url\" @timeupdate=\"updateTime\">\n </audio>\n <div class=\"name-block\">\n <div class=\"name\">\n <span v-if=\"nowLesson.content.radio[radioLenth]\">{{nowLesson.content.radio[radioLenth].title}}</span>\n </div>\n <div class=\"ahtor\">\n <span v-if=\"nowLesson.content.radio[radioLenth]\">{{nowLesson.content.radio[radioLenth].lable}}</span>\n </div>\n </div>\n <div class=\"play-block\">\n <img :src=\"mouldUrl.radio1.loading\"/>\n <div class=\"radius-icon\" :style=\"{left:audioLeft}\"></div>\n </div>\n <div class=\"btn-block\">\n <img :src=\"mouldUrl.radio1.near\" @click=\"dRadio()\"/>\n <img :src=\"mouldUrl.radio1.play\" class=\"play\" v-if=\"!playAudioType\" @click=\"playAudio()\"/>\n <img :src=\"mouldUrl.radio1.stop\" class=\"play\" v-if=\"playAudioType\" @click=\"stopAudio()\"/>\n <img :src=\"mouldUrl.radio1.next\" @click=\"aRadio()\"/>\n </div>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 0\">\n <img :src=\"mouldUrl.radio1.backLookBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.showBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 1\">\n <img :src=\"mouldUrl.radio1.backPlayBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 2\">\n <img :src=\"mouldUrl.radio1.backLookBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n <div class=\"bottom-block\" v-if=\"nowLesson.content.buttonType === 3\">\n <img :src=\"mouldUrl.radio1.backPlayBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.radio1.nextBtn\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n <!--秀宝贝1-->\n <div v-if=\"nowLesson && nowLesson.key === 'show1'\" class=\"show1\" :style=\"{backgroundImage:`url(${mouldUrl.show1.bg})`}\">\n <img :src=\"mouldUrl.show1.riji\" class=\"riji\"/>\n <img :src=\"mouldUrl.show1.yeziyou\" class=\"yeziyou\"/>\n <img :src=\"mouldUrl.show1.yezizuo\" class=\"yezizuo\"/>\n <img :src=\"mouldUrl.show1.zhaopianqiang\" class=\"zhaopianqiang\"/>\n <div class=\"bg-block\" :style=\"{backgroundImage:`url(${mouldUrl.show1.contentBg})`}\">\n <div class=\"title-block\">\n <img :src=\"mouldUrl.show1.title\"/>\n </div>\n <div class=\"textarea\">\n <div contenteditable class=\"text\" id=\"text\">\n\n </div>\n <div class=\"btn-block\">\n <img :src=\"mouldUrl.show1.radioIcon\" @click=\"chooseRadio()\"/>\n <img :src=\"mouldUrl.show1.imgIcon\" @click=\"chooseImage\"/>\n <img :src=\"mouldUrl.show1.videoIcon\"/>\n </div>\n </div>\n <div class=\"text-block\">\n 解释说明:\n <div class=\"text-content\">\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\n <span style=\"color: #333\">唱学加油包</span>哦!\n </div>\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.show1.backBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.show1.jiayoubao\" @click=\"subLog(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n <!--加油包1-->\n <div v-if=\"nowLesson && nowLesson.key === 'refueling1'\" class=\"refueling1\" :style=\"{backgroundImage:`url(${mouldUrl.refueling1.bg})`}\">\n <div class=\"bg-block\">\n <img :src=\"mouldUrl.refueling1.title\" class=\"title\" >\n <audio v-if=\"nowLesson.content.radio.length\" :src=\"nowLesson.content.radio[0].url\" autoplay ref=\"jiayouAudio\"></audio>\n <div class=\"content-img\" :style=\"{backgroundImage:nowLesson.content.banner[0] ? `url(${nowLesson.content.banner[0].url})`:''}\">\n <img :src=\"mouldUrl.refueling1.radio\" class=\"radio-icon\" @click=\"playJiayou()\">\n </div>\n </div>\n <div class=\"bottom-block\">\n <img :src=\"mouldUrl.refueling1.backBtn\" @click=\"goNext(nowLesson.content.lastIndex)\"/>\n <img :src=\"mouldUrl.refueling1.next\" v-if=\"nowLesson.content.nextIndex !== -1\" @click=\"goNext(nowLesson.content.nextIndex)\"/>\n </div>\n </div>\n <mt-popup v-model=\"showFinish\">\n <div class=\"showFinish-block\" v-if=\"showObj\" :style=\"{backgroundImage:`url(${mouldUrl.show1.finish})`}\">\n <div class=\"header\">\n <img :src=\"userDetail.avatar\" v-if=\"userDetail\">\n </div>\n <div class=\"text1\">{{showObj.total_day}}</div>\n <div class=\"text2\">{{(showObj.total_time/60).toFixed(0)}}</div>\n <div class=\"text3\">{{showObj.total_words_num}}</div>\n </div>\n <div class=\"finishBtn\">\n <img :src=\"mouldUrl.show1.finishBtn\" @click=\"goNext(nowLesson.content.nextIndex);showFinish = false\"/>\n </div>\n </mt-popup>\n </div>\n</template>\n<script>\n import {getLessonDetailApi,subUserLessonApi,getwechatParam,getUserWatchApi,getUserDetailApi} from \"../service/api\";\n import {look1,radio1,play1,show1,refueling1} from \"../util/imgUrl\";\n import { Toast } from 'mint-ui';\n export default {\n name: \"lesson\",\n data(){\n let query = this.$route.query;\n return{\n periods_id:query.periods_id,\n category_id:query.category_id,\n parent_category_id:query.parent_category_id,\n type:query.type,\n radioLenth:0,\n showFinish:false,\n showObj:null,\n watch_list:[],\n lessonList:null,\n playAudioType:false,\n id:0,\n lookAudioType:false,\n audioLeft:0,\n playVideoType:true,\n nowLesson:null,\n userDetail:null,\n timeLong:Date.parse(new Date()),\n mouldUrl:{\n look1:look1,\n radio1:radio1,\n play1:play1,\n show1:show1,\n refueling1:refueling1\n }\n }\n },\n mounted(){\n this.initPage();\n },\n methods:{\n\n playLook1Audio(){\n this.$refs.lookAudio.play();\n this.lookAudioType = false\n },\n stopLook1Audio(){\n this.$refs.lookAudio.pause();\n this.lookAudioType = true\n },\n initPage(){\n getUserDetailApi().then(res=>{\n this.userDetail = res\n });\n getLessonDetailApi(this.periods_id,this.category_id).then(res=>{\n this.lessonList = JSON.parse(res.content);\n this.id = res.id;\n this.watch_list = res.watch_list;\n this.nowLesson = this.lessonList.find(i=>{return i.key === this.type})\n getwechatParam({\n api_list:'chooseImage,previewImage,uploadImage,downloadImage,getLocalImgData,onMenuShareAppMessage,onMenuShareTimeline',\n url:window.location.href.split('#')[0]\n }).then(res=>{\n wx.config({\n debug: true,\n appId: res.appId,\n timeStamp: parseInt(res.timestamp),\n nonceStr: res.nonceStr,\n signature: res.signature,\n jsApiList: res.jsApiList\n });\n });\n });\n\n },\n playJiayou(){\n if(this.$refs.jiayouAudio.paused){\n this.$refs.jiayouAudio.play()\n }else{\n this.$refs.jiayouAudio.pause()\n }\n },\n playVideo(){\n this.playVideoType = false;\n this.$refs.video.play()\n },\n aRadio(){\n if(this.radioLenth < this.nowLesson.content.radio.length - 1){\n this.radioLenth ++;\n this.playAudioType = false;\n this.audioLeft = 0;\n }else{\n Toast('已是最后一个')\n }\n },\n dRadio(){\n if(this.radioLenth>0){\n this.radioLenth --;\n this.playAudioType = false;\n this.audioLeft = 0;\n }else{\n Toast('已是第一个')\n }\n },\n playAudio(){\n this.$refs.audio.play();\n this.playAudioType = true;\n },\n chooseImage(){\n wx.chooseImage({\n count: 1, // 默认9\n sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有\n sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有\n success: function (res) {\n var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片\n console.log(res)\n }\n });\n },\n updateTime(e){\n let time = e.target.currentTime / e.target.duration * 72.5333333;\n this.audioLeft = time + 'vw';\n if(e.target.currentTime === e.target.duration ){\n this.playAudioType = false\n }\n },\n stopAudio(){\n this.$refs.audio.pause();\n this.playAudioType = false\n },\n chooseRadio(){\n wx.chooseImage({\n count: 1, // 默认9\n sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有\n sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有\n success: function (res) {\n var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片\n }\n });\n },\n subLog(index){\n getUserWatchApi().then(res=>{\n this.showObj = res;\n this.showFinish = true\n })\n },\n goNext(i, setTime) {\n let stay_time = Date.parse(new Date()) - this.timeLong;\n if (!this.watch_list.find(x => {\n return x.page_id === 1\n }) && setTime && stay_time / 1000 < setTime) {\n Toast('尚未到时间,请继续观看');\n return\n }\n let page_id = 0;\n if (this.nowLesson.key === 'look1') {\n page_id = 1\n } else if (this.nowLesson.key === 'play1' || (this.nowLesson.key === 'radio1' && this.nowLesson.content.titleType === 0)) {\n page_id = 2\n } else if (this.nowLesson.key === 'show1') {\n page_id = 3\n } else if (this.nowLesson.key === 'refueling1' || (this.nowLesson.key === 'radio1' && this.nowLesson.content.titleType === 1)) {\n page_id = 4\n }\n let json = {\n page_type: 0,\n page_id: page_id,\n stay_time: stay_time / 1000\n };\n subUserLessonApi(this.id, this.category_id, this.periods_id, json).then(res => {\n this.timeLong += stay_time\n });\n this.nowLesson = this.lessonList[i];\n\n console.log(this.nowLesson)\n },\n backToList(){\n let query = {\n periods_id:this.periods_id,\n parent_category_id:this.parent_category_id\n };\n this.$router.push({name:'map',query:query})\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n .lesson{\n height: 100%;\n overflow: auto;\n .look1{\n height: 100%;\n background-size: 100% 100%;\n .bottom-block{\n position: fixed;\n bottom: 9 * @toVw;\n width: 100%;\n left: 0;\n text-align: center;\n img{\n width: 127 * @toVw;\n }\n img:first-child{\n margin-right: 25 * @toVw;\n }\n }\n .content{\n width: 325 * @toVw;\n height: 520 * @toVw;\n background: white;\n border-radius: 5px;\n position: relative;\n top: 15 * @toVw;\n padding: 10 * @toVw;\n .reqiqiu{\n position: absolute;\n left: -30/ 2 * @toVw;\n width: 56 * @toVw;\n z-index: 1;\n }\n .qiqiu{\n position: absolute;\n z-index: 1;\n width: 42 *@toVw;\n left: -30/ 2 * @toVw;\n top: 700/ 2 * @toVw\n }\n .feiji{\n position: absolute;\n z-index: 1;\n width: 84 * @toVw;\n right: -10 * @toVw;\n top: 120 * @toVw;\n }\n .title{\n img{\n width: 100%;\n }\n }\n .radio{\n text-align: center;\n position: relative;\n height: 55 * @toVw;\n .r1{\n position: absolute;\n bottom: 10 * @toVw;\n width: 225.5 * @toVw;\n right: 10 * @toVw;\n }\n .r2{\n position: absolute;\n right: 45 * @toVw;\n width: 118*@toVw;\n bottom: 13 * @toVw;\n }\n .r3{\n position: absolute;\n left: 15 * @toVw;\n bottom: 10 * @toVw;\n width: 73 * @toVw;\n }\n .rs{\n position: absolute;\n right: 190 * @toVw;\n bottom: 15 * @toVw;\n width: 22 * @toVw;\n }\n .rp{\n position: absolute;\n right: 190 * @toVw;\n bottom: 15 * @toVw;\n width: 22 * @toVw;\n }\n }\n .today-block{\n position: relative;\n img{\n width: 100%;\n }\n .today-text{\n position: absolute;\n top: 35* @toVw;\n left: 0;\n bottom: 0;\n right: 0;\n font-size: 14* @toVw;\n line-height: 35* @toVw;\n text-align: left;\n padding-left: 20* @toVw;\n padding-right: 15* @toVw;\n z-index: 3;\n overflow: hidden;\n .zhanwei1{\n float: left;\n clear: left;\n width: 15* @toVw;\n height: 35* @toVw;\n }\n .zhanwei2{\n float: left;\n clear: left;\n width: 60* @toVw;\n height: 35* @toVw;\n }\n .zhanwei3{\n float: left;\n clear: left;\n width: 70* @toVw;\n height: 35* @toVw;\n }\n }\n }\n .title2-block{\n background: #FFFFFF;\n border: 1px solid #2E2E2E;\n border-radius: 4px;\n position: relative;\n top: 10 * @toVw;\n height: 213 * @toVw;\n .directory-text{\n position: absolute;\n top: 50/ 2 * @toVw;\n left: 0;\n bottom: 0;\n right: 0;\n font-size: 28/ 2 * @toVw;\n line-height: 50/ 2 * @toVw;\n text-align: left;\n padding-left: 40/ 2 * @toVw;\n padding-right: 30/ 2 * @toVw;\n z-index: 3;\n overflow: auto;\n }\n .title2{\n position: absolute;\n width: 192 * @toVw;\n top: -20 * @toVw;\n left: 10 * @toVw;\n }\n .redM{\n position: absolute;\n width: 96 * @toVw;\n top: -2 * @toVw;\n right: -2 * @toVw;\n }\n .flour{\n position: absolute;\n bottom: 0;\n width: 169 * @toVw;\n right: 0;\n }\n }\n }\n }\n .play1{\n height: 100%;\n background-size: 100% 100%;\n .bg-block{\n background: white;\n text-align: left;\n border-radius: 4 * @toVw;\n width: 557 * @toVw ;\n height: 294 * @toVw;\n transform-origin: 163 * @toVw 180 * @toVw;\n transform: rotate(90deg);\n padding: 10* @toVw;\n .radio-img{\n position: absolute;\n right: 10 * @toVw;\n top: 10 * @toVw;\n width: 40 * @toVw;\n }\n .btn{\n position: absolute;\n width: 40 * @toVw;\n right: 10 * @toVw;\n bottom: 10 * @toVw;\n &.back{\n bottom:60 * @toVw\n }\n }\n .video-block{\n margin: 0;\n background: black;\n border-radius: 8/ 2 * @toVw;\n height: 100%;\n width: 506 * @toVw;\n position: relative;\n\n .icon-class{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0,0,0,0.3);\n }\n img{\n position: absolute;\n top: 50%;\n z-index: 2;\n left: 50%;\n width: 58 * @toVw ;\n margin-top: -50/ 2 * @toVw;\n margin-left: -50/ 2 * @toVw;\n }\n video{\n width: 100%;\n }\n }\n }\n }\n .radio1{\n height: 100%;\n background-size: 100% 100%;\n .bg-block{\n background-color: transparent;\n border: none;\n width: 345 * @toVw;\n top: 10 *@toVw;\n height: 540 * @toVw;\n padding: 10*@toVw;\n box-shadow: none;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n position: relative;\n .tab-video-img{\n position: absolute;\n bottom: 15 * @toVw;\n width: 24* @toVw;\n right: 15 * @toVw;\n }\n .title{\n text-align: center;\n img{\n width: 80%;\n }\n }\n .cd{\n text-align: center;\n img{\n width: 194 * @toVw;\n }\n }\n .name-block{\n text-align: center;\n margin-top: 20 * @toVw;\n font-family: PingFang-SC-Regular;\n color: #333333;\n .name{\n height: 25 * @toVw;\n line-height: 25 * @toVw;\n font-size: 16 * @toVw;\n }\n .ahtor{\n font-size: 12 * @toVw;\n }\n }\n .play-block{\n width: 272 * @toVw;\n margin: 20 * @toVw auto auto auto;\n position: relative;\n img{\n width: 272 * @toVw;\n }\n .radius-icon{\n position: absolute;\n width: 13 * @toVw;\n top: 5*@toVw;\n left: 0;\n height: 13 * @toVw;\n background: #80952B ;\n border-radius: 50 * @toVw;\n }\n }\n .btn-block{\n line-height: 100 * @toVw;\n text-align: center;\n img{\n vertical-align: middle;;\n margin-right: 10 * @toVw;\n width: 24 *@toVw;\n &.play{\n width: 36 *@toVw;\n }\n &:last-child{\n margin-right: 0;\n }\n }\n }\n }\n .bottom-block{\n position: fixed;\n width: 100%;\n bottom: 10*@toVw;\n text-align: center;\n img{\n width: 127 * @toVw;\n }\n img:first-child{\n margin-right: 25 * @toVw;\n }\n }\n }\n .show1{\n height: 100%;\n width: 100%;\n background-size: 100% 100%;\n position: relative;\n &>img{\n position: absolute;\n z-index: 2;\n &.haiou{\n top: 390 * @toVw;\n left: 70/ 2 * @toVw;\n width: 81 * @toVw;\n }\n &.riji{\n width:78*@toVw ;\n top: 25 * @toVw;\n left: 0;\n }\n &.yeziyou{\n bottom: 0;\n right: 0;\n width: 258/2*@toVw;\n }\n &.yezizuo{\n width: 238 / 2 *@toVw;\n bottom: 0;\n left: 0;\n }\n &.zhaopianqiang{\n top: 400 * @toVw;\n left: 80/ 2 * @toVw;\n width: 234 / 2 * @toVw;\n }\n }\n .bg-block{\n position: relative;\n width: 344 * @toVw;\n background-size: 100%;\n height: 552 * @toVw;\n .zhuangshi{\n bottom: 0;\n }\n }\n .title-block{\n padding-top: 50 * @toVw;\n text-align: center;\n img{\n width: 420 / 2 * @toVw;\n }\n }\n .textarea{\n background: #FDFDFD;\n height: 352/ 2 * @toVw;\n width: 626/ 2 * @toVw;\n margin:10*@toVw auto 0 auto;\n box-shadow: inset 1/ 2 * @toVw 1/ 2 * @toVw 3/ 2 * @toVw 1/ 2 * @toVw rgba(142,142,142,0.50);\n border-radius: 8/ 2 * @toVw;\n position: relative;\n .text{\n position: absolute;\n top: 5px;\n left: 5px;\n overflow: auto;\n outline: none;\n bottom: 5px;\n right: 5px;\n }\n .btn-block{\n position: absolute;\n bottom: 10/ 2 * @toVw;\n right: 10/ 2 * @toVw;\n img{\n width: 24 * @toVw;\n margin-right: 10/ 2 * @toVw;\n }\n }\n }\n .text-block{\n width: 600/ 2 * @toVw;\n margin: auto;\n padding-top: 20/ 2 * @toVw;\n text-align: left;\n font-family: PingFang-SC-Medium;\n font-size: 28/ 2 * @toVw;\n color: #666666;\n line-height: 40/ 2 * @toVw;\n .text-content{\n font-family: PingFang-SC-Regular;\n font-size: 24/ 2 * @toVw;\n color: #999999;\n }\n }\n .sub-block{\n position: absolute;\n width: 100%;\n text-align: center;\n bottom: 160/ 2 * @toVw;\n img{\n width: 88 * @toVw\n }\n }\n .bottom-block{\n width: 100%;\n text-align: center;\n position: fixed;\n z-index: 2;\n bottom: 10 * @toVw;\n img{\n width: 127 * @toVw;\n &:first-child{\n margin-right: 15 * @toVw;\n }\n }\n }\n }\n .refueling1{\n background-size: 100% 100%;\n height: 100%;\n .bg-block{\n width: 325 * @toVw;\n height: 520 * @toVw;\n background: white;\n overflow: hidden;\n border-radius: 8 * @toVw;\n padding: 10 * @toVw;\n position: relative;\n top: 10 * @toVw;\n text-align: center;\n }\n .title{\n width: 280 * @toVw ;\n }\n .bottom-block{\n position: fixed;\n bottom: 10 *@toVw;\n width: 100%;\n text-align: center;\n img{\n width: 127 * @toVw;\n &:first-child{\n margin-right: 10*@toVw;\n }\n }\n }\n .content-img{\n position: relative;\n height: 832/ 2 * @toVw;\n background: #333;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n margin: 20/ 2 * @toVw;\n border-radius: 8/ 2 * @toVw;\n .radio-icon{\n position: absolute;\n width: 40 * @toVw;\n right: 20/ 2 * @toVw;\n top: 20/ 2 * @toVw;\n }\n }\n }\n .finishBtn{\n width: 100%;\n text-align: center;\n position: absolute;\n top: 375 * @toVw;\n img{\n width: 215 * @toVw;\n }\n }\n .showFinish-block{\n background-size: 100% 100%;\n position: relative;\n width: 313 * @toVw;\n height: 439 * @toVw;\n background-color: rgba(0,0,0,0.5);\n .header{\n position: absolute;\n width: 100%;\n text-align: center;\n top: 110 * @toVw;\n img{\n width: 48 * @toVw;\n border-radius: 1000px;\n }\n }\n .text1{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 181 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n .text2{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 225 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n .text3{\n position: absolute;\n right: 125 * @toVw;\n width: 3em;\n text-align: center;\n top: 273 * @toVw;\n font-size:12px;\n font-family:PingFang-SC-Regular;\n font-weight:400;\n color:rgba(51,51,51,1);\n line-height:17px;\n }\n }\n }\n\n @media screen and (orientation: landscape) {\n .lesson {\n .play1 {\n height: 100%;\n background-size: 100% 100%;\n padding: 5 * @toVw;\n .bg-block {\n background: white;\n text-align: left;\n border-radius: 4 * @toVw;\n width: 245 * @toVw;\n height: 120 * @toVw;\n transform: rotate(0deg);\n padding: 10* @toVw;\n .radio-img {\n position: absolute;\n right: 5 * @toVw;\n top: 5 * @toVw;\n width: 20 * @toVw;\n }\n .btn {\n position: absolute;\n width: 20 * @toVw;\n right: 5 * @toVw;\n bottom: 5 * @toVw;\n &.back {\n bottom: 30 * @toVw\n }\n }\n .video-block {\n margin: 0;\n background: black;\n border-radius: 8/ 2 * @toVw;\n height: 100%;\n width: 220 * @toVw;\n position: relative;\n\n .icon-class {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.3);\n }\n img {\n position: absolute;\n top: 50%;\n z-index: 2;\n left: 50%;\n width: 30 * @toVw;\n margin-top: -30/ 2 * @toVw;\n margin-left: -30/ 2 * @toVw;\n }\n video {\n width: 100%;\n }\n }\n }\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/lesson.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lesson\"},[(_vm.nowLesson && _vm.nowLesson.key === 'look1')?_c('div',{staticClass:\"look1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.look1.bg) + \")\")})},[_c('div',{staticClass:\"content\"},[_c('img',{staticClass:\"reqiqiu\",attrs:{\"src\":_vm.mouldUrl.look1.reqiqiu}}),_vm._v(\" \"),_c('img',{staticClass:\"qiqiu\",attrs:{\"src\":_vm.mouldUrl.look1.qiqiu}}),_vm._v(\" \"),_c('img',{staticClass:\"feiji\",attrs:{\"src\":_vm.mouldUrl.look1.feiji}}),_vm._v(\" \"),_c('div',{staticClass:\"title\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.title1}})]),_vm._v(\" \"),(_vm.nowLesson.content.radio.length>0)?_c('audio',{ref:\"lookAudio\",attrs:{\"src\":_vm.nowLesson.content.radio[0].url,\"autoplay\":\"\"}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"radio\"},[_c('img',{staticClass:\"r1\",attrs:{\"src\":_vm.mouldUrl.look1.r1}}),_vm._v(\" \"),(_vm.lookAudioType)?_c('img',{staticClass:\"r2\",attrs:{\"src\":_vm.mouldUrl.look1.r2}}):_vm._e(),_vm._v(\" \"),(!_vm.lookAudioType)?_c('img',{staticClass:\"r2\",attrs:{\"src\":_vm.mouldUrl.look1.playing}}):_vm._e(),_vm._v(\" \"),_c('img',{staticClass:\"r3\",attrs:{\"src\":_vm.mouldUrl.look1.r3}}),_vm._v(\" \"),(_vm.lookAudioType)?_c('img',{staticClass:\"rp\",attrs:{\"src\":_vm.mouldUrl.look1.rp},on:{\"click\":_vm.playLook1Audio}}):_vm._e(),_vm._v(\" \"),(!_vm.lookAudioType)?_c('img',{staticClass:\"rs\",attrs:{\"src\":_vm.mouldUrl.look1.rs},on:{\"click\":_vm.stopLook1Audio}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"today-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.tadayBg}}),_vm._v(\" \"),_c('div',{staticClass:\"today-text\"},[_c('div',{staticClass:\"zhanwei1\"}),_vm._v(\" \"),_c('div',{staticClass:\"zhanwei2\"}),_vm._v(\" \"),_c('div',{staticClass:\"zhanwei3\"}),_vm._v(\" \"),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.nowLesson.content.today)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"title2-block\"},[_c('img',{staticClass:\"title2\",attrs:{\"src\":_vm.mouldUrl.look1.title2}}),_vm._v(\" \"),_c('div',{staticClass:\"directory-text\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.nowLesson.content.directory)}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.bank},on:{\"click\":function($event){_vm.backToList()}}}),_vm._v(\" \"),(_vm.nowLesson.content.nextIndex !== -1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.look1.go},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex,_vm.nowLesson.content.timeLang)}}}):_vm._e()])]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson && _vm.nowLesson.key === 'play1')?_c('div',{staticClass:\"play1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.play1.bg) + \")\")})},[_c('div',{staticClass:\"bg-block\"},[_c('div',{staticClass:\"video-block\"},[(_vm.playVideoType)?_c('div',{staticClass:\"icon-class\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.play1.play},on:{\"click\":function($event){_vm.playVideo()}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.videoUrl.length > 0)?_c('video',{ref:\"video\",attrs:{\"preload\":\"auto\",\"x5-video-player-type\":\"h5\",\"controls\":!_vm.playVideoType,\"controlsList\":\"nodownload\",\"poster\":!!_vm.nowLesson.content.banner[0] ? _vm.nowLesson.content.banner[0].url : '',\"src\":_vm.nowLesson.content.videoUrl[0].url}}):_vm._e()]),_vm._v(\" \"),(_vm.nowLesson.content.tabRadio.type)?_c('img',{staticClass:\"radio-img\",attrs:{\"src\":_vm.mouldUrl.play1.radio},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.tabRadio.index)}}}):_vm._e(),_vm._v(\" \"),_c('img',{staticClass:\"btn back\",attrs:{\"src\":_vm.mouldUrl.play1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{staticClass:\"btn next\",attrs:{\"src\":_vm.mouldUrl.play1.next},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})])]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson && _vm.nowLesson.key === 'radio1')?_c('div',{staticClass:\"radio1\",style:({backgroundImage:(\"url(\" + (_vm.nowLesson.content.titleType === 0 ? _vm.mouldUrl.radio1.bg:_vm.mouldUrl.radio1.moerduoBg) + \")\")})},[_c('div',{staticClass:\"bg-block\",style:({backgroundImage:(\"url('\" + (_vm.mouldUrl.radio1.contentBg) + \"')\")})},[(_vm.nowLesson.content.tabVideo.type)?_c('img',{staticClass:\"tab-video-img\",attrs:{\"src\":_vm.mouldUrl.radio1.tabVideo},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.tabVideo.index)}}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"title\"},[(_vm.nowLesson.content.titleType === 0)?_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.title}}):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.titleType === 1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.moerduo}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"cd\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.CD}})]),_vm._v(\" \"),_c('audio',{ref:\"audio\",attrs:{\"src\":_vm.nowLesson.content.radio[_vm.radioLenth].url},on:{\"timeupdate\":_vm.updateTime}}),_vm._v(\" \"),_c('div',{staticClass:\"name-block\"},[_c('div',{staticClass:\"name\"},[(_vm.nowLesson.content.radio[_vm.radioLenth])?_c('span',[_vm._v(_vm._s(_vm.nowLesson.content.radio[_vm.radioLenth].title))]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"ahtor\"},[(_vm.nowLesson.content.radio[_vm.radioLenth])?_c('span',[_vm._v(_vm._s(_vm.nowLesson.content.radio[_vm.radioLenth].lable))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"play-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.loading}}),_vm._v(\" \"),_c('div',{staticClass:\"radius-icon\",style:({left:_vm.audioLeft})})]),_vm._v(\" \"),_c('div',{staticClass:\"btn-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.near},on:{\"click\":function($event){_vm.dRadio()}}}),_vm._v(\" \"),(!_vm.playAudioType)?_c('img',{staticClass:\"play\",attrs:{\"src\":_vm.mouldUrl.radio1.play},on:{\"click\":function($event){_vm.playAudio()}}}):_vm._e(),_vm._v(\" \"),(_vm.playAudioType)?_c('img',{staticClass:\"play\",attrs:{\"src\":_vm.mouldUrl.radio1.stop},on:{\"click\":function($event){_vm.stopAudio()}}}):_vm._e(),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.next},on:{\"click\":function($event){_vm.aRadio()}}})])]),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 0)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backLookBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.showBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 1)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backPlayBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 2)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backLookBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson.content.buttonType === 3)?_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.backPlayBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.radio1.nextBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}})]):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson && _vm.nowLesson.key === 'show1')?_c('div',{staticClass:\"show1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.bg) + \")\")})},[_c('img',{staticClass:\"riji\",attrs:{\"src\":_vm.mouldUrl.show1.riji}}),_vm._v(\" \"),_c('img',{staticClass:\"yeziyou\",attrs:{\"src\":_vm.mouldUrl.show1.yeziyou}}),_vm._v(\" \"),_c('img',{staticClass:\"yezizuo\",attrs:{\"src\":_vm.mouldUrl.show1.yezizuo}}),_vm._v(\" \"),_c('img',{staticClass:\"zhaopianqiang\",attrs:{\"src\":_vm.mouldUrl.show1.zhaopianqiang}}),_vm._v(\" \"),_c('div',{staticClass:\"bg-block\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.contentBg) + \")\")})},[_c('div',{staticClass:\"title-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.title}})]),_vm._v(\" \"),_c('div',{staticClass:\"textarea\"},[_c('div',{staticClass:\"text\",attrs:{\"contenteditable\":\"\",\"id\":\"text\"}}),_vm._v(\" \"),_c('div',{staticClass:\"btn-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.radioIcon},on:{\"click\":function($event){_vm.chooseRadio()}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.imgIcon},on:{\"click\":_vm.chooseImage}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.videoIcon}})])]),_vm._v(\" \"),_vm._m(0)]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.jiayoubao},on:{\"click\":function($event){_vm.subLog(_vm.nowLesson.content.nextIndex)}}})])]):_vm._e(),_vm._v(\" \"),(_vm.nowLesson && _vm.nowLesson.key === 'refueling1')?_c('div',{staticClass:\"refueling1\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.refueling1.bg) + \")\")})},[_c('div',{staticClass:\"bg-block\"},[_c('img',{staticClass:\"title\",attrs:{\"src\":_vm.mouldUrl.refueling1.title}}),_vm._v(\" \"),(_vm.nowLesson.content.radio.length)?_c('audio',{ref:\"jiayouAudio\",attrs:{\"src\":_vm.nowLesson.content.radio[0].url,\"autoplay\":\"\"}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"content-img\",style:({backgroundImage:_vm.nowLesson.content.banner[0] ? (\"url(\" + (_vm.nowLesson.content.banner[0].url) + \")\"):''})},[_c('img',{staticClass:\"radio-icon\",attrs:{\"src\":_vm.mouldUrl.refueling1.radio},on:{\"click\":function($event){_vm.playJiayou()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"bottom-block\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.refueling1.backBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.lastIndex)}}}),_vm._v(\" \"),(_vm.nowLesson.content.nextIndex !== -1)?_c('img',{attrs:{\"src\":_vm.mouldUrl.refueling1.next},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex)}}}):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('mt-popup',{model:{value:(_vm.showFinish),callback:function ($$v) {_vm.showFinish=$$v},expression:\"showFinish\"}},[(_vm.showObj)?_c('div',{staticClass:\"showFinish-block\",style:({backgroundImage:(\"url(\" + (_vm.mouldUrl.show1.finish) + \")\")})},[_c('div',{staticClass:\"header\"},[(_vm.userDetail)?_c('img',{attrs:{\"src\":_vm.userDetail.avatar}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"text1\"},[_vm._v(_vm._s(_vm.showObj.total_day))]),_vm._v(\" \"),_c('div',{staticClass:\"text2\"},[_vm._v(_vm._s((_vm.showObj.total_time/60).toFixed(0)))]),_vm._v(\" \"),_c('div',{staticClass:\"text3\"},[_vm._v(_vm._s(_vm.showObj.total_words_num))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"finishBtn\"},[_c('img',{attrs:{\"src\":_vm.mouldUrl.show1.finishBtn},on:{\"click\":function($event){_vm.goNext(_vm.nowLesson.content.nextIndex);_vm.showFinish = false}}})])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-block\"},[_vm._v(\"\\n 解释说明:\\n \"),_c('div',{staticClass:\"text-content\"},[_vm._v(\"\\n 各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得\\n \"),_c('span',{staticStyle:{\"color\":\"#333\"}},[_vm._v(\"唱学加油包\")]),_vm._v(\"哦!\\n \")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4ecf0dfc\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/lesson.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4ecf0dfc\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./lesson.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./lesson.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./lesson.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4ecf0dfc\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./lesson.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-4ecf0dfc\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/lesson.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,c){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={14:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var f=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"73efc70832d094be4b5c",1:"0c6a92e3238fa15bfdad",2:"806229820b4847f766fc",3:"5838fe4df31fab423274",4:"564721bffcd2b5f46851",5:"be089578e30afb4d2c31",6:"fe7bfaee74d2915fb4d0",7:"8fd218ee3f9ad8d6471d",8:"faff48e028ffc6cf7381",9:"8454b06eb9332201a094",10:"5ab7e28fe6f747fc9917",11:"4ffe8b86f6d407d26f0f"}[e]+".js";var a=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,f.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.2726f996debee2fd6cf0.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,c){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={14:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var f=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"73efc70832d094be4b5c",1:"0c6a92e3238fa15bfdad",2:"806229820b4847f766fc",3:"5838fe4df31fab423274",4:"564721bffcd2b5f46851",5:"be089578e30afb4d2c31",6:"fe7bfaee74d2915fb4d0",7:"8fd218ee3f9ad8d6471d",8:"9bab51e647cd133ebc75",9:"8454b06eb9332201a094",10:"5ab7e28fe6f747fc9917",11:"4ffe8b86f6d407d26f0f"}[e]+".js";var a=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,f.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.a82fee4d304f29920226.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 135d1ef6cf719825ac55"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","14","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAo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AC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAAsUlD,GAAA,MAC9Y,IAAAkC,EAAAiB,WAAAC,EAAA,MAEA,SAAAA,IAEAvB,EAAAwB,QAAAxB,EAAAyB,OAAA,KACAC,aAAArB,GACA,IAAAsB,EAAAnD,EAAAL,GACA,IAAAwD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAzD,EAAA,aAEAK,EAAAL,QAAA0D,GAKA,OAfA7B,EAAAwB,QAAAxB,EAAAyB,OAAAF,EAaA1B,EAAAiC,YAAA9B,GAEAL,GAIAX,EAAA+C,EAAAjD,EAGAE,EAAAgD,EAAA9C,EAGAF,EAAAiD,EAAA,SAAA7C,EAAA8C,EAAAC,GACAnD,EAAAoD,EAAAhD,EAAA8C,IACAxD,OAAA2D,eAAAjD,EAAA8C,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAnD,EAAAyD,EAAA,SAAApD,GACA,IAAA8C,EAAA9C,KAAAqD,WACA,WAA2B,OAAArD,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAiD,EAAAE,EAAA,IAAAA,GACAA,GAIAnD,EAAAoD,EAAA,SAAAO,EAAAC,GAAsD,OAAAlE,OAAAC,UAAAC,eAAAC,KAAA8D,EAAAC,IAGtD5D,EAAAyB,EAAA,IAGAzB,EAAA6D,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2726f996debee2fd6cf0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t14: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"73efc70832d094be4b5c\",\"1\":\"0c6a92e3238fa15bfdad\",\"2\":\"806229820b4847f766fc\",\"3\":\"5838fe4df31fab423274\",\"4\":\"564721bffcd2b5f46851\",\"5\":\"be089578e30afb4d2c31\",\"6\":\"fe7bfaee74d2915fb4d0\",\"7\":\"8fd218ee3f9ad8d6471d\",\"8\":\"faff48e028ffc6cf7381\",\"9\":\"8454b06eb9332201a094\",\"10\":\"5ab7e28fe6f747fc9917\",\"11\":\"4ffe8b86f6d407d26f0f\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 135d1ef6cf719825ac55"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 3b86d2f751380a02eb55"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","14","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA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AAAkC,EAAAiB,WAAAC,EAAA,MAEA,SAAAA,IAEAvB,EAAAwB,QAAAxB,EAAAyB,OAAA,KACAC,aAAArB,GACA,IAAAsB,EAAAnD,EAAAL,GACA,IAAAwD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAzD,EAAA,aAEAK,EAAAL,QAAA0D,GAKA,OAfA7B,EAAAwB,QAAAxB,EAAAyB,OAAAF,EAaA1B,EAAAiC,YAAA9B,GAEAL,GAIAX,EAAA+C,EAAAjD,EAGAE,EAAAgD,EAAA9C,EAGAF,EAAAiD,EAAA,SAAA7C,EAAA8C,EAAAC,GACAnD,EAAAoD,EAAAhD,EAAA8C,IACAxD,OAAA2D,eAAAjD,EAAA8C,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAnD,EAAAyD,EAAA,SAAApD,GACA,IAAA8C,EAAA9C,KAAAqD,WACA,WAA2B,OAAArD,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAiD,EAAAE,EAAA,IAAAA,GACAA,GAIAnD,EAAAoD,EAAA,SAAAO,EAAAC,GAAsD,OAAAlE,OAAAC,UAAAC,eAAAC,KAAA8D,EAAAC,IAGtD5D,EAAAyB,EAAA,IAGAzB,EAAA6D,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.a82fee4d304f29920226.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t14: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"73efc70832d094be4b5c\",\"1\":\"0c6a92e3238fa15bfdad\",\"2\":\"806229820b4847f766fc\",\"3\":\"5838fe4df31fab423274\",\"4\":\"564721bffcd2b5f46851\",\"5\":\"be089578e30afb4d2c31\",\"6\":\"fe7bfaee74d2915fb4d0\",\"7\":\"8fd218ee3f9ad8d6471d\",\"8\":\"9bab51e647cd133ebc75\",\"9\":\"8454b06eb9332201a094\",\"10\":\"5ab7e28fe6f747fc9917\",\"11\":\"4ffe8b86f6d407d26f0f\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 3b86d2f751380a02eb55"],"sourceRoot":""}
\ No newline at end of file
<template>
<div class="lesson">
<!--看一看1-->
<div :style="{backgroundImage:`url(${mouldUrl.look1.bg})`}" class="look1" v-if="nowLesson && nowLesson.key === 'look1'">
<div class="content">
<img :src="mouldUrl.look1.reqiqiu" class="reqiqiu"/>
<img :src="mouldUrl.look1.qiqiu" class="qiqiu"/>
<img :src="mouldUrl.look1.feiji" class="feiji"/>
<div class="title">
<img :src="mouldUrl.look1.title1"/>
</div>
<audio ref="lookAudio" v-if="nowLesson.content.radio.length>0" :src="nowLesson.content.radio[0].url" autoplay></audio>
<div class="radio">
<img :src="mouldUrl.look1.r1" class="r1">
<img :src="mouldUrl.look1.r2" class="r2" v-if="lookAudioType">
<img :src="mouldUrl.look1.playing" class="r2" v-if="!lookAudioType">
<img :src="mouldUrl.look1.r3" class="r3">
<img :src="mouldUrl.look1.rp" class="rp" @click="playLook1Audio" v-if="lookAudioType">
<img :src="mouldUrl.look1.rs" class="rs" @click="stopLook1Audio" v-if="!lookAudioType">
</div>
<div class="today-block">
<img :src="mouldUrl.look1.tadayBg"/>
<div class="today-text">
<div class="zhanwei1"></div>
<div class="zhanwei2"></div>
<div class="zhanwei3"></div>
<div v-html="nowLesson.content.today">
<transition name="fade">
<div :style="{backgroundImage:`url(${mouldUrl.look1.bg})`}" class="look1" v-if="nowLesson && nowLesson.key === 'look1'">
<div class="content">
<img :src="mouldUrl.look1.reqiqiu" class="reqiqiu"/>
<img :src="mouldUrl.look1.qiqiu" class="qiqiu"/>
<img :src="mouldUrl.look1.feiji" class="feiji"/>
<div class="title">
<img :src="mouldUrl.look1.title1"/>
</div>
<audio ref="lookAudio" v-if="nowLesson.content.radio.length>0" :src="nowLesson.content.radio[0].url" @ended="lookAudioType = true" @play="lookAudioType = false" autoplay></audio>
<div class="radio">
<img :src="mouldUrl.look1.r1" class="r1">
<img :src="mouldUrl.look1.r2" class="r2" v-if="lookAudioType">
<img :src="mouldUrl.look1.playing" class="r2" v-if="!lookAudioType">
<img :src="mouldUrl.look1.r3" class="r3">
<img :src="mouldUrl.look1.rp" class="rp" @click="playLook1Audio" v-if="lookAudioType">
<img :src="mouldUrl.look1.rs" class="rs" @click="stopLook1Audio" v-if="!lookAudioType">
</div>
<div class="today-block">
<img :src="mouldUrl.look1.tadayBg"/>
<div class="today-text">
<div class="zhanwei1"></div>
<div class="zhanwei2"></div>
<div class="zhanwei3"></div>
<div v-html="nowLesson.content.today">
</div>
</div>
</div>
</div>
<div class="title2-block">
<img :src="mouldUrl.look1.title2" class="title2"/>
<div class="directory-text">
<div v-html="nowLesson.content.directory">
<div class="title2-block">
<img :src="mouldUrl.look1.title2" class="title2"/>
<div class="directory-text">
<div v-html="nowLesson.content.directory">
</div>
</div>
</div>
</div>
<div class="bottom-block">
<img :src="mouldUrl.look1.bank" @click="backToList()"/>
<img :src="mouldUrl.look1.go" v-if="nowLesson.content.nextIndex !== -1" @click="goNext(nowLesson.content.nextIndex,nowLesson.content.timeLang)"/>
<div class="time-check" v-if="timeCheck > 0 ">{{timeCheck}}</div>
</div>
</div>
<div class="bottom-block">
<img :src="mouldUrl.look1.bank" @click="backToList()"/>
<img :src="mouldUrl.look1.go" v-if="nowLesson.content.nextIndex !== -1" @click="goNext(nowLesson.content.nextIndex,nowLesson.content.timeLang)"/>
</div>
</div>
</transition>
<!--玩一玩1-->
<div v-if="nowLesson && nowLesson.key === 'play1'" class="play1" :style="{backgroundImage:`url(${mouldUrl.play1.bg})`}">
<div class="bg-block">
<div class="video-block">
<div class="icon-class" v-if="playVideoType">
<img :src="mouldUrl.play1.play" @click="playVideo()"/>
<transition name="fade">
<div v-if="nowLesson && nowLesson.key === 'play1'" class="play1" :style="{backgroundImage:`url(${mouldUrl.play1.bg})`}">
<div class="bg-block">
<div class="video-block">
<div class="icon-class" v-if="playVideoType">
<img :src="mouldUrl.play1.play" @click="playVideo()"/>
</div>
<video
ref="video"
preload="auto"
x5-video-player-type="h5"
v-if="nowLesson.content.videoUrl.length > 0"
:controls="!playVideoType"
controlsList="nodownload" :poster="!!nowLesson.content.banner[0] ? nowLesson.content.banner[0].url : '' " :src="nowLesson.content.videoUrl[0].url"></video>
</div>
<video
ref="video"
preload="auto"
x5-video-player-type="h5"
v-if="nowLesson.content.videoUrl.length > 0"
:controls="!playVideoType"
controlsList="nodownload" :poster="!!nowLesson.content.banner[0] ? nowLesson.content.banner[0].url : '' " :src="nowLesson.content.videoUrl[0].url"></video>
<img :src="mouldUrl.play1.radio" class="radio-img" v-if="nowLesson.content.tabRadio.type" @click="goNext(nowLesson.content.tabRadio.index)"/>
<img :src="mouldUrl.play1.backBtn" class="btn back" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.play1.next" class="btn next" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<img :src="mouldUrl.play1.radio" class="radio-img" v-if="nowLesson.content.tabRadio.type" @click="goNext(nowLesson.content.tabRadio.index)"/>
<img :src="mouldUrl.play1.backBtn" class="btn back" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.play1.next" class="btn next" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
</div>
</transition>
<!--玩一玩音频-->
<div v-if="nowLesson && nowLesson.key === 'radio1'" class="radio1" :style="{backgroundImage:`url(${nowLesson.content.titleType === 0 ? mouldUrl.radio1.bg:mouldUrl.radio1.moerduoBg})`}">
<div class="bg-block" :style="{backgroundImage:`url('${mouldUrl.radio1.contentBg}')`}">
<img :src="mouldUrl.radio1.tabVideo" class="tab-video-img" @click="goNext(nowLesson.content.tabVideo.index)" v-if="nowLesson.content.tabVideo.type"/>
<div class="title">
<img :src="mouldUrl.radio1.title" v-if="nowLesson.content.titleType === 0"/>
<img :src="mouldUrl.radio1.moerduo" v-if="nowLesson.content.titleType === 1"/>
</div>
<div class="cd">
<img :src="mouldUrl.radio1.CD"/>
</div>
<audio ref="audio" :src="nowLesson.content.radio[radioLenth].url" @timeupdate="updateTime">
</audio>
<div class="name-block">
<div class="name">
<span v-if="nowLesson.content.radio[radioLenth]">{{nowLesson.content.radio[radioLenth].title}}</span>
<transition name="fade">
<div v-if="nowLesson && nowLesson.key === 'radio1'" class="radio1" :style="{backgroundImage:`url(${nowLesson.content.titleType === 0 ? mouldUrl.radio1.bg:mouldUrl.radio1.moerduoBg})`}">
<div class="bg-block" :style="{backgroundImage:`url('${mouldUrl.radio1.contentBg}')`}">
<img :src="mouldUrl.radio1.tabVideo" class="tab-video-img" @click="goNext(nowLesson.content.tabVideo.index)" v-if="nowLesson.content.tabVideo.type"/>
<div class="title">
<img :src="mouldUrl.radio1.title" v-if="nowLesson.content.titleType === 0"/>
<img :src="mouldUrl.radio1.moerduo" v-if="nowLesson.content.titleType === 1"/>
</div>
<div class="ahtor">
<span v-if="nowLesson.content.radio[radioLenth]">{{nowLesson.content.radio[radioLenth].lable}}</span>
<div class="cd">
<img :src="mouldUrl.radio1.CD"/>
</div>
<audio ref="audio" :src="nowLesson.content.radio[radioLenth].url" @timeupdate="updateTime">
</audio>
<div class="name-block">
<div class="name">
<span v-if="nowLesson.content.radio[radioLenth]">{{nowLesson.content.radio[radioLenth].title}}</span>
</div>
<div class="ahtor">
<span v-if="nowLesson.content.radio[radioLenth]">{{nowLesson.content.radio[radioLenth].lable}}</span>
</div>
</div>
<div class="play-block">
<img :src="mouldUrl.radio1.loading"/>
<div class="radius-icon" :style="{left:audioLeft}"></div>
</div>
<div class="btn-block">
<img :src="mouldUrl.radio1.near" @click="dRadio()"/>
<img :src="mouldUrl.radio1.play" class="play" v-if="!playAudioType" @click="playAudio()"/>
<img :src="mouldUrl.radio1.stop" class="play" v-if="playAudioType" @click="stopAudio()"/>
<img :src="mouldUrl.radio1.next" @click="aRadio()"/>
</div>
</div>
<div class="play-block">
<img :src="mouldUrl.radio1.loading"/>
<div class="radius-icon" :style="{left:audioLeft}"></div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 0">
<img :src="mouldUrl.radio1.backLookBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.showBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="btn-block">
<img :src="mouldUrl.radio1.near" @click="dRadio()"/>
<img :src="mouldUrl.radio1.play" class="play" v-if="!playAudioType" @click="playAudio()"/>
<img :src="mouldUrl.radio1.stop" class="play" v-if="playAudioType" @click="stopAudio()"/>
<img :src="mouldUrl.radio1.next" @click="aRadio()"/>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 1">
<img :src="mouldUrl.radio1.backPlayBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.finishBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 2">
<img :src="mouldUrl.radio1.backLookBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.finishBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 3">
<img :src="mouldUrl.radio1.backPlayBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.nextBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 0">
<img :src="mouldUrl.radio1.backLookBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.showBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 1">
<img :src="mouldUrl.radio1.backPlayBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.finishBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 2">
<img :src="mouldUrl.radio1.backLookBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.finishBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
<div class="bottom-block" v-if="nowLesson.content.buttonType === 3">
<img :src="mouldUrl.radio1.backPlayBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.radio1.nextBtn" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
</div>
</transition>
<!--秀宝贝1-->
<div v-if="nowLesson && nowLesson.key === 'show1'" class="show1" :style="{backgroundImage:`url(${mouldUrl.show1.bg})`}">
<img :src="mouldUrl.show1.riji" class="riji"/>
<img :src="mouldUrl.show1.yeziyou" class="yeziyou"/>
<img :src="mouldUrl.show1.yezizuo" class="yezizuo"/>
<img :src="mouldUrl.show1.zhaopianqiang" class="zhaopianqiang"/>
<div class="bg-block" :style="{backgroundImage:`url(${mouldUrl.show1.contentBg})`}">
<div class="title-block">
<img :src="mouldUrl.show1.title"/>
</div>
<div class="textarea">
<div contenteditable class="text" id="text">
<transition name="fade">
<div v-if="nowLesson && nowLesson.key === 'show1'" class="show1" :style="{backgroundImage:`url(${mouldUrl.show1.bg})`}">
<img :src="mouldUrl.show1.riji" class="riji"/>
<img :src="mouldUrl.show1.yeziyou" class="yeziyou"/>
<img :src="mouldUrl.show1.yezizuo" class="yezizuo"/>
<img :src="mouldUrl.show1.zhaopianqiang" class="zhaopianqiang"/>
<div class="bg-block" :style="{backgroundImage:`url(${mouldUrl.show1.contentBg})`}">
<div class="title-block">
<img :src="mouldUrl.show1.title"/>
</div>
<div class="textarea">
<div contenteditable class="text" id="text">
</div>
<div class="btn-block">
<img :src="mouldUrl.show1.radioIcon" @click="chooseRadio()"/>
<img :src="mouldUrl.show1.imgIcon" @click="chooseImage"/>
<img :src="mouldUrl.show1.videoIcon"/>
</div>
</div>
<div class="btn-block">
<img :src="mouldUrl.show1.radioIcon" @click="chooseRadio()"/>
<img :src="mouldUrl.show1.imgIcon" @click="chooseImage"/>
<img :src="mouldUrl.show1.videoIcon"/>
<div class="text-block">
解释说明:
<div class="text-content">
各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得
<span style="color: #333">唱学加油包</span>哦!
</div>
</div>
</div>
<div class="text-block">
解释说明:
<div class="text-content">
各位爸爸妈妈,记得在每日完成学习后记录宝宝一天的学习过程哦!养成良好的学习习惯也是很重要的一环,记录并分享后更可以获得
<span style="color: #333">唱学加油包</span>哦!
</div>
<div class="bottom-block">
<img :src="mouldUrl.show1.backBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.show1.jiayoubao" @click="subLog(nowLesson.content.nextIndex)"/>
</div>
</div>
<div class="bottom-block">
<img :src="mouldUrl.show1.backBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.show1.jiayoubao" @click="subLog(nowLesson.content.nextIndex)"/>
</div>
</div>
</transition>
<!--加油包1-->
<div v-if="nowLesson && nowLesson.key === 'refueling1'" class="refueling1" :style="{backgroundImage:`url(${mouldUrl.refueling1.bg})`}">
<div class="bg-block">
<img :src="mouldUrl.refueling1.title" class="title" >
<audio v-if="nowLesson.content.radio.length" :src="nowLesson.content.radio[0].url" autoplay ref="jiayouAudio"></audio>
<div class="content-img" :style="{backgroundImage:nowLesson.content.banner[0] ? `url(${nowLesson.content.banner[0].url})`:''}">
<img :src="mouldUrl.refueling1.radio" class="radio-icon" @click="playJiayou()">
<transition name="fade">
<div v-if="nowLesson && nowLesson.key === 'refueling1'" class="refueling1" :style="{backgroundImage:`url(${mouldUrl.refueling1.bg})`}">
<div class="bg-block">
<img :src="mouldUrl.refueling1.title" class="title" >
<audio v-if="nowLesson.content.radio.length" :src="nowLesson.content.radio[0].url" autoplay ref="jiayouAudio"></audio>
<div class="content-img" :style="{backgroundImage:nowLesson.content.banner[0] ? `url(${nowLesson.content.banner[0].url})`:''}">
<img :src="mouldUrl.refueling1.radio" class="radio-icon" @click="playJiayou()">
</div>
</div>
<div class="bottom-block">
<img :src="mouldUrl.refueling1.backBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.refueling1.next" v-if="nowLesson.content.nextIndex !== -1" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
</div>
<div class="bottom-block">
<img :src="mouldUrl.refueling1.backBtn" @click="goNext(nowLesson.content.lastIndex)"/>
<img :src="mouldUrl.refueling1.next" v-if="nowLesson.content.nextIndex !== -1" @click="goNext(nowLesson.content.nextIndex)"/>
</div>
</div>
</transition>
<mt-popup v-model="showFinish">
<div class="showFinish-block" v-if="showObj" :style="{backgroundImage:`url(${mouldUrl.show1.finish})`}">
<div class="header">
......@@ -191,8 +205,9 @@
watch_list:[],
lessonList:null,
playAudioType:false,
timeCheck:0,
id:0,
lookAudioType:false,
lookAudioType:true,
audioLeft:0,
playVideoType:true,
nowLesson:null,
......@@ -211,15 +226,25 @@
this.initPage();
},
methods:{
// 播放看一看音频
playLook1Audio(){
this.$refs.lookAudio.play();
this.lookAudioType = false
},
// 暂停看一看音频
stopLook1Audio(){
this.$refs.lookAudio.pause();
this.lookAudioType = true
},
timeS(){
if(this.timeCheck > 0){
this.timeCheck --;
setTimeout( ()=> {
this.timeS();
},1000)
}
},
// 初始化页面
initPage(){
getUserDetailApi().then(res=>{
this.userDetail = res
......@@ -228,15 +253,23 @@
this.lessonList = JSON.parse(res.content);
this.id = res.id;
this.watch_list = res.watch_list;
this.nowLesson = this.lessonList.find(i=>{return i.key === this.type})
this.nowLesson = this.lessonList.find(i=>{return i.key === this.type});
if( !this.watch_list.find(x => {
return x.page_id === 1
})){
this.timeCheck = this.nowLesson.content.timeLang;
this.timeS();
}
getwechatParam({
api_list:'chooseImage,previewImage,uploadImage,downloadImage,getLocalImgData,onMenuShareAppMessage,onMenuShareTimeline',
url:window.location.href.split('#')[0]
}).then(res=>{
wx.config({
debug: true,
debug: false,
appId: res.appId,
timeStamp: parseInt(res.timestamp),
timestamp: parseInt(res.timestamp),
nonceStr: res.nonceStr,
signature: res.signature,
jsApiList: res.jsApiList
......@@ -245,6 +278,7 @@
});
},
// 播放加油包音频
playJiayou(){
if(this.$refs.jiayouAudio.paused){
this.$refs.jiayouAudio.play()
......@@ -252,10 +286,12 @@
this.$refs.jiayouAudio.pause()
}
},
// 播放视频
playVideo(){
this.playVideoType = false;
this.$refs.video.play()
},
// 切换音频+
aRadio(){
if(this.radioLenth < this.nowLesson.content.radio.length - 1){
this.radioLenth ++;
......@@ -265,6 +301,7 @@
Toast('已是最后一个')
}
},
// 切换音频-
dRadio(){
if(this.radioLenth>0){
this.radioLenth --;
......@@ -274,10 +311,12 @@
Toast('已是第一个')
}
},
// 播放音频
playAudio(){
this.$refs.audio.play();
this.playAudioType = true;
},
// 选择图片
chooseImage(){
wx.chooseImage({
count: 1, // 默认9
......@@ -289,6 +328,7 @@
}
});
},
// 音频进度条
updateTime(e){
let time = e.target.currentTime / e.target.duration * 72.5333333;
this.audioLeft = time + 'vw';
......@@ -296,34 +336,38 @@
this.playAudioType = false
}
},
// 暂停音频
stopAudio(){
this.$refs.audio.pause();
this.playAudioType = false
},
// 选择音频
chooseRadio(){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success: function (res) {
var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
// var localIds = res.localIds; // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
}
});
},
// 提交秀宝贝数据
subLog(index){
getUserWatchApi().then(res=>{
this.showObj = res;
this.showFinish = true
})
},
// 下一页
goNext(i, setTime) {
let stay_time = Date.parse(new Date()) - this.timeLong;
if (!this.watch_list.find(x => {
return x.page_id === 1
}) && setTime && stay_time / 1000 < setTime) {
Toast('尚未到时间,请继续观看');
return
}
// if (!this.watch_list.find(x => {
// return x.page_id === 1
// }) && setTime && stay_time / 1000 < setTime) {
// Toast('尚未到时间,请继续观看');
// return
// }
let page_id = 0;
if (this.nowLesson.key === 'look1') {
page_id = 1
......@@ -346,6 +390,7 @@
console.log(this.nowLesson)
},
// 返回列表
backToList(){
let query = {
periods_id:this.periods_id,
......@@ -364,6 +409,11 @@
overflow: auto;
.look1{
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-size: 100% 100%;
.bottom-block{
position: fixed;
......@@ -377,6 +427,18 @@
img:first-child{
margin-right: 25 * @toVw;
}
.time-check{
background-color: rgba(0,0,0,0.3);
color: white;
width: 127 * @toVw;
height: 30 * @toVw;
position: absolute;
left: 54% ;
line-height: 30 * @toVw;
border-radius: 1000px;
top: 0;
}
}
.content{
width: 325 * @toVw;
......@@ -528,6 +590,11 @@
}
.play1{
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-size: 100% 100%;
.bg-block{
background: white;
......@@ -585,6 +652,11 @@
}
}
.radio1{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
background-size: 100% 100%;
.bg-block{
......@@ -677,6 +749,11 @@
}
}
.show1{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
background-size: 100% 100%;
......@@ -792,6 +869,11 @@
}
}
.refueling1{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-size: 100% 100%;
height: 100%;
.bg-block{
......@@ -899,7 +981,12 @@
}
}
}
.fade-enter-active, .fade-leave-active {
transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
}
@media screen and (orientation: landscape) {
.lesson {
.play1 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment