Commit 2f063714 authored by IvyXia123's avatar IvyXia123

20190927-打卡返现修改

parent e96e4183
<!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.8535f39c2704ec5c7de27da27ed2ff8d.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.39fcfb8f385fe9ec8a9d.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.e524f5cccf757e45c672.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.a554d802f74385323a68.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.159851d28665b63a5125ff202fcfd7b2.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.916ce53a44d874ea4401.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.e524f5cccf757e45c672.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.da00a1a1f46fc7c5de50.js></script></body></html>
\ No newline at end of file
webpackJsonp([59],{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,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.M)(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.r)(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,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.m)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where;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?"待补卡":"打卡完成",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?"补卡:消耗20星星补卡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?this.getLessonDetailFn(t):Object(o._1)({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})}):3===this.status&&this.lastValue>=20&&Object(o.E)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!1},1500),document.querySelectorAll(".get-stars-btn")[0].style.display="none",e.lastValue=e.lastValue-20,e.modelData.tishi="补卡:消耗20星星补卡1次,当前共有"+e.lastValue+"颗星星",e.returnCash(2)})},getLessonDetailFn:function(t){var s=this;Object(o.y)(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)),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.S)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Y)().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?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded?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:"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-title"},[t._v("快联系班主任领取吧!")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-erweima"},[e("div",{staticClass:"punch-the-clock-reward-erweima-ma"},[e("img",{attrs:{src:t.qrErWeiMa,alt:""}})])])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list"},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:"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(" "),e("div",{staticClass:"today-list"},[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"},[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:"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(" "),1==s.type?e("div",{staticClass:"punch-card-today",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(" "),2==s.type1?e("div",{staticClass:"punch-card-today",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("-20颗星星")])]):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<=20?e("div",{staticClass:"get-stars"},[t._m(2)]):t._e(),t._v(" "),4!==t.status?e("div",{class:["get-stars-btn",{"get-stars-btn-clo":3===t.status&&t.lastValue<=20}],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("需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每20颗星星可补一张待补卡卡片。")])]),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("SQg2")},"data-v-6ebe6ec8",null);s.default=h.exports},SQg2:function(t,s){}});
\ 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,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.M)(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.r)(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,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.m)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where;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?"待补卡":"打卡完成",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?this.getLessonDetailFn(t):Object(o._1)({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})}):3===this.status&&this.lastValue>=10&&Object(o.E)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!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.y)(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)),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.S)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Y)().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?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded?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:"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-title"},[t._v("快联系班主任领取吧!")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-erweima"},[e("div",{staticClass:"punch-the-clock-reward-erweima-ma"},[e("img",{attrs:{src:t.qrErWeiMa,alt:""}})])])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list"},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:"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(" "),e("div",{staticClass:"today-list"},[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"},[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:"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(" "),1==s.type?e("div",{staticClass:"punch-card-today",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(" "),2==s.type1?e("div",{staticClass:"punch-card-today",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?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("SZQi")},"data-v-7b0861f8",null);s.default=h.exports},SZQi:function(t,s){}});
\ No newline at end of file
webpackJsonp([57],{SnBc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(t){n("hErb")},"data-v-741181e1",null);e.default=i.exports},hErb:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{SnBc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(t){n("hErb")},"data-v-741181e1",null);e.default=i.exports},hErb:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{"2tJf":function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=s("CCn6"),e={name:"med",components:{},data:function(){return{zbList:[]}},created:function(){this.getBannerListApi()},methods:{getBannerListApi:function(){var t=this;Object(n.c)(5,{limit:999,page:1}).then(function(i){t.zbList=i.list})},goLink:function(t,i){this.$sa.quick("trackHeatMap",this.$refs.zbitem),window.location.href=t}}},a={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[t.zbList.length>0?s("div",{staticClass:"contentBox qm zb"},[t._m(0),t._v(" "),s("div",{staticClass:"content"},t._l(t.zbList,function(i){return s("div",{ref:"zbitem",refInFor:!0,staticClass:"contentItem qm",on:{click:function(s){t.goLink(i.link,"zb")}}},[s("img",{attrs:{src:i.url,alt:""}}),t._v(" "),s("div",{staticClass:"text"},[s("div",{staticClass:"title"},[t._v(t._s(i.title))]),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{staticClass:"enTitle"},[t._v(t._s(i.sub_title))]),t._v(" "),s("div",{staticClass:"lookData"},[s("i",{staticClass:"iconfont icon-yanjing"}),t._v(t._s(i.watch_num)+"人")])])])}))]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"commonTitle"},[i("span",{staticClass:"line"}),this._v(" "),i("span",{staticClass:"title"},[this._v("精彩直播课")]),this._v(" "),i("span",{staticClass:"tip"},[this._v("在线与名师互动")]),this._v(" "),i("div",{staticClass:"more"})])}]};var c=s("VU/8")(e,a,!1,function(t){s("l91i")},"data-v-6ebf9917",null);i.default=c.exports},l91i:function(t,i){}});
\ No newline at end of file
webpackJsonp([59],{"2tJf":function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=s("CCn6"),e={name:"med",components:{},data:function(){return{zbList:[]}},created:function(){this.getBannerListApi()},methods:{getBannerListApi:function(){var t=this;Object(n.c)(5,{limit:999,page:1}).then(function(i){t.zbList=i.list})},goLink:function(t,i){this.$sa.quick("trackHeatMap",this.$refs.zbitem),window.location.href=t}}},a={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[t.zbList.length>0?s("div",{staticClass:"contentBox qm zb"},[t._m(0),t._v(" "),s("div",{staticClass:"content"},t._l(t.zbList,function(i){return s("div",{ref:"zbitem",refInFor:!0,staticClass:"contentItem qm",on:{click:function(s){t.goLink(i.link,"zb")}}},[s("img",{attrs:{src:i.url,alt:""}}),t._v(" "),s("div",{staticClass:"text"},[s("div",{staticClass:"title"},[t._v(t._s(i.title))]),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{staticClass:"enTitle"},[t._v(t._s(i.sub_title))]),t._v(" "),s("div",{staticClass:"lookData"},[s("i",{staticClass:"iconfont icon-yanjing"}),t._v(t._s(i.watch_num)+"人")])])])}))]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"commonTitle"},[i("span",{staticClass:"line"}),this._v(" "),i("span",{staticClass:"title"},[this._v("精彩直播课")]),this._v(" "),i("span",{staticClass:"tip"},[this._v("在线与名师互动")]),this._v(" "),i("div",{staticClass:"more"})])}]};var c=s("VU/8")(e,a,!1,function(t){s("l91i")},"data-v-6ebf9917",null);i.default=c.exports},l91i:function(t,i){}});
\ No newline at end of file
webpackJsonp([67],{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,"_4",function(){return w}),n.d(t,"s",function(){return y}),n.d(t,"_6",function(){return b}),n.d(t,"F",function(){return v}),n.d(t,"T",function(){return _}),n.d(t,"_8",function(){return $}),n.d(t,"_16",function(){return S}),n.d(t,"_15",function(){return P}),n.d(t,"i",function(){return N}),n.d(t,"j",function(){return k}),n.d(t,"_0",function(){return T}),n.d(t,"z",function(){return I}),n.d(t,"p",function(){return x}),n.d(t,"y",function(){return O}),n.d(t,"V",function(){return U}),n.d(t,"_20",function(){return A}),n.d(t,"u",function(){return R}),n.d(t,"H",function(){return D}),n.d(t,"I",function(){return M}),n.d(t,"_1",function(){return C}),n.d(t,"S",function(){return E}),n.d(t,"R",function(){return L}),n.d(t,"n",function(){return j}),n.d(t,"t",function(){return V}),n.d(t,"w",function(){return q}),n.d(t,"v",function(){return Y}),n.d(t,"_18",function(){return W}),n.d(t,"e",function(){return F}),n.d(t,"_7",function(){return Q}),n.d(t,"U",function(){return G}),n.d(t,"b",function(){return H}),n.d(t,"h",function(){return B}),n.d(t,"J",function(){return J}),n.d(t,"N",function(){return K}),n.d(t,"O",function(){return z}),n.d(t,"Y",function(){return X}),n.d(t,"Z",function(){return Z}),n.d(t,"a",function(){return ee}),n.d(t,"_3",function(){return te}),n.d(t,"_13",function(){return ne}),n.d(t,"q",function(){return oe}),n.d(t,"o",function(){return ae}),n.d(t,"_14",function(){return re}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return ce}),n.d(t,"B",function(){return ue}),n.d(t,"D",function(){return le}),n.d(t,"C",function(){return se}),n.d(t,"_21",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,"_19",function(){return me}),n.d(t,"_5",function(){return ge}),n.d(t,"_17",function(){return we}),n.d(t,"P",function(){return ye}),n.d(t,"Q",function(){return be}),n.d(t,"L",function(){return ve}),n.d(t,"K",function(){return _e}),n.d(t,"_2",function(){return $e}),n.d(t,"_12",function(){return Se}),n.d(t,"A",function(){return Pe}),n.d(t,"_9",function(){return Ne}),n.d(t,"_10",function(){return ke}),n.d(t,"_11",function(){return Te}),n.d(t,"W",function(){return Ie}),n.d(t,"X",function(){return xe}),n.d(t,"G",function(){return Oe}),n.d(t,"x",function(){return Ue}),n.d(t,"M",function(){return Ae}),n.d(t,"r",function(){return Re}),n.d(t,"m",function(){return De}),n.d(t,"E",function(){return Me});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")},I=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},x=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)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},Y=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},W=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)},G=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},B=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)},Ie=function(e){return o.default.prototype.$fetch(m+"api/client/user/growth/record/list")},xe=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.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)},Ue=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity")},Ae=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e,t)},Re=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/finish/user/"+e)},De=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/go/where/"+e+"/"+t+"/"+n,a)},Me=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e+"/"+t+"/"+n,a)}},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(42)]).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(54)]).then(n.bind(null,"784L"))},meta:{deep:0,noNew:!0}},{path:"/addressModify",name:"addressModify",component:function(){return Promise.all([n.e(0),n.e(61)]).then(n.bind(null,"t32k"))},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(){return Promise.all([n.e(0),n.e(50)]).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(47)]).then(n.bind(null,"kZy8"))},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(){return Promise.all([n.e(0),n.e(65)]).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(46)]).then(n.bind(null,"YaSr"))},meta:{deep:0,noNew:!0}},{path:"/starRankV2",name:"starRankV2",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"4plS"))},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(){return Promise.all([n.e(0),n.e(44)]).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(52)]).then(n.bind(null,"xi8t"))},meta:{deep:0,noNew:!0}},{path:"/starResultV2",name:"starResultV2",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"GSYK"))},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(){return n.e(58).then(n.bind(null,"2tJf"))},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(){return Promise.all([n.e(0),n.e(35)]).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(51).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(60)]).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(36)]).then(n.bind(null,"R7Pr"))},meta:{deep:2}},{path:"/share",name:"share",component:function(){return n.e(63).then(n.bind(null,"Eg0l"))},meta:{deep:2}},{path:"/author",name:"author",component:function(){return n.e(41).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(49)]).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(53).then(n.bind(null,"wSE2"))},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(){return n.e(48).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(56).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(39).then(n.bind(null,"nmbt"))},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(){return Promise.all([n.e(0),n.e(29)]).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(64)]).then(n.bind(null,"6IIy"))},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(){return n.e(43).then(n.bind(null,"SLI2"))},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(){return Promise.all([n.e(0),n.e(45)]).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(40)]).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(31).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(57).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(62).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(34).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(59)]).then(function(){var t=[n("L6DW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).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.V)().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.V)().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}}}},zP5g:function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
\ No newline at end of file
webpackJsonp([67],{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,"_4",function(){return w}),n.d(t,"s",function(){return y}),n.d(t,"_6",function(){return b}),n.d(t,"F",function(){return v}),n.d(t,"T",function(){return _}),n.d(t,"_8",function(){return $}),n.d(t,"_16",function(){return S}),n.d(t,"_15",function(){return P}),n.d(t,"i",function(){return N}),n.d(t,"j",function(){return k}),n.d(t,"_0",function(){return T}),n.d(t,"z",function(){return I}),n.d(t,"p",function(){return x}),n.d(t,"y",function(){return O}),n.d(t,"V",function(){return U}),n.d(t,"_20",function(){return A}),n.d(t,"u",function(){return R}),n.d(t,"H",function(){return D}),n.d(t,"I",function(){return M}),n.d(t,"_1",function(){return C}),n.d(t,"S",function(){return E}),n.d(t,"R",function(){return L}),n.d(t,"n",function(){return j}),n.d(t,"t",function(){return V}),n.d(t,"w",function(){return q}),n.d(t,"v",function(){return Y}),n.d(t,"_18",function(){return W}),n.d(t,"e",function(){return F}),n.d(t,"_7",function(){return Q}),n.d(t,"U",function(){return G}),n.d(t,"b",function(){return H}),n.d(t,"h",function(){return B}),n.d(t,"J",function(){return J}),n.d(t,"N",function(){return K}),n.d(t,"O",function(){return z}),n.d(t,"Y",function(){return X}),n.d(t,"Z",function(){return Z}),n.d(t,"a",function(){return ee}),n.d(t,"_3",function(){return te}),n.d(t,"_13",function(){return ne}),n.d(t,"q",function(){return oe}),n.d(t,"o",function(){return ae}),n.d(t,"_14",function(){return re}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return ce}),n.d(t,"B",function(){return ue}),n.d(t,"D",function(){return le}),n.d(t,"C",function(){return se}),n.d(t,"_21",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,"_19",function(){return me}),n.d(t,"_5",function(){return ge}),n.d(t,"_17",function(){return we}),n.d(t,"P",function(){return ye}),n.d(t,"Q",function(){return be}),n.d(t,"L",function(){return ve}),n.d(t,"K",function(){return _e}),n.d(t,"_2",function(){return $e}),n.d(t,"_12",function(){return Se}),n.d(t,"A",function(){return Pe}),n.d(t,"_9",function(){return Ne}),n.d(t,"_10",function(){return ke}),n.d(t,"_11",function(){return Te}),n.d(t,"W",function(){return Ie}),n.d(t,"X",function(){return xe}),n.d(t,"G",function(){return Oe}),n.d(t,"x",function(){return Ue}),n.d(t,"M",function(){return Ae}),n.d(t,"r",function(){return Re}),n.d(t,"m",function(){return De}),n.d(t,"E",function(){return Me});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")},I=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},x=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)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},Y=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},W=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)},G=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},B=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)},Ie=function(e){return o.default.prototype.$fetch(m+"api/client/user/growth/record/list")},xe=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.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)},Ue=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity")},Ae=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e,t)},Re=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/finish/user/"+e)},De=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/go/where/"+e+"/"+t+"/"+n,a)},Me=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e+"/"+t+"/"+n,a)}},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(42)]).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(54)]).then(n.bind(null,"784L"))},meta:{deep:0,noNew:!0}},{path:"/addressModify",name:"addressModify",component:function(){return Promise.all([n.e(0),n.e(61)]).then(n.bind(null,"t32k"))},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(){return Promise.all([n.e(0),n.e(50)]).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(47)]).then(n.bind(null,"kZy8"))},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(){return Promise.all([n.e(0),n.e(65)]).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(46)]).then(n.bind(null,"YaSr"))},meta:{deep:0,noNew:!0}},{path:"/starRankV2",name:"starRankV2",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"4plS"))},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(){return Promise.all([n.e(0),n.e(44)]).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(52)]).then(n.bind(null,"xi8t"))},meta:{deep:0,noNew:!0}},{path:"/starResultV2",name:"starResultV2",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"GSYK"))},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(){return n.e(59).then(n.bind(null,"2tJf"))},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(){return Promise.all([n.e(0),n.e(35)]).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(51).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(60)]).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(36)]).then(n.bind(null,"R7Pr"))},meta:{deep:2}},{path:"/share",name:"share",component:function(){return n.e(63).then(n.bind(null,"Eg0l"))},meta:{deep:2}},{path:"/author",name:"author",component:function(){return n.e(41).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(49)]).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(53).then(n.bind(null,"wSE2"))},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(){return n.e(48).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(56).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(39).then(n.bind(null,"nmbt"))},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(){return Promise.all([n.e(0),n.e(29)]).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(64)]).then(n.bind(null,"6IIy"))},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(){return n.e(43).then(n.bind(null,"SLI2"))},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(){return Promise.all([n.e(0),n.e(45)]).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(40)]).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(31).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(58).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(62).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(34).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:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).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.V)().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.V)().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}}}},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={68: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:"4c32bc423a8cfe2d0ff5",1:"e629b0a42ac24031b057",2:"4913a3c7cf59644223f4",3:"16311961e0c59cc998b3",4:"be216735a0b64ab3ce47",5:"393578607b3aebf89ef0",6:"08e83eb0dfcf2343cc4e",7:"80c5e00893b61183ab34",8:"f14a4f1010dca6e5193e",9:"059c7e45f34d8295df7b",10:"829dd34a338a8876260e",11:"d54a8e3a568fd71e91e0",12:"b359078bc3d4851fb6cf",13:"5f261ff92bd308d35b0a",14:"9c5198bb984a34250e40",15:"680770edee21a6988b29",16:"4e2fde87d00b5159c374",17:"a0f73eb864a9fa4e118f",18:"61a1e5b0497e3ee138e4",19:"439b5b5fbf7e4c848a89",20:"273b093d762342dc13e3",21:"835b8f0010b7d50fae37",22:"de7bba15b55985b31e42",23:"b472f163f760b1c77d7a",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"0bcc8b19f145e79a3ed6",27:"7b328662e6fd4798982b",28:"00652dc08d949721ca64",29:"32e4a5b2a25f88c34451",30:"258cb6c3dd89fd6f6649",31:"77fdc3c527048308b86e",32:"2dff8b9a8317b3ee46df",33:"bea9c27ee77e0d04f95a",34:"30d52b0f77eb30590ac5",35:"a516f2b5d645a4908ce9",36:"5ab5240df93fe15c447e",37:"c801122af386260a690a",38:"c3d87252090be84edabd",39:"886c3383b261524be947",40:"15174c220598ff8dc8d8",41:"3b59527515857f0c374e",42:"e3a5350ac83edeede646",43:"67a88603a7889f50a700",44:"e425309e5d811dee70e5",45:"cddcf5c6789bdadc900b",46:"17ad6a93f9bde83665f9",47:"16567b7ee6b462bae443",48:"59ace6c90fdc04aadaf0",49:"9b89ae75df502b1ea6f0",50:"9ba5d108d438a4ec16d6",51:"197b68e6bc331faa87ce",52:"0656187e0a24fb0d10ce",53:"e722b9b1c8823635085c",54:"027bcbce5d0ff03697fb",55:"eee5e26f247074851331",56:"c1875a7d41d621d3035e",57:"c9895d4f61a09c5a2000",58:"d1e010a5dcc9365a522d",59:"0411a8ac60d1a00f0916",60:"7bcb86f14a169b3ea7c3",61:"2215e90e6a93dc29d9f6",62:"aa7ec3be34fb9f9846b4",63:"380a8bf6726ee063ccaa",64:"17c522e0623f5ccbbcd6",65:"4dbf6e5a2b902078ea89"}[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={68: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:"4c32bc423a8cfe2d0ff5",1:"e629b0a42ac24031b057",2:"4913a3c7cf59644223f4",3:"16311961e0c59cc998b3",4:"be216735a0b64ab3ce47",5:"393578607b3aebf89ef0",6:"08e83eb0dfcf2343cc4e",7:"80c5e00893b61183ab34",8:"f14a4f1010dca6e5193e",9:"059c7e45f34d8295df7b",10:"829dd34a338a8876260e",11:"d54a8e3a568fd71e91e0",12:"b359078bc3d4851fb6cf",13:"5f261ff92bd308d35b0a",14:"9c5198bb984a34250e40",15:"680770edee21a6988b29",16:"4e2fde87d00b5159c374",17:"a0f73eb864a9fa4e118f",18:"61a1e5b0497e3ee138e4",19:"439b5b5fbf7e4c848a89",20:"273b093d762342dc13e3",21:"835b8f0010b7d50fae37",22:"de7bba15b55985b31e42",23:"b472f163f760b1c77d7a",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"0bcc8b19f145e79a3ed6",27:"7b328662e6fd4798982b",28:"00652dc08d949721ca64",29:"32e4a5b2a25f88c34451",30:"258cb6c3dd89fd6f6649",31:"77fdc3c527048308b86e",32:"2dff8b9a8317b3ee46df",33:"bea9c27ee77e0d04f95a",34:"30d52b0f77eb30590ac5",35:"a516f2b5d645a4908ce9",36:"5ab5240df93fe15c447e",37:"c801122af386260a690a",38:"c3d87252090be84edabd",39:"886c3383b261524be947",40:"15174c220598ff8dc8d8",41:"3b59527515857f0c374e",42:"e3a5350ac83edeede646",43:"67a88603a7889f50a700",44:"e425309e5d811dee70e5",45:"cddcf5c6789bdadc900b",46:"17ad6a93f9bde83665f9",47:"16567b7ee6b462bae443",48:"59ace6c90fdc04aadaf0",49:"9b89ae75df502b1ea6f0",50:"9ba5d108d438a4ec16d6",51:"197b68e6bc331faa87ce",52:"0656187e0a24fb0d10ce",53:"e722b9b1c8823635085c",54:"027bcbce5d0ff03697fb",55:"eee5e26f247074851331",56:"c1875a7d41d621d3035e",57:"fdabb2766c2142ac36d7",58:"165019f0940d6ed8aa93",59:"665895db75694a6b3b95",60:"7bcb86f14a169b3ea7c3",61:"2215e90e6a93dc29d9f6",62:"aa7ec3be34fb9f9846b4",63:"380a8bf6726ee063ccaa",64:"17c522e0623f5ccbbcd6",65:"4dbf6e5a2b902078ea89"}[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
src/assets/punchTheClock/yezi_title.png

45.2 KB | W: | H:

src/assets/punchTheClock/yezi_title.png

45.2 KB | W: | H:

src/assets/punchTheClock/yezi_title.png
src/assets/punchTheClock/yezi_title.png
src/assets/punchTheClock/yezi_title.png
src/assets/punchTheClock/yezi_title.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -152,7 +152,7 @@
<img :src="punchTheClock.xiaolian" alt="">
</div>
<div class="text">恭喜你补卡成功啦~</div>
<div class="text">-20颗星星</div>
<div class="text">-10颗星星</div>
</div>
<div class="x-code">
<img :src="punchTheClock.x" alt="">
......@@ -168,7 +168,7 @@
</div>
<div class="title-text">{{ modelData.tishi }}</div>
<!-- 积分获取规则 -->
<div class="get-stars" v-if="status === 3 && lastValue <= 20">
<div class="get-stars" v-if="status === 3 && lastValue <= 10">
<div class="get-stars-content">
<div class="get-stars-text">当前星星不足补卡哦,如何获得更多星星?</div>
<div class="get-stars-text get-stars-text-con">
......@@ -183,7 +183,7 @@
</div>
</div>
<!-- 按钮点击 -->
<div :class="['get-stars-btn', {'get-stars-btn-clo' : status === 3 && lastValue <= 20}]" v-if="status !== 4" @click.stop="modelDataClick(modelData, typeStatus)">
<div :class="['get-stars-btn', {'get-stars-btn-clo' : status === 3 && lastValue <= 10}]" v-if="status !== 4" @click.stop="modelDataClick(modelData, typeStatus)">
{{ status === 2 ? ( goWhere == 1 ? '去学习' : '去提交' ) : status === 3 ? '去补卡' : '' }}
</div>
</div>
......@@ -204,7 +204,7 @@
</div>
<div class="rule-content-list">
<span class="title">3.活动规则:</span><br />
<span class="con">需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每20颗星星可补一张待补卡卡片。</span>
<span class="con">需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。</span>
</div>
<div class="rule-content-list">
<span class="title">4.如何补卡?</span><br />
......@@ -361,7 +361,7 @@
if(document.querySelectorAll('.get-stars-btn')[0])
document.querySelectorAll('.get-stars-btn')[0].style.display = 'block';
// 提示信息
this.modelData.tishi = status === 2 ? '提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡' : status === 3 ? `补卡:消耗20星星补卡1次,当前共有${ this.lastValue }颗星星` : ''
this.modelData.tishi = status === 2 ? '提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡' : status === 3 ? `补卡:消耗10星星补卡1次,当前共有${ this.lastValue }颗星星` : ''
this.punchClockModel = true;
}else {
Toast("活动已结束,谢谢参与~");
......@@ -392,13 +392,13 @@
}
}else if(this.status === 3) {
// 待不卡--补卡
if(this.lastValue >= 20) {
if(this.lastValue >= 10) {
getNewCashApi(this.modelData.ele_id, this.modelData.id, this.modelData.periods_id, getCardGoData).then(res => {
this.tishi = true
setTimeout(() => { this.tishi = false }, 1500)
document.querySelectorAll('.get-stars-btn')[0].style.display = 'none';
this.lastValue = this.lastValue - 20
this.modelData.tishi = `补卡:消耗20星星补卡1次,当前共有${ this.lastValue }颗星星`
this.lastValue = this.lastValue - 10
this.modelData.tishi = `补卡:消耗10星星补卡1次,当前共有${ this.lastValue }颗星星`
this.returnCash(2)
})
}
......
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