Commit e80e3542 authored by IvyXia123's avatar IvyXia123

20191009-打卡+添加期数id

parent 465e9148
<!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.4fdcfc1636b09c396bfb4d05dd4eb40e.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.162b6f951f0e400ad7ce.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.c8aace25a2de459eb4c0.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.6e1e2d24650b17d55e2dd47a0ef9c07c.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.7e5c1bd5a6dacfd13873.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.24d2ec54078ea9df9754.js></script></body></html>
\ No newline at end of file
webpackJsonp([6],{"+4G6":function(t,s,e){"use strict";var i=e("RfZZ"),n=e("AA6R"),o=e.n(n),a=e("o69Z"),r=e("rhik"),c=e("CsZI"),l=e("+2ln"),u=e("pIDD"),p=e("qYlo"),d=Object(a.h)("actionsheet"),h=d[0],_=d[1];function g(t,s,e,i){var n=s.title,a=s.cancelText,c=function(){Object(r.a)(i,"input",!1),Object(r.a)(i,"cancel")};return t(p.a,o()([{class:_(),attrs:{value:s.value,position:"bottom",overlay:s.overlay,lazyRender:s.lazyRender,getContainer:s.getContainer,closeOnClickOverlay:s.closeOnClickOverlay},on:{input:function(t){Object(r.a)(i,"input",t)}}},Object(r.b)(i)]),[n?t("div",{class:[_("header"),"van-hairline--top-bottom"]},[n,t(l.a,{attrs:{name:"close"},class:_("close"),on:{click:c}})]):s.actions.map(function(s,e){return t("div",{class:[_("item",{disabled:s.disabled||s.loading}),s.className,"van-hairline--top"],on:{click:function(t){t.stopPropagation(),s.disabled||s.loading||(s.callback&&s.callback(s),Object(r.a)(i,"select",s,e))}}},[s.loading?t(u.a,{class:_("loading"),attrs:{size:"20px"}}):[t("span",{class:_("name")},[s.name]),s.subname&&t("span",{class:_("subname")},[s.subname])]])}),e.default&&t("div",{class:_("content")},[e.default()]),a&&t("div",{class:_("cancel"),on:{click:c}},[a])])}g.props=Object(i.a)({},c.a.props,{title:String,actions:Array,cancelText:String,overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),s.a=h(g)},"+wl/":function(t,s,e){t.exports=e.p+"static/img/nextUnit.f575be1.png"},"064q":function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAALVBMVEVHcEzm5ubl5eXo6Ojl5eXn5+fk5OTk5OTn5+fm5ubm5ubu7u7p6ens7Ozi4uK0qOZPAAAAC3RSTlMA/u5GimDaGA14ujRrE5cAAAGMSURBVCjPlZK/S8NQEMeDNdZuPiviEIqKqEMJcVA3EcFVWnDu0k1Uiu4i4uImuHQSJ0cH1/CGVN0ug1U7+HJD+ge8v8G7JC/VZvKGUj65H9/v3bOs/8dWu8im3WGnACe13i3AM63XCvBAx3PjrOxq0esUWsYQjDe90gLC9TF4rx2A13GVMSD2L//AClVjBL+bljf3YidExJW7TMD54aOrOZECRO1of5v2oDliB0KFIQRCx7ptUZYWIgCqVpQaiJoeWqfMnIRJDCMAEPNWi6xARP2UkhKpAwRVy2YryKN9n2eRsIZltWgwFyvf51QM30iSzV5Q+kkQjjwWukO6lZ8F4kuivsTCMyrx3Us9bbDFFCqsZtZLS2B64rNnFtIEk4kf+ZaaVJ/Br9ElR/Azh08GSvzOoSsMlP188ZqgYu/kx5ypxFAqXqiMvPxqyYHSHTXy18FwcMJfInPQKYYDzz6GMFIPGZyg1zGgMrsOCIsZvIhFL2lVqQMs5I9rtpv+u6kHM2b6atdIvl6+pd8frsIfkLbTcagAAAAASUVORK5CYII="},"1Uto":function(t,s,e){t.exports=e.p+"static/img/mok4.4ffec77.png"},"3QU7":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("mvHQ"),n=e.n(i),o=(e("eqfM"),e("/QYm")),a=e("bOdI"),r=e.n(a),c=(e("zH3V"),e("+4G6")),l=e("CCn6"),u=e("QkSs"),p=e.n(u),d=e("064q"),h=e.n(d),_=e("e2Pt"),g=e.n(_),m=e("1Uto"),v=e.n(m),y=(e("v2ns"),e("7QTg")),f=e("2oJL"),A=e("3xxH"),C=e.n(A),w=e("+wl/"),L=e.n(w),I=e("wQkO"),k=e.n(I),b=e("C5QI"),S=e.n(b),D=e("vGwH"),x=e.n(D),T=e("d2is"),O=e.n(T),q={name:"mapDefault",components:r()({swiper:y.swiper,swiperSlide:y.swiperSlide,bottomTab:f.a},c.a.name,c.a),data:function(){var t=this;return{judgeActivityShow:!1,startAt:"",overAt:"",periodId:"",promp:!1,zhong:S.a,yinyin:x.a,xuexidaka:O.a,actions:[],secActions:{},adVisible:!1,actionsheetShow:!1,star_act:p.a,star_def:h.a,shopType:this.$route.query.course_type,diaBGI:g.a,mok4:v.a,goodsID:"",themeName:"",course_id:"",push_time:"",course_name:"",nextUnitUrl:L.a,parent_category_id:this.$route.query.parent_category_id,unitList:[],more:!1,errorURL:C.a,popupVisible:!1,lessonList:[],lesson:"",classID:"",noLesson:!1,hpLessonList:[],thisLesson:null,btn_kechegn:k.a,swiperOption:{width:.25*window.innerWidth,on:{slideChangeTransitionStart:function(){this.activeIndex>=t.swiper.slides.length-4&&t.more&&t.swiper.slidePrev()},resize:function(){this.params.width=.25*window.innerWidth,this.update(!0)}},pagination:{el:".swiper-pagination"}},swiperOption2:{slidesPerView:5,navigation:{nextEl:".banner-right",prevEl:".banner-left"},on:{slideChangeTransitionStart:function(){this.activeIndex==t.swiper2.slides.length-5&&t.more&&t.swiper2.slidePrev()}},pagination:{el:".swiper-pagination"}},swiperOptionLesson:{slidesPerView:"auto",spaceBetween:20},userCourse:{},teacher_alias:!1,teacher_qr:""}},created:function(){this.initPage()},filters:{substr10:function(t){return t.substr(0,10)}},computed:{swiper:function(){return 0==this.shopType?this.$refs.mySwiper.swiper:""},swiper2:function(){return 0==this.shopType?this.$refs.mySwiper2.swiper:""},swiperLesson:function(){return this.$refs.mySwiperLesson.swiper},splitContent:function(){var t=[];return this.thisLesson.content.tips.title1_content&&(t=this.thisLesson.content.tips.title1_content.split("\n")),t}},mounted:function(){localStorage.getItem("promp")?this.promp=!1:(localStorage.setItem("promp",1),this.promp=!0)},methods:{judgeActivity:function(t){var s=this;Object(l.x)().then(function(e){s.startAt=e.start_at,s.overAt=e.over_at,s.periodId=e.periods_id,6003===e.code&&t==e.periods_id?s.judgeActivityShow=!0:s.judgeActivityShow=!1})},punchClock:function(){var t={periods_id:this.periodId,start_at:this.startAt,over_at:this.overAt,course_type:this.shopType,parent_category_id:this.parent_category_id,course_title:this.secActions.course_title};this.$router.push({name:"punchTheClock",query:t})},zhongbianKuang:function(){this.$router.push({name:"promptTime",query:{periods_id:this.secActions.id}})},prompClick:function(){this.promp=!1},initPage:function(){var t=this;sessionStorage.setItem("frist",!0),o.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(l.o)(this.$route.query.periods_id).then(function(s){localStorage.setItem("userCourse",""),t.userCourse=t.$common.deepCopy(s),localStorage.setItem("userCourse",n()(s)),t.setCourse()}):localStorage.getItem("userCourse")?(this.userCourse=JSON.parse(localStorage.getItem("userCourse")),this.setCourse()):Object(l.o)().then(function(s){localStorage.setItem("userCourse",""),t.userCourse=t.$common.deepCopy(s),localStorage.setItem("userCourse",n()(s)),t.setCourse()}),this.userCourse.teacher_alias&&1==this.userCourse.teacher_alias.substr(0,1)&&(this.teacher_alias=!0,this.teacher_qr=this.userCourse.teacher_qr)},adControl:function(){if(-1==document.cookie.indexOf("myad=1")){var t=new Date;t.setHours(t.getHours()+24),document.cookie="myad=1;expires="+t.toGMTString(),this.adVisible=!0}},onSelect:function(t){var s=this;this.actionsheetShow=!1,this.shopType=t.course_type,"x"==t.id?this.$router.replace({name:"secMap",query:{}}):(this.secActions=t,this.judgeActivity(t.id),this.shopType=t.course_type,this.actions.forEach(function(t){t.className="",t.id==s.secActions.id&&(t.className="activit")}),t.is_start_course?0==this.secActions.course_type?this.getUnitList():this.getLessonList():(this.userCourse=t,this.unitList=[],this.lessonList=[],document.documentElement.scrollTop=0,document.body.scrollTop=0))},findUnit:function(t){return this.unitList.find(function(s){return s.category_id==t})},dateParse:function(t){var s;return s=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(s[0],s[1]-1,s[2])},dateCompare:function(t){var s=(new Date).getTime(),e=t.getTime();return e>s?1:e==s?0:-1},goDetail:function(){if(this.$sa.track("StartCourse",{elementID:this.thisLesson.id.toString(),dayModule:this.thisLesson.domTitle.slice(0,9),weekName:this.thisLesson.domTitle.slice(10,this.thisLesson.domTitle.length),elementName:this.thisLesson.domTitle.slice(0,9)+"-"+this.thisLesson.domTitle.slice(10,this.thisLesson.domTitle.length),themeID:this.parent_category_id,themeName:this.themeName,goodsID:this.goodsID,classID:this.classID,is_view_today:!!(new Date).setHours(0,0,0,0)===new Date(this.push_time).setHours(0,0,0,0)}),this.thisLesson.content.tips){var t={periods_id:this.secActions.id,category_id:this.thisLesson.categoryId,elementId:this.thisLesson.id,course_type:this.shopType,parent_category_id:this.parent_category_id},s=JSON.parse(n()(this.thisLesson));s.push_time=this.push_time,s.themeID=this.parent_category_id,s.themeName=this.themeName,s.goodsID=this.goodsID,s.classID=this.classID,s.nowTime=Date.parse(new Date),s.course_title=this.secActions.course_title,localStorage.setItem("lessonDetail",n()(s)),this.$router.push({name:"newLesson",query:t})}else{var e={periods_id:this.secActions.id,category_id:this.thisLesson.categoryId,parent_category_id:this.parent_category_id,element_id:this.thisLesson.id,course_type:this.shopType,type:"1"};this.$router.push({name:"lesson",query:e})}},changeCateGory:function(t,s,e){e==this.swiper.activeIndex&&0!=this.swiper.activeIndex?this.swiper.slideTo(this.swiper.activeIndex-1,800,!1):e>this.swiper.activeIndex+2&&e!=this.unitList.length-1&&this.swiper.slideTo(this.swiper.activeIndex+1,800,!1),this.themeName=t.category_name.toString(),this.$sa.track("selectCategory",{themeID:t.category_id.toString(),themeName:t.category_name.toString(),courseID:this.course_id.toString(),goodsID:this.goodsID,classID:this.classID}),s||(this.parent_category_id=t.category_id,this.$router.push({name:"map",query:{periods_id:this.secActions.id,course_type:this.shopType,parent_category_id:this.parent_category_id}}),this.getLessonList(!0))},showDia:function(t,s){var e=this;"0000-00-00"!==t.push_time?Object(l.y)(this.secActions.id,t.id,t.ele_id).then(function(i){i.content=JSON.parse(i.content),e.thisLesson=i,e.thisLesson.id=t.ele_id.toString(),e.thisLesson.categoryId=t.id,e.thisLesson.domTitle=t.name,e.thisLesson.day=s,e.thisLesson.star_num=t.star_num;var o={periods_id:e.secActions.id,category_id:e.thisLesson.categoryId,elementId:e.thisLesson.id,course_type:e.shopType,parent_category_id:e.parent_category_id};e.$store.dispatch("setClassQuery",o),sessionStorage.setItem("classQuery",n()(o)),e.popupVisible=!0,e.push_time=t.push_time,e.$sa.track("selectElement",{elementID:t.ele_id.toString(),dayModule:t.name.slice(0,9),weekName:t.name.slice(10,t.name.length),elementName:t.name.slice(0,9)+"-"+t.name.slice(10,t.name.length),themeID:e.parent_category_id.toString(),themeName:e.parent_category_id.toString(),goodsID:e.goodsID,classID:e.classID,courseID:e.course_id.toString()})}):Object(o.a)("课程还未开始哦")},getUnitList:function(){var t=this;Object(l.p)(this.secActions.id).then(function(s){t.unitList=[],s.forEach(function(s){1!==s.status&&2!==s.status||(t.unitList.push(s),2===s.status&&(t.parent_category_id=s.category_id))}),t.$route.query.parent_category_id&&1!=s.length&&(t.parent_category_id=t.$route.query.parent_category_id),t.getLessonList(),s.find(function(t){return 0===t.status})&&(t.more=!0),t.$nextTick(function(){var s=null,e=null;t.unitList.forEach(function(i,n){i.category_id==t.parent_category_id&&(setTimeout(function(){t.themeName=i.category_name,t.$sa.track("selectCategory",{themeID:i.category_id.toString(),themeName:i.category_name.toString(),courseID:t.course_id.toString(),goodsID:t.goodsID,classID:t.classID})},1e3),s=n>=3?n-3:0,e=n>=4?n-4:0)}),t.$refs.mySwiper.swiper.slideTo(s,800,!1),t.$refs.mySwiper2.swiper.slideTo(e,800,!1)})})},getLessonList:function(t){var s=this;Object(l.z)(this.secActions.id+"/v2",{category_id:this.parent_category_id}).then(function(e){s.course_id!==e.periods_info.course_id&&(s.course_id=e.periods_info.course_id,s.course_name=e.periods_info.title,s.goodsID=e.periods_info.goods_id,s.classID=e.periods_info.class_id,s.$sa.track("EnterCourse",{goodsID:e.periods_info.goods_id,classID:e.periods_info.class_id})),s.lessonList=[],s.hpLessonList=[],s.noLesson=!!e.list.length<1;for(var i=[],n=0,o=0;o<e.list.length;o++)"0000-00-00"!==e.list[o].push_time&&n++,e.list[o].name.indexOf("Day1")>-1&&i.length>0?(s.lessonList.push(i),(i=[]).push(e.list[o])):(i.push(e.list[o]),o==e.list.length-1&&s.lessonList.push(i)),e.list[o].dayText="DAY "+i.length,s.hpLessonList.push(e.list[o]);t?(s.scroll_to(0),s.swiperLesson.slideTo(0)):s.$nextTick(function(){if(n!==s.hpLessonList.length?s.swiperLesson.slideTo(n-1):s.$route.query.category_id,s.$route.query.category_id){var t=document.getElementsByClassName("cid"+s.$route.query.category_id);if(t.length>0&&"none"!==t[0].style.display){s.scroll_to(t[0].offsetTop);var e=null,i=0;s.lessonList.forEach(function(t){t.forEach(function(t,n){t.id==s.$route.query.category_id&&(e=t,i=n+1)})}),s.showDia(e,i)}}else s.$route.query.back_id?setTimeout(function(){var t=document.getElementsByClassName("cid"+s.$route.query.back_id);t.length>0&&"none"!==t[0].style.display&&s.scroll_to(t[0].offsetTop)},300):setTimeout(function(){var t=document.getElementsByClassName("money");t.length>0&&0!==t[0].offsetLeft&&s.scroll_to(t[0].offsetParent.offsetTop)},300)})})},scroll_to:function(t){for(var s=t-200,e=function(t){var e=document.documentElement.scrollTop|document.body.scrollTop,i=e-s;setTimeout(function(){document.documentElement.scrollTop=e-i/30*t,document.body.scrollTop=e-i/30*t},10*t)},i=0;i<30;i++)e(i)},setCourse:function(){var t=this;if(this.userCourse.automation_id&&this.userCourse.automation_id.length>0){var s={name:"VIP高效体验营",id:"x"};this.actions.push(s),o.a.clear()}this.userCourse.periods_list?(this.userCourse.periods_list.forEach(function(s){s.name=s.course_title,t.actions.push(s),t.$route.query.item?t.secActions=t.$route.query.item:null!=t.userCourse.start_periods_id&&0==t.userCourse.start_periods_id?t.secActions=t.userCourse.periods_list[0]:null!=t.userCourse.start_periods_id&&s.id==t.userCourse.start_periods_id&&(t.secActions=s)}),o.a.clear()):this.$router.replace({name:"secMap",query:{}}),this.actions.forEach(function(s){s.className="",s.id==t.secActions.id&&(s.className="activit")}),this.judgeActivity(this.secActions.id),this.shopType=this.secActions.course_type,this.secActions.is_start_course&&(0==this.secActions.course_type?this.getUnitList():this.getLessonList())}}},E={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:t.promp,expression:"promp"}],staticClass:"model-n",on:{click:t.prompClick}},[e("div",{staticClass:"model-n-image"},[e("img",{attrs:{src:t.yinyin,alt:""}})])]),t._v(" "),t.judgeActivityShow?e("div",{staticClass:"punch-clock",on:{click:t.punchClock}},[e("img",{attrs:{src:t.xuexidaka,alt:""}})]):t._e(),t._v(" "),e("van-actionsheet",{attrs:{actions:t.actions},on:{select:t.onSelect},model:{value:t.actionsheetShow,callback:function(s){t.actionsheetShow=s},expression:"actionsheetShow"}}),t._v(" "),e("div",{staticClass:"unit-block"},[e("div",{staticClass:"course_title",on:{click:function(s){t.actionsheetShow=!0}}},[t._v(t._s(t.secActions.name)+" "),e("i",{staticClass:"iconfont icon-below-s"}),t._v(" "),e("div",{staticClass:"zhongbian-kuang",on:{click:function(s){return s.stopPropagation(),t.zhongbianKuang(s)}}},[e("div",{staticClass:"zhongbian"},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.zhong,alt:""}})])])]),t._v(" "),0==t.shopType&&t.unitList.length>0?e("swiper",{ref:"mySwiper",staticClass:"banner",attrs:{options:t.swiperOption}},[t._l(t.unitList,function(s,i){return e("swiper-slide",{key:i},[e("div",{staticClass:"line"}),t._v(" "),e("div",{class:{"unit-li":!0,active:s.category_id==t.parent_category_id},on:{click:function(e){t.changeCateGory(s,s.category_id==t.parent_category_id,i)}}},[e("div",[e("img",{attrs:{src:s.category_cover}})]),t._v("\n "+t._s(s.category_name)+"\n ")])])}),t._v(" "),t.more?e("swiper-slide",[e("div",{staticClass:"line"}),t._v(" "),e("div",{staticClass:"unit-li"},[e("div",[e("img",{attrs:{src:t.nextUnitUrl}})]),t._v(" "),e("span",{staticStyle:{color:"#cccccc"}},[t._v("敬请期待")])])]):t._e(),t._v(" "),t._l(3-t.unitList.length>0?3-t.unitList.length:0,function(t){return e("swiper-slide",{key:10*t},[e("div",{staticClass:"unit-li"},[e("div")])])})],2):t._e(),t._v(" "),0==t.shopType?e("swiper",{ref:"mySwiper2",staticClass:"banner2",attrs:{options:t.swiperOption2}},[t._l(t.unitList,function(s,i){return e("swiper-slide",{key:i},[e("div",{staticClass:"line"}),t._v(" "),e("div",{class:{"unit-li":!0,active:s.category_id==t.parent_category_id},on:{click:function(e){t.changeCateGory(s,s.category_id==t.parent_category_id)}}},[e("img",{attrs:{src:s.category_cover}}),t._v(" "),e("div",[t._v(t._s(s.category_name))])])])}),t._v(" "),t.more?e("swiper-slide",[e("div",{staticClass:"line"}),t._v(" "),e("div",{staticClass:"unit-li"},[e("div",[e("img",{attrs:{src:t.nextUnitUrl}})]),t._v(" "),e("span",{staticStyle:{color:"#cccccc"}},[t._v("敬请期待")])])]):t._e(),t._v(" "),t._l(6-t.unitList.length>0?6-t.unitList.length:0,function(t){return e("swiper-slide",{key:10*t},[e("div",{staticClass:"unit-li"},[e("div")])])})],2):t._e()],1),t._v(" "),t.secActions.is_start_course?e("div",{class:{"lesson-block":0==t.shopType,"lesson-block nounit":1==t.shopType}},[t.noLesson?e("div",{staticClass:"noLesson"},[e("img",{attrs:{src:t.errorURL}}),t._v(" "),e("div",[t._v("\n 暂无课程\n ")])]):t._e(),t._v(" "),t._l(t.lessonList,function(s,i){return e("div",{staticClass:"card-block"},[e("img",{attrs:{src:s[0].cover+"?imageslim"}}),t._v(" "),t._l(s,function(n,o){return e("div",{class:"card-li cid"+n.id,on:{click:function(s){t.showDia(n,o+1)}}},[e("div",{staticClass:"text-block"},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t._f("substr10")(n.name))+"\n ")]),t._v(" "),e("div",{staticClass:"tips"},["0000-00-00"!==n.push_time?e("span",[t._v(" 开课时间:"+t._s(n.push_time))]):t._e(),t._v(" "),"0000-00-00"===n.push_time?e("span",[t._v("课程还未开始哦")]):t._e()])]),t._v(" "),"0000-00-00"!==n.push_time?e("div",{staticClass:"star-block"},[t._l(n.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_act}})}),t._v(" "),t._l(3-n.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_def}})})],2):t._e(),t._v(" "),e("div",{staticClass:"icon-block"},[e("i",{class:{map:!0,right:i!==n.length-1&&"0000-00-00"!==n.push_time,money:"0000-00-00"!==n.push_time&&(s[o+1]&&"0000-00-00"===s[o+1].push_time||o===s.length-1&&t.lessonList[i+1]&&"0000-00-00"===t.lessonList[i+1][0].push_time||(0==t.shopType&&t.findUnit(t.parent_category_id)&&2===t.findUnit(t.parent_category_id).status||1==t.shopType)&&o===s.length-1&&i==t.lessonList.length-1),clock:"0000-00-00"===n.push_time}})])])})],2)})],2):t._e(),t._v(" "),t.lessonList.length>0?e("div",{staticClass:"lesson-block-hp"},[e("swiper",{ref:"mySwiperLesson",staticClass:"lesson-sw",attrs:{options:t.swiperOptionLesson}},t._l(t.hpLessonList,function(s,i){return e("swiper-slide",{key:i,staticStyle:{width:"50vh"}},[e("div",{staticClass:"lesson-content-hp",on:{click:function(e){t.showDia(s)}}},["0000-00-00"===s.push_time?e("div",{staticClass:"clock-hp"},[t._v("\n 等待开课\n ")]):t._e(),t._v(" "),e("div",{staticClass:"lesson-day-hp"},[t._v(t._s(s.dayText))]),t._v(" "),e("div",{staticClass:"lesson-img-hp"},[e("img",{attrs:{src:s.cover}})]),t._v(" "),e("div",{staticClass:"lesson-name-hp"},[t._v("\n "+t._s(s.sub_title)+"\n ")]),t._v(" "),e("div",{staticClass:"star-block"},[t._l(s.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_act}})}),t._v(" "),t._l(3-s.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_def}})})],2),t._v(" "),"0000-00-00"!==s.push_time&&(t.hpLessonList[i+1]&&"0000-00-00"===t.hpLessonList[i+1].push_time||(0==t.shopType&&t.findUnit(t.parent_category_id)&&2===t.findUnit(t.parent_category_id).status||1==t.shopType)&&i===t.hpLessonList.length-1)?e("i",{staticClass:"map money"}):t._e()])])}))],1):t._e(),t._v(" "),t.secActions.is_start_course||t.teacher_alias?t._e():e("div",{staticClass:"unStart"},[e("img",{attrs:{src:t.mok4,alt:""}}),t._v(" "),e("p",[t._v("您的课程尚未开始")]),t._v(" "),e("div",[t._v("课程开始时间:"+t._s(t.secActions.start_at))])]),t._v(" "),!t.secActions.is_start_course&&t.teacher_alias?e("div",{staticClass:"unStartTeacher"},[e("p",[t._v("您的课程尚未开始")]),t._v(" "),e("div",{staticClass:"container"},[e("img",{attrs:{src:t.teacher_qr,alt:""}}),t._v(" "),e("p",[t._v("请扫码添加班主任")]),t._v(" "),e("p",[t._v("以便及时获取课程相关服务")])]),t._v(" "),e("div",{staticClass:"date"},[t._v("课程开始时间:"+t._s(t.secActions.start_at))])]):t._e(),t._v(" "),e("van-popup",{model:{value:t.popupVisible,callback:function(s){t.popupVisible=s},expression:"popupVisible"}},[t.thisLesson?e("div",{staticClass:"popup-block"},[e("i",{staticClass:"map close",on:{click:function(s){t.popupVisible=!1}}}),t._v(" "),e("div",{staticClass:"header",style:{backgroundImage:"url("+t.diaBGI+")"}},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t.thisLesson.title)+"\n ")]),t._v(" "),t.thisLesson.content.tips?e("div",{staticClass:"tips"},[t._v("\n "+t._s(t.thisLesson.content.tips.content)+"\n ")]):t._e(),t._v(" "),t.thisLesson.content.tips?t._e():e("div",{staticClass:"tips"},[t._v("\n DAY "+t._s(t.thisLesson.day)+"\n ")])]),t._v(" "),t.thisLesson.content.tips?e("div",{staticClass:"content"},[e("div",{staticClass:"tips-title"},[t._v(t._s(t.thisLesson.content.tips.title1))]),t._v(" "),e("div",{staticClass:"title-content"},[e("ul",t._l(t.splitContent,function(s){return e("li",{staticStyle:{"text-align":"center"}},[t._v(t._s(s))])}))]),t._v(" "),e("div",{staticClass:"tips-title"},[t._v(t._s(t.thisLesson.content.tips.title2))]),t._v(" "),e("div",{staticClass:"title-content"},[t._v(t._s(t.thisLesson.content.tips.title2_content))])]):t._e(),t._v(" "),t.thisLesson.content.tips?t._e():e("div",{staticClass:"content"},[e("div",{staticStyle:{color:"#cccccc",padding:"21.3333vw 0","font-size":"5.3333vw"}},[t._v("快去开始课程吧!")])]),t._v(" "),e("div",[e("i",{staticClass:"goLesson",on:{click:function(s){t.goDetail()}}},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.btn_kechegn,alt:""}})])])]):t._e()]),t._v(" "),e("bottom-tab")],1)},staticRenderFns:[]};var V=e("VU/8")(q,E,!1,function(t){e("x3qe")},"data-v-3766c3ef",null);s.default=V.exports},"7YDQ":function(t,s){},C5QI:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAFgElEQVRYR72ZW6hUVRjHf9/MdDS1zCCpHiwIijIjECWj45nxEhFJmbnHS96CtCR9qV4sjIR8qacUU4NMy8vso6koEWHOHo2MTChEwUIqHyoM0uxonuPMfLH22XvOnvttH/fbzF7rW7/97e/y32sJFa74Fh0qI9iqyuMRZfnhpOysNC7s/6akdG5e2CDCl9rDImeJXC1dQ0r/MLAMZy/KE+49wXEsSdSCG39Ah424zFgR7gNuV+Emd6ryL/CnKmd6hnPqxAy5UstO3NY0Stxb9wsuM7MUugi4DBZyEsFKz5bPShfq3KN3RLPMV5gBPCLQUQtGoQ/4VuBALsb2o7Pkj9LxiW59VvPYQLQadAG4Eiyw2EnKp0HDk20dF1FWITyHEmspLIQsyu68sPaIJSeDNuIpfR74uBq0C9wI7CRbbx2qrM3DiwKREtBe4LgqpyPCbypc8kLi5rxylwgPABOAIcF5CvkIfHhVWHXMkr/9e7WgpRHYhK1deWWHwJ2BBa8h7EPY1qt8dcyS/2p5e5KtNw4RpqIsRHkGuMEfr/B7RJiXtiRTD1oS3ZrSPJY3MFcaBl22vizwvv/6Pa9s1Q7WODPl11LIybv0fony4F/K/tOWmLgtu+J79W7pY3UeFhXelpBVWJmx5INq0BLBlritF1BuAcpgEyldpfBOYMWzkTwLD8+VbyqBdNp6W1T5BRgusC6dlJW1vD5lpz6aj7ANuMdLMhXlzXRS1vrzumxdIMoWN6aFi+LVvqUirAtWA9ezygZ/osDnUWHeIUv+qQaRsHW8Kt979w85SZleLymn2Toyp+xQeLIQIsLyoKfd6qGsiCiby+qwmWRiVuFQoApsZzSLnYRkawG0AuwmfVpjnHcrw3zP01mBacGYDjiuGMFUgw7lpJ9gxrM6mqfrwXoP2rSHC/Ga1picZ7/vaZOIfcK4YPVwK0+pxxIp3aiwzPv/bEwYXysMgvNb9bBvw4RHVjnhx7TApnRSXgquUQRsmoIoP5jMNdUgmqezWoJVCo12gY1Nk4i5CEd9BhUeDjaX4tacUiNy5niu35JOygv1kiZMD/u2Ein9SGGJ93uXk5S5ZTHsaoMc57xEu0YH91aqs4ORdKU2TZ2mj5/c5iJkc1HG+NpjQEuk9DXgXS9Lux1L/GbSsJPDCIlCEtpqo8z2fr/uJOW9oqTrSmlGYLI7IMIMZ7YcbJjUGxgqcLc+RZ4DxrTCkUxSugrArp69wgVPIvb2CqPqaYPBSjrfrqs9lAtGMBlp2jOMUUZPuyHRtUcnSJbvvMFfO0npbNa7ZnyYHjb24ik9CjzmejnGxMwsOd4vL/s16Cce5CanpPY1Ch8EVrgk8HOduX0Imx1LTJcru+Ip3chAT1hgtLkPXEg4gTeC4qNRWDNu6m59KJfjx2bmmAfLJGVkxRArFl9u4vWHhK1vi7LaqxArHEvWN7NoIbP7NcFBhekVRH6ZSRObEWF92pJXK3rY1ldQ1rkhIazJWPJWqMCtPGStOfFqwPFADW4nJMIGLtHjAyERVtKFDdy1SzeJsNSzO5B0YZW1sIGLypoyMTPHK2thNY4wgcsax0VGnVjmNQ63UoTQmsMEjtdqzV7zaFv8hApcT/yEIS/DAm5IXnpebkvAhwXckIA3i7X7iRQGcFOfSGbBdj5C2wVu+iPULNjOZ347wGZvoqXPfNfLLW6ktArc1kaKv2grW1WtADeyVRW0W3Gryh/Q7GZgs8Blm4H9Ozs19XhNYLcDNrnd2gh0o9utlWzVBfZj+npvaFd78IaA/epR78gAOCVwLnhkoDAGGNvMkUGtt9QwsG9ksA9l6oVU08C+wcE49qoHa+63DBw07urpPsZKtsrBYowzPR31DxavG3AjC4U15n/uSlfvH5r1rAAAAABJRU5ErkJggg=="},QkSs:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAZlBMVEVHcEz/xw7/yA7/xw//yAr/xw7/xw7/yg3/yh7/zCP/xxL/xg//xRD/xBD+42b+5XP+42P/2QX/5AH/0Ar+6IL/zAz/3gT/1Qj+64/+7Zz/213/8bP+76f/yA3/0DX/10z+3Tv+4U3sgkOvAAAADXRSTlMAOKQlCoJVbeT9xtS0QyjZWAAAAcZJREFUOMu9092agiAQBmB/UkADNVMJBfH+b3JnQGmLdtej/Q7M7H0GZqQk+YfkVZWfcRe6LPRyApJmnhtypuAMOVESCi7LiZK4QylP7JKI5SHlYxHkr4KPPX+UJArMssCl/b0kleDmGaT8tSRR0AiOBxpSP5a8pCWV0Ag6gJKS9BKJIquoWVVzv0PHCywt7/dms5ZVWVF6n2cgVgHEB2cDO5TH90asq6FZntRr24omxEnnns+EaNc6oUy1EOHTuMpYDn/H4I+tYjQhnNs2ooE5aDmHERScs/WbFPtyod7GNC+wHZCcWdiACHa/c9WmftCFHw9KtNsT+mx27CaAxTFILznXzFi7uVhrb7fbOHbd1BfPkXuph6Hvp24cb0dGrPjyKskuEXav8O2Vk6MkwiBh5ehokAPi2mMoGB+hEuGxtqMjtlJGsODPkp4C66YiglceSqL0maYsgjUPEqjDcO3r6HgfM3fDdHSCz16/wzRAbZQyvc8w6PxD0y7AMGZw0br81DRkVWplDK+o9H7A3pvmDFmW5xlSOIaQ97apXxaZ+8tdgRp8Vn9o2ihzTUN3lfEyhsxU6csgKsMiiHuso/dawlu47vdfuec6yFvvxuoAAAAASUVORK5CYII="},d2is:function(t,s,e){t.exports=e.p+"static/img/xuexidaka.d9eb821.png"},e2Pt:function(t,s,e){t.exports=e.p+"static/img/diaBG.5949dd1.png"},vGwH:function(t,s,e){t.exports=e.p+"static/img/yinyin.bd0dd3e.png"},wQkO:function(t,s,e){t.exports=e.p+"static/img/btn_kechegn.ded8a66.png"},x3qe:function(t,s){},zH3V:function(t,s,e){"use strict";var i=e("nsZj"),n=(e.n(i),e("hW8u")),o=(e.n(n),e("7YDQ"));e.n(o)}});
\ No newline at end of file
webpackJsonp([6],{"+4G6":function(t,s,e){"use strict";var i=e("RfZZ"),n=e("AA6R"),o=e.n(n),a=e("o69Z"),r=e("rhik"),c=e("CsZI"),l=e("+2ln"),u=e("pIDD"),p=e("qYlo"),d=Object(a.h)("actionsheet"),h=d[0],_=d[1];function g(t,s,e,i){var n=s.title,a=s.cancelText,c=function(){Object(r.a)(i,"input",!1),Object(r.a)(i,"cancel")};return t(p.a,o()([{class:_(),attrs:{value:s.value,position:"bottom",overlay:s.overlay,lazyRender:s.lazyRender,getContainer:s.getContainer,closeOnClickOverlay:s.closeOnClickOverlay},on:{input:function(t){Object(r.a)(i,"input",t)}}},Object(r.b)(i)]),[n?t("div",{class:[_("header"),"van-hairline--top-bottom"]},[n,t(l.a,{attrs:{name:"close"},class:_("close"),on:{click:c}})]):s.actions.map(function(s,e){return t("div",{class:[_("item",{disabled:s.disabled||s.loading}),s.className,"van-hairline--top"],on:{click:function(t){t.stopPropagation(),s.disabled||s.loading||(s.callback&&s.callback(s),Object(r.a)(i,"select",s,e))}}},[s.loading?t(u.a,{class:_("loading"),attrs:{size:"20px"}}):[t("span",{class:_("name")},[s.name]),s.subname&&t("span",{class:_("subname")},[s.subname])]])}),e.default&&t("div",{class:_("content")},[e.default()]),a&&t("div",{class:_("cancel"),on:{click:c}},[a])])}g.props=Object(i.a)({},c.a.props,{title:String,actions:Array,cancelText:String,overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),s.a=h(g)},"+wl/":function(t,s,e){t.exports=e.p+"static/img/nextUnit.f575be1.png"},"/4Qs":function(t,s){},"064q":function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAALVBMVEVHcEzm5ubl5eXo6Ojl5eXn5+fk5OTk5OTn5+fm5ubm5ubu7u7p6ens7Ozi4uK0qOZPAAAAC3RSTlMA/u5GimDaGA14ujRrE5cAAAGMSURBVCjPlZK/S8NQEMeDNdZuPiviEIqKqEMJcVA3EcFVWnDu0k1Uiu4i4uImuHQSJ0cH1/CGVN0ug1U7+HJD+ge8v8G7JC/VZvKGUj65H9/v3bOs/8dWu8im3WGnACe13i3AM63XCvBAx3PjrOxq0esUWsYQjDe90gLC9TF4rx2A13GVMSD2L//AClVjBL+bljf3YidExJW7TMD54aOrOZECRO1of5v2oDliB0KFIQRCx7ptUZYWIgCqVpQaiJoeWqfMnIRJDCMAEPNWi6xARP2UkhKpAwRVy2YryKN9n2eRsIZltWgwFyvf51QM30iSzV5Q+kkQjjwWukO6lZ8F4kuivsTCMyrx3Us9bbDFFCqsZtZLS2B64rNnFtIEk4kf+ZaaVJ/Br9ElR/Azh08GSvzOoSsMlP188ZqgYu/kx5ypxFAqXqiMvPxqyYHSHTXy18FwcMJfInPQKYYDzz6GMFIPGZyg1zGgMrsOCIsZvIhFL2lVqQMs5I9rtpv+u6kHM2b6atdIvl6+pd8frsIfkLbTcagAAAAASUVORK5CYII="},"1Uto":function(t,s,e){t.exports=e.p+"static/img/mok4.4ffec77.png"},"3QU7":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("mvHQ"),n=e.n(i),o=(e("eqfM"),e("/QYm")),a=e("bOdI"),r=e.n(a),c=(e("zH3V"),e("+4G6")),l=e("CCn6"),u=e("QkSs"),p=e.n(u),d=e("064q"),h=e.n(d),_=e("e2Pt"),g=e.n(_),m=e("1Uto"),v=e.n(m),y=(e("v2ns"),e("7QTg")),f=e("2oJL"),A=e("3xxH"),C=e.n(A),w=e("+wl/"),L=e.n(w),I=e("wQkO"),k=e.n(I),b=e("C5QI"),S=e.n(b),D=e("vGwH"),x=e.n(D),T=e("d2is"),O=e.n(T),q={name:"mapDefault",components:r()({swiper:y.swiper,swiperSlide:y.swiperSlide,bottomTab:f.a},c.a.name,c.a),data:function(){var t=this;return{judgeActivityShow:!1,startAt:"",overAt:"",periodId:"",promp:!1,zhong:S.a,yinyin:x.a,xuexidaka:O.a,actions:[],secActions:{},adVisible:!1,actionsheetShow:!1,star_act:p.a,star_def:h.a,shopType:this.$route.query.course_type,diaBGI:g.a,mok4:v.a,goodsID:"",themeName:"",course_id:"",push_time:"",course_name:"",nextUnitUrl:L.a,parent_category_id:this.$route.query.parent_category_id,unitList:[],more:!1,errorURL:C.a,popupVisible:!1,lessonList:[],lesson:"",classID:"",noLesson:!1,hpLessonList:[],thisLesson:null,btn_kechegn:k.a,swiperOption:{width:.25*window.innerWidth,on:{slideChangeTransitionStart:function(){this.activeIndex>=t.swiper.slides.length-4&&t.more&&t.swiper.slidePrev()},resize:function(){this.params.width=.25*window.innerWidth,this.update(!0)}},pagination:{el:".swiper-pagination"}},swiperOption2:{slidesPerView:5,navigation:{nextEl:".banner-right",prevEl:".banner-left"},on:{slideChangeTransitionStart:function(){this.activeIndex==t.swiper2.slides.length-5&&t.more&&t.swiper2.slidePrev()}},pagination:{el:".swiper-pagination"}},swiperOptionLesson:{slidesPerView:"auto",spaceBetween:20},userCourse:{},teacher_alias:!1,teacher_qr:""}},created:function(){this.initPage()},filters:{substr10:function(t){return t.substr(0,10)}},computed:{swiper:function(){return 0==this.shopType?this.$refs.mySwiper.swiper:""},swiper2:function(){return 0==this.shopType?this.$refs.mySwiper2.swiper:""},swiperLesson:function(){return this.$refs.mySwiperLesson.swiper},splitContent:function(){var t=[];return this.thisLesson.content.tips.title1_content&&(t=this.thisLesson.content.tips.title1_content.split("\n")),t}},mounted:function(){localStorage.getItem("promp")?this.promp=!1:(localStorage.setItem("promp",1),this.promp=!0)},methods:{judgeActivity:function(t){var s=this;Object(l.x)(t).then(function(e){s.startAt=e.start_at,s.overAt=e.over_at,s.periodId=e.periods_id,6003===e.code&&t==e.periods_id?s.judgeActivityShow=!0:s.judgeActivityShow=!1})},punchClock:function(){var t={periods_id:this.periodId,start_at:this.startAt,over_at:this.overAt,course_type:this.shopType,parent_category_id:this.parent_category_id,course_title:this.secActions.course_title};this.$router.push({name:"punchTheClock",query:t})},zhongbianKuang:function(){this.$router.push({name:"promptTime",query:{periods_id:this.secActions.id}})},prompClick:function(){this.promp=!1},initPage:function(){var t=this;sessionStorage.setItem("frist",!0),o.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(l.o)(this.$route.query.periods_id).then(function(s){localStorage.setItem("userCourse",""),t.userCourse=t.$common.deepCopy(s),localStorage.setItem("userCourse",n()(s)),t.setCourse()}):localStorage.getItem("userCourse")?(this.userCourse=JSON.parse(localStorage.getItem("userCourse")),this.setCourse()):Object(l.o)().then(function(s){localStorage.setItem("userCourse",""),t.userCourse=t.$common.deepCopy(s),localStorage.setItem("userCourse",n()(s)),t.setCourse()}),this.userCourse.teacher_alias&&1==this.userCourse.teacher_alias.substr(0,1)&&(this.teacher_alias=!0,this.teacher_qr=this.userCourse.teacher_qr)},adControl:function(){if(-1==document.cookie.indexOf("myad=1")){var t=new Date;t.setHours(t.getHours()+24),document.cookie="myad=1;expires="+t.toGMTString(),this.adVisible=!0}},onSelect:function(t){var s=this;this.actionsheetShow=!1,this.shopType=t.course_type,"x"==t.id?this.$router.replace({name:"secMap",query:{}}):(this.secActions=t,this.judgeActivity(t.id),this.shopType=t.course_type,this.actions.forEach(function(t){t.className="",t.id==s.secActions.id&&(t.className="activit")}),t.is_start_course?0==this.secActions.course_type?this.getUnitList():this.getLessonList():(this.userCourse=t,this.unitList=[],this.lessonList=[],document.documentElement.scrollTop=0,document.body.scrollTop=0))},findUnit:function(t){return this.unitList.find(function(s){return s.category_id==t})},dateParse:function(t){var s;return s=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(s[0],s[1]-1,s[2])},dateCompare:function(t){var s=(new Date).getTime(),e=t.getTime();return e>s?1:e==s?0:-1},goDetail:function(){if(this.$sa.track("StartCourse",{elementID:this.thisLesson.id.toString(),dayModule:this.thisLesson.domTitle.slice(0,9),weekName:this.thisLesson.domTitle.slice(10,this.thisLesson.domTitle.length),elementName:this.thisLesson.domTitle.slice(0,9)+"-"+this.thisLesson.domTitle.slice(10,this.thisLesson.domTitle.length),themeID:this.parent_category_id,themeName:this.themeName,goodsID:this.goodsID,classID:this.classID,is_view_today:!!(new Date).setHours(0,0,0,0)===new Date(this.push_time).setHours(0,0,0,0)}),this.thisLesson.content.tips){var t={periods_id:this.secActions.id,category_id:this.thisLesson.categoryId,elementId:this.thisLesson.id,course_type:this.shopType,parent_category_id:this.parent_category_id},s=JSON.parse(n()(this.thisLesson));s.push_time=this.push_time,s.themeID=this.parent_category_id,s.themeName=this.themeName,s.goodsID=this.goodsID,s.classID=this.classID,s.nowTime=Date.parse(new Date),s.course_title=this.secActions.course_title,localStorage.setItem("lessonDetail",n()(s)),this.$router.push({name:"newLesson",query:t})}else{var e={periods_id:this.secActions.id,category_id:this.thisLesson.categoryId,parent_category_id:this.parent_category_id,element_id:this.thisLesson.id,course_type:this.shopType,type:"1"};this.$router.push({name:"lesson",query:e})}},changeCateGory:function(t,s,e){e==this.swiper.activeIndex&&0!=this.swiper.activeIndex?this.swiper.slideTo(this.swiper.activeIndex-1,800,!1):e>this.swiper.activeIndex+2&&e!=this.unitList.length-1&&this.swiper.slideTo(this.swiper.activeIndex+1,800,!1),this.themeName=t.category_name.toString(),this.$sa.track("selectCategory",{themeID:t.category_id.toString(),themeName:t.category_name.toString(),courseID:this.course_id.toString(),goodsID:this.goodsID,classID:this.classID}),s||(this.parent_category_id=t.category_id,this.$router.push({name:"map",query:{periods_id:this.secActions.id,course_type:this.shopType,parent_category_id:this.parent_category_id}}),this.getLessonList(!0))},showDia:function(t,s){var e=this;"0000-00-00"!==t.push_time?Object(l.y)(this.secActions.id,t.id,t.ele_id).then(function(i){i.content=JSON.parse(i.content),e.thisLesson=i,e.thisLesson.id=t.ele_id.toString(),e.thisLesson.categoryId=t.id,e.thisLesson.domTitle=t.name,e.thisLesson.day=s,e.thisLesson.star_num=t.star_num;var o={periods_id:e.secActions.id,category_id:e.thisLesson.categoryId,elementId:e.thisLesson.id,course_type:e.shopType,parent_category_id:e.parent_category_id};e.$store.dispatch("setClassQuery",o),sessionStorage.setItem("classQuery",n()(o)),e.popupVisible=!0,e.push_time=t.push_time,e.$sa.track("selectElement",{elementID:t.ele_id.toString(),dayModule:t.name.slice(0,9),weekName:t.name.slice(10,t.name.length),elementName:t.name.slice(0,9)+"-"+t.name.slice(10,t.name.length),themeID:e.parent_category_id.toString(),themeName:e.parent_category_id.toString(),goodsID:e.goodsID,classID:e.classID,courseID:e.course_id.toString()})}):Object(o.a)("课程还未开始哦")},getUnitList:function(){var t=this;Object(l.p)(this.secActions.id).then(function(s){t.unitList=[],s.forEach(function(s){1!==s.status&&2!==s.status||(t.unitList.push(s),2===s.status&&(t.parent_category_id=s.category_id))}),t.$route.query.parent_category_id&&1!=s.length&&(t.parent_category_id=t.$route.query.parent_category_id),t.getLessonList(),s.find(function(t){return 0===t.status})&&(t.more=!0),t.$nextTick(function(){var s=null,e=null;t.unitList.forEach(function(i,n){i.category_id==t.parent_category_id&&(setTimeout(function(){t.themeName=i.category_name,t.$sa.track("selectCategory",{themeID:i.category_id.toString(),themeName:i.category_name.toString(),courseID:t.course_id.toString(),goodsID:t.goodsID,classID:t.classID})},1e3),s=n>=3?n-3:0,e=n>=4?n-4:0)}),t.$refs.mySwiper.swiper.slideTo(s,800,!1),t.$refs.mySwiper2.swiper.slideTo(e,800,!1)})})},getLessonList:function(t){var s=this;Object(l.z)(this.secActions.id+"/v2",{category_id:this.parent_category_id}).then(function(e){s.course_id!==e.periods_info.course_id&&(s.course_id=e.periods_info.course_id,s.course_name=e.periods_info.title,s.goodsID=e.periods_info.goods_id,s.classID=e.periods_info.class_id,s.$sa.track("EnterCourse",{goodsID:e.periods_info.goods_id,classID:e.periods_info.class_id})),s.lessonList=[],s.hpLessonList=[],s.noLesson=!!e.list.length<1;for(var i=[],n=0,o=0;o<e.list.length;o++)"0000-00-00"!==e.list[o].push_time&&n++,e.list[o].name.indexOf("Day1")>-1&&i.length>0?(s.lessonList.push(i),(i=[]).push(e.list[o])):(i.push(e.list[o]),o==e.list.length-1&&s.lessonList.push(i)),e.list[o].dayText="DAY "+i.length,s.hpLessonList.push(e.list[o]);t?(s.scroll_to(0),s.swiperLesson.slideTo(0)):s.$nextTick(function(){if(n!==s.hpLessonList.length?s.swiperLesson.slideTo(n-1):s.$route.query.category_id,s.$route.query.category_id){var t=document.getElementsByClassName("cid"+s.$route.query.category_id);if(t.length>0&&"none"!==t[0].style.display){s.scroll_to(t[0].offsetTop);var e=null,i=0;s.lessonList.forEach(function(t){t.forEach(function(t,n){t.id==s.$route.query.category_id&&(e=t,i=n+1)})}),s.showDia(e,i)}}else s.$route.query.back_id?setTimeout(function(){var t=document.getElementsByClassName("cid"+s.$route.query.back_id);t.length>0&&"none"!==t[0].style.display&&s.scroll_to(t[0].offsetTop)},300):setTimeout(function(){var t=document.getElementsByClassName("money");t.length>0&&0!==t[0].offsetLeft&&s.scroll_to(t[0].offsetParent.offsetTop)},300)})})},scroll_to:function(t){for(var s=t-200,e=function(t){var e=document.documentElement.scrollTop|document.body.scrollTop,i=e-s;setTimeout(function(){document.documentElement.scrollTop=e-i/30*t,document.body.scrollTop=e-i/30*t},10*t)},i=0;i<30;i++)e(i)},setCourse:function(){var t=this;if(this.userCourse.automation_id&&this.userCourse.automation_id.length>0){var s={name:"VIP高效体验营",id:"x"};this.actions.push(s),o.a.clear()}this.userCourse.periods_list?(this.userCourse.periods_list.forEach(function(s){s.name=s.course_title,t.actions.push(s),t.$route.query.item?t.secActions=t.$route.query.item:null!=t.userCourse.start_periods_id&&0==t.userCourse.start_periods_id?t.secActions=t.userCourse.periods_list[0]:null!=t.userCourse.start_periods_id&&s.id==t.userCourse.start_periods_id&&(t.secActions=s)}),o.a.clear()):this.$router.replace({name:"secMap",query:{}}),this.actions.forEach(function(s){s.className="",s.id==t.secActions.id&&(s.className="activit")}),this.judgeActivity(this.secActions.id),this.shopType=this.secActions.course_type,this.secActions.is_start_course&&(0==this.secActions.course_type?this.getUnitList():this.getLessonList())}}},E={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:t.promp,expression:"promp"}],staticClass:"model-n",on:{click:t.prompClick}},[e("div",{staticClass:"model-n-image"},[e("img",{attrs:{src:t.yinyin,alt:""}})])]),t._v(" "),t.judgeActivityShow?e("div",{staticClass:"punch-clock",on:{click:t.punchClock}},[e("img",{attrs:{src:t.xuexidaka,alt:""}})]):t._e(),t._v(" "),e("van-actionsheet",{attrs:{actions:t.actions},on:{select:t.onSelect},model:{value:t.actionsheetShow,callback:function(s){t.actionsheetShow=s},expression:"actionsheetShow"}}),t._v(" "),e("div",{staticClass:"unit-block"},[e("div",{staticClass:"course_title",on:{click:function(s){t.actionsheetShow=!0}}},[t._v(t._s(t.secActions.name)+" "),e("i",{staticClass:"iconfont icon-below-s"}),t._v(" "),e("div",{staticClass:"zhongbian-kuang",on:{click:function(s){return s.stopPropagation(),t.zhongbianKuang(s)}}},[e("div",{staticClass:"zhongbian"},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.zhong,alt:""}})])])]),t._v(" "),0==t.shopType&&t.unitList.length>0?e("swiper",{ref:"mySwiper",staticClass:"banner",attrs:{options:t.swiperOption}},[t._l(t.unitList,function(s,i){return e("swiper-slide",{key:i},[e("div",{staticClass:"line"}),t._v(" "),e("div",{class:{"unit-li":!0,active:s.category_id==t.parent_category_id},on:{click:function(e){t.changeCateGory(s,s.category_id==t.parent_category_id,i)}}},[e("div",[e("img",{attrs:{src:s.category_cover}})]),t._v("\n "+t._s(s.category_name)+"\n ")])])}),t._v(" "),t.more?e("swiper-slide",[e("div",{staticClass:"line"}),t._v(" "),e("div",{staticClass:"unit-li"},[e("div",[e("img",{attrs:{src:t.nextUnitUrl}})]),t._v(" "),e("span",{staticStyle:{color:"#cccccc"}},[t._v("敬请期待")])])]):t._e(),t._v(" "),t._l(3-t.unitList.length>0?3-t.unitList.length:0,function(t){return e("swiper-slide",{key:10*t},[e("div",{staticClass:"unit-li"},[e("div")])])})],2):t._e(),t._v(" "),0==t.shopType?e("swiper",{ref:"mySwiper2",staticClass:"banner2",attrs:{options:t.swiperOption2}},[t._l(t.unitList,function(s,i){return e("swiper-slide",{key:i},[e("div",{staticClass:"line"}),t._v(" "),e("div",{class:{"unit-li":!0,active:s.category_id==t.parent_category_id},on:{click:function(e){t.changeCateGory(s,s.category_id==t.parent_category_id)}}},[e("img",{attrs:{src:s.category_cover}}),t._v(" "),e("div",[t._v(t._s(s.category_name))])])])}),t._v(" "),t.more?e("swiper-slide",[e("div",{staticClass:"line"}),t._v(" "),e("div",{staticClass:"unit-li"},[e("div",[e("img",{attrs:{src:t.nextUnitUrl}})]),t._v(" "),e("span",{staticStyle:{color:"#cccccc"}},[t._v("敬请期待")])])]):t._e(),t._v(" "),t._l(6-t.unitList.length>0?6-t.unitList.length:0,function(t){return e("swiper-slide",{key:10*t},[e("div",{staticClass:"unit-li"},[e("div")])])})],2):t._e()],1),t._v(" "),t.secActions.is_start_course?e("div",{class:{"lesson-block":0==t.shopType,"lesson-block nounit":1==t.shopType}},[t.noLesson?e("div",{staticClass:"noLesson"},[e("img",{attrs:{src:t.errorURL}}),t._v(" "),e("div",[t._v("\n 暂无课程\n ")])]):t._e(),t._v(" "),t._l(t.lessonList,function(s,i){return e("div",{staticClass:"card-block"},[e("img",{attrs:{src:s[0].cover+"?imageslim"}}),t._v(" "),t._l(s,function(n,o){return e("div",{class:"card-li cid"+n.id,on:{click:function(s){t.showDia(n,o+1)}}},[e("div",{staticClass:"text-block"},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t._f("substr10")(n.name))+"\n ")]),t._v(" "),e("div",{staticClass:"tips"},["0000-00-00"!==n.push_time?e("span",[t._v(" 开课时间:"+t._s(n.push_time))]):t._e(),t._v(" "),"0000-00-00"===n.push_time?e("span",[t._v("课程还未开始哦")]):t._e()])]),t._v(" "),"0000-00-00"!==n.push_time?e("div",{staticClass:"star-block"},[t._l(n.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_act}})}),t._v(" "),t._l(3-n.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_def}})})],2):t._e(),t._v(" "),e("div",{staticClass:"icon-block"},[e("i",{class:{map:!0,right:i!==n.length-1&&"0000-00-00"!==n.push_time,money:"0000-00-00"!==n.push_time&&(s[o+1]&&"0000-00-00"===s[o+1].push_time||o===s.length-1&&t.lessonList[i+1]&&"0000-00-00"===t.lessonList[i+1][0].push_time||(0==t.shopType&&t.findUnit(t.parent_category_id)&&2===t.findUnit(t.parent_category_id).status||1==t.shopType)&&o===s.length-1&&i==t.lessonList.length-1),clock:"0000-00-00"===n.push_time}})])])})],2)})],2):t._e(),t._v(" "),t.lessonList.length>0?e("div",{staticClass:"lesson-block-hp"},[e("swiper",{ref:"mySwiperLesson",staticClass:"lesson-sw",attrs:{options:t.swiperOptionLesson}},t._l(t.hpLessonList,function(s,i){return e("swiper-slide",{key:i,staticStyle:{width:"50vh"}},[e("div",{staticClass:"lesson-content-hp",on:{click:function(e){t.showDia(s)}}},["0000-00-00"===s.push_time?e("div",{staticClass:"clock-hp"},[t._v("\n 等待开课\n ")]):t._e(),t._v(" "),e("div",{staticClass:"lesson-day-hp"},[t._v(t._s(s.dayText))]),t._v(" "),e("div",{staticClass:"lesson-img-hp"},[e("img",{attrs:{src:s.cover}})]),t._v(" "),e("div",{staticClass:"lesson-name-hp"},[t._v("\n "+t._s(s.sub_title)+"\n ")]),t._v(" "),e("div",{staticClass:"star-block"},[t._l(s.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_act}})}),t._v(" "),t._l(3-s.star_num,function(s){return e("img",{staticClass:"star-img",attrs:{src:t.star_def}})})],2),t._v(" "),"0000-00-00"!==s.push_time&&(t.hpLessonList[i+1]&&"0000-00-00"===t.hpLessonList[i+1].push_time||(0==t.shopType&&t.findUnit(t.parent_category_id)&&2===t.findUnit(t.parent_category_id).status||1==t.shopType)&&i===t.hpLessonList.length-1)?e("i",{staticClass:"map money"}):t._e()])])}))],1):t._e(),t._v(" "),t.secActions.is_start_course||t.teacher_alias?t._e():e("div",{staticClass:"unStart"},[e("img",{attrs:{src:t.mok4,alt:""}}),t._v(" "),e("p",[t._v("您的课程尚未开始")]),t._v(" "),e("div",[t._v("课程开始时间:"+t._s(t.secActions.start_at))])]),t._v(" "),!t.secActions.is_start_course&&t.teacher_alias?e("div",{staticClass:"unStartTeacher"},[e("p",[t._v("您的课程尚未开始")]),t._v(" "),e("div",{staticClass:"container"},[e("img",{attrs:{src:t.teacher_qr,alt:""}}),t._v(" "),e("p",[t._v("请扫码添加班主任")]),t._v(" "),e("p",[t._v("以便及时获取课程相关服务")])]),t._v(" "),e("div",{staticClass:"date"},[t._v("课程开始时间:"+t._s(t.secActions.start_at))])]):t._e(),t._v(" "),e("van-popup",{model:{value:t.popupVisible,callback:function(s){t.popupVisible=s},expression:"popupVisible"}},[t.thisLesson?e("div",{staticClass:"popup-block"},[e("i",{staticClass:"map close",on:{click:function(s){t.popupVisible=!1}}}),t._v(" "),e("div",{staticClass:"header",style:{backgroundImage:"url("+t.diaBGI+")"}},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t.thisLesson.title)+"\n ")]),t._v(" "),t.thisLesson.content.tips?e("div",{staticClass:"tips"},[t._v("\n "+t._s(t.thisLesson.content.tips.content)+"\n ")]):t._e(),t._v(" "),t.thisLesson.content.tips?t._e():e("div",{staticClass:"tips"},[t._v("\n DAY "+t._s(t.thisLesson.day)+"\n ")])]),t._v(" "),t.thisLesson.content.tips?e("div",{staticClass:"content"},[e("div",{staticClass:"tips-title"},[t._v(t._s(t.thisLesson.content.tips.title1))]),t._v(" "),e("div",{staticClass:"title-content"},[e("ul",t._l(t.splitContent,function(s){return e("li",{staticStyle:{"text-align":"center"}},[t._v(t._s(s))])}))]),t._v(" "),e("div",{staticClass:"tips-title"},[t._v(t._s(t.thisLesson.content.tips.title2))]),t._v(" "),e("div",{staticClass:"title-content"},[t._v(t._s(t.thisLesson.content.tips.title2_content))])]):t._e(),t._v(" "),t.thisLesson.content.tips?t._e():e("div",{staticClass:"content"},[e("div",{staticStyle:{color:"#cccccc",padding:"21.3333vw 0","font-size":"5.3333vw"}},[t._v("快去开始课程吧!")])]),t._v(" "),e("div",[e("i",{staticClass:"goLesson",on:{click:function(s){t.goDetail()}}},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.btn_kechegn,alt:""}})])])]):t._e()]),t._v(" "),e("bottom-tab")],1)},staticRenderFns:[]};var V=e("VU/8")(q,E,!1,function(t){e("/4Qs")},"data-v-5cdd96c6",null);s.default=V.exports},"7YDQ":function(t,s){},C5QI:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAFgElEQVRYR72ZW6hUVRjHf9/MdDS1zCCpHiwIijIjECWj45nxEhFJmbnHS96CtCR9qV4sjIR8qacUU4NMy8vso6koEWHOHo2MTChEwUIqHyoM0uxonuPMfLH22XvOnvttH/fbzF7rW7/97e/y32sJFa74Fh0qI9iqyuMRZfnhpOysNC7s/6akdG5e2CDCl9rDImeJXC1dQ0r/MLAMZy/KE+49wXEsSdSCG39Ah424zFgR7gNuV+Emd6ryL/CnKmd6hnPqxAy5UstO3NY0Stxb9wsuM7MUugi4DBZyEsFKz5bPShfq3KN3RLPMV5gBPCLQUQtGoQ/4VuBALsb2o7Pkj9LxiW59VvPYQLQadAG4Eiyw2EnKp0HDk20dF1FWITyHEmspLIQsyu68sPaIJSeDNuIpfR74uBq0C9wI7CRbbx2qrM3DiwKREtBe4LgqpyPCbypc8kLi5rxylwgPABOAIcF5CvkIfHhVWHXMkr/9e7WgpRHYhK1deWWHwJ2BBa8h7EPY1qt8dcyS/2p5e5KtNw4RpqIsRHkGuMEfr/B7RJiXtiRTD1oS3ZrSPJY3MFcaBl22vizwvv/6Pa9s1Q7WODPl11LIybv0fony4F/K/tOWmLgtu+J79W7pY3UeFhXelpBVWJmx5INq0BLBlritF1BuAcpgEyldpfBOYMWzkTwLD8+VbyqBdNp6W1T5BRgusC6dlJW1vD5lpz6aj7ANuMdLMhXlzXRS1vrzumxdIMoWN6aFi+LVvqUirAtWA9ezygZ/osDnUWHeIUv+qQaRsHW8Kt979w85SZleLymn2Toyp+xQeLIQIsLyoKfd6qGsiCiby+qwmWRiVuFQoApsZzSLnYRkawG0AuwmfVpjnHcrw3zP01mBacGYDjiuGMFUgw7lpJ9gxrM6mqfrwXoP2rSHC/Ga1picZ7/vaZOIfcK4YPVwK0+pxxIp3aiwzPv/bEwYXysMgvNb9bBvw4RHVjnhx7TApnRSXgquUQRsmoIoP5jMNdUgmqezWoJVCo12gY1Nk4i5CEd9BhUeDjaX4tacUiNy5niu35JOygv1kiZMD/u2Ein9SGGJ93uXk5S5ZTHsaoMc57xEu0YH91aqs4ORdKU2TZ2mj5/c5iJkc1HG+NpjQEuk9DXgXS9Lux1L/GbSsJPDCIlCEtpqo8z2fr/uJOW9oqTrSmlGYLI7IMIMZ7YcbJjUGxgqcLc+RZ4DxrTCkUxSugrArp69wgVPIvb2CqPqaYPBSjrfrqs9lAtGMBlp2jOMUUZPuyHRtUcnSJbvvMFfO0npbNa7ZnyYHjb24ik9CjzmejnGxMwsOd4vL/s16Cce5CanpPY1Ch8EVrgk8HOduX0Imx1LTJcru+Ip3chAT1hgtLkPXEg4gTeC4qNRWDNu6m59KJfjx2bmmAfLJGVkxRArFl9u4vWHhK1vi7LaqxArHEvWN7NoIbP7NcFBhekVRH6ZSRObEWF92pJXK3rY1ldQ1rkhIazJWPJWqMCtPGStOfFqwPFADW4nJMIGLtHjAyERVtKFDdy1SzeJsNSzO5B0YZW1sIGLypoyMTPHK2thNY4wgcsax0VGnVjmNQ63UoTQmsMEjtdqzV7zaFv8hApcT/yEIS/DAm5IXnpebkvAhwXckIA3i7X7iRQGcFOfSGbBdj5C2wVu+iPULNjOZ347wGZvoqXPfNfLLW6ktArc1kaKv2grW1WtADeyVRW0W3Gryh/Q7GZgs8Blm4H9Ozs19XhNYLcDNrnd2gh0o9utlWzVBfZj+npvaFd78IaA/epR78gAOCVwLnhkoDAGGNvMkUGtt9QwsG9ksA9l6oVU08C+wcE49qoHa+63DBw07urpPsZKtsrBYowzPR31DxavG3AjC4U15n/uSlfvH5r1rAAAAABJRU5ErkJggg=="},QkSs:function(t,s){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAZlBMVEVHcEz/xw7/yA7/xw//yAr/xw7/xw7/yg3/yh7/zCP/xxL/xg//xRD/xBD+42b+5XP+42P/2QX/5AH/0Ar+6IL/zAz/3gT/1Qj+64/+7Zz/213/8bP+76f/yA3/0DX/10z+3Tv+4U3sgkOvAAAADXRSTlMAOKQlCoJVbeT9xtS0QyjZWAAAAcZJREFUOMu9092agiAQBmB/UkADNVMJBfH+b3JnQGmLdtej/Q7M7H0GZqQk+YfkVZWfcRe6LPRyApJmnhtypuAMOVESCi7LiZK4QylP7JKI5SHlYxHkr4KPPX+UJArMssCl/b0kleDmGaT8tSRR0AiOBxpSP5a8pCWV0Ag6gJKS9BKJIquoWVVzv0PHCywt7/dms5ZVWVF6n2cgVgHEB2cDO5TH90asq6FZntRr24omxEnnns+EaNc6oUy1EOHTuMpYDn/H4I+tYjQhnNs2ooE5aDmHERScs/WbFPtyod7GNC+wHZCcWdiACHa/c9WmftCFHw9KtNsT+mx27CaAxTFILznXzFi7uVhrb7fbOHbd1BfPkXuph6Hvp24cb0dGrPjyKskuEXav8O2Vk6MkwiBh5ehokAPi2mMoGB+hEuGxtqMjtlJGsODPkp4C66YiglceSqL0maYsgjUPEqjDcO3r6HgfM3fDdHSCz16/wzRAbZQyvc8w6PxD0y7AMGZw0br81DRkVWplDK+o9H7A3pvmDFmW5xlSOIaQ97apXxaZ+8tdgRp8Vn9o2ihzTUN3lfEyhsxU6csgKsMiiHuso/dawlu47vdfuec6yFvvxuoAAAAASUVORK5CYII="},d2is:function(t,s,e){t.exports=e.p+"static/img/xuexidaka.d9eb821.png"},e2Pt:function(t,s,e){t.exports=e.p+"static/img/diaBG.5949dd1.png"},vGwH:function(t,s,e){t.exports=e.p+"static/img/yinyin.bd0dd3e.png"},wQkO:function(t,s,e){t.exports=e.p+"static/img/btn_kechegn.ded8a66.png"},zH3V:function(t,s,e){"use strict";var i=e("nsZj"),n=(e.n(i),e("hW8u")),o=(e.n(n),e("7YDQ"));e.n(o)}});
\ 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(60)]).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(59)]).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(61)]).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(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity/"+e)},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(60)]).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(59)]).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(61)]).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 c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var t,r,o,i=0,u=[];i<a.length;i++)r=a[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(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},f={68:0};function b(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,b){c=f[e]=[a,b]});c[2]=a;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:"710dfac41a4f1da60b36",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:"101925298fb87c158dca",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:"33b8a0527b9c7f40085c",60:"ef0490fcf51d3911e2eb",61:"21145a186bacce42135c",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 c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=r,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},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:"f4abff5e533eaea9df88",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:"101925298fb87c158dca",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:"33b8a0527b9c7f40085c",60:"ef0490fcf51d3911e2eb",61:"21145a186bacce42135c",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
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -355,7 +355,8 @@
* @param id
*/
judgeActivity(id) {
getJudgeActivityApi().then(res => {
console.log(this.periodId)
getJudgeActivityApi(id).then(res => {
this.startAt = res.start_at;
this.overAt = res.over_at;
this.periodId = res.periods_id;
......@@ -797,6 +798,7 @@
el.className="activit"
}
})
console.log(this.secActions)
this.judgeActivity(this.secActions.id) // 判断活动
// 加载课程
// console.log(this.secActions)
......
......@@ -11,7 +11,7 @@
<div class="punch-the-clock-name-bg">
<div class="punch-the-clock-name-content">
<!-- 倒计时 hasEnded 指是否在规定时间内完成学习 -->
<div class="punch-the-clock-name-contentText" v-if="!hasEnded">很遗憾,您未在指定时间内完成任务哦</div>
<div class="punch-the-clock-name-contentText" v-if="!hasEnded && forthRate != 100">很遗憾,您未在指定时间内完成任务哦</div>
<div class="punch-the-clock-name-content-timer" v-if="hasEnded">
<span>剩余完成时间</span>
<span class="timer">{{ countDownDay }}</span>
......
......@@ -403,9 +403,9 @@ export const getNotifyApi = function (periods_id) {
};
// 判断活动
const getJudgeActivityUrl = `${_baseUrl}api/client/judge/activity`
export const getJudgeActivityApi = function () {
return Vue.prototype.$fetch(getJudgeActivityUrl)
const getJudgeActivityUrl = `${_baseUrl}api/client/judge/activity/`
export const getJudgeActivityApi = function (periods_id) {
return Vue.prototype.$fetch(`${ getJudgeActivityUrl }${ periods_id }`)
};
// 打卡数据
......
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