Commit 76369abf authored by IvyXia123's avatar IvyXia123

20191015-打卡提交

parent 59309c65
<!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><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.81ff810b654ae302b7808d851f979733.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.5d37e9aa5a2bcabafb16.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.7b1120612b542658f62d.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.d23a4ea1fe38b2429fbb.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.2c234657ae3edc11bab6a4dfcf75dcd6.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.fc483487382e0451e869.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.7b1120612b542658f62d.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.f2c65e93e07c2c631ce4.js></script></body></html>
\ No newline at end of file
webpackJsonp([57],{L6DW:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("mvHQ"),i=e.n(a),n=e("woOf"),c=e.n(n),l=(e("eqfM"),e("/QYm")),o=e("CCn6"),r=e("Jmy5"),d={name:"index",data:function(){return{avatarArr:[],countIndex:0,countDown:"",countDownDay:0,countDownhour:0,countDownminu:0,countDownsec:0,goWhere:0,hasEnded:!0,lastValue:0,modelData:{},firstRate:0,ruleShow:0,status:0,statusShow:!1,secondRate:0,tishi:!1,thirdRate:0,typeStatus:0,forthRate:0,punchTheClock:r.g,punchCardData:[],punchClockModel:!1,qrErWeiMa:"",recordListIndex:1,returnCashData:{},todayData:[],currentTime:"",dangqianTimer:"",recordList:[{title:"待开课"},{title:"待完成"},{title:"待补卡"},{title:"打卡完成"}]}},methods:{returnCash:function(t){var s=this,e=this.$route.query.periods_id,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at};Object(o.N)(e,a).then(function(e){s.returnCashData=e;var a=e.over_time.split(" ")[0],i=a.split("-")[0]+"/"+a.split("-")[1]+"/"+a.split("-")[2]+" "+e.over_time.split(" ")[1],n=new Date(i).getTime();setInterval(function(){s.restTime(n)},1e3),n<(new Date).getTime()&&(s.hasEnded=!1),s.secondRate=parseInt(e.second_rate),s.thirdRate=100===parseInt(e.third_rate)?103:parseInt(e.third_rate),s.forthRate=parseInt(e.forth_rate),s.todayData=s.integrationFn(e.today);var c=0===t?e.first:1===t?e.second:2===t?e.third:e.forth;s.recordListIndex=t,s.punchCardData=s.integrationFn(c)})},finishUser:function(){var t=this,s=this.$route.query.periods_id;Object(o.s)(s).then(function(s){t.avatarArr=s.avatar,t.countIndex=s.count})},restTime:function(t){var s=t-(new Date).getTime();this.countDownDay=this.timerAddLing(parseInt(s/864e5)),this.countDownhour=this.timerAddLing(parseInt(s/36e5%24)),this.countDownminu=this.timerAddLing(parseInt(s/6e4%60)),this.countDownsec=this.timerAddLing(parseInt(s/1e3%60))},punchCardClick:function(t,s,e,a){var i=this;if(this.status=s,this.typeStatus=e,this.ruleShow=0,this.statusShow=!1,1!==s)if(this.hasEnded&&100!==this.forthRate){this.modelData=9==a?this.todayData[t]:this.punchCardData[t],this.modelData.aName=this.modelData.name.split(" ")[0]+" "+this.modelData.name.split(" ")[1];var n={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:this.modelData.push_time,type:e};2===s?Object(o.n)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where,i.statusShow=!0;var s=i.timerAddLing((new Date).getFullYear())+"-"+i.timerAddLing((new Date).getMonth()+1)+"-"+i.timerAddLing((new Date).getDate()),e=new Date(s).getTime(),a=new Date(i.modelData.push_time).getTime();i.modelData.state=e==a?1===t.go_where?"待学习":"未提交":1===t.go_where?"待学习(已延期)":"未提交(已延期)",document.querySelectorAll(".uiyiyi")[0].innerText=i.modelData.state}):(this.modelData.state=3===s?"待补卡":"打卡完成",this.statusShow=!0,document.querySelectorAll(".uiyiyi")[0].innerText=this.modelData.state),document.querySelectorAll(".get-stars-btn")[0]&&(document.querySelectorAll(".get-stars-btn")[0].style.display="block"),this.modelData.tishi=2===s?"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡":3===s?"补卡:消耗10星星补卡1次,当前共有"+this.lastValue+"颗星星":"",this.punchClockModel=!0}else Object(l.a)("活动已结束,谢谢参与~");else Object(l.a)("课程还未开始,请耐心等待哦~")},modelDataClick:function(t,s){var e=this,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:t.push_time,type:s};2===this.status?(1!==this.goWhere&&Object(o._2)({category_id:t.id}).then(function(t){var s=c()({},t,{periods_id:e.modelData.periods_id,category_id:e.modelData.id,element_id:e.modelData.ele_id});e.$router.push({path:"/evaluate",query:s})}),this.getLessonDetailFn(t)):3===this.status&&this.lastValue>=10&&Object(o.F)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!1,e.punchClockModel=!1},1500),document.querySelectorAll(".get-stars-btn")[0].style.display="none",e.lastValue=e.lastValue-10,e.modelData.tishi="补卡:消耗10星星补卡1次,当前共有"+e.lastValue+"颗星星",e.returnCash(2)})},getLessonDetailFn:function(t){var s=this;Object(o.z)(t.periods_id,t.id,t.ele_id).then(function(e){e.content=JSON.parse(e.content),s.thisLesson=e,s.thisLesson.id=t.ele_id.toString(),s.thisLesson.categoryId=t.id,s.thisLesson.domTitle=t.name,s.thisLesson.star_num=0;var a={periods_id:t.periods_id,category_id:t.id,elementId:t.ele_id,course_type:s.$route.query.course_type,parent_category_id:s.$route.query.parent_category_id};s.$store.dispatch("setClassQuery",a),sessionStorage.setItem("classQuery",i()(a));var n=JSON.parse(i()(s.thisLesson));n.push_time=t.push_time,n.themeID=s.$route.query.parent_category_id,n.goodsID=t.goods_id,n.classID=t.class_id,n.nowTime=Date.parse(new Date),n.course_title=s.$route.query.course_title,localStorage.setItem("lessonDetail",i()(n)),1===s.goWhere&&s.$router.push({name:"newLesson",query:a})})},timerAddLing:function(t){return t<10?"0"+t:t},integrationFn:function(t){var s=[];for(var e in t)t[e].sort(function(t,s){return parseInt(t.type)-parseInt(s.type)}),2===t[e].length?(t[e][0].type1=t[e][1].type,t[e][0].status1=t[e][1].status,s.push(t[e][0])):(2==t[e][0].type&&(t[e][0].type1=t[e][0].type,t[e][0].status1=t[e][0].status,delete t[e][0].type,delete t[e][0].status),s.push(t[e][0]));var a={};return s.reduce(function(t,s){return!a[s.id]&&(a[s.id]=t.push(s)),t},[])},getTeacher:function(){var t=this;Object(o.T)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Z)().then(function(s){t.lastValue=s.last_value})},punchClockClick:function(){this.punchClockModel=!0,this.ruleShow=2}},mounted:function(){this.returnCash(1),this.finishUser(),this.getTeacher()}},u={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"punch-the-clock"},[e("div",{staticClass:"rule",on:{click:function(s){t.punchClockClick()}}},[t._v("\n 规则\n ")]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-image"},[t._v("\n 奖励名称\n "),e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.hasEnded?100===t.forthRate?"已完成":"进行中":100===t.forthRate?"已完成":"已结束"))])]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-bg"},[e("div",{staticClass:"punch-the-clock-name-content"},[t.hasEnded||100===t.forthRate?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded&&100!==t.forthRate?e("div",{staticClass:"punch-the-clock-name-content-completion"},[e("div",{staticClass:"daka-fu"},[e("img",{attrs:{src:t.punchTheClock.dakaFu,alt:""}})]),t._v(" "),e("div",{staticClass:"speed"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.forthRate+t.secondRate+t.thirdRate<80,expression:"forthRate + secondRate + thirdRate < 80"}],staticClass:"speed-baifen baifenbi"},[t._v("100%")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:0!==t.forthRate,expression:"forthRate !== 0"}],staticClass:"speed-list speed-list-completed speed-baifen",style:{width:t.forthRate<=10?"10%":t.forthRate+"%"}},[t._v(t._s(t.forthRate)+"%")]),t._v(" "),e("span",{staticClass:"speed-list speed-list-be",style:{width:(100!==t.secondRate&&(t.secondRate,t.thirdRate),t.secondRate+3+"%")}}),t._v(" "),e("span",{staticClass:"speed-list speed-list-card",style:{width:100!==t.thirdRate&&t.secondRate+t.thirdRate>=90?t.thirdRate+1+"%":t.thirdRate+2+"%"}})]),t._v(" "),t._m(0)]):t._e()])]),t._v(" "),100===t.forthRate?e("div",{staticClass:"punch-the-clock-reward"},[e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("恭喜您已获得奖励")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-content"},[t._v("系统将在7个工作日内将奖励发放至您的微信钱包,还请注意查收!")])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list today-list-padding"},t._l(t.todayData,function(s,a){return e("div",{staticClass:"punch-list-today"},[e("div",{staticClass:"punch-card-today"},[e("div",{staticClass:"day"},[t._v("今日打卡任务")]),t._v(" "),e("div",{staticClass:"day-small"},[t._v("请在今日完成")]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])])])})):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-completed-persons"},[e("div",{staticClass:"punch-the-clock-completed-persons-image"},[e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.countIndex)+"人已完成")]),t._v(" "),t._l(t.avatarArr,function(t,s){return e("div",{key:s,staticClass:"portrait"},[e("img",{attrs:{src:t,alt:""}})])})],2)]),t._v(" "),e("div",{staticClass:"punch-the-clock-record"},[t._m(1),t._v(" "),e("ul",{staticClass:"punch-the-clock-record-list"},t._l(t.recordList,function(s,a){return e("li",{key:a,class:[a===t.recordListIndex?"active":""],on:{click:function(s){t.returnCash(a)}}},[t._v("\n "+t._s(s.title)+" "),e("div",{directives:[{name:"show",rawName:"v-show",value:a===t.recordListIndex,expression:"index === recordListIndex"}],staticClass:"xian"})])})),t._v(" "),t.hasEnded&&2===t.recordListIndex?e("div",{staticClass:"count-down"},[e("div",{staticClass:"punch-the-clock-name-content-timer"},[e("span",[t._v("剩余补卡时间")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownDay))]),t._v(" "),e("span",[t._v("天")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownhour))]),t._v(" "),e("span",[t._v("时")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownminu))]),t._v(" "),e("span",[t._v("分")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownsec))]),t._v(" "),e("span",[t._v("秒")])])]):t._e(),t._v(" "),e("div",{staticClass:"today-list today-list-padding"},[t._l(t.punchCardData,function(s,a){return 0!==t.punchCardData.length?e("div",{key:a,staticClass:"today-list-xian"},[e("div",{staticClass:"punch-card-today"},[0===t.recordListIndex?e("div",{staticClass:"sou days"},[e("img",{attrs:{src:t.punchTheClock.sou,alt:""}})]):t._e(),t._v(" "),0!==t.recordListIndex?e("div",{staticClass:"day"},[t._v(t._s(s.push_time.split("-")[1])+"月"+t._s(s.push_time.split("-")[2])+"日打卡任务")]):t._e(),t._v(" "),e("div",{staticClass:"day-small"},[t._v(t._s(0===t.recordListIndex?"请耐心等待课程开始":1===t.recordListIndex?"请在当日完成":2===t.recordListIndex?"需消耗星星补卡":"很棒哦!继续加油"))]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today punch-card-today-list"},[1==s.type?e("div",{on:{click:function(e){t.punchCardClick(a,s.status,s.type)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]):t._e()]),t._v(" "),e("div",{staticClass:"punch-card-today punch-card-today-list"},[2==s.type1?e("div",{on:{click:function(e){t.punchCardClick(a,s.status1,s.type1)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])]):t._e()])]):t._e()}),t._v(" "),0===t.punchCardData.length?e("div",{staticClass:"today-list-null"},[e("div",{staticClass:"null-tu"},[e("img",{attrs:{src:t.punchTheClock.nullTu,alt:""}})]),t._v(" "),e("div",{staticClass:"today-list-null-text"},[t._v("啊哦,没有数据哦~")])]):t._e()],2)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.punchClockModel,expression:"punchClockModel"}],staticClass:"punch-the-clock-model",on:{click:function(s){t.punchClockModel=!1}}},[2!=t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin"},[t.tishi?e("div",{staticClass:"tishi"},[e("div",{staticClass:"tishi-image"},[e("img",{attrs:{src:t.punchTheClock.xiaolian,alt:""}})]),t._v(" "),e("div",{staticClass:"text"},[t._v("恭喜你补卡成功啦~")]),t._v(" "),e("div",{staticClass:"text"},[t._v("-10颗星星")])]):t._e(),t._v(" "),e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-model-title"},[e("span",[t._v(t._s(1==t.typeStatus?"学习卡":"成长卡"))])]),t._v(" "),e("div",{staticClass:"title-text title-padd"},[t._v("课时:"+t._s(t.modelData.sub_title))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("课节:"+t._s(t.modelData.aName))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("开课日期:"+t._s(t.modelData.push_time))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("状态:\n "),e("span",{class:[2===t.status||3===t.status?"small-title":"","uiyiyi"]})]),t._v(" "),e("div",{staticClass:"title-text"},[t._v(t._s(t.modelData.tishi))]),t._v(" "),3===t.status&&t.lastValue<=10?e("div",{staticClass:"get-stars"},[t._m(2)]):t._e(),t._v(" "),4!==t.status&&t.statusShow?e("div",{class:["get-stars-btn",{"get-stars-btn-clo":3===t.status&&t.lastValue<=10}],on:{click:function(s){s.stopPropagation(),t.modelDataClick(t.modelData,t.typeStatus)}}},[t._v("\n "+t._s(2===t.status?1==t.goWhere?"去学习":"去提交":3===t.status?"去补卡":"")+"\n ")]):t._e()]):t._e(),t._v(" "),2==t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin punch-the-clock-rule-pad"},[e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-rule"},[t._v("活动规则")]),t._v(" "),t._m(3)]):t._e()])])},staticRenderFns:[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"speed-content"},[e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-completed"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("已完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-be"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-card"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待补卡")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-waiting"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待开课")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"punch-the-clock-record-title"},[s("div",{staticClass:"punch-the-clock-record-title-image"}),this._v(" "),s("div",{staticClass:"punch-the-clock-record-title-text"},[this._v("我的打卡记录")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"get-stars-content"},[e("div",{staticClass:"get-stars-text"},[t._v("当前星星不足补卡哦,如何获得更多星星?")]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("1、开始课程学习")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("2、学完课节")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("3、提交作业")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"rule-content"},[e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("1.活动名称:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("全勤打卡赢奖励")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("2.活动时间:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("课程开课时间-结课时间")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("3.活动规则:")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("4.如何补卡?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("5.星星不足补卡时,如何获取更多星星?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("\n 可通过以下3种方式获取星星"),e("br"),t._v("\n a. 打开未学习课程 星星+1"),e("br"),t._v("\n b. 不限时间学习完成一节课程 星星+1"),e("br"),t._v("\n c. 不限时提交成长记录 星星+1\n ")])])])}]};var h=e("VU/8")(d,u,!1,function(t){e("dzWK")},"data-v-a430c38c",null);s.default=h.exports},dzWK:function(t,s){}});
\ No newline at end of file
webpackJsonp([58],{CNfa:function(t,s){},L6DW:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("mvHQ"),i=e.n(a),n=e("woOf"),c=e.n(n),l=(e("eqfM"),e("/QYm")),o=e("CCn6"),r=e("Jmy5"),d={name:"index",data:function(){return{avatarArr:[],countIndex:0,countDown:"",countDownDay:0,countDownhour:0,countDownminu:0,countDownsec:0,goWhere:0,hasEnded:!0,lastValue:0,modelData:{},firstRate:0,ruleShow:0,status:0,statusShow:!1,secondRate:0,tishi:!1,thirdRate:0,typeStatus:0,forthRate:0,punchTheClock:r.g,punchCardData:[],punchClockModel:!1,qrErWeiMa:"",recordListIndex:1,returnCashData:{},todayData:[],currentTime:"",dangqianTimer:"",recordList:[{title:"待开课"},{title:"待完成"},{title:"待补卡"},{title:"打卡完成"}]}},methods:{returnCash:function(t){var s=this,e=this.$route.query.periods_id,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at};Object(o.N)(e,a).then(function(e){s.returnCashData=e;var a=e.over_time.split(" ")[0],i=a.split("-")[0]+"/"+a.split("-")[1]+"/"+a.split("-")[2]+" "+e.over_time.split(" ")[1],n=new Date(i).getTime();setInterval(function(){s.restTime(n)},1e3),n<(new Date).getTime()&&(s.hasEnded=!1),s.secondRate=parseInt(e.second_rate),s.thirdRate=100===parseInt(e.third_rate)?103:parseInt(e.third_rate),s.forthRate=parseInt(e.forth_rate),s.todayData=s.integrationFn(e.today);var c=0===t?e.first:1===t?e.second:2===t?e.third:e.forth;s.recordListIndex=t,s.punchCardData=s.integrationFn(c)})},finishUser:function(){var t=this,s=this.$route.query.periods_id;Object(o.s)(s).then(function(s){t.avatarArr=s.avatar,t.countIndex=s.count})},restTime:function(t){var s=t-(new Date).getTime();this.countDownDay=this.timerAddLing(parseInt(s/864e5)),this.countDownhour=this.timerAddLing(parseInt(s/36e5%24)),this.countDownminu=this.timerAddLing(parseInt(s/6e4%60)),this.countDownsec=this.timerAddLing(parseInt(s/1e3%60))},punchCardClick:function(t,s,e,a){var i=this;if(this.status=s,this.typeStatus=e,this.ruleShow=0,this.statusShow=!1,1!==s)if(this.hasEnded&&100!==this.forthRate){this.modelData=9==a?this.todayData[t]:this.punchCardData[t],this.modelData.aName=this.modelData.name.split(" ")[0]+" "+this.modelData.name.split(" ")[1];var n={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:this.modelData.push_time,type:e};2===s?Object(o.n)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where,i.statusShow=!0;var s=i.timerAddLing((new Date).getFullYear())+"-"+i.timerAddLing((new Date).getMonth()+1)+"-"+i.timerAddLing((new Date).getDate()),e=new Date(s).getTime(),a=new Date(i.modelData.push_time).getTime();i.modelData.state=e==a?1===t.go_where?"待学习":"未提交":1===t.go_where?"待学习(已延期)":"未提交(已延期)",document.querySelectorAll(".uiyiyi")[0].innerText=i.modelData.state}):(this.modelData.state=3===s?"待补卡":"打卡完成",this.statusShow=!0,document.querySelectorAll(".uiyiyi")[0].innerText=this.modelData.state),document.querySelectorAll(".get-stars-btn")[0]&&(document.querySelectorAll(".get-stars-btn")[0].style.display="block"),this.modelData.tishi=2===s?"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡":3===s?"补卡:消耗10星星补卡1次,当前共有"+this.lastValue+"颗星星":"",this.punchClockModel=!0}else Object(l.a)("活动已结束,谢谢参与~");else Object(l.a)("课程还未开始,请耐心等待哦~")},modelDataClick:function(t,s){var e=this,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:t.push_time,type:s};2===this.status?(1!==this.goWhere&&Object(o._2)({category_id:t.id}).then(function(t){var s=c()({},t,{periods_id:e.modelData.periods_id,category_id:e.modelData.id,element_id:e.modelData.ele_id});e.$router.push({path:"/evaluate",query:s})}),this.getLessonDetailFn(t)):3===this.status&&this.lastValue>=10&&Object(o.F)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!1,e.punchClockModel=!1},1500),document.querySelectorAll(".get-stars-btn")[0].style.display="none",e.lastValue=e.lastValue-10,e.modelData.tishi="补卡:消耗10星星补卡1次,当前共有"+e.lastValue+"颗星星",e.returnCash(2)})},getLessonDetailFn:function(t){var s=this;Object(o.z)(t.periods_id,t.id,t.ele_id).then(function(e){e.content=JSON.parse(e.content),s.thisLesson=e,s.thisLesson.id=t.ele_id.toString(),s.thisLesson.categoryId=t.id,s.thisLesson.domTitle=t.name,s.thisLesson.star_num=0;var a={periods_id:t.periods_id,category_id:t.id,elementId:t.ele_id,course_type:s.$route.query.course_type,parent_category_id:s.$route.query.parent_category_id};s.$store.dispatch("setClassQuery",a),sessionStorage.setItem("classQuery",i()(a));var n=JSON.parse(i()(s.thisLesson));n.push_time=t.push_time,n.themeID=s.$route.query.parent_category_id,n.goodsID=t.goods_id,n.classID=t.class_id,n.nowTime=Date.parse(new Date),n.course_title=s.$route.query.course_title,localStorage.setItem("lessonDetail",i()(n)),1===s.goWhere&&s.$router.push({name:"newLesson",query:a})})},timerAddLing:function(t){return t<10?"0"+t:t},integrationFn:function(t){var s=[];for(var e in t)t[e].sort(function(t,s){return parseInt(t.type)-parseInt(s.type)}),2===t[e].length?(t[e][0].type1=t[e][1].type,t[e][0].status1=t[e][1].status,s.push(t[e][0])):(2==t[e][0].type&&(t[e][0].type1=t[e][0].type,t[e][0].status1=t[e][0].status,delete t[e][0].type,delete t[e][0].status),s.push(t[e][0]));var a={};return s.reduce(function(t,s){return!a[s.id]&&(a[s.id]=t.push(s)),t},[])},getTeacher:function(){var t=this;Object(o.T)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Z)().then(function(s){t.lastValue=s.last_value})},punchClockClick:function(){this.punchClockModel=!0,this.ruleShow=2}},mounted:function(){this.returnCash(1),this.finishUser(),this.getTeacher()}},u={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"punch-the-clock"},[e("div",{staticClass:"rule",on:{click:function(s){t.punchClockClick()}}},[t._v("\n 规则\n ")]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-image"},[t._v("\n 奖励名称\n "),e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.hasEnded?100===t.forthRate?"已完成":"进行中":100===t.forthRate?"已完成":"已结束"))])]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-bg"},[e("div",{staticClass:"punch-the-clock-name-content"},[t.hasEnded||100===t.forthRate?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded||100===t.forthRate?t._e():e("div",{staticClass:"punch-the-clock-name-content-completion"},[e("div",{staticClass:"daka-fu"},[e("img",{attrs:{src:t.punchTheClock.dakaFu,alt:""}})]),t._v(" "),e("div",{staticClass:"speed"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.forthRate+t.secondRate+t.thirdRate<80,expression:"forthRate + secondRate + thirdRate < 80"}],staticClass:"speed-baifen baifenbi"},[t._v("100%")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:0!==t.forthRate,expression:"forthRate !== 0"}],staticClass:"speed-list speed-list-completed speed-baifen",style:{width:t.forthRate<=10?"10%":t.forthRate+"%"}},[t._v(t._s(t.forthRate)+"%")]),t._v(" "),e("span",{staticClass:"speed-list speed-list-be",style:{width:(100!==t.secondRate&&(t.secondRate,t.thirdRate),t.secondRate+3+"%")}}),t._v(" "),e("span",{staticClass:"speed-list speed-list-card",style:{width:100!==t.thirdRate&&t.secondRate+t.thirdRate>=90?t.thirdRate+1+"%":t.thirdRate+2+"%"}})]),t._v(" "),t._m(0)])])]),t._v(" "),100===t.forthRate?e("div",{staticClass:"punch-the-clock-reward"},[e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("恭喜您已获得奖励")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-content"},[t._v("系统将在7个工作日内将奖励发放至您的微信钱包,还请注意查收!")])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list today-list-padding"},t._l(t.todayData,function(s,a){return e("div",{staticClass:"punch-list-today"},[e("div",{staticClass:"punch-card-today"},[e("div",{staticClass:"day"},[t._v("今日打卡任务")]),t._v(" "),e("div",{staticClass:"day-small"},[t._v("请在今日完成")]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])])])})):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-completed-persons"},[e("div",{staticClass:"punch-the-clock-completed-persons-image"},[e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.countIndex)+"人已完成")]),t._v(" "),t._l(t.avatarArr,function(t,s){return e("div",{key:s,staticClass:"portrait"},[e("img",{attrs:{src:t,alt:""}})])})],2)]),t._v(" "),e("div",{staticClass:"punch-the-clock-record"},[t._m(1),t._v(" "),e("ul",{staticClass:"punch-the-clock-record-list"},t._l(t.recordList,function(s,a){return e("li",{key:a,class:[a===t.recordListIndex?"active":""],on:{click:function(s){t.returnCash(a)}}},[t._v("\n "+t._s(s.title)+" "),e("div",{directives:[{name:"show",rawName:"v-show",value:a===t.recordListIndex,expression:"index === recordListIndex"}],staticClass:"xian"})])})),t._v(" "),t.hasEnded&&2===t.recordListIndex?e("div",{staticClass:"count-down"},[e("div",{staticClass:"punch-the-clock-name-content-timer"},[e("span",[t._v("剩余补卡时间")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownDay))]),t._v(" "),e("span",[t._v("天")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownhour))]),t._v(" "),e("span",[t._v("时")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownminu))]),t._v(" "),e("span",[t._v("分")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownsec))]),t._v(" "),e("span",[t._v("秒")])])]):t._e(),t._v(" "),e("div",{staticClass:"today-list today-list-padding"},[t._l(t.punchCardData,function(s,a){return 0!==t.punchCardData.length?e("div",{key:a,staticClass:"today-list-xian"},[e("div",{staticClass:"punch-card-today"},[0===t.recordListIndex?e("div",{staticClass:"sou days"},[e("img",{attrs:{src:t.punchTheClock.sou,alt:""}})]):t._e(),t._v(" "),0!==t.recordListIndex?e("div",{staticClass:"day"},[t._v(t._s(s.push_time.split("-")[1])+"月"+t._s(s.push_time.split("-")[2])+"日打卡任务")]):t._e(),t._v(" "),e("div",{staticClass:"day-small"},[t._v(t._s(0===t.recordListIndex?"请耐心等待课程开始":1===t.recordListIndex?"请在当日完成":2===t.recordListIndex?"需消耗星星补卡":"很棒哦!继续加油"))]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today punch-card-today-list"},[1==s.type?e("div",{on:{click:function(e){t.punchCardClick(a,s.status,s.type)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]):t._e()]),t._v(" "),e("div",{staticClass:"punch-card-today punch-card-today-list"},[2==s.type1?e("div",{on:{click:function(e){t.punchCardClick(a,s.status1,s.type1)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])]):t._e()])]):t._e()}),t._v(" "),0===t.punchCardData.length?e("div",{staticClass:"today-list-null"},[e("div",{staticClass:"null-tu"},[e("img",{attrs:{src:t.punchTheClock.nullTu,alt:""}})]),t._v(" "),e("div",{staticClass:"today-list-null-text"},[t._v("啊哦,没有数据哦~")])]):t._e()],2)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.punchClockModel,expression:"punchClockModel"}],staticClass:"punch-the-clock-model",on:{click:function(s){t.punchClockModel=!1}}},[2!=t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin"},[t.tishi?e("div",{staticClass:"tishi"},[e("div",{staticClass:"tishi-image"},[e("img",{attrs:{src:t.punchTheClock.xiaolian,alt:""}})]),t._v(" "),e("div",{staticClass:"text"},[t._v("恭喜你补卡成功啦~")]),t._v(" "),e("div",{staticClass:"text"},[t._v("-10颗星星")])]):t._e(),t._v(" "),e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-model-title"},[e("span",[t._v(t._s(1==t.typeStatus?"学习卡":"成长卡"))])]),t._v(" "),e("div",{staticClass:"title-text title-padd"},[t._v("课时:"+t._s(t.modelData.sub_title))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("课节:"+t._s(t.modelData.aName))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("开课日期:"+t._s(t.modelData.push_time))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("状态:\n "),e("span",{class:[2===t.status||3===t.status?"small-title":"","uiyiyi"]})]),t._v(" "),e("div",{staticClass:"title-text"},[t._v(t._s(t.modelData.tishi))]),t._v(" "),3===t.status&&t.lastValue<=10?e("div",{staticClass:"get-stars"},[t._m(2)]):t._e(),t._v(" "),4!==t.status&&t.statusShow?e("div",{class:["get-stars-btn",{"get-stars-btn-clo":3===t.status&&t.lastValue<=10}],on:{click:function(s){s.stopPropagation(),t.modelDataClick(t.modelData,t.typeStatus)}}},[t._v("\n "+t._s(2===t.status?1==t.goWhere?"去学习":"去提交":3===t.status?"去补卡":"")+"\n ")]):t._e()]):t._e(),t._v(" "),2==t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin punch-the-clock-rule-pad"},[e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-rule"},[t._v("活动规则")]),t._v(" "),t._m(3)]):t._e()])])},staticRenderFns:[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"speed-content"},[e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-completed"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("已完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-be"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-card"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待补卡")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-waiting"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待开课")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"punch-the-clock-record-title"},[s("div",{staticClass:"punch-the-clock-record-title-image"}),this._v(" "),s("div",{staticClass:"punch-the-clock-record-title-text"},[this._v("我的打卡记录")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"get-stars-content"},[e("div",{staticClass:"get-stars-text"},[t._v("当前星星不足补卡哦,如何获得更多星星?")]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("1、开始课程学习")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("2、学完课节")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("3、提交作业")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"rule-content"},[e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("1.活动名称:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("全勤打卡赢奖励")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("2.活动时间:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("课程开课时间-结课时间")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("3.活动规则:")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("4.如何补卡?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("5.星星不足补卡时,如何获取更多星星?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("\n 可通过以下3种方式获取星星"),e("br"),t._v("\n a. 打开未学习课程 星星+1"),e("br"),t._v("\n b. 不限时间学习完成一节课程 星星+1"),e("br"),t._v("\n c. 不限时提交成长记录 星星+1\n ")])])])}]};var h=e("VU/8")(d,u,!1,function(t){e("CNfa")},"data-v-7d0dec4d",null);s.default=h.exports}});
\ No newline at end of file
webpackJsonp([57],{iina:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});e("eqfM");var s=e("/QYm"),n=e("CCn6"),l={name:"inviteRecordList",data:function(){return{total:0,height:0,pullup:!0,page:1,loading:!0,finished:!1,list:[]}},mounted:function(){this.height=window.innerHeight-this.$refs.title.getBoundingClientRect().bottom-this.$refs.title.getBoundingClientRect().height,this.getInviteList()},methods:{onReachBottom:function(){var t=this;if(!this.finished&&this.loading){this.page++,this.loading=!1,s.a.loading({mask:!0,message:""}),this.page++;var i={page:this.page,limit:20};Object(n.w)(i,this.id).then(function(i){i&&i.list&&i.list.length>0&&(i.list.forEach(function(i){t.records.push(i)}),i.total==t.records.length&&(t.finished=!0)),s.a.clear()})}},getInviteList:function(){var t=this,i={page:this.page,limit:20},e=this.$route.query.shopId;this.id=e,Object(n.w)(i,this.id).then(function(i){i&&i.list&&i.list.length>0&&(t.list=i.list)})}}},a={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"invite-record-list"},[e("div",{ref:"title",staticClass:"title"},[e("span",[t._v("已邀好友")]),t._v(" "),e("span",[t._v("购买时间")])]),t._v(" "),e("scroll",{ref:"scrollItem",staticClass:"scrollItem",attrs:{data:t.list,pullup:t.pullup,bounce:!1},on:{pullup:t.onReachBottom}},[e("div",{staticClass:"container"},[e("ul",t._l(t.list,function(i,s){return e("li",{key:s},[e("p",[t._v(t._s(i.nickname))]),t._v(" "),e("p",[t._v(t._s(i.pay_at))])])})),t._v(" "),t.finished?e("div",{staticClass:"none"},[t._v("没有更多了~")]):t._e()])])],1)},staticRenderFns:[]};var o=e("VU/8")(l,a,!1,function(t){e("jgOh")},"data-v-8411f3f4",null);i.default=o.exports},jgOh:function(t,i){}});
\ No newline at end of file
webpackJsonp([58],{iina:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});e("eqfM");var s=e("/QYm"),n=e("CCn6"),l={name:"inviteRecordList",data:function(){return{total:0,height:0,pullup:!0,page:1,loading:!0,finished:!1,list:[]}},mounted:function(){this.height=window.innerHeight-this.$refs.title.getBoundingClientRect().bottom-this.$refs.title.getBoundingClientRect().height,this.getInviteList()},methods:{onReachBottom:function(){var t=this;if(!this.finished&&this.loading){this.page++,this.loading=!1,s.a.loading({mask:!0,message:""}),this.page++;var i={page:this.page,limit:20};Object(n.w)(i,this.id).then(function(i){i&&i.list&&i.list.length>0&&(i.list.forEach(function(i){t.records.push(i)}),i.total==t.records.length&&(t.finished=!0)),s.a.clear()})}},getInviteList:function(){var t=this,i={page:this.page,limit:20},e=this.$route.query.shopId;this.id=e,Object(n.w)(i,this.id).then(function(i){i&&i.list&&i.list.length>0&&(t.list=i.list)})}}},a={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"invite-record-list"},[e("div",{ref:"title",staticClass:"title"},[e("span",[t._v("已邀好友")]),t._v(" "),e("span",[t._v("购买时间")])]),t._v(" "),e("scroll",{ref:"scrollItem",staticClass:"scrollItem",attrs:{data:t.list,pullup:t.pullup,bounce:!1},on:{pullup:t.onReachBottom}},[e("div",{staticClass:"container"},[e("ul",t._l(t.list,function(i,s){return e("li",{key:s},[e("p",[t._v(t._s(i.nickname))]),t._v(" "),e("p",[t._v(t._s(i.pay_at))])])})),t._v(" "),t.finished?e("div",{staticClass:"none"},[t._v("没有更多了~")]):t._e()])])],1)},staticRenderFns:[]};var o=e("VU/8")(l,a,!1,function(t){e("jgOh")},"data-v-8411f3f4",null);i.default=o.exports},jgOh:function(t,i){}});
\ No newline at end of file
webpackJsonp([68],{CCn6:function(e,t,n){"use strict";var o=n("7+uW"),a=(n("eqfM"),n("/QYm")),r=n("//Fk"),i=n.n(r),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),d=n("YaEn"),f=n("sf/l");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(e){var t=localStorage.getItem("cc_token");if(e.headers["Content-Type"]||(e.headers={"Content-Type":"application/json"}),t&&(e.headers.token=t),"get"===e.method&&"/api/admin/login"!==e.url){e.params=e.params||{},e.params.v="09021400";var n=JSON.parse(u()(e.params));for(var o in n)null===n[o]&&(n[o]=""),"string"==typeof n[o]&&(e.params[o]=e.params[o].replace(/(^\s*)|(\s*$)/g,""),n[o]=n[o].replace(/(^\s*)|(\s*$)/g,"")),n[o]=h()(n[o].toString());n.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.params.param_token=h()(u()(n)),e.params.v="09021400"}else if("/api/admin/login"!==e.url){e.data=e.data||{},e.data.v="09021400";var a=JSON.parse(u()(e.data));for(var r in a)null===a[r]&&(a[r]=""),"string"==typeof a[r]&&(e.data[r]=e.data[r].replace(/(^\s*)|(\s*$)/g,""),a[r]=a[r].replace(/(^\s*)|(\s*$)/g,"")),a[r]=h()(a[r].toString());a.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.data.param_token=h()(u()(a)),e.data.v="09021400"}return e},function(e){return i.a.reject(e)}),s.a.interceptors.response.use(function(e){return 501===e.data.code&&d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),e},function(e){return i.a.reject(e)}),n.d(t,"c",function(){return g}),n.d(t,"_5",function(){return w}),n.d(t,"t",function(){return y}),n.d(t,"_7",function(){return b}),n.d(t,"G",function(){return v}),n.d(t,"U",function(){return _}),n.d(t,"_9",function(){return $}),n.d(t,"_18",function(){return S}),n.d(t,"_17",function(){return P}),n.d(t,"i",function(){return N}),n.d(t,"j",function(){return k}),n.d(t,"_1",function(){return T}),n.d(t,"A",function(){return x}),n.d(t,"q",function(){return I}),n.d(t,"z",function(){return O}),n.d(t,"W",function(){return U}),n.d(t,"_22",function(){return A}),n.d(t,"v",function(){return R}),n.d(t,"I",function(){return D}),n.d(t,"J",function(){return M}),n.d(t,"_2",function(){return C}),n.d(t,"T",function(){return E}),n.d(t,"S",function(){return L}),n.d(t,"o",function(){return j}),n.d(t,"u",function(){return V}),n.d(t,"x",function(){return W}),n.d(t,"w",function(){return q}),n.d(t,"_20",function(){return Y}),n.d(t,"e",function(){return F}),n.d(t,"_8",function(){return Q}),n.d(t,"V",function(){return B}),n.d(t,"b",function(){return G}),n.d(t,"h",function(){return H}),n.d(t,"K",function(){return J}),n.d(t,"O",function(){return K}),n.d(t,"P",function(){return z}),n.d(t,"Z",function(){return X}),n.d(t,"_0",function(){return Z}),n.d(t,"a",function(){return ee}),n.d(t,"_4",function(){return te}),n.d(t,"_15",function(){return ne}),n.d(t,"r",function(){return oe}),n.d(t,"p",function(){return ae}),n.d(t,"_16",function(){return re}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return ce}),n.d(t,"C",function(){return ue}),n.d(t,"E",function(){return le}),n.d(t,"D",function(){return se}),n.d(t,"_23",function(){return pe}),n.d(t,"d",function(){return he}),n.d(t,"g",function(){return de}),n.d(t,"f",function(){return fe}),n.d(t,"_21",function(){return me}),n.d(t,"_6",function(){return ge}),n.d(t,"_19",function(){return we}),n.d(t,"Q",function(){return ye}),n.d(t,"R",function(){return be}),n.d(t,"M",function(){return ve}),n.d(t,"L",function(){return _e}),n.d(t,"_3",function(){return $e}),n.d(t,"_14",function(){return Se}),n.d(t,"B",function(){return Pe}),n.d(t,"_10",function(){return Ne}),n.d(t,"_11",function(){return ke}),n.d(t,"_13",function(){return Te}),n.d(t,"X",function(){return xe}),n.d(t,"Y",function(){return Ie}),n.d(t,"_12",function(){return Oe}),n.d(t,"H",function(){return Ue}),n.d(t,"y",function(){return Ae}),n.d(t,"N",function(){return Re}),n.d(t,"s",function(){return De}),n.d(t,"n",function(){return Me}),n.d(t,"F",function(){return Ce}),n.d(t,"m",function(){return Ee});var m="https://wechat.changchangenglish.com/";o.default.prototype.$post=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.post(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),502!=e.data.code&&Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$fetch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.get(e,{params:t}).then(function(e){if(200===e.data.code)n(e.data.data);else if(501===e.data.code){o(e.data);var t={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),t.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}else if(503===e.data.code)o(e.data);else if(506===e.data.code){o(e.data);var r={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),r.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}else o(e.data),Object(a.a)(e.data.msg)}).catch(function(e){o(e)})})},o.default.prototype.$patch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.patch(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$put=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.put(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$del=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.delete(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$upload=function(e,t){return new i.a(function(n,o){var r=parseInt(Number(t.file.size)/Number(10485760)+1),i=0;!function c(){var u=new FormData,l=t.file.slice(1024*i*1024*10,1024*(i+1)*1024*10);u.append("chunk",i),u.append("file_name",t.file.name),u.append("count",r),u.append("type",t.type),u.append("file",l),s.a.post(e,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(e){}}).then(function(e){200===e.data.code?i+1<r?(i++,c()):(i=0,n(e.data.data)):Object(a.a)(e.data.msg)}).catch(function(e){o(e)})}()})},o.default.prototype.$ret2=function(e){return new i.a(function(t,n){s.a.get(e).then(function(e){t(e.data)}).catch(function(e){n(e)})})};var g=function(e,t){return o.default.prototype.$fetch("/api/client/banner/list/"+e,t)},w=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",e)},y=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+e)},b=function(e){return o.default.prototype.$put(m+"api/client/deliver/edit",e)},v=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/deliver/newest/list")},_=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},$=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",e)},S=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",e)},P=function(e){return o.default.prototype.$post(m+"api/client/user/starActivity/address",e)},N=function(e,t){return o.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+t,e)},k=function(e){return o.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",e)},T=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},x=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},I=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+e)},O=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+e+"/"+t+"/"+n)},U=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},A=function(e,t,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+e+"/"+t+"/"+n,a)},R=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+e)},D=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+e)},M=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",e)},C=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report",e)},E=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me/teacher")},L=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",e)},j=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:e})},V=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",e)},W=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},Y=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",e)},F=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",e)},Q=function(e,t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",e)},B=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},G=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+e)},J=function(e,t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+e,t)},K=function(){return o.default.prototype.$fetch("/api/client/share/goods")},z=function(e){return o.default.prototype.$fetch("/api/public/short/url",e)},X=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},Z=function(e){return o.default.prototype.$fetch("/api/client/user/integral",e)},ee=function(e){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",e)},te=function(e){return o.default.prototype.$fetch("/api/client/yunji/config",e)},ne=function(e){return o.default.prototype.$post("/api/client/user/add/class/"+e)},oe=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},ae=function(e){return e?o.default.prototype.$fetch("/api/client/user/course/info",{periods_id:e}):o.default.prototype.$fetch("/api/client/user/course/info")},re=function(e){return o.default.prototype.$put("/api/client/me/set",e)},ie=function(e,t){return o.default.prototype.$fetch("/api/client/course/automation/list/"+e+"/"+t)},ce=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ue=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},le=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},se=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},pe=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},he=function(e){return o.default.prototype.$fetch("/api/client/user/bind/sub/"+e)},de=function(){return o.default.prototype.$fetch("/api/client/user/generate/authorization")},fe=function(){return o.default.prototype.$fetch("/api/client/user/bind/chance")},me=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},ge=function(e){return o.default.prototype.$fetch("/api/client/user/main/info/"+e)},we=function(e){return o.default.prototype.$fetch("/api/client/user/click/link/"+e)},ye=function(){return o.default.prototype.$fetch("/api/client/user/starActivity")},be=function(){return o.default.prototype.$fetch("/api/client/user/startBonusActivity")},ve=function(e){return o.default.prototype.$fetch("/api/client/user/receive/coupon/"+e)},_e=function(e){return o.default.prototype.$fetch("/api/client/goods/info/no/auth/"+e)},$e=function(e){return o.default.prototype.$fetch("/api/client/youbang/put",e)},Se=function(e){return o.default.prototype.$post("/api/client/youbang/address/add",e)},Pe=function(e){return o.default.prototype.$fetch("/api/client/deliver/list",e)},Ne=function(e){return o.default.prototype.$post("api/client/report/errors/log",e)},ke=function(e){return o.default.prototype.$post("/api/client/user/notify/setting",e)},Te=function(e,t,n,a){return o.default.prototype.$post("api/client/user/growth/record/"+e+"/"+t+"/"+n,a)},xe=function(e){return o.default.prototype.$fetch(m+"api/client/user/growth/record/list")},Ie=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/growth/record/"+e+"/"+t+"/"+n)},Oe=function(e){return o.default.prototype.$post("/api/client/bill/create",e)},Ue=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)},Ae=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity/"+e)},Re=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e,t)},De=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/finish/user/"+e)},Me=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/go/where/"+e+"/"+t+"/"+n,a)},Ce=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e+"/"+t+"/"+n,a)},Ee=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/refresh",e)}},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),a=n("NYxO"),r=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,t){e.isMobile=t},isWatchDetail:function(e,t){e.watchDetail=t},isClassQuery:function(e,t){e.classQuery=t},isCouponShadow:function(e,t){e.couponShadow=t},isLookStatus:function(e,t){e.lookStatus=t},isTimeout:function(e,t){e.timeout=t},setTest:function(e,t){e.test=t}});o.default.use(a.a);t.a=new a.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1,lookStatus:0,timeout:"",test:1},mutations:r,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)},isMobile:function(e,t){(0,e.commit)("isMobile",t)},setWatchDetail:function(e,t){(0,e.commit)("isWatchDetail",t)},setClassQuery:function(e,t){(0,e.commit)("isClassQuery",t)},setCouponShadow:function(e,t){(0,e.commit)("isCouponShadow",t)},setLookStatus:function(e,t){(0,e.commit)("isLookStatus",t)},setTimeout:function(e,t){(0,e.commit)("isTimeout",t)}}})},JKiR:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("mMXg");var o=n("qYlo"),a=(n("qVvv"),n("8aUD")),r=(n("3Lne"),n("SSsa")),i=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[this._v(">\n "),t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(e){n("zP5g")},null,null).exports,p=n("YaEn"),h=n("IcnI"),d=n("sf/l"),f=n("wvfG"),m=n.n(f),g=n("uYVh"),w=n.n(g),y=(n("d8/S"),n("bOdI")),b=n.n(y),v=n("GQaK"),_={props:{probeType:{type:Number,default:1},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},pulldown:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},refreshDelay:{type:Number,default:100},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){var e=this;setTimeout(function(){e._initScroll()},20)},methods:b()({_initScroll:function(){var e=this;if(this.$refs.wrapper){if(this.scroll=new v.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){var t=this;this.scroll.on("scroll",function(e){t.$emit("scroll",e)})}this.pullup&&this.scroll.on("scrollEnd",function(){e.scroll.y<=e.scroll.maxScrollY+10&&e.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(t){t.y>50&&e.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){e.$emit("beforeScroll")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(e,t,n){this.scroll&&this.scroll.scrollTo(e,t,n)},scrollToElement:function(e,t){this.scroll&&this.scroll.scrollToElement(e,t)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){var e=this;setTimeout(function(){e.refresh()},this.refreshDelay)}}},$={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};var S=n("VU/8")(_,$,!1,function(e){n("QHfu")},"data-v-867f04a4",null).exports,P=n("NVJ5"),N=n("MPCr"),k=this;P.apikey="4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e",Object(N.a)(P,u.default),u.default.config.productionTip=!1,u.default.prototype.$sa=w.a,u.default.prototype.$sa.init({server_url:"http://47.107.250.38:8106/sa?project=production",show_log:!1,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0}),u.default.prototype.$sa.quick("autoTrack"),u.default.use(m.a),u.default.use(o.a).use(a.a).use(r.a).use(i.a).use(c.a),u.default.component("scroll",S);var T=function(e,t){u.default.prototype.$post("api/client/report/errors/log",{routes_url:t.$route.name,result_text:e.toString()})};u.default.config.errorHandler=T,u.default.prototype.$throw=function(e){return T(e,k)},u.default.prototype.$common=d.a,p.a.beforeEach(function(e,t,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),new u.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,a=arguments[1],r=0;r<o;r++)if(t=n[r],e.call(a,t,r,n))return t})},QHfu:function(e,t){},YaEn:function(e,t,n){"use strict";var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),i=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");r.default.use(u.a);var h={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},d=window.navigator.userAgent.toLowerCase(),f=new u.a({routes:[{path:"/",name:"index",component:function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,"dAjm"))},meta:{deep:0}},{path:"/extensionV1Shop",name:"extensionV1Shop",component:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"fwSI"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/extensionV1",name:"extensionV1",component:function(){return n.e(25).then(n.bind(null,"it1F"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/guideActivity",name:"guideActivity",component:function(){return n.e(24).then(n.bind(null,"kcFG"))},meta:{deep:0,noNew:!0}},{path:"/guide",name:"guide",component:function(){return Promise.all([n.e(0),n.e(30)]).then(n.bind(null,"J+FK"))},meta:{deep:0,noNew:!0}},{path:"/spcShop",name:"spcShop",component:function(){return Promise.all([n.e(0),n.e(43)]).then(n.bind(null,"JCOr"))},meta:{deep:0,noNew:!0}},{path:"/orderTrans",name:"orderTrans",component:function(){return n.e(28).then(n.bind(null,"qPDM"))},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"784L"))},meta:{deep:0,noNew:!0}},{path:"/addressModify",name:"addressModify",component:function(){return Promise.all([n.e(0),n.e(62)]).then(n.bind(null,"t32k"))},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(){return Promise.all([n.e(0),n.e(51)]).then(n.bind(null,"JxbE"))},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(){return n.e(32).then(n.bind(null,"9K06"))},meta:{deep:0,noNew:!0}},{path:"/address",name:"Address",component:function(){return Promise.all([n.e(0),n.e(48)]).then(n.bind(null,"kZy8"))},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(){return Promise.all([n.e(0),n.e(66)]).then(n.bind(null,"TEQG"))},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"De9k"))},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(){return Promise.all([n.e(0),n.e(47)]).then(n.bind(null,"YaSr"))},meta:{deep:0,noNew:!0}},{path:"/starRankV2",name:"starRankV2",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"4plS"))},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(){return Promise.all([n.e(0),n.e(45)]).then(n.bind(null,"v+uu"))},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(){return Promise.all([n.e(0),n.e(53)]).then(n.bind(null,"xi8t"))},meta:{deep:0,noNew:!0}},{path:"/starResultV2",name:"starResultV2",component:function(){return Promise.all([n.e(0),n.e(39)]).then(n.bind(null,"GSYK"))},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(){return n.e(60).then(n.bind(null,"2tJf"))},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(){return Promise.all([n.e(0),n.e(36)]).then(n.bind(null,"sj+b"))},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"UFvj"))},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(){return Promise.all([n.e(0),n.e(26)]).then(n.bind(null,"IKJm"))},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(){return n.e(52).then(n.bind(null,"RaOr"))},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"4t0V"))},meta:{deep:0}},{path:"/star",name:"star",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"riDf"))},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"54Ry"))},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(){return Promise.all([n.e(0),n.e(61)]).then(n.bind(null,"P3Wy"))},meta:{deep:1}},{path:"/mine",name:"mine",component:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,"HgUD"))},meta:{deep:1}},{path:"/order",name:"order",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"R7Pr"))},meta:{deep:2}},{path:"/share",name:"share",component:function(){return n.e(64).then(n.bind(null,"Eg0l"))},meta:{deep:2}},{path:"/author",name:"author",component:function(){return n.e(42).then(n.bind(null,"sA+T"))},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(){return Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"bNYG"))},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"Y1ei"))},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"IF8E"))},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(){return Promise.all([n.e(0),n.e(50)]).then(n.bind(null,"w9eS"))},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"3QU7"))},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(){return n.e(54).then(n.bind(null,"wSE2"))},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(){return n.e(49).then(n.bind(null,"/Vxk"))},meta:{deep:0}},{path:"/activity",name:"activity",component:function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"yYpN"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteFriends",name:"inviteFriends",component:function(){return n.e(9).then(n.bind(null,"Z6Nl"))},meta:{deep:0,noNew:!0}},{path:"/inviteRecordList",name:"inviteRecordList",component:function(){return n.e(57).then(n.bind(null,"iina"))},meta:{deep:0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(){return Promise.all([n.e(0),n.e(20)]).then(n.bind(null,"aRHX"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(){return n.e(33).then(n.bind(null,"eZU3"))},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"PTpu"))},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(){return n.e(40).then(n.bind(null,"nmbt"))},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(){return Promise.all([n.e(0),n.e(31)]).then(n.bind(null,"VPne"))},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(){return Promise.all([n.e(0),n.e(65)]).then(n.bind(null,"6IIy"))},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(){return n.e(44).then(n.bind(null,"SLI2"))},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(){return Promise.all([n.e(0),n.e(46)]).then(n.bind(null,"f0iw"))},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"NVDN"))},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(){return Promise.all([n.e(0),n.e(41)]).then(n.bind(null,"5QmN"))},meta:{noNew:!0}},{path:"/oldShareGoods",name:"oldShareGoods",component:function(e){return Promise.all([n.e(0),n.e(15)]).then(function(){var t=[n("HI3+")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/passShop",name:"passShop",component:function(e){return Promise.all([n.e(0),n.e(13)]).then(function(){var t=[n("xcXc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybIndex",name:"ybIndex",component:function(e){return Promise.all([n.e(0),n.e(5)]).then(function(){var t=[n("P8Lu")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybOrderRender",name:"ybOrderRender",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("5FXK")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybPaySuccess",name:"ybPaySuccess",component:function(e){return n.e(29).then(function(){var t=[n("sFet")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybNav",name:"ybNav",component:function(e){return n.e(59).then(function(){var t=[n("SnBc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/navShare",name:"navShare",component:function(e){return n.e(63).then(function(){var t=[n("w9jd")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/logistics",name:"logistics",component:function(e){return n.e(35).then(function(){var t=[n("H/gB")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/evaluate",name:"evaluate",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("dlRe")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/growthRecord",name:"growthRecord",component:function(e){return Promise.all([n.e(0),n.e(27)]).then(function(){var t=[n("3c/M")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0,title:"成长记录"}},{path:"/promptTime",name:"promptTime",component:function(e){return n.e(21).then(function(){var t=[n("eVaN")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/punchTheClock",name:"punchTheClock",component:function(e){return Promise.all([n.e(0),n.e(58)]).then(function(){var t=[n("L6DW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/guidelines",name:"guidelines",component:function(e){return n.e(34).then(function(){var t=[n("sDyh")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"*",component:function(){return Promise.all([n.e(0),n.e(56)]).then(n.bind(null,"Zazt"))}}]});f.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==d.match(/MicroMessenger/i)||"_sq_"==d.match(/_SQ_/i)?"noWechat"==e.name&&(e.query.url?n(decodeURIComponent(e.query.url)):n({name:"index"})):"noWechat"!==e.name&&n({name:"noWechat",query:{url:encodeURIComponent(e.fullPath)}}),i.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",e.meta.title&&(document.title=e.meta.title);var o=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if(window.location.href.indexOf("gdt_vid")>-1&&(localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),localStorage.setItem("cct_user_id",c.a.getUrlParam().cct_user_id),localStorage.setItem("redeem_code",c.a.getUrlParam().cct_user_id)),"spcShop"===e.name||"mpShop"===e.name||"extensionV1Shop"===e.name||"extensionV1"===e.name||"author"===e.name||"bindMobile"===e.name||"noWechat"===e.name||"inspectorActivit"===e.name||"buyDetail"===e.name||"passShop"===e.name||"ybIndex"===e.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===e.name){var u=c.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",u),Object(p.W)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(e){localStorage.getItem("userDesc")&&o()})}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),o()):Object(p.W)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});else{var l={retUrl:e.fullPath};localStorage.setItem("retUrl",e.fullPath),e.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),t.a=f},"d8/S":function(e,t){},eh36:function(e,t){},hW8u:function(e,t){},nsZj:function(e,t){},"sf/l":function(e,t,n){"use strict";var o=n("pFYg"),a=n.n(o);t.a={dateFmt:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},getUrlParam:function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},toDataURL:function(e,t){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",e,!0),n.send()},getParamhref:function(){var e=location.href,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(e.indexOf("?")+1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},leftTimer:function(e,t){if(e>new Date)var n=e-new Date;else{t&&clearInterval(t);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),r=parseInt(n/1e3/60%60,10),i=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),r=this.checkTime(r),i=this.checkTime(i),o>0?o+"天":a>=0||r>=0||i>=0?a+":"+r+":"+i:void 0},checkTime:function(e){return e<10&&(e="0"+e),e},letslazyload:function(e){var t=new RegExp(/(\<img )([^>]*)(src=")([^"]*")([^>]*)(\>)/,"g");return e=e.replace(t,function(e,t,n,o,a,r,i){return t+n+'data-src="'+a+r+i})},deepCopy:function(e){if("object"===(void 0===e?"undefined":a()(e))){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===a()(e[n])?this.deepCopy(e[n]):e[n]);return t}},isWeixinBrowser:function(){return/MicroMessenger/.test(window.navigator.userAgent)?0:/AlipayClient/.test(window.navigator.userAgent)?2:1},getParamByName:function(e,t){t=t||window.location;var n=RegExp("[?&]"+e+"=([^&]*)").exec(t);return n&&decodeURIComponent(n[1].replace(/\+/g," "))}}},zP5g:function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
\ No newline at end of file
webpackJsonp([68],{CCn6:function(e,t,n){"use strict";var o=n("7+uW"),a=(n("eqfM"),n("/QYm")),r=n("//Fk"),i=n.n(r),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),d=n("YaEn"),f=n("sf/l");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(e){var t=localStorage.getItem("cc_token");if(e.headers["Content-Type"]||(e.headers={"Content-Type":"application/json"}),t&&(e.headers.token=t),"get"===e.method&&"/api/admin/login"!==e.url){e.params=e.params||{},e.params.v="09021400";var n=JSON.parse(u()(e.params));for(var o in n)null===n[o]&&(n[o]=""),"string"==typeof n[o]&&(e.params[o]=e.params[o].replace(/(^\s*)|(\s*$)/g,""),n[o]=n[o].replace(/(^\s*)|(\s*$)/g,"")),n[o]=h()(n[o].toString());n.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.params.param_token=h()(u()(n)),e.params.v="09021400"}else if("/api/admin/login"!==e.url){e.data=e.data||{},e.data.v="09021400";var a=JSON.parse(u()(e.data));for(var r in a)null===a[r]&&(a[r]=""),"string"==typeof a[r]&&(e.data[r]=e.data[r].replace(/(^\s*)|(\s*$)/g,""),a[r]=a[r].replace(/(^\s*)|(\s*$)/g,"")),a[r]=h()(a[r].toString());a.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.data.param_token=h()(u()(a)),e.data.v="09021400"}return e},function(e){return i.a.reject(e)}),s.a.interceptors.response.use(function(e){return 501===e.data.code&&d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),e},function(e){return i.a.reject(e)}),n.d(t,"c",function(){return g}),n.d(t,"_5",function(){return w}),n.d(t,"t",function(){return y}),n.d(t,"_7",function(){return b}),n.d(t,"G",function(){return v}),n.d(t,"U",function(){return _}),n.d(t,"_9",function(){return $}),n.d(t,"_18",function(){return S}),n.d(t,"_17",function(){return P}),n.d(t,"i",function(){return N}),n.d(t,"j",function(){return k}),n.d(t,"_1",function(){return T}),n.d(t,"A",function(){return x}),n.d(t,"q",function(){return I}),n.d(t,"z",function(){return O}),n.d(t,"W",function(){return U}),n.d(t,"_22",function(){return A}),n.d(t,"v",function(){return R}),n.d(t,"I",function(){return D}),n.d(t,"J",function(){return M}),n.d(t,"_2",function(){return C}),n.d(t,"T",function(){return E}),n.d(t,"S",function(){return L}),n.d(t,"o",function(){return j}),n.d(t,"u",function(){return V}),n.d(t,"x",function(){return W}),n.d(t,"w",function(){return q}),n.d(t,"_20",function(){return Y}),n.d(t,"e",function(){return F}),n.d(t,"_8",function(){return Q}),n.d(t,"V",function(){return B}),n.d(t,"b",function(){return G}),n.d(t,"h",function(){return H}),n.d(t,"K",function(){return J}),n.d(t,"O",function(){return K}),n.d(t,"P",function(){return z}),n.d(t,"Z",function(){return X}),n.d(t,"_0",function(){return Z}),n.d(t,"a",function(){return ee}),n.d(t,"_4",function(){return te}),n.d(t,"_15",function(){return ne}),n.d(t,"r",function(){return oe}),n.d(t,"p",function(){return ae}),n.d(t,"_16",function(){return re}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return ce}),n.d(t,"C",function(){return ue}),n.d(t,"E",function(){return le}),n.d(t,"D",function(){return se}),n.d(t,"_23",function(){return pe}),n.d(t,"d",function(){return he}),n.d(t,"g",function(){return de}),n.d(t,"f",function(){return fe}),n.d(t,"_21",function(){return me}),n.d(t,"_6",function(){return ge}),n.d(t,"_19",function(){return we}),n.d(t,"Q",function(){return ye}),n.d(t,"R",function(){return be}),n.d(t,"M",function(){return ve}),n.d(t,"L",function(){return _e}),n.d(t,"_3",function(){return $e}),n.d(t,"_14",function(){return Se}),n.d(t,"B",function(){return Pe}),n.d(t,"_10",function(){return Ne}),n.d(t,"_11",function(){return ke}),n.d(t,"_13",function(){return Te}),n.d(t,"X",function(){return xe}),n.d(t,"Y",function(){return Ie}),n.d(t,"_12",function(){return Oe}),n.d(t,"H",function(){return Ue}),n.d(t,"y",function(){return Ae}),n.d(t,"N",function(){return Re}),n.d(t,"s",function(){return De}),n.d(t,"n",function(){return Me}),n.d(t,"F",function(){return Ce}),n.d(t,"m",function(){return Ee});var m="https://wechat.changchangenglish.com/";o.default.prototype.$post=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.post(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),502!=e.data.code&&Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$fetch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.get(e,{params:t}).then(function(e){if(200===e.data.code)n(e.data.data);else if(501===e.data.code){o(e.data);var t={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),t.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}else if(503===e.data.code)o(e.data);else if(506===e.data.code){o(e.data);var r={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),r.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}else o(e.data),Object(a.a)(e.data.msg)}).catch(function(e){o(e)})})},o.default.prototype.$patch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.patch(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$put=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.put(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$del=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.delete(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$upload=function(e,t){return new i.a(function(n,o){var r=parseInt(Number(t.file.size)/Number(10485760)+1),i=0;!function c(){var u=new FormData,l=t.file.slice(1024*i*1024*10,1024*(i+1)*1024*10);u.append("chunk",i),u.append("file_name",t.file.name),u.append("count",r),u.append("type",t.type),u.append("file",l),s.a.post(e,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(e){}}).then(function(e){200===e.data.code?i+1<r?(i++,c()):(i=0,n(e.data.data)):Object(a.a)(e.data.msg)}).catch(function(e){o(e)})}()})},o.default.prototype.$ret2=function(e){return new i.a(function(t,n){s.a.get(e).then(function(e){t(e.data)}).catch(function(e){n(e)})})};var g=function(e,t){return o.default.prototype.$fetch("/api/client/banner/list/"+e,t)},w=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",e)},y=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+e)},b=function(e){return o.default.prototype.$put(m+"api/client/deliver/edit",e)},v=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/deliver/newest/list")},_=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},$=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",e)},S=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",e)},P=function(e){return o.default.prototype.$post(m+"api/client/user/starActivity/address",e)},N=function(e,t){return o.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+t,e)},k=function(e){return o.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",e)},T=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},x=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},I=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+e)},O=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+e+"/"+t+"/"+n)},U=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},A=function(e,t,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+e+"/"+t+"/"+n,a)},R=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+e)},D=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+e)},M=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",e)},C=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report",e)},E=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me/teacher")},L=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",e)},j=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:e})},V=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",e)},W=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},Y=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",e)},F=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",e)},Q=function(e,t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",e)},B=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},G=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+e)},J=function(e,t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+e,t)},K=function(){return o.default.prototype.$fetch("/api/client/share/goods")},z=function(e){return o.default.prototype.$fetch("/api/public/short/url",e)},X=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},Z=function(e){return o.default.prototype.$fetch("/api/client/user/integral",e)},ee=function(e){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",e)},te=function(e){return o.default.prototype.$fetch("/api/client/yunji/config",e)},ne=function(e){return o.default.prototype.$post("/api/client/user/add/class/"+e)},oe=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},ae=function(e){return e?o.default.prototype.$fetch("/api/client/user/course/info",{periods_id:e}):o.default.prototype.$fetch("/api/client/user/course/info")},re=function(e){return o.default.prototype.$put("/api/client/me/set",e)},ie=function(e,t){return o.default.prototype.$fetch("/api/client/course/automation/list/"+e+"/"+t)},ce=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ue=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},le=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},se=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},pe=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},he=function(e){return o.default.prototype.$fetch("/api/client/user/bind/sub/"+e)},de=function(){return o.default.prototype.$fetch("/api/client/user/generate/authorization")},fe=function(){return o.default.prototype.$fetch("/api/client/user/bind/chance")},me=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},ge=function(e){return o.default.prototype.$fetch("/api/client/user/main/info/"+e)},we=function(e){return o.default.prototype.$fetch("/api/client/user/click/link/"+e)},ye=function(){return o.default.prototype.$fetch("/api/client/user/starActivity")},be=function(){return o.default.prototype.$fetch("/api/client/user/startBonusActivity")},ve=function(e){return o.default.prototype.$fetch("/api/client/user/receive/coupon/"+e)},_e=function(e){return o.default.prototype.$fetch("/api/client/goods/info/no/auth/"+e)},$e=function(e){return o.default.prototype.$fetch("/api/client/youbang/put",e)},Se=function(e){return o.default.prototype.$post("/api/client/youbang/address/add",e)},Pe=function(e){return o.default.prototype.$fetch("/api/client/deliver/list",e)},Ne=function(e){return o.default.prototype.$post("api/client/report/errors/log",e)},ke=function(e){return o.default.prototype.$post("/api/client/user/notify/setting",e)},Te=function(e,t,n,a){return o.default.prototype.$post("api/client/user/growth/record/"+e+"/"+t+"/"+n,a)},xe=function(e){return o.default.prototype.$fetch(m+"api/client/user/growth/record/list")},Ie=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/growth/record/"+e+"/"+t+"/"+n)},Oe=function(e){return o.default.prototype.$post("/api/client/bill/create",e)},Ue=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)},Ae=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity/"+e)},Re=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e,t)},De=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/finish/user/"+e)},Me=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/go/where/"+e+"/"+t+"/"+n,a)},Ce=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e+"/"+t+"/"+n,a)},Ee=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/refresh",e)}},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),a=n("NYxO"),r=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,t){e.isMobile=t},isWatchDetail:function(e,t){e.watchDetail=t},isClassQuery:function(e,t){e.classQuery=t},isCouponShadow:function(e,t){e.couponShadow=t},isLookStatus:function(e,t){e.lookStatus=t},isTimeout:function(e,t){e.timeout=t},setTest:function(e,t){e.test=t}});o.default.use(a.a);t.a=new a.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1,lookStatus:0,timeout:"",test:1},mutations:r,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)},isMobile:function(e,t){(0,e.commit)("isMobile",t)},setWatchDetail:function(e,t){(0,e.commit)("isWatchDetail",t)},setClassQuery:function(e,t){(0,e.commit)("isClassQuery",t)},setCouponShadow:function(e,t){(0,e.commit)("isCouponShadow",t)},setLookStatus:function(e,t){(0,e.commit)("isLookStatus",t)},setTimeout:function(e,t){(0,e.commit)("isTimeout",t)}}})},JKiR:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("mMXg");var o=n("qYlo"),a=(n("qVvv"),n("8aUD")),r=(n("3Lne"),n("SSsa")),i=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[this._v(">\n "),t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(e){n("zP5g")},null,null).exports,p=n("YaEn"),h=n("IcnI"),d=n("sf/l"),f=n("wvfG"),m=n.n(f),g=n("uYVh"),w=n.n(g),y=(n("d8/S"),n("bOdI")),b=n.n(y),v=n("GQaK"),_={props:{probeType:{type:Number,default:1},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},pulldown:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},refreshDelay:{type:Number,default:100},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){var e=this;setTimeout(function(){e._initScroll()},20)},methods:b()({_initScroll:function(){var e=this;if(this.$refs.wrapper){if(this.scroll=new v.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){var t=this;this.scroll.on("scroll",function(e){t.$emit("scroll",e)})}this.pullup&&this.scroll.on("scrollEnd",function(){e.scroll.y<=e.scroll.maxScrollY+10&&e.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(t){t.y>50&&e.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){e.$emit("beforeScroll")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(e,t,n){this.scroll&&this.scroll.scrollTo(e,t,n)},scrollToElement:function(e,t){this.scroll&&this.scroll.scrollToElement(e,t)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){var e=this;setTimeout(function(){e.refresh()},this.refreshDelay)}}},$={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};var S=n("VU/8")(_,$,!1,function(e){n("QHfu")},"data-v-867f04a4",null).exports,P=n("NVJ5"),N=n("MPCr"),k=this;P.apikey="4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e",Object(N.a)(P,u.default),u.default.config.productionTip=!1,u.default.prototype.$sa=w.a,u.default.prototype.$sa.init({server_url:"http://47.107.250.38:8106/sa?project=production",show_log:!1,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0}),u.default.prototype.$sa.quick("autoTrack"),u.default.use(m.a),u.default.use(o.a).use(a.a).use(r.a).use(i.a).use(c.a),u.default.component("scroll",S);var T=function(e,t){u.default.prototype.$post("api/client/report/errors/log",{routes_url:t.$route.name,result_text:e.toString()})};u.default.config.errorHandler=T,u.default.prototype.$throw=function(e){return T(e,k)},u.default.prototype.$common=d.a,p.a.beforeEach(function(e,t,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),new u.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,a=arguments[1],r=0;r<o;r++)if(t=n[r],e.call(a,t,r,n))return t})},QHfu:function(e,t){},YaEn:function(e,t,n){"use strict";var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),i=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");r.default.use(u.a);var h={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},d=window.navigator.userAgent.toLowerCase(),f=new u.a({routes:[{path:"/",name:"index",component:function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,"dAjm"))},meta:{deep:0}},{path:"/extensionV1Shop",name:"extensionV1Shop",component:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"fwSI"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/extensionV1",name:"extensionV1",component:function(){return n.e(25).then(n.bind(null,"it1F"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/guideActivity",name:"guideActivity",component:function(){return n.e(24).then(n.bind(null,"kcFG"))},meta:{deep:0,noNew:!0}},{path:"/guide",name:"guide",component:function(){return Promise.all([n.e(0),n.e(30)]).then(n.bind(null,"J+FK"))},meta:{deep:0,noNew:!0}},{path:"/spcShop",name:"spcShop",component:function(){return Promise.all([n.e(0),n.e(43)]).then(n.bind(null,"JCOr"))},meta:{deep:0,noNew:!0}},{path:"/orderTrans",name:"orderTrans",component:function(){return n.e(28).then(n.bind(null,"qPDM"))},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"784L"))},meta:{deep:0,noNew:!0}},{path:"/addressModify",name:"addressModify",component:function(){return Promise.all([n.e(0),n.e(62)]).then(n.bind(null,"t32k"))},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(){return Promise.all([n.e(0),n.e(51)]).then(n.bind(null,"JxbE"))},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(){return n.e(32).then(n.bind(null,"9K06"))},meta:{deep:0,noNew:!0}},{path:"/address",name:"Address",component:function(){return Promise.all([n.e(0),n.e(48)]).then(n.bind(null,"kZy8"))},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(){return Promise.all([n.e(0),n.e(66)]).then(n.bind(null,"TEQG"))},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"De9k"))},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(){return Promise.all([n.e(0),n.e(47)]).then(n.bind(null,"YaSr"))},meta:{deep:0,noNew:!0}},{path:"/starRankV2",name:"starRankV2",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"4plS"))},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(){return Promise.all([n.e(0),n.e(45)]).then(n.bind(null,"v+uu"))},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(){return Promise.all([n.e(0),n.e(53)]).then(n.bind(null,"xi8t"))},meta:{deep:0,noNew:!0}},{path:"/starResultV2",name:"starResultV2",component:function(){return Promise.all([n.e(0),n.e(39)]).then(n.bind(null,"GSYK"))},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(){return n.e(60).then(n.bind(null,"2tJf"))},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(){return Promise.all([n.e(0),n.e(36)]).then(n.bind(null,"sj+b"))},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"UFvj"))},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(){return Promise.all([n.e(0),n.e(26)]).then(n.bind(null,"IKJm"))},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(){return n.e(52).then(n.bind(null,"RaOr"))},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"4t0V"))},meta:{deep:0}},{path:"/star",name:"star",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"riDf"))},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"54Ry"))},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(){return Promise.all([n.e(0),n.e(61)]).then(n.bind(null,"P3Wy"))},meta:{deep:1}},{path:"/mine",name:"mine",component:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,"HgUD"))},meta:{deep:1}},{path:"/order",name:"order",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"R7Pr"))},meta:{deep:2}},{path:"/share",name:"share",component:function(){return n.e(64).then(n.bind(null,"Eg0l"))},meta:{deep:2}},{path:"/author",name:"author",component:function(){return n.e(42).then(n.bind(null,"sA+T"))},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(){return Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"bNYG"))},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"Y1ei"))},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"IF8E"))},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(){return Promise.all([n.e(0),n.e(50)]).then(n.bind(null,"w9eS"))},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"3QU7"))},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(){return n.e(54).then(n.bind(null,"wSE2"))},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(){return n.e(49).then(n.bind(null,"/Vxk"))},meta:{deep:0}},{path:"/activity",name:"activity",component:function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"yYpN"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteFriends",name:"inviteFriends",component:function(){return n.e(9).then(n.bind(null,"Z6Nl"))},meta:{deep:0,noNew:!0}},{path:"/inviteRecordList",name:"inviteRecordList",component:function(){return n.e(58).then(n.bind(null,"iina"))},meta:{deep:0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(){return Promise.all([n.e(0),n.e(20)]).then(n.bind(null,"aRHX"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(){return n.e(33).then(n.bind(null,"eZU3"))},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"PTpu"))},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(){return n.e(40).then(n.bind(null,"nmbt"))},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(){return Promise.all([n.e(0),n.e(31)]).then(n.bind(null,"VPne"))},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(){return Promise.all([n.e(0),n.e(65)]).then(n.bind(null,"6IIy"))},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(){return n.e(44).then(n.bind(null,"SLI2"))},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(){return Promise.all([n.e(0),n.e(46)]).then(n.bind(null,"f0iw"))},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"NVDN"))},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(){return Promise.all([n.e(0),n.e(41)]).then(n.bind(null,"5QmN"))},meta:{noNew:!0}},{path:"/oldShareGoods",name:"oldShareGoods",component:function(e){return Promise.all([n.e(0),n.e(15)]).then(function(){var t=[n("HI3+")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/passShop",name:"passShop",component:function(e){return Promise.all([n.e(0),n.e(13)]).then(function(){var t=[n("xcXc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybIndex",name:"ybIndex",component:function(e){return Promise.all([n.e(0),n.e(5)]).then(function(){var t=[n("P8Lu")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybOrderRender",name:"ybOrderRender",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("5FXK")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybPaySuccess",name:"ybPaySuccess",component:function(e){return n.e(29).then(function(){var t=[n("sFet")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybNav",name:"ybNav",component:function(e){return n.e(59).then(function(){var t=[n("SnBc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/navShare",name:"navShare",component:function(e){return n.e(63).then(function(){var t=[n("w9jd")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/logistics",name:"logistics",component:function(e){return n.e(35).then(function(){var t=[n("H/gB")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/evaluate",name:"evaluate",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("dlRe")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/growthRecord",name:"growthRecord",component:function(e){return Promise.all([n.e(0),n.e(27)]).then(function(){var t=[n("3c/M")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0,title:"成长记录"}},{path:"/promptTime",name:"promptTime",component:function(e){return n.e(21).then(function(){var t=[n("eVaN")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/punchTheClock",name:"punchTheClock",component:function(e){return Promise.all([n.e(0),n.e(57)]).then(function(){var t=[n("L6DW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/guidelines",name:"guidelines",component:function(e){return n.e(34).then(function(){var t=[n("sDyh")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"*",component:function(){return Promise.all([n.e(0),n.e(56)]).then(n.bind(null,"Zazt"))}}]});f.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==d.match(/MicroMessenger/i)||"_sq_"==d.match(/_SQ_/i)?"noWechat"==e.name&&(e.query.url?n(decodeURIComponent(e.query.url)):n({name:"index"})):"noWechat"!==e.name&&n({name:"noWechat",query:{url:encodeURIComponent(e.fullPath)}}),i.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",e.meta.title&&(document.title=e.meta.title);var o=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if(window.location.href.indexOf("gdt_vid")>-1&&(localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),localStorage.setItem("cct_user_id",c.a.getUrlParam().cct_user_id),localStorage.setItem("redeem_code",c.a.getUrlParam().cct_user_id)),"spcShop"===e.name||"mpShop"===e.name||"extensionV1Shop"===e.name||"extensionV1"===e.name||"author"===e.name||"bindMobile"===e.name||"noWechat"===e.name||"inspectorActivit"===e.name||"buyDetail"===e.name||"passShop"===e.name||"ybIndex"===e.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===e.name){var u=c.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",u),Object(p.W)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(e){localStorage.getItem("userDesc")&&o()})}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),o()):Object(p.W)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});else{var l={retUrl:e.fullPath};localStorage.setItem("retUrl",e.fullPath),e.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),t.a=f},"d8/S":function(e,t){},eh36:function(e,t){},hW8u:function(e,t){},nsZj:function(e,t){},"sf/l":function(e,t,n){"use strict";var o=n("pFYg"),a=n.n(o);t.a={dateFmt:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},getUrlParam:function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},toDataURL:function(e,t){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",e,!0),n.send()},getParamhref:function(){var e=location.href,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(e.indexOf("?")+1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},leftTimer:function(e,t){if(e>new Date)var n=e-new Date;else{t&&clearInterval(t);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),r=parseInt(n/1e3/60%60,10),i=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),r=this.checkTime(r),i=this.checkTime(i),o>0?o+"天":a>=0||r>=0||i>=0?a+":"+r+":"+i:void 0},checkTime:function(e){return e<10&&(e="0"+e),e},letslazyload:function(e){var t=new RegExp(/(\<img )([^>]*)(src=")([^"]*")([^>]*)(\>)/,"g");return e=e.replace(t,function(e,t,n,o,a,r,i){return t+n+'data-src="'+a+r+i})},deepCopy:function(e){if("object"===(void 0===e?"undefined":a()(e))){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===a()(e[n])?this.deepCopy(e[n]):e[n]);return t}},isWeixinBrowser:function(){return/MicroMessenger/.test(window.navigator.userAgent)?0:/AlipayClient/.test(window.navigator.userAgent)?2:1},getParamByName:function(e,t){t=t||window.location;var n=RegExp("[?&]"+e+"=([^&]*)").exec(t);return n&&decodeURIComponent(n[1].replace(/\+/g," "))}}},zP5g:function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var t,r,o,i=0,u=[];i<c.length;i++)r=c[i],f[r]&&u.push(f[r][0]),f[r]=0;for(t in d)Object.prototype.hasOwnProperty.call(d,t)&&(e[t]=d[t]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={69:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"246124641f31a968e86b",1:"e0ec8c4022031e6be124",2:"26a9c434191413429eaf",3:"090a92836e236ee89b10",4:"8b72f5ed0e949267de85",5:"b72b2559ee13fedc42ea",6:"f561d38407a5a5a4eaa2",7:"bb007f72482626ccaca9",8:"0ddf7c9e57b022fa9aaf",9:"f17b77e5c2cc9e85cc3a",10:"aad3089f1d7f754f0c42",11:"f67d63ca47929974aabb",12:"d41ccea7f7b09e88436a",13:"5c3dd3be17fd430f4ab6",14:"4526fd4dc42894b915b8",15:"37dcbb470f01cfa0660e",16:"2704b46ea4e77abee247",17:"470a7db30e74ae1e3820",18:"fcaf600e10154c5911dd",19:"9c03cf32891647056777",20:"a25aa7bcc8b0a7606e87",21:"7add1a30d916c4a20deb",22:"de7bba15b55985b31e42",23:"73b92749efa2029022d9",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"fdfa72ef4322a4087588",27:"3b6a3f6f940c59140a8f",28:"369cabb2ec8965e19137",29:"4e0a3c6c53af6ff072c3",30:"021ffc5c18d6623ca2dc",31:"12ad9287615a464c77f9",32:"65c6506ababe2391b615",33:"b268a0ea14ccff59f54b",34:"7f855e5875858d6f5416",35:"68b5d9aa4c3782c137e0",36:"22c525389c381ad4d902",37:"68198514fa15b07508f0",38:"0744b6011b2cb8d5edc2",39:"b943b829da14df7d33b3",40:"38baa186d658f4c85323",41:"4694b5c7a3f20b29f3f8",42:"81e88b344b6ed852f5fa",43:"5a8b069066649c0aaeb7",44:"6e478cd551f2157fa106",45:"984376560b67f495bc50",46:"4e3e0f3c318ebac1b72d",47:"b9a9b35adab22943b7d3",48:"19dd924ad3e79924d3b8",49:"67b9ad4b5c48fc1636aa",50:"5f5e8b91b2143b50e129",51:"42fb15344726dd27c7e3",52:"1b458cdd50de784a477a",53:"9a02a068274fe701b492",54:"aa7b460a2d4e547231a7",55:"bcf838772d3f1ac84758",56:"8c6e58252dabb823b0b7",57:"33e43f35415af74d30c9",58:"86165d426cb814185ffd",59:"0cb564e86a7697c3ba85",60:"84439ef23237512de604",61:"4df2ae3c8da017c2e2ec",62:"49f1c976e8cf8fd06eb3",63:"022517dfa9652c03fb5e",64:"f060dd5a2ce6e466e1f2",65:"eb696b7946a94510855e",66:"942cfd689631d41f6881"}[e]+".js";var t=setTimeout(r,12e4);function r(){n.onerror=n.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=r,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="https://static-cdn.changchangenglish.com/new-sing/",b.oe=function(e){throw e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var t,r,o,i=0,u=[];i<c.length;i++)r=c[i],f[r]&&u.push(f[r][0]),f[r]=0;for(t in d)Object.prototype.hasOwnProperty.call(d,t)&&(e[t]=d[t]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={69:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"246124641f31a968e86b",1:"e0ec8c4022031e6be124",2:"26a9c434191413429eaf",3:"090a92836e236ee89b10",4:"8b72f5ed0e949267de85",5:"b72b2559ee13fedc42ea",6:"f561d38407a5a5a4eaa2",7:"bb007f72482626ccaca9",8:"0ddf7c9e57b022fa9aaf",9:"f17b77e5c2cc9e85cc3a",10:"aad3089f1d7f754f0c42",11:"f67d63ca47929974aabb",12:"d41ccea7f7b09e88436a",13:"5c3dd3be17fd430f4ab6",14:"4526fd4dc42894b915b8",15:"37dcbb470f01cfa0660e",16:"2704b46ea4e77abee247",17:"470a7db30e74ae1e3820",18:"fcaf600e10154c5911dd",19:"9c03cf32891647056777",20:"a25aa7bcc8b0a7606e87",21:"7add1a30d916c4a20deb",22:"de7bba15b55985b31e42",23:"73b92749efa2029022d9",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"fdfa72ef4322a4087588",27:"3b6a3f6f940c59140a8f",28:"369cabb2ec8965e19137",29:"4e0a3c6c53af6ff072c3",30:"021ffc5c18d6623ca2dc",31:"12ad9287615a464c77f9",32:"65c6506ababe2391b615",33:"b268a0ea14ccff59f54b",34:"7f855e5875858d6f5416",35:"68b5d9aa4c3782c137e0",36:"22c525389c381ad4d902",37:"68198514fa15b07508f0",38:"0744b6011b2cb8d5edc2",39:"b943b829da14df7d33b3",40:"38baa186d658f4c85323",41:"4694b5c7a3f20b29f3f8",42:"81e88b344b6ed852f5fa",43:"5a8b069066649c0aaeb7",44:"6e478cd551f2157fa106",45:"984376560b67f495bc50",46:"4e3e0f3c318ebac1b72d",47:"b9a9b35adab22943b7d3",48:"19dd924ad3e79924d3b8",49:"67b9ad4b5c48fc1636aa",50:"5f5e8b91b2143b50e129",51:"42fb15344726dd27c7e3",52:"1b458cdd50de784a477a",53:"9a02a068274fe701b492",54:"aa7b460a2d4e547231a7",55:"bcf838772d3f1ac84758",56:"8c6e58252dabb823b0b7",57:"f0b5adf9e2b2f078abf8",58:"d3299d6ae5f009e2812b",59:"0cb564e86a7697c3ba85",60:"84439ef23237512de604",61:"4df2ae3c8da017c2e2ec",62:"49f1c976e8cf8fd06eb3",63:"022517dfa9652c03fb5e",64:"f060dd5a2ce6e466e1f2",65:"eb696b7946a94510855e",66:"942cfd689631d41f6881"}[e]+".js";var t=setTimeout(r,12e4);function r(){n.onerror=n.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=r,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="https://static-cdn.changchangenglish.com/new-sing/",b.oe=function(e){throw e}}([]);
\ No newline at end of file
......@@ -13,7 +13,7 @@
<!-- 倒计时 hasEnded 指是否在规定时间内完成学习 -->
<div class="punch-the-clock-name-contentText" v-if="!hasEnded && forthRate !== 100">很遗憾,您未在指定时间内完成任务哦</div>
<!-- 完成率 -->
<div class="punch-the-clock-name-content-completion" v-if="!hasEnded && forthRate !== 100">
<div class="punch-the-clock-name-content-completion" v-if="hasEnded && forthRate !== 100">
<div class="daka-fu">
<img :src="punchTheClock.dakaFu" alt="">
</div>
......
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