Commit 4d1e529b authored by IvyXia123's avatar IvyXia123

20190927-打卡bug

parent 2f063714
<!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.159851d28665b63a5125ff202fcfd7b2.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.916ce53a44d874ea4401.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.e524f5cccf757e45c672.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.da00a1a1f46fc7c5de50.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.2e95933b8aa622bd5de395273e3f2f1f.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.b672aa89c74757c7f7c5.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.c6bbee240815b948cb26.js></script></body></html>
\ No newline at end of file
webpackJsonp([58],{SnBc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(t){n("hErb")},"data-v-741181e1",null);e.default=i.exports},hErb:function(t,e){}});
\ No newline at end of file
webpackJsonp([57],{SnBc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"ybNav",data:function(){return{noUrl:noUrl}},mounted:function(){window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"noWechat-page"})},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(t){n("hErb")},"data-v-741181e1",null);e.default=i.exports},hErb:function(t,e){}});
\ No newline at end of file
webpackJsonp([59],{"2tJf":function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=s("CCn6"),e={name:"med",components:{},data:function(){return{zbList:[]}},created:function(){this.getBannerListApi()},methods:{getBannerListApi:function(){var t=this;Object(n.c)(5,{limit:999,page:1}).then(function(i){t.zbList=i.list})},goLink:function(t,i){this.$sa.quick("trackHeatMap",this.$refs.zbitem),window.location.href=t}}},a={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[t.zbList.length>0?s("div",{staticClass:"contentBox qm zb"},[t._m(0),t._v(" "),s("div",{staticClass:"content"},t._l(t.zbList,function(i){return s("div",{ref:"zbitem",refInFor:!0,staticClass:"contentItem qm",on:{click:function(s){t.goLink(i.link,"zb")}}},[s("img",{attrs:{src:i.url,alt:""}}),t._v(" "),s("div",{staticClass:"text"},[s("div",{staticClass:"title"},[t._v(t._s(i.title))]),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{staticClass:"enTitle"},[t._v(t._s(i.sub_title))]),t._v(" "),s("div",{staticClass:"lookData"},[s("i",{staticClass:"iconfont icon-yanjing"}),t._v(t._s(i.watch_num)+"人")])])])}))]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"commonTitle"},[i("span",{staticClass:"line"}),this._v(" "),i("span",{staticClass:"title"},[this._v("精彩直播课")]),this._v(" "),i("span",{staticClass:"tip"},[this._v("在线与名师互动")]),this._v(" "),i("div",{staticClass:"more"})])}]};var c=s("VU/8")(e,a,!1,function(t){s("l91i")},"data-v-6ebf9917",null);i.default=c.exports},l91i:function(t,i){}});
\ No newline at end of file
webpackJsonp([58],{"2tJf":function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=s("CCn6"),e={name:"med",components:{},data:function(){return{zbList:[]}},created:function(){this.getBannerListApi()},methods:{getBannerListApi:function(){var t=this;Object(n.c)(5,{limit:999,page:1}).then(function(i){t.zbList=i.list})},goLink:function(t,i){this.$sa.quick("trackHeatMap",this.$refs.zbitem),window.location.href=t}}},a={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[t.zbList.length>0?s("div",{staticClass:"contentBox qm zb"},[t._m(0),t._v(" "),s("div",{staticClass:"content"},t._l(t.zbList,function(i){return s("div",{ref:"zbitem",refInFor:!0,staticClass:"contentItem qm",on:{click:function(s){t.goLink(i.link,"zb")}}},[s("img",{attrs:{src:i.url,alt:""}}),t._v(" "),s("div",{staticClass:"text"},[s("div",{staticClass:"title"},[t._v(t._s(i.title))]),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{staticClass:"enTitle"},[t._v(t._s(i.sub_title))]),t._v(" "),s("div",{staticClass:"lookData"},[s("i",{staticClass:"iconfont icon-yanjing"}),t._v(t._s(i.watch_num)+"人")])])])}))]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"commonTitle"},[i("span",{staticClass:"line"}),this._v(" "),i("span",{staticClass:"title"},[this._v("精彩直播课")]),this._v(" "),i("span",{staticClass:"tip"},[this._v("在线与名师互动")]),this._v(" "),i("div",{staticClass:"more"})])}]};var c=s("VU/8")(e,a,!1,function(t){s("l91i")},"data-v-6ebf9917",null);i.default=c.exports},l91i:function(t,i){}});
\ No newline at end of file
webpackJsonp([60],{P3Wy:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("eqfM");var i=n("/QYm"),s=n("CCn6"),a=n("Jmy5"),o={name:"myGoodsList",data:function(){return{goodsList:[],imgUrl:a.b}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(s._0)().then(function(e){t.goodsList=e})},dateParse:function(t){var e=void 0;return e=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(e[0],e[1]-1,e[2])},dateCompare:function(t,e){var n=t.getTime(),i=e.getTime();return i>n?1:i==n?0:-1},toMap:function(t){this.$sa.track("buttonClick",{tabTitle:"课程列表",moduleTitle:"课程",buttonType:"课程",buttonName:"进入课程"}),this.dateCompare(new Date,this.dateParse(t.start_at))<1?this.$router.push({name:"map",query:{periods_id:t.periods_id,parent_category_id:t.parent_category_id,course_type:t.course_type}}):Object(i.a)("该课程暂未开始")}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-goods-list"},t._l(t.goodsList,function(e){return n("div",{key:e.id,staticClass:"card-block",on:{click:function(n){t.toMap(e)}}},[n("img",{staticClass:"banner",attrs:{src:e.imgLesson}}),t._v(" "),n("div",{staticClass:"content"},[t._v("\n "+t._s(e.goods_name)+"\n "),n("div",{staticClass:"start-time"},[t._v("\n 开课时间:"+t._s(e.start_at)+"\n ")])])])}))},staticRenderFns:[]};var c=n("VU/8")(o,r,!1,function(t){n("Rnn3")},"data-v-47897142",null);e.default=c.exports},Rnn3:function(t,e){}});
\ No newline at end of file
webpackJsonp([59],{P3Wy:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("eqfM");var i=n("/QYm"),s=n("CCn6"),a=n("Jmy5"),o={name:"myGoodsList",data:function(){return{goodsList:[],imgUrl:a.b}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(s._0)().then(function(e){t.goodsList=e})},dateParse:function(t){var e=void 0;return e=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(e[0],e[1]-1,e[2])},dateCompare:function(t,e){var n=t.getTime(),i=e.getTime();return i>n?1:i==n?0:-1},toMap:function(t){this.$sa.track("buttonClick",{tabTitle:"课程列表",moduleTitle:"课程",buttonType:"课程",buttonName:"进入课程"}),this.dateCompare(new Date,this.dateParse(t.start_at))<1?this.$router.push({name:"map",query:{periods_id:t.periods_id,parent_category_id:t.parent_category_id,course_type:t.course_type}}):Object(i.a)("该课程暂未开始")}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-goods-list"},t._l(t.goodsList,function(e){return n("div",{key:e.id,staticClass:"card-block",on:{click:function(n){t.toMap(e)}}},[n("img",{staticClass:"banner",attrs:{src:e.imgLesson}}),t._v(" "),n("div",{staticClass:"content"},[t._v("\n "+t._s(e.goods_name)+"\n "),n("div",{staticClass:"start-time"},[t._v("\n 开课时间:"+t._s(e.start_at)+"\n ")])])])}))},staticRenderFns:[]};var c=n("VU/8")(o,r,!1,function(t){n("Rnn3")},"data-v-47897142",null);e.default=c.exports},Rnn3:function(t,e){}});
\ 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),this.judgeActivity(this.secActions.id)},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.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("KtC7")},"data-v-7dcd6d7a",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=="},KtC7:function(t,s){},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([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([61],{"ri+0":function(e,t){},t32k:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s("eqfM");var a,i=s("/QYm"),r=s("bOdI"),d=s.n(r),n=(s("f1Vh"),s("ZQVe")),o=s.n(n),l=(s("lrMw"),s("7YS2")),c=s.n(l),h=s("qUD4"),v=s("CCn6"),u=s("NuXJ"),m={name:"",components:(a={MyAddress:h.a},d()(a,c.a.name,c.a),d()(a,o.a.name,o.a),a),data:function(){return{addressData:null,receiveName:"",receiveMobile:"",addressDetail:"",showAddressPicker:!1,addressArea:"",addressAreaCode:"",address:"",deliverId:""}},mounted:function(){if(this.$route.params&&this.$route.params.data){var e=JSON.parse(this.$route.params.data);this.addressData=e,this.receiveName=e.receive_name,this.receiveMobile=e.receive_mobile,this.address=e.address,this.deliverId=e.id,this.addressArea=e.province_name+"-"+e.city_name+"-"+e.area_name}this.getAddressCode()},methods:{closeAdd:function(){this.$emit("closeAdd",!1)},buttonClick:function(e){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"地址填写",buttonType:"功能",buttonName:e})},getAddressCode:function(){this.addressData.province_name;for(var e=this.addressData.city_name,t=(this.addressData.area_name,void 0),s=void 0,a=void 0,i=0,r=u.a.length;i<r;i++){var d=u.a[i];if(e==d.label){t=d.value;for(var n=d.children,o=0,l=n.length;o<l;o++){var c=n[o];if(e==c.label){s=c.value;for(var h=c.children,v=0,m=h.length;v<m;v++)if(h[v].label){a=h[v].value;break}}}}}this.addressAreaCode=t+"-"+s+"-"+a},onSave:function(){var e=this,t=this.addressAreaCode.split("-"),s=this.addressArea.split("-");if(!this.receiveName)return Object(i.a)("收货人不能为空"),!1;if(!this.receiveMobile)return Object(i.a)("手机号不能为空"),!1;if(!/^1\d{10,12}$/.test(this.receiveMobile))return Object(i.a)("手机号格式不正确"),!1;if(!this.addressArea)return Object(i.a)("所在地区不能为空"),!1;if(!this.address)return Object(i.a)("详细地址不能为空"),!1;var a={};a.receive_name=this.receiveName,a.receive_mobile=this.receiveMobile,a.address=this.address,a.province_id=t[0],a.province_name=s[0],a.city_id=t[1],a.city=s[1],a.area_id=t[2],a.area=s[2],Object(v._6)(a).then(function(t){e.closeAdd(),Object(i.a)("修改成功"),e.$router.replace({name:"Address"})}).catch(function(e){})},onValuesChange:function(e,t){t[0]>t[1]&&e.setSlotValue(1,t[0])},hidePicker:function(){this.showAddressPicker=!1},showPicker:function(){this.showAddressPicker=!this.showAddressPicker},saveAddress:function(e,t){this.addressArea=e,this.addressAreaCode=t,this.showAddressPicker=!this.showAddressPicker}}},b={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"addressEdit"},[s("div",[s("mt-field",{attrs:{label:"收货人",placeholder:"请填写收货人"},model:{value:e.receiveName,callback:function(t){e.receiveName=t},expression:"receiveName"}}),e._v(" "),s("mt-field",{attrs:{label:"手机号",type:"tel",placeholder:"请填写手机号",attr:{maxlength:13}},model:{value:e.receiveMobile,callback:function(t){e.receiveMobile=t},expression:"receiveMobile"}}),e._v(" "),s("mt-field",{attrs:{label:"所在地区",placeholder:"请填写所在地区",readonly:!0,disableClear:!0},model:{value:e.addressArea,callback:function(t){e.addressArea=t},expression:"addressArea"}},[s("mt-cell",{staticStyle:{position:"absolute",width:"40px",height:"100%",right:"0",top:"-24px"},attrs:{"is-link":""}}),e._v(" "),s("div",{staticClass:"stbox",staticStyle:{position:"absolute",right:"0",top:"-24px",left:"0",bottom:"0"}},[s("mt-cell",{staticStyle:{opacity:"0",position:"absolute",width:"300px",height:"100%",right:"10%",top:"0"},attrs:{id:"mtcell",value:e.addressArea},nativeOn:{click:function(t){return e.showPicker(t)}}})],1)],1),e._v(" "),s("mt-field",{attrs:{label:"详细地址",placeholder:"请填写详细地址"},model:{value:e.address,callback:function(t){e.address=t},expression:"address"}}),e._v(" "),s("div",{staticClass:"btn",on:{click:function(t){e.onSave(),e.buttonClick("保存地址")}}},[s("van-button",{attrs:{round:"",size:"large",type:"info"}},[e._v("保存")])],1)],1),e._v(" "),s("my-address",{attrs:{showAddressPicker:e.showAddressPicker,init:e.addressArea},on:{"save-address":e.saveAddress,"hide-picker":e.hidePicker}})],1)},staticRenderFns:[]};var f=s("VU/8")(m,b,!1,function(e){s("ri+0")},null,null);t.default=f.exports}});
\ No newline at end of file
webpackJsonp([60],{"ri+0":function(e,t){},t32k:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s("eqfM");var a,i=s("/QYm"),r=s("bOdI"),d=s.n(r),n=(s("f1Vh"),s("ZQVe")),o=s.n(n),l=(s("lrMw"),s("7YS2")),c=s.n(l),h=s("qUD4"),v=s("CCn6"),u=s("NuXJ"),m={name:"",components:(a={MyAddress:h.a},d()(a,c.a.name,c.a),d()(a,o.a.name,o.a),a),data:function(){return{addressData:null,receiveName:"",receiveMobile:"",addressDetail:"",showAddressPicker:!1,addressArea:"",addressAreaCode:"",address:"",deliverId:""}},mounted:function(){if(this.$route.params&&this.$route.params.data){var e=JSON.parse(this.$route.params.data);this.addressData=e,this.receiveName=e.receive_name,this.receiveMobile=e.receive_mobile,this.address=e.address,this.deliverId=e.id,this.addressArea=e.province_name+"-"+e.city_name+"-"+e.area_name}this.getAddressCode()},methods:{closeAdd:function(){this.$emit("closeAdd",!1)},buttonClick:function(e){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"地址填写",buttonType:"功能",buttonName:e})},getAddressCode:function(){this.addressData.province_name;for(var e=this.addressData.city_name,t=(this.addressData.area_name,void 0),s=void 0,a=void 0,i=0,r=u.a.length;i<r;i++){var d=u.a[i];if(e==d.label){t=d.value;for(var n=d.children,o=0,l=n.length;o<l;o++){var c=n[o];if(e==c.label){s=c.value;for(var h=c.children,v=0,m=h.length;v<m;v++)if(h[v].label){a=h[v].value;break}}}}}this.addressAreaCode=t+"-"+s+"-"+a},onSave:function(){var e=this,t=this.addressAreaCode.split("-"),s=this.addressArea.split("-");if(!this.receiveName)return Object(i.a)("收货人不能为空"),!1;if(!this.receiveMobile)return Object(i.a)("手机号不能为空"),!1;if(!/^1\d{10,12}$/.test(this.receiveMobile))return Object(i.a)("手机号格式不正确"),!1;if(!this.addressArea)return Object(i.a)("所在地区不能为空"),!1;if(!this.address)return Object(i.a)("详细地址不能为空"),!1;var a={};a.receive_name=this.receiveName,a.receive_mobile=this.receiveMobile,a.address=this.address,a.province_id=t[0],a.province_name=s[0],a.city_id=t[1],a.city=s[1],a.area_id=t[2],a.area=s[2],Object(v._6)(a).then(function(t){e.closeAdd(),Object(i.a)("修改成功"),e.$router.replace({name:"Address"})}).catch(function(e){})},onValuesChange:function(e,t){t[0]>t[1]&&e.setSlotValue(1,t[0])},hidePicker:function(){this.showAddressPicker=!1},showPicker:function(){this.showAddressPicker=!this.showAddressPicker},saveAddress:function(e,t){this.addressArea=e,this.addressAreaCode=t,this.showAddressPicker=!this.showAddressPicker}}},b={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"addressEdit"},[s("div",[s("mt-field",{attrs:{label:"收货人",placeholder:"请填写收货人"},model:{value:e.receiveName,callback:function(t){e.receiveName=t},expression:"receiveName"}}),e._v(" "),s("mt-field",{attrs:{label:"手机号",type:"tel",placeholder:"请填写手机号",attr:{maxlength:13}},model:{value:e.receiveMobile,callback:function(t){e.receiveMobile=t},expression:"receiveMobile"}}),e._v(" "),s("mt-field",{attrs:{label:"所在地区",placeholder:"请填写所在地区",readonly:!0,disableClear:!0},model:{value:e.addressArea,callback:function(t){e.addressArea=t},expression:"addressArea"}},[s("mt-cell",{staticStyle:{position:"absolute",width:"40px",height:"100%",right:"0",top:"-24px"},attrs:{"is-link":""}}),e._v(" "),s("div",{staticClass:"stbox",staticStyle:{position:"absolute",right:"0",top:"-24px",left:"0",bottom:"0"}},[s("mt-cell",{staticStyle:{opacity:"0",position:"absolute",width:"300px",height:"100%",right:"10%",top:"0"},attrs:{id:"mtcell",value:e.addressArea},nativeOn:{click:function(t){return e.showPicker(t)}}})],1)],1),e._v(" "),s("mt-field",{attrs:{label:"详细地址",placeholder:"请填写详细地址"},model:{value:e.address,callback:function(t){e.address=t},expression:"address"}}),e._v(" "),s("div",{staticClass:"btn",on:{click:function(t){e.onSave(),e.buttonClick("保存地址")}}},[s("van-button",{attrs:{round:"",size:"large",type:"info"}},[e._v("保存")])],1)],1),e._v(" "),s("my-address",{attrs:{showAddressPicker:e.showAddressPicker,init:e.addressArea},on:{"save-address":e.saveAddress,"hide-picker":e.hidePicker}})],1)},staticRenderFns:[]};var f=s("VU/8")(m,b,!1,function(e){s("ri+0")},null,null);t.default=f.exports}});
\ No newline at end of file
webpackJsonp([62],{S8Up:function(e,t){},w9jd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("CCn6"),r={name:"navShare",mounted:function(){var e=this;Object(i.N)().then(function(t){e.shopId=t.id,e.$router.push({name:"buyDetail",query:{invite_code:e.$route.query.invite_code,shopId:e.shopId}})})},data:function(){return{}}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"nofinish-block"})},staticRenderFns:[]};var u=n("VU/8")(r,o,!1,function(e){n("S8Up")},"data-v-3627840b",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([61],{S8Up:function(e,t){},w9jd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("CCn6"),r={name:"navShare",mounted:function(){var e=this;Object(i.N)().then(function(t){e.shopId=t.id,e.$router.push({name:"buyDetail",query:{invite_code:e.$route.query.invite_code,shopId:e.shopId}})})},data:function(){return{}}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"nofinish-block"})},staticRenderFns:[]};var u=n("VU/8")(r,o,!1,function(e){n("S8Up")},"data-v-3627840b",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([63],{Eg0l:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u={render:function(){var n=this.$createElement;return(this._self._c||n)("div")},staticRenderFns:[]};var a=t("VU/8")({name:"share",data:function(){return{num:0,pNum:0,watchLog:null,user:null}},mounted:function(){this.initPage()},methods:{}},u,!1,function(n){t("nfo5")},"data-v-29caaf48",null);e.default=a.exports},nfo5:function(n,e){}});
\ No newline at end of file
webpackJsonp([62],{Eg0l:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u={render:function(){var n=this.$createElement;return(this._self._c||n)("div")},staticRenderFns:[]};var a=t("VU/8")({name:"share",data:function(){return{num:0,pNum:0,watchLog:null,user:null}},mounted:function(){this.initPage()},methods:{}},u,!1,function(n){t("nfo5")},"data-v-29caaf48",null);e.default=a.exports},nfo5:function(n,e){}});
\ No newline at end of file
webpackJsonp([57],{L6DW:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("mvHQ"),i=e.n(a),n=e("woOf"),c=e.n(n),l=(e("eqfM"),e("/QYm")),o=e("CCn6"),r=e("Jmy5"),d={name:"index",data:function(){return{avatarArr:[],countIndex:0,countDown:"",countDownDay:0,countDownhour:0,countDownminu:0,countDownsec:0,goWhere:0,hasEnded:!0,lastValue:0,modelData:{},firstRate:0,ruleShow:0,status:0,secondRate:0,tishi:!1,thirdRate:0,typeStatus:0,forthRate:0,punchTheClock:r.g,punchCardData:[],punchClockModel:!1,qrErWeiMa:"",recordListIndex:1,returnCashData:{},todayData:[],currentTime:"",dangqianTimer:"",recordList:[{title:"待开课"},{title:"待完成"},{title:"待补卡"},{title:"打卡完成"}]}},methods:{returnCash:function(t){var s=this,e=this.$route.query.periods_id,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at};Object(o.M)(e,a).then(function(e){s.returnCashData=e;var a=e.over_time.split(" ")[0],i=a.split("-")[0]+"/"+a.split("-")[1]+"/"+a.split("-")[2]+" "+e.over_time.split(" ")[1],n=new Date(i).getTime();setInterval(function(){s.restTime(n)},1e3),n<(new Date).getTime()&&(s.hasEnded=!1),s.secondRate=parseInt(e.second_rate),s.thirdRate=100===parseInt(e.third_rate)?103:parseInt(e.third_rate),s.forthRate=parseInt(e.forth_rate),s.todayData=s.integrationFn(e.today);var c=0===t?e.first:1===t?e.second:2===t?e.third:e.forth;s.recordListIndex=t,s.punchCardData=s.integrationFn(c)})},finishUser:function(){var t=this,s=this.$route.query.periods_id;Object(o.r)(s).then(function(s){t.avatarArr=s.avatar,t.countIndex=s.count})},restTime:function(t){var s=t-(new Date).getTime();this.countDownDay=this.timerAddLing(parseInt(s/864e5)),this.countDownhour=this.timerAddLing(parseInt(s/36e5%24)),this.countDownminu=this.timerAddLing(parseInt(s/6e4%60)),this.countDownsec=this.timerAddLing(parseInt(s/1e3%60))},punchCardClick:function(t,s,e,a){var i=this;if(this.status=s,this.typeStatus=e,this.ruleShow=0,1!==s)if(this.hasEnded&&100!==this.forthRate){this.modelData=9==a?this.todayData[t]:this.punchCardData[t],this.modelData.aName=this.modelData.name.split(" ")[0]+" "+this.modelData.name.split(" ")[1];var n={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:this.modelData.push_time,type:e};2===s?Object(o.m)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where;var s=i.timerAddLing((new Date).getFullYear())+"-"+i.timerAddLing((new Date).getMonth()+1)+"-"+i.timerAddLing((new Date).getDate()),e=new Date(s).getTime(),a=new Date(i.modelData.push_time).getTime();i.modelData.state=e==a?1===t.go_where?"待学习":"未提交":1===t.go_where?"待学习(已延期)":"未提交(已延期)",document.querySelectorAll(".uiyiyi")[0].innerText=i.modelData.state}):(this.modelData.state=3===s?"待补卡":"打卡完成",document.querySelectorAll(".uiyiyi")[0].innerText=this.modelData.state),document.querySelectorAll(".get-stars-btn")[0]&&(document.querySelectorAll(".get-stars-btn")[0].style.display="block"),this.modelData.tishi=2===s?"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡":3===s?"补卡:消耗10星星补卡1次,当前共有"+this.lastValue+"颗星星":"",this.punchClockModel=!0}else Object(l.a)("活动已结束,谢谢参与~");else Object(l.a)("课程还未开始,请耐心等待哦~")},modelDataClick:function(t,s){var e=this,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:t.push_time,type:s};2===this.status?1===this.goWhere?this.getLessonDetailFn(t):Object(o._1)({category_id:t.id}).then(function(t){var s=c()({},t,{periods_id:e.modelData.periods_id,category_id:e.modelData.id,element_id:e.modelData.ele_id});e.$router.push({path:"/evaluate",query:s})}):3===this.status&&this.lastValue>=10&&Object(o.E)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!1},1500),document.querySelectorAll(".get-stars-btn")[0].style.display="none",e.lastValue=e.lastValue-10,e.modelData.tishi="补卡:消耗10星星补卡1次,当前共有"+e.lastValue+"颗星星",e.returnCash(2)})},getLessonDetailFn:function(t){var s=this;Object(o.y)(t.periods_id,t.id,t.ele_id).then(function(e){e.content=JSON.parse(e.content),s.thisLesson=e,s.thisLesson.id=t.ele_id.toString(),s.thisLesson.categoryId=t.id,s.thisLesson.domTitle=t.name,s.thisLesson.star_num=0;var a={periods_id:t.periods_id,category_id:t.id,elementId:t.ele_id,course_type:s.$route.query.course_type,parent_category_id:s.$route.query.parent_category_id};s.$store.dispatch("setClassQuery",a),sessionStorage.setItem("classQuery",i()(a));var n=JSON.parse(i()(s.thisLesson));n.push_time=t.push_time,n.themeID=s.$route.query.parent_category_id,n.goodsID=t.goods_id,n.classID=t.class_id,n.nowTime=Date.parse(new Date),n.course_title=s.$route.query.course_title,localStorage.setItem("lessonDetail",i()(n)),s.$router.push({name:"newLesson",query:a})})},timerAddLing:function(t){return t<10?"0"+t:t},integrationFn:function(t){var s=[];for(var e in t)t[e].sort(function(t,s){return parseInt(t.type)-parseInt(s.type)}),2===t[e].length?(t[e][0].type1=t[e][1].type,t[e][0].status1=t[e][1].status,s.push(t[e][0])):(2==t[e][0].type&&(t[e][0].type1=t[e][0].type,t[e][0].status1=t[e][0].status,delete t[e][0].type,delete t[e][0].status),s.push(t[e][0]));var a={};return s.reduce(function(t,s){return!a[s.id]&&(a[s.id]=t.push(s)),t},[])},getTeacher:function(){var t=this;Object(o.S)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Y)().then(function(s){t.lastValue=s.last_value})},punchClockClick:function(){this.punchClockModel=!0,this.ruleShow=2}},mounted:function(){this.returnCash(1),this.finishUser(),this.getTeacher()}},u={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"punch-the-clock"},[e("div",{staticClass:"rule",on:{click:function(s){t.punchClockClick()}}},[t._v("\n 规则\n ")]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-image"},[t._v("\n 奖励名称\n "),e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.hasEnded?100===t.forthRate?"已完成":"进行中":100===t.forthRate?"已完成":"已结束"))])]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-bg"},[e("div",{staticClass:"punch-the-clock-name-content"},[t.hasEnded?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded?e("div",{staticClass:"punch-the-clock-name-content-timer"},[e("span",[t._v("剩余完成时间")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownDay))]),t._v(" "),e("span",[t._v("天")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownhour))]),t._v(" "),e("span",[t._v("时")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownminu))]),t._v(" "),e("span",[t._v("分")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownsec))]),t._v(" "),e("span",[t._v("秒")])]):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-name-content-completion"},[e("div",{staticClass:"daka-fu"},[e("img",{attrs:{src:t.punchTheClock.dakaFu,alt:""}})]),t._v(" "),e("div",{staticClass:"speed"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.forthRate+t.secondRate+t.thirdRate<80,expression:"forthRate + secondRate + thirdRate < 80"}],staticClass:"speed-baifen baifenbi"},[t._v("100%")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:0!==t.forthRate,expression:"forthRate !== 0"}],staticClass:"speed-list speed-list-completed speed-baifen",style:{width:t.forthRate<=10?"10%":t.forthRate+"%"}},[t._v(t._s(t.forthRate)+"%")]),t._v(" "),e("span",{staticClass:"speed-list speed-list-be",style:{width:(100!==t.secondRate&&(t.secondRate,t.thirdRate),t.secondRate+3+"%")}}),t._v(" "),e("span",{staticClass:"speed-list speed-list-card",style:{width:100!==t.thirdRate&&t.secondRate+t.thirdRate>=90?t.thirdRate+1+"%":t.thirdRate+2+"%"}})]),t._v(" "),t._m(0)])])]),t._v(" "),100===t.forthRate?e("div",{staticClass:"punch-the-clock-reward"},[e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("恭喜您已获得奖励")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("快联系班主任领取吧!")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-erweima"},[e("div",{staticClass:"punch-the-clock-reward-erweima-ma"},[e("img",{attrs:{src:t.qrErWeiMa,alt:""}})])])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list"},t._l(t.todayData,function(s,a){return e("div",{staticClass:"punch-list-today"},[e("div",{staticClass:"punch-card-today"},[e("div",{staticClass:"day"},[t._v("今日")]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])])])})):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-completed-persons"},[e("div",{staticClass:"punch-the-clock-completed-persons-image"},[e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.countIndex)+"人已完成")]),t._v(" "),t._l(t.avatarArr,function(t,s){return e("div",{key:s,staticClass:"portrait"},[e("img",{attrs:{src:t,alt:""}})])})],2)]),t._v(" "),e("div",{staticClass:"punch-the-clock-record"},[t._m(1),t._v(" "),e("ul",{staticClass:"punch-the-clock-record-list"},t._l(t.recordList,function(s,a){return e("li",{key:a,class:[a===t.recordListIndex?"active":""],on:{click:function(s){t.returnCash(a)}}},[t._v("\n "+t._s(s.title)+" "),e("div",{directives:[{name:"show",rawName:"v-show",value:a===t.recordListIndex,expression:"index === recordListIndex"}],staticClass:"xian"})])})),t._v(" "),e("div",{staticClass:"today-list"},[t._l(t.punchCardData,function(s,a){return 0!==t.punchCardData.length?e("div",{key:a,staticClass:"today-list-xian"},[e("div",{staticClass:"punch-card-today"},[0===t.recordListIndex?e("div",{staticClass:"sou"},[e("img",{attrs:{src:t.punchTheClock.sou,alt:""}})]):t._e(),t._v(" "),0!==t.recordListIndex?e("div",{staticClass:"day"},[t._v(t._s(s.push_time.split("-")[1])+"月"+t._s(s.push_time.split("-")[2])+"日")]):t._e(),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),1==s.type?e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]):t._e(),t._v(" "),2==s.type1?e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])]):t._e()]):t._e()}),t._v(" "),0===t.punchCardData.length?e("div",{staticClass:"today-list-null"},[e("div",{staticClass:"null-tu"},[e("img",{attrs:{src:t.punchTheClock.nullTu,alt:""}})]),t._v(" "),e("div",{staticClass:"today-list-null-text"},[t._v("啊哦,没有数据哦~")])]):t._e()],2)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.punchClockModel,expression:"punchClockModel"}],staticClass:"punch-the-clock-model",on:{click:function(s){t.punchClockModel=!1}}},[2!=t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin"},[t.tishi?e("div",{staticClass:"tishi"},[e("div",{staticClass:"tishi-image"},[e("img",{attrs:{src:t.punchTheClock.xiaolian,alt:""}})]),t._v(" "),e("div",{staticClass:"text"},[t._v("恭喜你补卡成功啦~")]),t._v(" "),e("div",{staticClass:"text"},[t._v("-10颗星星")])]):t._e(),t._v(" "),e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-model-title"},[e("span",[t._v(t._s(1==t.typeStatus?"学习卡":"成长卡"))])]),t._v(" "),e("div",{staticClass:"title-text title-padd"},[t._v("课时:"+t._s(t.modelData.sub_title))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("课节:"+t._s(t.modelData.aName))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("开课日期:"+t._s(t.modelData.push_time))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("状态:\n "),e("span",{class:[2===t.status||3===t.status?"small-title":"","uiyiyi"]})]),t._v(" "),e("div",{staticClass:"title-text"},[t._v(t._s(t.modelData.tishi))]),t._v(" "),3===t.status&&t.lastValue<=10?e("div",{staticClass:"get-stars"},[t._m(2)]):t._e(),t._v(" "),4!==t.status?e("div",{class:["get-stars-btn",{"get-stars-btn-clo":3===t.status&&t.lastValue<=10}],on:{click:function(s){s.stopPropagation(),t.modelDataClick(t.modelData,t.typeStatus)}}},[t._v("\n "+t._s(2===t.status?1==t.goWhere?"去学习":"去提交":3===t.status?"去补卡":"")+"\n ")]):t._e()]):t._e(),t._v(" "),2==t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin punch-the-clock-rule-pad"},[e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-rule"},[t._v("活动规则")]),t._v(" "),t._m(3)]):t._e()])])},staticRenderFns:[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"speed-content"},[e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-completed"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("已完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-be"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-card"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待补卡")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-waiting"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待开课")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"punch-the-clock-record-title"},[s("div",{staticClass:"punch-the-clock-record-title-image"}),this._v(" "),s("div",{staticClass:"punch-the-clock-record-title-text"},[this._v("我的打卡记录")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"get-stars-content"},[e("div",{staticClass:"get-stars-text"},[t._v("当前星星不足补卡哦,如何获得更多星星?")]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("1、开始课程学习")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("2、学完课节")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("3、提交作业")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"rule-content"},[e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("1.活动名称:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("全勤打卡赢奖励")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("2.活动时间:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("课程开课时间-结课时间")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("3.活动规则:")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("4.如何补卡?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("5.星星不足补卡时,如何获取更多星星?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("\n 可通过以下3种方式获取星星"),e("br"),t._v("\n a. 打开未学习课程 星星+1"),e("br"),t._v("\n b. 不限时间学习完成一节课程 星星+1"),e("br"),t._v("\n c. 不限时提交成长记录 星星+1\n ")])])])}]};var h=e("VU/8")(d,u,!1,function(t){e("SZQi")},"data-v-7b0861f8",null);s.default=h.exports},SZQi:function(t,s){}});
\ No newline at end of file
webpackJsonp([63],{L6DW:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("mvHQ"),i=e.n(a),n=e("woOf"),c=e.n(n),l=(e("eqfM"),e("/QYm")),o=e("CCn6"),r=e("Jmy5"),d={name:"index",data:function(){return{avatarArr:[],countIndex:0,countDown:"",countDownDay:0,countDownhour:0,countDownminu:0,countDownsec:0,goWhere:0,hasEnded:!0,lastValue:0,modelData:{},firstRate:0,ruleShow:0,status:0,secondRate:0,tishi:!1,thirdRate:0,typeStatus:0,forthRate:0,punchTheClock:r.g,punchCardData:[],punchClockModel:!1,qrErWeiMa:"",recordListIndex:1,returnCashData:{},todayData:[],currentTime:"",dangqianTimer:"",recordList:[{title:"待开课"},{title:"待完成"},{title:"待补卡"},{title:"打卡完成"}]}},methods:{returnCash:function(t){var s=this,e=this.$route.query.periods_id,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at};Object(o.M)(e,a).then(function(e){s.returnCashData=e;var a=e.over_time.split(" ")[0],i=a.split("-")[0]+"/"+a.split("-")[1]+"/"+a.split("-")[2]+" "+e.over_time.split(" ")[1],n=new Date(i).getTime();setInterval(function(){s.restTime(n)},1e3),n<(new Date).getTime()&&(s.hasEnded=!1),s.secondRate=parseInt(e.second_rate),s.thirdRate=100===parseInt(e.third_rate)?103:parseInt(e.third_rate),s.forthRate=parseInt(e.forth_rate),s.todayData=s.integrationFn(e.today);var c=0===t?e.first:1===t?e.second:2===t?e.third:e.forth;s.recordListIndex=t,s.punchCardData=s.integrationFn(c)})},finishUser:function(){var t=this,s=this.$route.query.periods_id;Object(o.r)(s).then(function(s){t.avatarArr=s.avatar,t.countIndex=s.count})},restTime:function(t){var s=t-(new Date).getTime();this.countDownDay=this.timerAddLing(parseInt(s/864e5)),this.countDownhour=this.timerAddLing(parseInt(s/36e5%24)),this.countDownminu=this.timerAddLing(parseInt(s/6e4%60)),this.countDownsec=this.timerAddLing(parseInt(s/1e3%60))},punchCardClick:function(t,s,e,a){var i=this;if(this.status=s,this.typeStatus=e,this.ruleShow=0,1!==s)if(this.hasEnded&&100!==this.forthRate){this.modelData=9==a?this.todayData[t]:this.punchCardData[t],this.modelData.aName=this.modelData.name.split(" ")[0]+" "+this.modelData.name.split(" ")[1];var n={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:this.modelData.push_time,type:e};2===s?Object(o.m)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,n).then(function(t){i.goWhere=t.go_where;var s=i.timerAddLing((new Date).getFullYear())+"-"+i.timerAddLing((new Date).getMonth()+1)+"-"+i.timerAddLing((new Date).getDate()),e=new Date(s).getTime(),a=new Date(i.modelData.push_time).getTime();i.modelData.state=e==a?1===t.go_where?"待学习":"未提交":1===t.go_where?"待学习(已延期)":"未提交(已延期)",document.querySelectorAll(".uiyiyi")[0].innerText=i.modelData.state}):(this.modelData.state=3===s?"待补卡":"打卡完成",document.querySelectorAll(".uiyiyi")[0].innerText=this.modelData.state),document.querySelectorAll(".get-stars-btn")[0]&&(document.querySelectorAll(".get-stars-btn")[0].style.display="block"),this.modelData.tishi=2===s?"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡":3===s?"补卡:消耗10星星补卡1次,当前共有"+this.lastValue+"颗星星":"",this.punchClockModel=!0}else Object(l.a)("活动已结束,谢谢参与~");else Object(l.a)("课程还未开始,请耐心等待哦~")},modelDataClick:function(t,s){var e=this,a={start_at:this.$route.query.start_at,over_at:this.$route.query.over_at,push_time:t.push_time,type:s};2===this.status?1===this.goWhere?this.getLessonDetailFn(t):Object(o._1)({category_id:t.id}).then(function(t){var s=c()({},t,{periods_id:e.modelData.periods_id,category_id:e.modelData.id,element_id:e.modelData.ele_id});e.$router.push({path:"/evaluate",query:s})}):3===this.status&&this.lastValue>=10&&Object(o.E)(this.modelData.ele_id,this.modelData.id,this.modelData.periods_id,a).then(function(t){e.tishi=!0,setTimeout(function(){e.tishi=!1},1500),document.querySelectorAll(".get-stars-btn")[0].style.display="none",e.lastValue=e.lastValue-10,e.modelData.tishi="补卡:消耗10星星补卡1次,当前共有"+e.lastValue+"颗星星",e.returnCash(2)})},getLessonDetailFn:function(t){var s=this;Object(o.y)(t.periods_id,t.id,t.ele_id).then(function(e){e.content=JSON.parse(e.content),s.thisLesson=e,s.thisLesson.id=t.ele_id.toString(),s.thisLesson.categoryId=t.id,s.thisLesson.domTitle=t.name,s.thisLesson.star_num=0;var a={periods_id:t.periods_id,category_id:t.id,elementId:t.ele_id,course_type:s.$route.query.course_type,parent_category_id:s.$route.query.parent_category_id};s.$store.dispatch("setClassQuery",a),sessionStorage.setItem("classQuery",i()(a));var n=JSON.parse(i()(s.thisLesson));n.push_time=t.push_time,n.themeID=s.$route.query.parent_category_id,n.goodsID=t.goods_id,n.classID=t.class_id,n.nowTime=Date.parse(new Date),n.course_title=s.$route.query.course_title,localStorage.setItem("lessonDetail",i()(n)),s.$router.push({name:"newLesson",query:a})})},timerAddLing:function(t){return t<10?"0"+t:t},integrationFn:function(t){var s=[];for(var e in t)t[e].sort(function(t,s){return parseInt(t.type)-parseInt(s.type)}),2===t[e].length?(t[e][0].type1=t[e][1].type,t[e][0].status1=t[e][1].status,s.push(t[e][0])):(2==t[e][0].type&&(t[e][0].type1=t[e][0].type,t[e][0].status1=t[e][0].status,delete t[e][0].type,delete t[e][0].status),s.push(t[e][0]));var a={};return s.reduce(function(t,s){return!a[s.id]&&(a[s.id]=t.push(s)),t},[])},getTeacher:function(){var t=this;Object(o.S)().then(function(s){t.qrErWeiMa=s.qr}),Object(o.Y)().then(function(s){t.lastValue=s.last_value})},punchClockClick:function(){this.punchClockModel=!0,this.ruleShow=2}},mounted:function(){this.returnCash(1),this.finishUser(),this.getTeacher()}},u={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"punch-the-clock"},[e("div",{staticClass:"rule",on:{click:function(s){t.punchClockClick()}}},[t._v("\n 规则\n ")]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-image"},[t._v("\n 奖励名称\n "),e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.hasEnded?100===t.forthRate?"已完成":"进行中":100===t.forthRate?"已完成":"已结束"))])]),t._v(" "),e("div",{staticClass:"punch-the-clock-name-bg"},[e("div",{staticClass:"punch-the-clock-name-content"},[t.hasEnded?t._e():e("div",{staticClass:"punch-the-clock-name-contentText"},[t._v("很遗憾,您未在指定时间内完成任务哦")]),t._v(" "),t.hasEnded?e("div",{staticClass:"punch-the-clock-name-content-timer"},[e("span",[t._v("剩余完成时间")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownDay))]),t._v(" "),e("span",[t._v("天")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownhour))]),t._v(" "),e("span",[t._v("时")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownminu))]),t._v(" "),e("span",[t._v("分")]),t._v(" "),e("span",{staticClass:"timer"},[t._v(t._s(t.countDownsec))]),t._v(" "),e("span",[t._v("秒")])]):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-name-content-completion"},[e("div",{staticClass:"daka-fu"},[e("img",{attrs:{src:t.punchTheClock.dakaFu,alt:""}})]),t._v(" "),e("div",{staticClass:"speed"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.forthRate+t.secondRate+t.thirdRate<80,expression:"forthRate + secondRate + thirdRate < 80"}],staticClass:"speed-baifen baifenbi"},[t._v("100%")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:0!==t.forthRate,expression:"forthRate !== 0"}],staticClass:"speed-list speed-list-completed speed-baifen",style:{width:t.forthRate<=10?"10%":t.forthRate+"%"}},[t._v(t._s(t.forthRate)+"%")]),t._v(" "),e("span",{staticClass:"speed-list speed-list-be",style:{width:(100!==t.secondRate&&(t.secondRate,t.thirdRate),t.secondRate+3+"%")}}),t._v(" "),e("span",{staticClass:"speed-list speed-list-card",style:{width:100!==t.thirdRate&&t.secondRate+t.thirdRate>=90?t.thirdRate+1+"%":t.thirdRate+2+"%"}})]),t._v(" "),t._m(0)])])]),t._v(" "),100===t.forthRate?e("div",{staticClass:"punch-the-clock-reward"},[e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("恭喜您已获得奖励")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-title"},[t._v("快联系班主任领取吧!")]),t._v(" "),e("div",{staticClass:"punch-the-clock-reward-erweima"},[e("div",{staticClass:"punch-the-clock-reward-erweima-ma"},[e("img",{attrs:{src:t.qrErWeiMa,alt:""}})])])]):t._e(),t._v(" "),0!==t.todayData.length&&100!==t.forthRate?e("div",{staticClass:"today-list"},t._l(t.todayData,function(s,a){return e("div",{staticClass:"punch-list-today"},[e("div",{staticClass:"punch-card-today"},[e("div",{staticClass:"day"},[t._v("今日")]),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]),t._v(" "),e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1,9)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])])])})):t._e(),t._v(" "),e("div",{staticClass:"punch-the-clock-completed-persons"},[e("div",{staticClass:"punch-the-clock-completed-persons-image"},[e("div",{staticClass:"yiwancheng"},[t._v(t._s(t.countIndex)+"人已完成")]),t._v(" "),t._l(t.avatarArr,function(t,s){return e("div",{key:s,staticClass:"portrait"},[e("img",{attrs:{src:t,alt:""}})])})],2)]),t._v(" "),e("div",{staticClass:"punch-the-clock-record"},[t._m(1),t._v(" "),e("ul",{staticClass:"punch-the-clock-record-list"},t._l(t.recordList,function(s,a){return e("li",{key:a,class:[a===t.recordListIndex?"active":""],on:{click:function(s){t.returnCash(a)}}},[t._v("\n "+t._s(s.title)+" "),e("div",{directives:[{name:"show",rawName:"v-show",value:a===t.recordListIndex,expression:"index === recordListIndex"}],staticClass:"xian"})])})),t._v(" "),e("div",{staticClass:"today-list"},[t._l(t.punchCardData,function(s,a){return 0!==t.punchCardData.length?e("div",{key:a,staticClass:"today-list-xian"},[e("div",{staticClass:"punch-card-today"},[0===t.recordListIndex?e("div",{staticClass:"sou"},[e("img",{attrs:{src:t.punchTheClock.sou,alt:""}})]):t._e(),t._v(" "),0!==t.recordListIndex?e("div",{staticClass:"day"},[t._v(t._s(s.push_time.split("-")[1])+"月"+t._s(s.push_time.split("-")[2])+"日")]):t._e(),t._v(" "),e("div",{staticClass:"small-title"},[t._v(t._s(s.sub_title))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(s.name.split(" ")[0]+" "+s.name.split(" ")[1]))])]),t._v(" "),1==s.type?e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status,s.type)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status?t.punchTheClock.kaike_xuexi:2===s.status?t.punchTheClock.daiwanc:3===s.status?t.punchTheClock.buka_xuexi:t.punchTheClock.dakawancheng,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("学习卡")])]):t._e(),t._v(" "),2==s.type1?e("div",{staticClass:"punch-card-today",on:{click:function(e){t.punchCardClick(a,s.status1,s.type1)}}},[e("div",{staticClass:"punch-card-today-learning"},[e("img",{attrs:{src:1===s.status1?t.punchTheClock.kaike_chengz:2===s.status1?t.punchTheClock.daiwanChangz:3===s.status1?t.punchTheClock.buka_changz:t.punchTheClock.wanchengChengz,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-card-today-xuexila"},[t._v("成长卡")])]):t._e()]):t._e()}),t._v(" "),0===t.punchCardData.length?e("div",{staticClass:"today-list-null"},[e("div",{staticClass:"null-tu"},[e("img",{attrs:{src:t.punchTheClock.nullTu,alt:""}})]),t._v(" "),e("div",{staticClass:"today-list-null-text"},[t._v("啊哦,没有数据哦~")])]):t._e()],2)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.punchClockModel,expression:"punchClockModel"}],staticClass:"punch-the-clock-model",on:{click:function(s){t.punchClockModel=!1}}},[2!=t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin"},[t.tishi?e("div",{staticClass:"tishi"},[e("div",{staticClass:"tishi-image"},[e("img",{attrs:{src:t.punchTheClock.xiaolian,alt:""}})]),t._v(" "),e("div",{staticClass:"text"},[t._v("恭喜你补卡成功啦~")]),t._v(" "),e("div",{staticClass:"text"},[t._v("-10颗星星")])]):t._e(),t._v(" "),e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-model-title"},[e("span",[t._v(t._s(1==t.typeStatus?"学习卡":"成长卡"))])]),t._v(" "),e("div",{staticClass:"title-text title-padd"},[t._v("课时:"+t._s(t.modelData.sub_title))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("课节:"+t._s(t.modelData.aName))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("开课日期:"+t._s(t.modelData.push_time))]),t._v(" "),e("div",{staticClass:"title-text"},[t._v("状态:\n "),e("span",{class:[2===t.status||3===t.status?"small-title":"","uiyiyi"]})]),t._v(" "),e("div",{staticClass:"title-text"},[t._v(t._s(t.modelData.tishi))]),t._v(" "),3===t.status&&t.lastValue<=10?e("div",{staticClass:"get-stars"},[t._m(2)]):t._e(),t._v(" "),4!==t.status?e("div",{class:["get-stars-btn",{"get-stars-btn-clo":3===t.status&&t.lastValue<=10}],on:{click:function(s){s.stopPropagation(),t.modelDataClick(t.modelData,t.typeStatus)}}},[t._v("\n "+t._s(2===t.status?1==t.goWhere?"去学习":"去提交":3===t.status?"去补卡":"")+"\n ")]):t._e()]):t._e(),t._v(" "),2==t.ruleShow?e("div",{staticClass:"punch-the-clock-model-yin punch-the-clock-rule-pad"},[e("div",{staticClass:"x-code"},[e("img",{attrs:{src:t.punchTheClock.x,alt:""}})]),t._v(" "),e("div",{staticClass:"punch-the-clock-rule"},[t._v("活动规则")]),t._v(" "),t._m(3)]):t._e()])])},staticRenderFns:[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"speed-content"},[e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-completed"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("已完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-be"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待完成")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-card"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待补卡")])]),t._v(" "),e("div",{staticClass:"speed-content-list"},[e("span",{staticClass:"speed-content-list-color speed-content-list-waiting"}),t._v(" "),e("span",{staticClass:"speed-content-list-text"},[t._v("待开课")])])])},function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"punch-the-clock-record-title"},[s("div",{staticClass:"punch-the-clock-record-title-image"}),this._v(" "),s("div",{staticClass:"punch-the-clock-record-title-text"},[this._v("我的打卡记录")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"get-stars-content"},[e("div",{staticClass:"get-stars-text"},[t._v("当前星星不足补卡哦,如何获得更多星星?")]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("1、开始课程学习")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("2、学完课节")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])]),t._v(" "),e("div",{staticClass:"get-stars-text get-stars-text-con"},[e("span",{staticClass:"get-stars-text-title"},[t._v("3、提交作业")]),t._v(" "),e("span",{staticClass:"get-stars-text-xingxing"},[t._v("+1星星")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"rule-content"},[e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("1.活动名称:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("全勤打卡赢奖励")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("2.活动时间:")]),t._v(" "),e("span",{staticClass:"con"},[t._v("课程开课时间-结课时间")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("3.活动规则:")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("4.如何补卡?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡")])]),t._v(" "),e("div",{staticClass:"rule-content-list"},[e("span",{staticClass:"title"},[t._v("5.星星不足补卡时,如何获取更多星星?")]),e("br"),t._v(" "),e("span",{staticClass:"con"},[t._v("\n 可通过以下3种方式获取星星"),e("br"),t._v("\n a. 打开未学习课程 星星+1"),e("br"),t._v("\n b. 不限时间学习完成一节课程 星星+1"),e("br"),t._v("\n c. 不限时提交成长记录 星星+1\n ")])])])}]};var h=e("VU/8")(d,u,!1,function(t){e("n5g9")},"data-v-17c5e714",null);s.default=h.exports},n5g9:function(t,s){}});
\ No newline at end of file
webpackJsonp([67],{CCn6:function(e,t,n){"use strict";var o=n("7+uW"),a=(n("eqfM"),n("/QYm")),r=n("//Fk"),i=n.n(r),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),d=n("YaEn"),f=n("sf/l");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(e){var t=localStorage.getItem("cc_token");if(e.headers["Content-Type"]||(e.headers={"Content-Type":"application/json"}),t&&(e.headers.token=t),"get"===e.method&&"/api/admin/login"!==e.url){e.params=e.params||{},e.params.v="09021400";var n=JSON.parse(u()(e.params));for(var o in n)null===n[o]&&(n[o]=""),"string"==typeof n[o]&&(e.params[o]=e.params[o].replace(/(^\s*)|(\s*$)/g,""),n[o]=n[o].replace(/(^\s*)|(\s*$)/g,"")),n[o]=h()(n[o].toString());n.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.params.param_token=h()(u()(n)),e.params.v="09021400"}else if("/api/admin/login"!==e.url){e.data=e.data||{},e.data.v="09021400";var a=JSON.parse(u()(e.data));for(var r in a)null===a[r]&&(a[r]=""),"string"==typeof a[r]&&(e.data[r]=e.data[r].replace(/(^\s*)|(\s*$)/g,""),a[r]=a[r].replace(/(^\s*)|(\s*$)/g,"")),a[r]=h()(a[r].toString());a.sing="singsingenglish21000",f.a.getUrlParam().chang_test_user_id,e.data.param_token=h()(u()(a)),e.data.v="09021400"}return e},function(e){return i.a.reject(e)}),s.a.interceptors.response.use(function(e){return 501===e.data.code&&d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),e},function(e){return i.a.reject(e)}),n.d(t,"c",function(){return g}),n.d(t,"_4",function(){return w}),n.d(t,"s",function(){return y}),n.d(t,"_6",function(){return b}),n.d(t,"F",function(){return v}),n.d(t,"T",function(){return _}),n.d(t,"_8",function(){return $}),n.d(t,"_16",function(){return S}),n.d(t,"_15",function(){return P}),n.d(t,"i",function(){return N}),n.d(t,"j",function(){return k}),n.d(t,"_0",function(){return T}),n.d(t,"z",function(){return I}),n.d(t,"p",function(){return x}),n.d(t,"y",function(){return O}),n.d(t,"V",function(){return U}),n.d(t,"_20",function(){return A}),n.d(t,"u",function(){return R}),n.d(t,"H",function(){return D}),n.d(t,"I",function(){return M}),n.d(t,"_1",function(){return C}),n.d(t,"S",function(){return E}),n.d(t,"R",function(){return L}),n.d(t,"n",function(){return j}),n.d(t,"t",function(){return V}),n.d(t,"w",function(){return q}),n.d(t,"v",function(){return Y}),n.d(t,"_18",function(){return W}),n.d(t,"e",function(){return F}),n.d(t,"_7",function(){return Q}),n.d(t,"U",function(){return G}),n.d(t,"b",function(){return H}),n.d(t,"h",function(){return B}),n.d(t,"J",function(){return J}),n.d(t,"N",function(){return K}),n.d(t,"O",function(){return z}),n.d(t,"Y",function(){return X}),n.d(t,"Z",function(){return Z}),n.d(t,"a",function(){return ee}),n.d(t,"_3",function(){return te}),n.d(t,"_13",function(){return ne}),n.d(t,"q",function(){return oe}),n.d(t,"o",function(){return ae}),n.d(t,"_14",function(){return re}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return ce}),n.d(t,"B",function(){return ue}),n.d(t,"D",function(){return le}),n.d(t,"C",function(){return se}),n.d(t,"_21",function(){return pe}),n.d(t,"d",function(){return he}),n.d(t,"g",function(){return de}),n.d(t,"f",function(){return fe}),n.d(t,"_19",function(){return me}),n.d(t,"_5",function(){return ge}),n.d(t,"_17",function(){return we}),n.d(t,"P",function(){return ye}),n.d(t,"Q",function(){return be}),n.d(t,"L",function(){return ve}),n.d(t,"K",function(){return _e}),n.d(t,"_2",function(){return $e}),n.d(t,"_12",function(){return Se}),n.d(t,"A",function(){return Pe}),n.d(t,"_9",function(){return Ne}),n.d(t,"_10",function(){return ke}),n.d(t,"_11",function(){return Te}),n.d(t,"W",function(){return Ie}),n.d(t,"X",function(){return xe}),n.d(t,"G",function(){return Oe}),n.d(t,"x",function(){return Ue}),n.d(t,"M",function(){return Ae}),n.d(t,"r",function(){return Re}),n.d(t,"m",function(){return De}),n.d(t,"E",function(){return Me});var m="https://wechat.changchangenglish.com/";o.default.prototype.$post=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.post(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),502!=e.data.code&&Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$fetch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.get(e,{params:t}).then(function(e){if(200===e.data.code)n(e.data.data);else if(501===e.data.code){o(e.data);var t={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),t.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}else if(503===e.data.code)o(e.data);else if(506===e.data.code){o(e.data);var r={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),r.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}else o(e.data),Object(a.a)(e.data.msg)}).catch(function(e){o(e)})})},o.default.prototype.$patch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.patch(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$put=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.put(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$del=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new i.a(function(n,o){s.a.delete(e,t).then(function(e){200===e.data.code?n(e.data.data):501===e.data.code?(o(e.data),d.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===e.data.code?o(e.data):(o(e.data),Object(a.a)(e.data.msg))},function(e){o(e)})})},o.default.prototype.$upload=function(e,t){return new i.a(function(n,o){var r=parseInt(Number(t.file.size)/Number(10485760)+1),i=0;!function c(){var u=new FormData,l=t.file.slice(1024*i*1024*10,1024*(i+1)*1024*10);u.append("chunk",i),u.append("file_name",t.file.name),u.append("count",r),u.append("type",t.type),u.append("file",l),s.a.post(e,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(e){}}).then(function(e){200===e.data.code?i+1<r?(i++,c()):(i=0,n(e.data.data)):Object(a.a)(e.data.msg)}).catch(function(e){o(e)})}()})},o.default.prototype.$ret2=function(e){return new i.a(function(t,n){s.a.get(e).then(function(e){t(e.data)}).catch(function(e){n(e)})})};var g=function(e,t){return o.default.prototype.$fetch("/api/client/banner/list/"+e,t)},w=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",e)},y=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+e)},b=function(e){return o.default.prototype.$put(m+"api/client/deliver/edit",e)},v=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/deliver/newest/list")},_=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},$=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",e)},S=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",e)},P=function(e){return o.default.prototype.$post(m+"api/client/user/starActivity/address",e)},N=function(e,t){return o.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+t,e)},k=function(e){return o.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",e)},T=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},I=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},x=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+e)},O=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+e+"/"+t+"/"+n)},U=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},A=function(e,t,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+e+"/"+t+"/"+n,a)},R=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+e)},D=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+e)},M=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",e)},C=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report",e)},E=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me/teacher")},L=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",e)},j=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:e})},V=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",e)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},Y=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},W=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",e)},F=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",e)},Q=function(e,t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",e)},G=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},B=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+e)},J=function(e,t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+e,t)},K=function(){return o.default.prototype.$fetch("/api/client/share/goods")},z=function(e){return o.default.prototype.$fetch("/api/public/short/url",e)},X=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},Z=function(e){return o.default.prototype.$fetch("/api/client/user/integral",e)},ee=function(e){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",e)},te=function(e){return o.default.prototype.$fetch("/api/client/yunji/config",e)},ne=function(e){return o.default.prototype.$post("/api/client/user/add/class/"+e)},oe=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},ae=function(e){return e?o.default.prototype.$fetch("/api/client/user/course/info",{periods_id:e}):o.default.prototype.$fetch("/api/client/user/course/info")},re=function(e){return o.default.prototype.$put("/api/client/me/set",e)},ie=function(e,t){return o.default.prototype.$fetch("/api/client/course/automation/list/"+e+"/"+t)},ce=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ue=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},le=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},se=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},pe=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},he=function(e){return o.default.prototype.$fetch("/api/client/user/bind/sub/"+e)},de=function(){return o.default.prototype.$fetch("/api/client/user/generate/authorization")},fe=function(){return o.default.prototype.$fetch("/api/client/user/bind/chance")},me=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},ge=function(e){return o.default.prototype.$fetch("/api/client/user/main/info/"+e)},we=function(e){return o.default.prototype.$fetch("/api/client/user/click/link/"+e)},ye=function(){return o.default.prototype.$fetch("/api/client/user/starActivity")},be=function(){return o.default.prototype.$fetch("/api/client/user/startBonusActivity")},ve=function(e){return o.default.prototype.$fetch("/api/client/user/receive/coupon/"+e)},_e=function(e){return o.default.prototype.$fetch("/api/client/goods/info/no/auth/"+e)},$e=function(e){return o.default.prototype.$fetch("/api/client/youbang/put",e)},Se=function(e){return o.default.prototype.$post("/api/client/youbang/address/add",e)},Pe=function(e){return o.default.prototype.$fetch("/api/client/deliver/list",e)},Ne=function(e){return o.default.prototype.$post("api/client/report/errors/log",e)},ke=function(e){return o.default.prototype.$post("/api/client/user/notify/setting",e)},Te=function(e,t,n,a){return o.default.prototype.$post("api/client/user/growth/record/"+e+"/"+t+"/"+n,a)},Ie=function(e){return o.default.prototype.$fetch(m+"api/client/user/growth/record/list")},xe=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/growth/record/"+e+"/"+t+"/"+n)},Oe=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)},Ue=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/judge/activity")},Ae=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e,t)},Re=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/finish/user/"+e)},De=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/card/go/where/"+e+"/"+t+"/"+n,a)},Me=function(e,t,n,a){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/new/return/cash/"+e+"/"+t+"/"+n,a)}},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),a=n("NYxO"),r=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,t){e.isMobile=t},isWatchDetail:function(e,t){e.watchDetail=t},isClassQuery:function(e,t){e.classQuery=t},isCouponShadow:function(e,t){e.couponShadow=t},isLookStatus:function(e,t){e.lookStatus=t},isTimeout:function(e,t){e.timeout=t},setTest:function(e,t){e.test=t}});o.default.use(a.a);t.a=new a.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1,lookStatus:0,timeout:"",test:1},mutations:r,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)},isMobile:function(e,t){(0,e.commit)("isMobile",t)},setWatchDetail:function(e,t){(0,e.commit)("isWatchDetail",t)},setClassQuery:function(e,t){(0,e.commit)("isClassQuery",t)},setCouponShadow:function(e,t){(0,e.commit)("isCouponShadow",t)},setLookStatus:function(e,t){(0,e.commit)("isLookStatus",t)},setTimeout:function(e,t){(0,e.commit)("isTimeout",t)}}})},JKiR:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("mMXg");var o=n("qYlo"),a=(n("qVvv"),n("8aUD")),r=(n("3Lne"),n("SSsa")),i=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[this._v(">\n "),t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(e){n("zP5g")},null,null).exports,p=n("YaEn"),h=n("IcnI"),d=n("sf/l"),f=n("wvfG"),m=n.n(f),g=n("uYVh"),w=n.n(g),y=(n("d8/S"),n("bOdI")),b=n.n(y),v=n("GQaK"),_={props:{probeType:{type:Number,default:1},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},pulldown:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},refreshDelay:{type:Number,default:100},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){var e=this;setTimeout(function(){e._initScroll()},20)},methods:b()({_initScroll:function(){var e=this;if(this.$refs.wrapper){if(this.scroll=new v.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){var t=this;this.scroll.on("scroll",function(e){t.$emit("scroll",e)})}this.pullup&&this.scroll.on("scrollEnd",function(){e.scroll.y<=e.scroll.maxScrollY+10&&e.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(t){t.y>50&&e.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){e.$emit("beforeScroll")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(e,t,n){this.scroll&&this.scroll.scrollTo(e,t,n)},scrollToElement:function(e,t){this.scroll&&this.scroll.scrollToElement(e,t)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){var e=this;setTimeout(function(){e.refresh()},this.refreshDelay)}}},$={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};var S=n("VU/8")(_,$,!1,function(e){n("QHfu")},"data-v-867f04a4",null).exports,P=n("NVJ5"),N=n("MPCr"),k=this;P.apikey="4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e",Object(N.a)(P,u.default),u.default.config.productionTip=!1,u.default.prototype.$sa=w.a,u.default.prototype.$sa.init({server_url:"http://47.107.250.38:8106/sa?project=production",show_log:!1,heatmap:{clickmap:"default",scroll_notice_map:"default"},is_track_single_page:!0}),u.default.prototype.$sa.quick("autoTrack"),u.default.use(m.a),u.default.use(o.a).use(a.a).use(r.a).use(i.a).use(c.a),u.default.component("scroll",S);var T=function(e,t){u.default.prototype.$post("api/client/report/errors/log",{routes_url:t.$route.name,result_text:e.toString()})};u.default.config.errorHandler=T,u.default.prototype.$throw=function(e){return T(e,k)},u.default.prototype.$common=d.a,p.a.beforeEach(function(e,t,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),new u.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,a=arguments[1],r=0;r<o;r++)if(t=n[r],e.call(a,t,r,n))return t})},QHfu:function(e,t){},YaEn:function(e,t,n){"use strict";var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),i=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");r.default.use(u.a);var h={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},d=window.navigator.userAgent.toLowerCase(),f=new u.a({routes:[{path:"/",name:"index",component:function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,"dAjm"))},meta:{deep:0}},{path:"/extensionV1Shop",name:"extensionV1Shop",component:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"fwSI"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/extensionV1",name:"extensionV1",component:function(){return n.e(25).then(n.bind(null,"it1F"))},meta:{deep:0,noNew:!0,title:"注册领取课程"}},{path:"/guideActivity",name:"guideActivity",component:function(){return n.e(24).then(n.bind(null,"kcFG"))},meta:{deep:0,noNew:!0}},{path:"/guide",name:"guide",component:function(){return Promise.all([n.e(0),n.e(30)]).then(n.bind(null,"J+FK"))},meta:{deep:0,noNew:!0}},{path:"/spcShop",name:"spcShop",component:function(){return Promise.all([n.e(0),n.e(42)]).then(n.bind(null,"JCOr"))},meta:{deep:0,noNew:!0}},{path:"/orderTrans",name:"orderTrans",component:function(){return n.e(28).then(n.bind(null,"qPDM"))},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(){return Promise.all([n.e(0),n.e(54)]).then(n.bind(null,"784L"))},meta:{deep:0,noNew:!0}},{path:"/addressModify",name:"addressModify",component:function(){return Promise.all([n.e(0),n.e(61)]).then(n.bind(null,"t32k"))},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(){return Promise.all([n.e(0),n.e(50)]).then(n.bind(null,"JxbE"))},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(){return n.e(32).then(n.bind(null,"9K06"))},meta:{deep:0,noNew:!0}},{path:"/address",name:"Address",component:function(){return Promise.all([n.e(0),n.e(47)]).then(n.bind(null,"kZy8"))},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(){return Promise.all([n.e(0),n.e(65)]).then(n.bind(null,"TEQG"))},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"De9k"))},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(){return Promise.all([n.e(0),n.e(46)]).then(n.bind(null,"YaSr"))},meta:{deep:0,noNew:!0}},{path:"/starRankV2",name:"starRankV2",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"4plS"))},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(){return Promise.all([n.e(0),n.e(44)]).then(n.bind(null,"v+uu"))},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(){return Promise.all([n.e(0),n.e(52)]).then(n.bind(null,"xi8t"))},meta:{deep:0,noNew:!0}},{path:"/starResultV2",name:"starResultV2",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"GSYK"))},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(){return n.e(59).then(n.bind(null,"2tJf"))},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(){return Promise.all([n.e(0),n.e(35)]).then(n.bind(null,"sj+b"))},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"UFvj"))},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(){return Promise.all([n.e(0),n.e(26)]).then(n.bind(null,"IKJm"))},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(){return n.e(51).then(n.bind(null,"RaOr"))},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"4t0V"))},meta:{deep:0}},{path:"/star",name:"star",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"riDf"))},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"54Ry"))},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(){return Promise.all([n.e(0),n.e(60)]).then(n.bind(null,"P3Wy"))},meta:{deep:1}},{path:"/mine",name:"mine",component:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,"HgUD"))},meta:{deep:1}},{path:"/order",name:"order",component:function(){return Promise.all([n.e(0),n.e(36)]).then(n.bind(null,"R7Pr"))},meta:{deep:2}},{path:"/share",name:"share",component:function(){return n.e(63).then(n.bind(null,"Eg0l"))},meta:{deep:2}},{path:"/author",name:"author",component:function(){return n.e(41).then(n.bind(null,"sA+T"))},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(){return Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"bNYG"))},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"Y1ei"))},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"IF8E"))},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(){return Promise.all([n.e(0),n.e(49)]).then(n.bind(null,"w9eS"))},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"3QU7"))},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(){return n.e(53).then(n.bind(null,"wSE2"))},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(){return n.e(48).then(n.bind(null,"/Vxk"))},meta:{deep:0}},{path:"/activity",name:"activity",component:function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"yYpN"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteFriends",name:"inviteFriends",component:function(){return n.e(9).then(n.bind(null,"Z6Nl"))},meta:{deep:0,noNew:!0}},{path:"/inviteRecordList",name:"inviteRecordList",component:function(){return n.e(56).then(n.bind(null,"iina"))},meta:{deep:0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(){return Promise.all([n.e(0),n.e(20)]).then(n.bind(null,"aRHX"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(){return n.e(33).then(n.bind(null,"eZU3"))},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"PTpu"))},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(){return n.e(39).then(n.bind(null,"nmbt"))},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(){return Promise.all([n.e(0),n.e(29)]).then(n.bind(null,"VPne"))},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(){return Promise.all([n.e(0),n.e(64)]).then(n.bind(null,"6IIy"))},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(){return n.e(43).then(n.bind(null,"SLI2"))},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(){return Promise.all([n.e(0),n.e(45)]).then(n.bind(null,"f0iw"))},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"NVDN"))},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(){return Promise.all([n.e(0),n.e(40)]).then(n.bind(null,"5QmN"))},meta:{noNew:!0}},{path:"/oldShareGoods",name:"oldShareGoods",component:function(e){return Promise.all([n.e(0),n.e(15)]).then(function(){var t=[n("HI3+")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/passShop",name:"passShop",component:function(e){return Promise.all([n.e(0),n.e(13)]).then(function(){var t=[n("xcXc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybIndex",name:"ybIndex",component:function(e){return Promise.all([n.e(0),n.e(5)]).then(function(){var t=[n("P8Lu")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybOrderRender",name:"ybOrderRender",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("5FXK")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybPaySuccess",name:"ybPaySuccess",component:function(e){return n.e(31).then(function(){var t=[n("sFet")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/ybNav",name:"ybNav",component:function(e){return n.e(58).then(function(){var t=[n("SnBc")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/navShare",name:"navShare",component:function(e){return n.e(62).then(function(){var t=[n("w9jd")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/logistics",name:"logistics",component:function(e){return n.e(34).then(function(){var t=[n("H/gB")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/evaluate",name:"evaluate",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("dlRe")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/growthRecord",name:"growthRecord",component:function(e){return Promise.all([n.e(0),n.e(27)]).then(function(){var t=[n("3c/M")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0,title:"成长记录"}},{path:"/promptTime",name:"promptTime",component:function(e){return n.e(21).then(function(){var t=[n("eVaN")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/punchTheClock",name:"punchTheClock",component:function(e){return Promise.all([n.e(0),n.e(57)]).then(function(){var t=[n("L6DW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"Zazt"))}}]});f.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==d.match(/MicroMessenger/i)||"_sq_"==d.match(/_SQ_/i)?"noWechat"==e.name&&(e.query.url?n(decodeURIComponent(e.query.url)):n({name:"index"})):"noWechat"!==e.name&&n({name:"noWechat",query:{url:encodeURIComponent(e.fullPath)}}),i.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",e.meta.title&&(document.title=e.meta.title);var o=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if(window.location.href.indexOf("gdt_vid")>-1&&(localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),localStorage.setItem("cct_user_id",c.a.getUrlParam().cct_user_id),localStorage.setItem("redeem_code",c.a.getUrlParam().cct_user_id)),"spcShop"===e.name||"mpShop"===e.name||"extensionV1Shop"===e.name||"extensionV1"===e.name||"author"===e.name||"bindMobile"===e.name||"noWechat"===e.name||"inspectorActivit"===e.name||"buyDetail"===e.name||"passShop"===e.name||"ybIndex"===e.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===e.name){var u=c.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",u),Object(p.V)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(e){localStorage.getItem("userDesc")&&o()})}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),o()):Object(p.V)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});else{var l={retUrl:e.fullPath};localStorage.setItem("retUrl",e.fullPath),e.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),t.a=f},"d8/S":function(e,t){},eh36:function(e,t){},hW8u:function(e,t){},nsZj:function(e,t){},"sf/l":function(e,t,n){"use strict";var o=n("pFYg"),a=n.n(o);t.a={dateFmt:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},getUrlParam:function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},toDataURL:function(e,t){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",e,!0),n.send()},getParamhref:function(){var e=location.href,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(e.indexOf("?")+1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},leftTimer:function(e,t){if(e>new Date)var n=e-new Date;else{t&&clearInterval(t);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),r=parseInt(n/1e3/60%60,10),i=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),r=this.checkTime(r),i=this.checkTime(i),o>0?o+"天":a>=0||r>=0||i>=0?a+":"+r+":"+i:void 0},checkTime:function(e){return e<10&&(e="0"+e),e},letslazyload:function(e){var t=new RegExp(/(\<img )([^>]*)(src=")([^"]*")([^>]*)(\>)/,"g");return e=e.replace(t,function(e,t,n,o,a,r,i){return t+n+'data-src="'+a+r+i})},deepCopy:function(e){if("object"===(void 0===e?"undefined":a()(e))){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===a()(e[n])?this.deepCopy(e[n]):e[n]);return t}}}},zP5g:function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
\ No newline at end of file
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(62).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(61).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(63)]).then(function(){var t=[n("L6DW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"Zazt"))}}]});f.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==d.match(/MicroMessenger/i)||"_sq_"==d.match(/_SQ_/i)?"noWechat"==e.name&&(e.query.url?n(decodeURIComponent(e.query.url)):n({name:"index"})):"noWechat"!==e.name&&n({name:"noWechat",query:{url:encodeURIComponent(e.fullPath)}}),i.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",e.meta.title&&(document.title=e.meta.title);var o=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if(window.location.href.indexOf("gdt_vid")>-1&&(localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),localStorage.setItem("cct_user_id",c.a.getUrlParam().cct_user_id),localStorage.setItem("redeem_code",c.a.getUrlParam().cct_user_id)),"spcShop"===e.name||"mpShop"===e.name||"extensionV1Shop"===e.name||"extensionV1"===e.name||"author"===e.name||"bindMobile"===e.name||"noWechat"===e.name||"inspectorActivit"===e.name||"buyDetail"===e.name||"passShop"===e.name||"ybIndex"===e.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===e.name){var u=c.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",u),Object(p.V)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(e){localStorage.getItem("userDesc")&&o()})}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),o()):Object(p.V)().then(function(e){localStorage.setItem("userDesc",a()(e)),s.a.login(e.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});else{var l={retUrl:e.fullPath};localStorage.setItem("retUrl",e.fullPath),e.meta.noNew?(l.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"):window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1"}}),t.a=f},"d8/S":function(e,t){},eh36:function(e,t){},hW8u:function(e,t){},nsZj:function(e,t){},"sf/l":function(e,t,n){"use strict";var o=n("pFYg"),a=n.n(o);t.a={dateFmt:function(e,t){var n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t},getUrlParam:function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},toDataURL:function(e,t){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",e,!0),n.send()},getParamhref:function(){var e=location.href,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(e.indexOf("?")+1).split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1]);return t},leftTimer:function(e,t){if(e>new Date)var n=e-new Date;else{t&&clearInterval(t);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),r=parseInt(n/1e3/60%60,10),i=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),r=this.checkTime(r),i=this.checkTime(i),o>0?o+"天":a>=0||r>=0||i>=0?a+":"+r+":"+i:void 0},checkTime:function(e){return e<10&&(e="0"+e),e},letslazyload:function(e){var t=new RegExp(/(\<img )([^>]*)(src=")([^"]*")([^>]*)(\>)/,"g");return e=e.replace(t,function(e,t,n,o,a,r,i){return t+n+'data-src="'+a+r+i})},deepCopy:function(e){if("object"===(void 0===e?"undefined":a()(e))){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===a()(e[n])?this.deepCopy(e[n]):e[n]);return t}}}},zP5g:function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var t,r,o,i=0,u=[];i<c.length;i++)r=c[i],f[r]&&u.push(f[r][0]),f[r]=0;for(t in d)Object.prototype.hasOwnProperty.call(d,t)&&(e[t]=d[t]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={68:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,n.crossOrigin="anonymous",b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"4c32bc423a8cfe2d0ff5",1:"e629b0a42ac24031b057",2:"4913a3c7cf59644223f4",3:"16311961e0c59cc998b3",4:"be216735a0b64ab3ce47",5:"393578607b3aebf89ef0",6:"08e83eb0dfcf2343cc4e",7:"80c5e00893b61183ab34",8:"f14a4f1010dca6e5193e",9:"059c7e45f34d8295df7b",10:"829dd34a338a8876260e",11:"d54a8e3a568fd71e91e0",12:"b359078bc3d4851fb6cf",13:"5f261ff92bd308d35b0a",14:"9c5198bb984a34250e40",15:"680770edee21a6988b29",16:"4e2fde87d00b5159c374",17:"a0f73eb864a9fa4e118f",18:"61a1e5b0497e3ee138e4",19:"439b5b5fbf7e4c848a89",20:"273b093d762342dc13e3",21:"835b8f0010b7d50fae37",22:"de7bba15b55985b31e42",23:"b472f163f760b1c77d7a",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"0bcc8b19f145e79a3ed6",27:"7b328662e6fd4798982b",28:"00652dc08d949721ca64",29:"32e4a5b2a25f88c34451",30:"258cb6c3dd89fd6f6649",31:"77fdc3c527048308b86e",32:"2dff8b9a8317b3ee46df",33:"bea9c27ee77e0d04f95a",34:"30d52b0f77eb30590ac5",35:"a516f2b5d645a4908ce9",36:"5ab5240df93fe15c447e",37:"c801122af386260a690a",38:"c3d87252090be84edabd",39:"886c3383b261524be947",40:"15174c220598ff8dc8d8",41:"3b59527515857f0c374e",42:"e3a5350ac83edeede646",43:"67a88603a7889f50a700",44:"e425309e5d811dee70e5",45:"cddcf5c6789bdadc900b",46:"17ad6a93f9bde83665f9",47:"16567b7ee6b462bae443",48:"59ace6c90fdc04aadaf0",49:"9b89ae75df502b1ea6f0",50:"9ba5d108d438a4ec16d6",51:"197b68e6bc331faa87ce",52:"0656187e0a24fb0d10ce",53:"e722b9b1c8823635085c",54:"027bcbce5d0ff03697fb",55:"eee5e26f247074851331",56:"c1875a7d41d621d3035e",57:"fdabb2766c2142ac36d7",58:"165019f0940d6ed8aa93",59:"665895db75694a6b3b95",60:"7bcb86f14a169b3ea7c3",61:"2215e90e6a93dc29d9f6",62:"aa7ec3be34fb9f9846b4",63:"380a8bf6726ee063ccaa",64:"17c522e0623f5ccbbcd6",65:"4dbf6e5a2b902078ea89"}[e]+".js";var t=setTimeout(r,12e4);function r(){n.onerror=n.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=r,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="https://static-cdn.changchangenglish.com/new-sing/",b.oe=function(e){throw e}}([]);
\ No newline at end of file
!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:"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:"439b5b5fbf7e4c848a89",20:"273b093d762342dc13e3",21:"835b8f0010b7d50fae37",22:"de7bba15b55985b31e42",23:"b472f163f760b1c77d7a",24:"549eeb0a889318a34e89",25:"7c99189125c19acc26f4",26:"0bcc8b19f145e79a3ed6",27:"7b328662e6fd4798982b",28:"00652dc08d949721ca64",29:"32e4a5b2a25f88c34451",30:"258cb6c3dd89fd6f6649",31:"77fdc3c527048308b86e",32:"2dff8b9a8317b3ee46df",33:"bea9c27ee77e0d04f95a",34:"30d52b0f77eb30590ac5",35:"a516f2b5d645a4908ce9",36:"5ab5240df93fe15c447e",37:"c801122af386260a690a",38:"c3d87252090be84edabd",39:"886c3383b261524be947",40:"15174c220598ff8dc8d8",41:"3b59527515857f0c374e",42:"e3a5350ac83edeede646",43:"67a88603a7889f50a700",44:"e425309e5d811dee70e5",45:"cddcf5c6789bdadc900b",46:"17ad6a93f9bde83665f9",47:"16567b7ee6b462bae443",48:"59ace6c90fdc04aadaf0",49:"9b89ae75df502b1ea6f0",50:"9ba5d108d438a4ec16d6",51:"197b68e6bc331faa87ce",52:"0656187e0a24fb0d10ce",53:"e722b9b1c8823635085c",54:"027bcbce5d0ff03697fb",55:"eee5e26f247074851331",56:"c1875a7d41d621d3035e",57:"c9895d4f61a09c5a2000",58:"d1e010a5dcc9365a522d",59:"33b8a0527b9c7f40085c",60:"ef0490fcf51d3911e2eb",61:"ed23207466cb4a161618",62:"f8ed8742b78575b29897",63:"5ee77f872bb5377a2eab",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
......@@ -347,7 +347,7 @@
localStorage.setItem('promp', 1)
this.promp = true
}
this.judgeActivity(this.secActions.id) // 判断活动
// this.judgeActivity(this.secActions.id) // 判断活动
},
methods:{
/**
......@@ -797,6 +797,7 @@
el.className="activit"
}
})
this.judgeActivity(this.secActions.id) // 判断活动
// 加载课程
// console.log(this.secActions)
this.shopType = this.secActions.course_type
......
......@@ -1048,7 +1048,7 @@
.rule-content {
margin-top: 16 * @toVw;
height: 295 * @toVw;
line-height: 25 * @toVw;
line-height: 7.666667vw;
overflow: auto;
-webkit-overflow-scrolling: touch;
.rule-content-list {
......
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