Commit 68da65ba authored by IvyXia123's avatar IvyXia123

推送时间20190918

parent 00d30295
<!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>*{ <!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; -webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.637f06a2c262fb3e90896e761272773b.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.ba3964d63a7a29dd3f19.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.2a119e1fa4193f8d323b.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.38c92476925f83e60519.js></script></body></html> }</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.2b24ea53792d2ccf6fdb12d9a7089f76.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.a1aeeb4bc2cce6c56832.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.2a119e1fa4193f8d323b.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.6936b18ef91c6468f0bd.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([10],{"+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"),d=e("qYlo"),p=Object(a.h)("actionsheet"),h=p[0],_=p[1];function m(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(d.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])])}m.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(m)},"+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"),d=e.n(u),p=e("064q"),h=e.n(p),_=e("e2Pt"),m=e.n(_),g=e("1Uto"),v=e.n(g),y=(e("v2ns"),e("7QTg")),f=e("2oJL"),C=e("3xxH"),A=e.n(C),L=e("+wl/"),w=e.n(L),b=e("wQkO"),I=e.n(b),k={name:"mapDefault",components:r()({swiper:y.swiper,swiperSlide:y.swiperSlide,bottomTab:f.a},c.a.name,c.a),data:function(){var t=this;return{actions:[],secActions:{},adVisible:!1,actionsheetShow:!1,star_act:d.a,star_def:h.a,shopType:this.$route.query.course_type,diaBGI:m.a,mok4:v.a,goodsID:"",themeName:"",course_id:"",push_time:"",course_name:"",nextUnitUrl:w.a,parent_category_id:this.$route.query.parent_category_id,unitList:[],more:!1,errorURL:A.a,popupVisible:!1,lessonList:[],lesson:"",classID:"",noLesson:!1,hpLessonList:[],thisLesson:null,btn_kechegn:I.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}},methods:{initPage:function(){var t=this;sessionStorage.setItem("frist",!0),o.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(l.n)(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.n)().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.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.v)(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.o)(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.w)(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())}}},D={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[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(" "),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 S=e("VU/8")(k,D,!1,function(t){e("rI2F")},"data-v-3329544c",null);s.default=S.exports},"7YDQ":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="},e2Pt:function(t,s,e){t.exports=e.p+"static/img/diaBG.5949dd1.png"},rI2F:function(t,s){},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([10],{"1fWZ":function(e,t,i){"use strict";var s=i("RfZZ"),r=i("AA6R"),n=i.n(r),a=i("o69Z"),o=i("noWC"),c=i("rhik"),l=i("n8HW"),d=i("+2ln"),u=Object(a.h)("cell"),h=u[0],m=u[1];function v(e,t,i,s){var r=t.icon,o=t.size,u=t.title,h=t.label,v=t.value,f=t.isLink,p=t.arrowDirection,g=i.title||Object(a.c)(u),_=i.default||Object(a.c)(v),b=(i.label||Object(a.c)(h))&&e("div",{class:[m("label"),t.labelClass]},[i.label?i.label():h]),y=g&&e("div",{class:[m("title"),t.titleClass]},[i.title?i.title():e("span",[u]),b]),C=_&&e("div",{class:[m("value",{alone:!i.title&&!u}),t.valueClass]},[i.default?i.default():e("span",[v])]),k=i.icon?i.icon():r&&e(d.a,{class:m("left-icon"),attrs:{name:r}}),$=i["right-icon"],O=$?$():f&&e(d.a,{class:m("right-icon"),attrs:{name:p?"arrow-"+p:"arrow"}}),A={center:t.center,required:t.required,borderless:!t.border,clickable:f||t.clickable};return o&&(A[o]=o),e("div",n()([{class:m(A),on:{click:function(e){Object(c.a)(s,"click",e),Object(l.a)(s)}}},Object(c.b)(s)]),[k,y,C,O,i.extra&&i.extra()])}v.props=Object(s.a)({},o.a,l.b,{clickable:Boolean,arrowDirection:String}),t.a=h(v)},"4aw7":function(e,t,i){"use strict";var s=i("bOdI"),r=i.n(s),n=(i("q/am"),i("4VPn")),a=i.n(n),o=(i("CCn6"),i("4dzY")),c=i.n(o),l={name:"orderCancelDialog",components:r()({},a.a.name,a.a),props:["orderCancel"],data:function(){return{popup_img:c.a}},mounted:function(){},methods:{payOrder:function(){this.$emit("payEven")},dis:function(){this.$emit("cancel")}},watch:{orderCancel:function(){}}},d={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("mt-popup",{staticClass:"orderCancel",attrs:{overlay:!0},model:{value:e.orderCancel,callback:function(t){e.orderCancel=t},expression:"orderCancel"}},[i("div",{staticClass:"box"},[i("img",{staticClass:"img",attrs:{src:e.popup_img,alt:""}}),e._v(" "),i("div",{staticClass:"content"},[i("h2",[e._v("参与未成功")]),e._v(" "),i("p",[e._v("真的要放弃孩子启蒙英语的黄金机会吗?")]),e._v(" "),i("p",{staticClass:"warn"},[e._v("每天10分钟,英语启蒙很轻松!")]),e._v(" "),i("div",{staticClass:"btnbox"},[i("div",{staticClass:"btn fal",on:{click:e.dis}},[e._v("含泪放弃")]),e._v(" "),i("div",{staticClass:"btn suc",on:{click:function(t){e.payOrder()}}},[e._v("报名课程")])])])])])},staticRenderFns:[]};var u=i("VU/8")(l,d,!1,function(e){i("wij0")},"data-v-f7863a06",null);t.a=u.exports},"4dzY":function(e,t,i){e.exports=i.p+"static/img/popup_img@2x.afca647.png"},"5FXK":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i("pFYg");var s,r=i("mvHQ"),n=i.n(r),a=(i("eqfM"),i("/QYm")),o=i("bOdI"),c=i.n(o),l=(i("nsZj"),i("px3J"),i("AA6R")),d=i.n(l),u=i("RfZZ"),h=i("o69Z"),m=i("+2ln"),v=i("1fWZ"),f=i("noWC"),p=Object(h.h)("field"),g=p[0],_=p[1],b=g({inheritAttrs:!1,props:Object(u.a)({},f.a,{error:Boolean,leftIcon:String,rightIcon:String,readonly:Boolean,clearable:Boolean,labelAlign:String,inputAlign:String,onIconClick:Function,autosize:[Boolean,Object],errorMessage:String,errorMessageAlign:String,type:{type:String,default:"text"}}),data:function(){return{focused:!1}},watch:{value:function(){this.$nextTick(this.adjustSize)}},mounted:function(){this.format(),this.$nextTick(this.adjustSize)},computed:{showClear:function(){return this.clearable&&this.focused&&""!==this.value&&Object(h.c)(this.value)&&!this.readonly},listeners:function(){return Object(u.a)({},this.$listeners,{input:this.onInput,keypress:this.onKeypress,focus:this.onFocus,blur:this.onBlur})}},methods:{focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},format:function(e){void 0===e&&(e=this.$refs.input);var t=e.value,i=this.$attrs.maxlength;return"number"===this.type&&Object(h.c)(i)&&t.length>i&&(t=t.slice(0,i),e.value=t),t},onInput:function(e){this.$emit("input",this.format(e.target))},onFocus:function(e){this.focused=!0,this.$emit("focus",e),this.readonly&&this.blur()},onBlur:function(e){this.focused=!1,this.$emit("blur",e)},onClickLeftIcon:function(){this.$emit("click-left-icon")},onClickRightIcon:function(){this.$emit("click-icon"),this.$emit("click-right-icon"),this.onIconClick&&this.onIconClick()},onClear:function(e){e.preventDefault(),this.$emit("input",""),this.$emit("clear")},onKeypress:function(e){if("number"===this.type){var t=e.keyCode,i=-1===String(this.value).indexOf(".");t>=48&&t<=57||46===t&&i||45===t||e.preventDefault()}"search"===this.type&&13===e.keyCode&&this.blur(),this.$emit("keypress",e)},adjustSize:function(){var e=this.$refs.input;if("textarea"===this.type&&this.autosize&&e){e.style.height="auto";var t=e.scrollHeight;if(Object(h.d)(this.autosize)){var i=this.autosize,s=i.maxHeight,r=i.minHeight;s&&(t=Math.min(t,s)),r&&(t=Math.max(t,r))}t&&(e.style.height=t+"px")}},renderInput:function(){var e=this.$createElement,t={ref:"input",class:_("control",this.inputAlign),domProps:{value:this.value},attrs:Object(u.a)({},this.$attrs,{readonly:this.readonly}),on:this.listeners};return"textarea"===this.type?e("textarea",d()([{},t])):e("input",d()([{attrs:{type:this.type}},t]))},renderLeftIcon:function(){var e=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return e("div",{class:_("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||e(m.a,{attrs:{name:this.leftIcon}})])},renderRightIcon:function(){var e=this.$createElement,t=this.slots;if(t("right-icon")||t("icon")||this.rightIcon||this.icon)return e("div",{class:_("right-icon"),on:{click:this.onClickRightIcon}},[t("right-icon")||t("icon")||e(m.a,{attrs:{name:this.rightIcon||this.icon}})])}},render:function(e){var t,i=this.slots,s=this.labelAlign,r={icon:this.renderLeftIcon};return i("label")&&(r.title=function(){return i("label")}),e(v.a,{attrs:{icon:this.leftIcon,size:this.size,title:this.label,center:this.center,border:this.border,isLink:this.isLink,required:this.required,titleClass:_("label",s)},class:_((t={error:this.error,disabled:this.$attrs.disabled},t["label-"+s]=s,t["min-height"]="textarea"===this.type&&!this.autosize,t)),scopedSlots:r},[e("div",{class:_("body")},[this.renderInput(),this.showClear&&e(m.a,{attrs:{name:"clear"},class:_("clear"),on:{touchstart:this.onClear}}),this.renderRightIcon(),i("button")&&e("div",{class:_("button")},[i("button")])]),this.errorMessage&&e("div",{class:_("error-message",this.errorMessageAlign)},[this.errorMessage])])}}),y=(i("OWWB"),i("CCn6")),C=i("4aw7"),k=i("xpkA"),$=i.n(k),O=i("qUD4"),A=i("NuXJ"),P={name:"ybOrderRender",data:function(){return{addressInfo:{},open:!1,link:!0,orderParams:{name:"",mobile:"",verify_code:"",address:""},showAddressPicker:!1,addressArea:"",time:0,invite_code:"",this_code:"",groupDetail:{},orderCancel:!1,imgprize:$.a,deliverDetail:{},query:{},jsApiParameters:"",orderFlag:!1}},components:(s={},c()(s,v.a.name,v.a),c()(s,b.name,b),c()(s,"MyAddress",O.a),c()(s,"orderCancelDialog",C.a),s),mounted:function(){this.initPage()},methods:{test:function(){this.showAddressPicker=tr},buttonClick:function(e,t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"详情页",buttonType:e,buttonName:t})},getAddressCode:function(){this.addressData.province_name;for(var e=this.addressData.city_name,t=(this.addressData.area_name,void 0),i=void 0,s=void 0,r=0,n=A.a.length;r<n;r++){var a=A.a[r];if(e==a.label){t=a.value;for(var o=a.children,c=0,l=o.length;c<l;c++){var d=o[c];if(e==d.label){i=d.value;for(var u=d.children,h=0,m=u.length;h<m;h++)if(u[h].label){s=u[h].value;break}}}}}this.addressAreaCode=t+"-"+i+"-"+s},payOrder:function(){var e=this,t={};if(!this.orderParams.name)return Object(a.a)("收货人不能为空"),!1;if(!this.orderParams.mobile)return Object(a.a)("手机号不能为空"),!1;if(!/^1\d{10,12}$/.test(this.orderParams.mobile))return Object(a.a)("手机号格式不正确"),!1;if(!this.addressArea)return Object(a.a)("所在地区不能为空"),!1;if(!this.orderParams.verify_code)return Object(a.a)("验证码不能为空"),!1;if(!this.orderParams.address)return Object(a.a)("详细地址不能为空"),!1;var i=this.addressAreaCode.split("-"),s=this.addressArea.split("-");t.receive_name=this.orderParams.name,t.receive_mobile=this.orderParams.mobile,t.address=this.orderParams.address,t.province_id=i[0],t.province_name=s[0],t.city_id=i[1],t.city=s[1],t.area_id=i[2],t.area=s[2],t.verify_code=this.orderParams.verify_code,Object(y._6)(t).then(function(t){e.pay()})},pay:function(){var e=this;this.orderCancel=!1;var t={goods_id:50};2!==this.groupDetail.goods_type||this.type||(t.buy_type=2),this.invite_code&&(t.invite_code=this.invite_code),this.saleObj&&(t.order_coupon_id=this.saleObj.id);this.$route.query.invite_code;window.location.href.indexOf("gdt_vid")>-1&&(t.gdt_vid=this.$route.query.gdt_vid),window.location.href.indexOf("cct_user_id")>-1&&(t.cct_user_id=this.$route.query.cct_user_id),window.location.href.indexOf("redeem_code")>-1&&(t.redeem_code=this.$route.query.redeem_code),window.location.href.indexOf("cct_user_id")>-1&&(t.cct_user_id=this.$route.query.cct_user_id),this.orderFlag=!1,Object(y._2)(t).then(function(i){if(i.out_trade_no&&!i.appId)e.$router.push({name:"ybPaySuccess",query:that.$route.query});else{var s=e;e.orderNo=i.out_trade_no,e.jsApiParameters=i,wx.miniProgram.getEnv(function(e){if(e.miniprogram){var i=encodeURIComponent(n()(t));wx.miniProgram.navigateTo({url:"pages/wxPay/main?payParam="+i})}else"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",s.jsApiCall,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",s.jsApiCall),document.attachEvent("onWeixinJSBridgeReady",s.jsApiCall)):s.jsApiCall()})}}).catch(function(t){e.orderFlag=!0})},jsApiCall:function(){var e=this;WeixinJSBridge.invoke("getBrandWCPayRequest",this.jsApiParameters,function(t){e.orderFlag=!0,"get_brand_wcpay_request:ok"===t.err_msg&&(Object(a.a)("支付成功"),setTimeout(function(){e.$router.push({name:"ybPaySuccess",query:e.$route.query})},1e3)),t.err_msg,"get_brand_wcpay_request:cancel"===t.err_msg&&(e.orderCancel=!0)})},timeO:function(){var e=this;this.time>0&&(this.time--,setTimeout(function(){e.timeO()},1e3))},sendCode:function(){var e=this,t={};if(!this.orderParams.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.a)("请正确填写手机号"),!1;t.mobile=this.orderParams.mobile,this.time=30,this.timeO(),this.$sa.track("clickSendcode",{}),Object(y._12)(t).then(function(t){"操作成功"===t?Object(a.a)("验证码已发送"):(e.time=0,Object(a.a)(t))}).catch(function(e){})},hidePicker:function(){this.showAddressPicker=!1},saveAddress:function(e,t){this.addressArea=e,this.addressAreaCode=t,this.showAddressPicker=!this.showAddressPicker},initPage:function(){var e=this;this.invite_code=this.$route.query.invite_code,Object(y.W)({redeem_code:this.$route.query.redeem_code}).then(function(t){1==t.res?e.$router.push({name:"ybOrderRender",query:e.$route.query}):2==t.res||4==t.res?e.$router.push({name:"ybPaySuccess",query:e.$route.query}):window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+e.$route.query.parentId+"&agentId="+e.$route.query.agentId}),Object(y.N)().then(function(t){var i=t;e.addressData=i,e.orderParams.name=i.receive_name,e.orderParams.mobile=i.receive_mobile,e.orderParams.address=i.address,e.deliverId=i.id,e.addressArea=i.province_name+"-"+i.city+"-"+i.area,e.getAddressCode()});var t=this.invite_code;Object(y.q)(50).then(function(i){e.groupDetail=i,e.$sa.track("ViewDetailPageAIA",{goodsID:e.groupDetail.id.toString(),courseCate:1===e.groupDetail.course_type?"体验课":"正式课",lessonNumber:e.groupDetail.watch_num,goodsName:e.groupDetail.name,coursePrice:Number(e.groupDetail.original_price/100),discountPrice:Number(e.groupDetail.current_price/100),courseID:e.groupDetail.course_id,courseName:"",salesType:t?t.split("-")[1]:"null",salesID:t?Number(t.split("-")[2]):0})}),this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,this.onShare()},handleInviteCode:function(){if(this.invite_code){var e=this.invite_code.split("-"),t=e[0]+"-"+e[1];this.this_code=t+"-"+this.user_id}else this.this_code="CC-AIA-"+this.user_id},onShare:function(e){this.handleInviteCode();var t="https://wechat.changchangenglish.com/#/ybNav?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId;this.enableShare({product_title:"【免费领】价值498元亲子早教英语启蒙训练课",desc:"友邦助您启蒙宝贝快乐家庭",shareIcon:"https://cdn.singsingenglish.com/new-sing/6c51175a99f73ee3a410ea9fbf66123f9f49f0f6.png",shareUrl:t})},enableShare:function(e){Object(y.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:"【庆百年 友惊喜】暑期亲子礼︱价值498元唱唱启蒙英语线上课程免费领",desc:"【庆百年 友惊喜】暑期亲子礼︱价值498元唱唱启蒙英语线上课程免费领",link:e.shareUrl,imgUrl:e.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:"【庆百年 友惊喜】暑期亲子礼",desc:"价值498元唱唱启蒙英语线上课程免费领",link:e.shareUrl,imgUrl:e.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})}}},x={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"ybOrderRender"},[i("div",{staticClass:"container"},[i("p",{staticClass:"title"},[e._v("*课程教材收货地址")]),e._v(" "),i("div",{staticClass:"content"},[e.open?e._e():i("van-cell",{ref:"order",attrs:{title:"收货地址",value:"点击填写","is-link":""},on:{click:function(t){e.open=!0,e.buttonClick("按钮点击","友邦点击填写")}}}),e._v(" "),e.open?i("div",[i("van-field",{attrs:{type:"text",label:"收货人",placeholder:"请输入收货人"},model:{value:e.orderParams.name,callback:function(t){e.$set(e.orderParams,"name",t)},expression:"orderParams.name"}}),e._v(" "),i("van-field",{attrs:{type:"tel",label:"手机号",placeholder:"请输入手机号"},model:{value:e.orderParams.mobile,callback:function(t){e.$set(e.orderParams,"mobile",t)},expression:"orderParams.mobile"}}),e._v(" "),i("van-field",{attrs:{maxlength:"4",type:"number",label:"验证码",placeholder:"请输入短信验证码"},model:{value:e.orderParams.verify_code,callback:function(t){e.$set(e.orderParams,"verify_code",t)},expression:"orderParams.verify_code"}},[0==e.time?i("van-button",{attrs:{slot:"button",plain:"",round:"",size:"small",type:"primary"},on:{click:function(t){e.sendCode(),e.buttonClick("按钮点击","友邦发送验证码")}},slot:"button"},[e._v("发送验证码")]):e._e(),e._v(" "),e.time>0?i("van-button",{attrs:{slot:"button",plain:"",round:"",size:"small",disabled:"",type:"primary"},slot:"button"},[e._v(e._s(e.time)+"s后重新发送")]):e._e()],1),e._v(" "),i("div",{staticStyle:{position:"relative"}},[i("van-field",{attrs:{type:"text",label:"所在地区","is-link":e.link,placeholder:"请选择"},model:{value:e.addressArea,callback:function(t){e.addressArea=t},expression:"addressArea"}}),e._v(" "),i("div",{staticClass:"clickItem",on:{click:function(t){e.showAddressPicker=!0}}})],1),e._v(" "),i("van-field",{attrs:{type:"text",label:"详细地址",placeholder:"请输入详细地址"},model:{value:e.orderParams.address,callback:function(t){e.$set(e.orderParams,"address",t)},expression:"orderParams.address"}})],1):e._e()],1)]),e._v(" "),i("div",{staticClass:"container"},[i("p",{staticClass:"title"},[e._v("订单信息")]),e._v(" "),i("div",{staticClass:"content"},[e._m(0),e._v(" "),i("div",{staticClass:"line"}),e._v(" "),i("div",{staticClass:"main"},[e._m(1),e._v(" "),e._m(2),e._v(" "),i("div",{staticClass:"info"},[i("p",{staticStyle:{"margin-top":"6px"}},[e._v("课程教材(共31件)")]),e._v(" "),i("img",{staticClass:"imgprize",attrs:{src:e.imgprize,alt:""}})])])])]),e._v(" "),i("div",{staticClass:"bottom"},[e._m(3),e._v(" "),i("div",{staticClass:"right"},[i("van-button",{staticClass:"pay-btn",attrs:{slot:"button",round:"",size:"normal",type:""},on:{click:function(t){e.payOrder(),e.buttonClick("按钮点击","友邦去支付")}},slot:"button"},[e._v("去支付")])],1)]),e._v(" "),i("my-address",{attrs:{showAddressPicker:e.showAddressPicker,init:e.addressArea},on:{"save-address":e.saveAddress,"hide-picker":e.hidePicker}}),e._v(" "),e.orderCancel?i("order-cancel-dialog",{attrs:{orderCancel:e.orderCancel},on:{cancel:function(t){e.orderCancel=!1},payEven:e.pay}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"top"},[t("div",{staticClass:"left"},[t("div",[this._v("唱唱启蒙英语精品课(适合1-5岁)")]),this._v(" "),t("p",[this._v("课时10天")])]),this._v(" "),t("div",{staticClass:"right"},[this._v("\n ¥0\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip"},[t("span",[this._v("[优惠]")]),this._v("限时福利,0元专享10节课\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip"},[t("span",[this._v("[赠品]")]),this._v("配套教材礼包\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"left"},[t("div",[this._v("邮费:"),t("span",[this._v("¥5.0")])])])}]};var j=i("VU/8")(P,x,!1,function(e){i("Otln"),i("F1Ah")},"data-v-3a841440",null);t.default=j.exports},F1Ah:function(e,t){},OWWB:function(e,t,i){"use strict";var s=i("nsZj");i.n(s)},Otln:function(e,t){},noWC:function(e,t,i){"use strict";i.d(t,"a",function(){return s});var s={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,titleClass:null,valueClass:null,labelClass:null,title:[String,Number],value:[String,Number],label:[String,Number],border:{type:Boolean,default:!0}}},px3J:function(e,t){},wij0:function(e,t){},xpkA:function(e,t,i){e.exports=i.p+"static/img/imghh@2x.d05217f.png"}});
\ No newline at end of file
webpackJsonp([21],{"/OXn":function(t,e){},"5Hoj":function(t,e){},balU:function(t,e,n){"use strict";var i=n("RfZZ"),s=n("o69Z"),r=n("sM86"),o=n("54/E");function a(t){return Array.isArray(t)?t.map(function(t){return a(t)}):"object"==typeof t?Object(o.a)({},t):t}var u={title:String,loading:Boolean,showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,visibleItemCount:{type:Number,default:5},itemHeight:{type:Number,default:44}},c=n("pIDD"),l=Object(s.h)("picker-column"),h=l[0],m=l[1],f=h({props:{valueKey:String,className:String,itemHeight:Number,defaultIndex:Number,initialOptions:Array,visibleItemCount:Number},data:function(){return{startY:0,offset:0,duration:0,startOffset:0,options:a(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{defaultIndex:function(){this.setIndex(this.defaultIndex)}},computed:{count:function(){return this.options.length}},methods:{onTouchStart:function(t){this.startY=t.touches[0].clientY,this.startOffset=this.offset,this.duration=0},onTouchMove:function(t){t.preventDefault();var e=t.touches[0].clientY-this.startY;this.offset=Object(s.g)(this.startOffset+e,-this.count*this.itemHeight,this.itemHeight)},onTouchEnd:function(){if(this.offset!==this.startOffset){this.duration=200;var t=Object(s.g)(Math.round(-this.offset/this.itemHeight),0,this.count-1);this.setIndex(t,!0)}},adjustIndex:function(t){for(var e=t=Object(s.g)(t,0,this.count);e<this.count;e++)if(!this.isDisabled(this.options[e]))return e;for(var n=t-1;n>=0;n--)if(!this.isDisabled(this.options[n]))return n},isDisabled:function(t){return Object(s.d)(t)&&t.disabled},getOptionText:function(t){return Object(s.d)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){t=this.adjustIndex(t)||0,this.offset=-t*this.itemHeight,t!==this.currentIndex&&(this.currentIndex=t,e&&this.$emit("change",t))},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]}},render:function(t){var e=this,n=this.itemHeight,i=this.visibleItemCount,s={height:n*i+"px"},r=n*(i-1)/2,o={transition:this.duration+"ms",transform:"translate3d(0, "+(this.offset+r)+"px, 0)",lineHeight:n+"px"},a={height:n+"px"};return t("div",{style:s,class:[m(),this.className],on:{touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[t("ul",{style:o},[this.options.map(function(n,i){return t("li",{style:a,class:["van-ellipsis",m("item",{disabled:e.isDisabled(n),selected:i===e.currentIndex})],domProps:{innerHTML:e.getOptionText(n)},on:{click:function(){e.setIndex(i,!0)}}})})])])}}),d=Object(s.h)("picker"),p=d[0],g=d[1],v=d[2],x=p({props:Object(i.a)({},u,{columns:Array,defaultIndex:{type:Number,default:0},valueKey:{type:String,default:"text"}}),data:function(){return{children:[]}},computed:{simple:function(){return this.columns.length&&!this.columns[0].values}},watch:{columns:function(){this.setColumns()}},methods:{setColumns:function(){var t=this;(this.simple?[{values:this.columns}]:this.columns).forEach(function(e,n){t.setColumnValues(n,a(e.values))})},emit:function(t){this.simple?this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit(t,this.getValues(),this.getIndexes())},onChange:function(t){this.simple?this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit("change",this,this.getValues(),t)},getColumn:function(t){return this.children[t]},getColumnValue:function(t){var e=this.getColumn(t);return e&&e.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&n.setValue(e)},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&n.setIndex(e)},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){var n=this.children[t];n&&JSON.stringify(n.options)!==JSON.stringify(e)&&(n.options=e,n.setIndex(0))},getValues:function(){return this.children.map(function(t){return t.getValue()})},setValues:function(t){var e=this;t.forEach(function(t,n){e.setColumnValue(n,t)})},getIndexes:function(){return this.children.map(function(t){return t.currentIndex})},setIndexes:function(t){var e=this;t.forEach(function(t,n){e.setColumnIndex(n,t)})},onConfirm:function(){this.emit("confirm")},onCancel:function(){this.emit("cancel")}},render:function(t){var e=this,n=this.itemHeight,i=this.simple?[this.columns]:this.columns,s={height:n+"px"},o={height:n*this.visibleItemCount+"px"},a=this.showToolbar&&t("div",{class:["van-hairline--top-bottom",g("toolbar")]},[this.slots()||[t("div",{class:g("cancel"),on:{click:this.onCancel}},[this.cancelButtonText||v("cancel")]),this.slots("title")||this.title&&t("div",{class:["van-ellipsis",g("title")]},[this.title]),t("div",{class:g("confirm"),on:{click:this.onConfirm}},[this.confirmButtonText||v("confirm")])]]);return t("div",{class:g()},[a,this.loading&&t("div",{class:g("loading")},[t(c.a)]),t("div",{class:g("columns"),style:o,on:{touchmove:r.c}},[i.map(function(n,i){return t(f,{attrs:{valueKey:e.valueKey,className:n.className,itemHeight:e.itemHeight,defaultIndex:n.defaultIndex||e.defaultIndex,visibleItemCount:e.visibleItemCount,initialOptions:e.simple?n:n.values},on:{change:function(){e.onChange(i)}}})}),t("div",{class:["van-hairline--top-bottom",g("frame")],style:s})])])}});function y(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())}function b(t){return("00"+t).slice(-2)}function C(t){if(t){for(;isNaN(parseInt(t,10));)t=t.slice(1);return parseInt(t,10)}}function V(t,e){return 32-new Date(t,e-1,32).getDate()}var I=Object(s.h)("datetime-picker"),A=I[0],T=I[1],S=(new Date).getFullYear();e.a=A({props:Object(i.a)({},u,{value:null,minHour:Number,minMinute:Number,type:{type:String,default:"datetime"},showToolbar:{type:Boolean,default:!0},format:{type:String,default:"YYYY.MM.DD HH时 mm分"},formatter:{type:Function,default:function(t,e){return e}},minDate:{type:Date,default:function(){return new Date(S-10,0,1)},validator:y},maxDate:{type:Date,default:function(){return new Date(S+10,11,31)},validator:y},maxHour:{type:Number,default:23},maxMinute:{type:Number,default:59}}),data:function(){return{innerValue:this.correctValue(this.value)}},watch:{value:function(t){t=this.correctValue(t),("time"===this.type?t===this.innerValue:t.valueOf()===this.innerValue.valueOf())||(this.innerValue=t,"time"===this.type&&this.updateColumnValue(t))},innerValue:function(t){this.$emit("input",t)},columns:function(){this.updateColumnValue(this.innerValue)}},computed:{ranges:function(){if("time"===this.type)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];var t=this.getBoundary("max",this.innerValue),e=t.maxYear,n=t.maxDate,i=t.maxMonth,s=t.maxHour,r=t.maxMinute,o=this.getBoundary("min",this.innerValue),a=o.minYear,u=o.minDate,c=[{type:"year",range:[a,e]},{type:"month",range:[o.minMonth,i]},{type:"day",range:[u,n]},{type:"hour",range:[o.minHour,s]},{type:"minute",range:[o.minMinute,r]}];return"date"===this.type&&c.splice(3,2),"year-month"===this.type&&c.splice(2,3),c},columns:function(){var t=this;return this.ranges.map(function(e){var n=e.type,i=e.range;return{values:function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(i[1]-i[0]+1,function(e){var s=i[0]+e;return s=s<10?"0"+s:""+s,t.formatter(n,s)})}})}},mounted:function(){this.updateColumnValue(this.innerValue)},methods:{correctValue:function(t){var e="time"!==this.type;if(e&&!y(t))t=this.minDate;else if(!t){var n=this.minHour;t=(n>10?n:"0"+n)+":00"}if(!e){var i=t.split(":"),r=i[0],o=i[1];return(r=b(Object(s.g)(r,this.minHour,this.maxHour)))+":"+(o=b(Object(s.g)(o,this.minMinute,this.maxMinute)))}return t=Math.max(t,this.minDate.getTime()),t=Math.min(t,this.maxDate.getTime()),new Date(t)},getBoundary:function(t,e){var n,i=this[t+"Date"],s=i.getFullYear(),r=1,o=1,a=0,u=0;return"max"===t&&(r=12,o=V(e.getFullYear(),e.getMonth()+1),a=23,u=59),e.getFullYear()===s&&(r=i.getMonth()+1,e.getMonth()+1===r&&(o=i.getDate(),e.getDate()===o&&(a=i.getHours(),e.getHours()===a&&(u=i.getMinutes())))),(n={})[t+"Year"]=s,n[t+"Month"]=r,n[t+"Date"]=o,n[t+"Hour"]=a,n[t+"Minute"]=u,n},onConfirm:function(){this.$emit("confirm",this.innerValue)},onChange:function(t){var e,n=this;if("time"===this.type){var i=t.getIndexes();e=i[0]+this.minHour+":"+(i[1]+this.minMinute)}else{var s=t.getValues(),r=C(s[0]),o=C(s[1]),a=V(r,o),u=C(s[2]);"year-month"===this.type&&(u=1),u=u>a?a:u;var c=0,l=0;"datetime"===this.type&&(c=C(s[3]),l=C(s[4])),e=new Date(r,o-1,u,c,l)}this.innerValue=this.correctValue(e),this.$nextTick(function(){n.$nextTick(function(){n.$emit("change",t)})})},updateColumnValue:function(t){var e=this,n=[],i=this.formatter;if("time"===this.type){var s=t.split(":");n=[i("hour",s[0]),i("minute",s[1])]}else n=[i("year",""+t.getFullYear()),i("month",b(t.getMonth()+1)),i("day",b(t.getDate()))],"datetime"===this.type&&n.push(i("hour",b(t.getHours())),i("minute",b(t.getMinutes()))),"year-month"===this.type&&(n=n.slice(0,2));this.$nextTick(function(){e.$refs.picker.setValues(n)})}},render:function(t){var e=this,n={};return Object.keys(u).forEach(function(t){n[t]=e[t]}),t(x,{class:T(),ref:"picker",attrs:{columns:this.columns},on:{change:this.onChange,confirm:this.onConfirm,cancel:function(){e.$emit("cancel")}},props:Object(i.a)({},n)})}})},"bdd/":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAACbUlEQVRIS63VS2tTQRQH8P+5aWo0QreNS7+EK0VExBc+USwtqEnvnLFS0Z3L7AsVg0EnNYlGKfbW1ifdduG3yMKly6a7Qqw5MmEm3PSVG/HsLsz8mDnzn7mE/1QUd2q12vF8Pv/zX+weZIy5BmAJwFNmfjYs1oWMMScA/ACQJiIB8EQp9XwYrAtFUZTa3Nx8KyKTbrLFHjNzKSnW25rD3onIRAx7xMwvkmB9zbZYq9V6D+BODJtl5vIgrA/y29zY2Fgkotsx7CEzvzwI2wXZwcVicSSXyy0CuOUxEZnRWr/aD9sTimEfANx0kzsi8kBrXdkL2xeyg9fX10eazabN1g2PAWBmfr0TOxByGbPZWhKR67GVKa11NY4NhGLYsohc9VgQBNNhGNY9lghyPRvN5XLLAK54jIgKSqk39jsx5LHx8fEVIrrssD9BEOTDMGwMBbmcjbZarVUAlzxGRPeHhowxaQA2Fv4k7b2cHQpySATAPjm2LNJNfWIoiiK7pb5mA5hhZpO42aVS6VAmk/koIr7JnZ3BHLgih6yKyMXYsYdKqVriQNbr9Uy73f4E4HzshKZ9dhJB8/Pzh7PZ7GcA5zwiInmtdSPxpXXIVwBnY8g9rbV99PasXT0yxhwRkW9EdMbN2AZwl5nt+7Rv9UFzc3PZsbGx7yJyuhsSke1UKjUVhqF9Sg6sHtRoNLJbW1trAE65Gb8BTDKzzc7A6kLlcvloOp1eE5GTHiGiCaXUykDBDehClUrlgu0LgBQRte1fRClljz1x9ba2sLAw1el0KkEQTIRh+CWxEF+Rn1StVo8VCoVfwyJ2/MArkhT9C8gT+IK4h7n8AAAAAElFTkSuQmCC"},dKK0:function(t,e,n){"use strict";var i=n("nsZj"),s=(n.n(i),n("5Hoj"));n.n(s)},eVaN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("eqfM");var i,s=n("/QYm"),r=n("bOdI"),o=n.n(r),a=(n("mMXg"),n("qYlo")),u=(n("dKK0"),n("balU")),c=n("CCn6"),l=n("rBG3"),h=n.n(l),m=n("bdd/"),f=n.n(m),d={name:"promptTime",data:function(){return{currentTime:"07:00",minHour:7,maxHour:22,dateVal:"",dateShow:!1,selectedValue:"",tishiTimer:h.a,youjiantou:f.a}},components:(i={},o()(i,u.a.name,u.a),o()(i,a.a.name,a.a),i),watch:{dateShow:function(t){t||this.contentFn()}},methods:{dateShowClick:function(){this.dateShow=!0,this.$nextTick(function(){document.querySelectorAll(".van-picker__confirm")[0].innerText="完成",document.querySelectorAll(".van-picker-column")[1].style.display="none";for(var t=document.querySelectorAll(".van-picker-column")[0].querySelectorAll("li"),e=0;e<t.length;e++)t[e].innerText=t[e].innerText+":00"})},dateConfirm:function(t){this.currentTime="aN:aN"==t?"00:00":t,this.contentFn()},dateConfirmNo:function(){this.contentFn()},contentFn:function(){this.dateShow=!1,this.$refs.timeSetting.style.borderBottom="1px solid #E2E2E2";for(var t=document.querySelectorAll(".van-picker-column")[0].querySelectorAll("li"),e=0;e<t.length;e++)t[e].innerText=t[e].innerText.split(":")[0]},preservationClick:function(){var t=this,e={time:this.currentTime,periods_id:this.$route.query.periods_id};Object(c._4)(e).then(function(e){Object(s.a)("时间设定完成"),t.$router.go(-1)})}},mounted:function(){var t=this;Object(c.C)(this.$route.query.periods_id).then(function(e){e.time&&(t.currentTime=e.time.split(":")[0]+":"+e.time.split(":")[1])})}},p={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"prompt-time"},[n("div",{staticClass:"title"},[t._v("请设置您希望接收上课提醒的时间")]),t._v(" "),n("div",{staticClass:"tishi-timer"},[n("img",{attrs:{src:t.tishiTimer,alt:""}})]),t._v(" "),n("div",{ref:"timeSetting",staticClass:"time-setting",on:{click:t.dateShowClick}},[n("div",{staticClass:"time-setting-text"},[t._v("\n 当前设定的时间\n ")]),t._v(" "),n("div",{staticClass:"time-setting-ti"},[n("span",[t._v(t._s(t.currentTime))]),t._v(" "),n("img",{attrs:{src:t.youjiantou,alt:""}})])]),t._v(" "),n("div",{staticClass:"preservation",on:{click:t.preservationClick}},[t._v("保存")]),t._v(" "),n("van-popup",{attrs:{position:"bottom"},model:{value:t.dateShow,callback:function(e){t.dateShow=e},expression:"dateShow"}},[n("van-datetime-picker",{attrs:{"min-hour":t.minHour,"max-hour":t.maxHour,type:"time"},on:{confirm:t.dateConfirm,cancel:t.dateConfirmNo},model:{value:t.currentTime,callback:function(e){t.currentTime=e},expression:"currentTime"}})],1)],1)},staticRenderFns:[]};var g=n("VU/8")(d,p,!1,function(t){n("/OXn")},null,null);e.default=g.exports},rBG3:function(t,e,n){t.exports=n.p+"static/img/tishi_timer.e54eea1.png"}});
\ No newline at end of file
webpackJsonp([21],{"5Hoj":function(t,e){},Ebbb:function(t,e){},balU:function(t,e,n){"use strict";var i=n("RfZZ"),s=n("o69Z"),r=n("sM86"),o=n("54/E");function a(t){return Array.isArray(t)?t.map(function(t){return a(t)}):"object"==typeof t?Object(o.a)({},t):t}var u={title:String,loading:Boolean,showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,visibleItemCount:{type:Number,default:5},itemHeight:{type:Number,default:44}},c=n("pIDD"),l=Object(s.h)("picker-column"),h=l[0],m=l[1],f=h({props:{valueKey:String,className:String,itemHeight:Number,defaultIndex:Number,initialOptions:Array,visibleItemCount:Number},data:function(){return{startY:0,offset:0,duration:0,startOffset:0,options:a(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{defaultIndex:function(){this.setIndex(this.defaultIndex)}},computed:{count:function(){return this.options.length}},methods:{onTouchStart:function(t){this.startY=t.touches[0].clientY,this.startOffset=this.offset,this.duration=0},onTouchMove:function(t){t.preventDefault();var e=t.touches[0].clientY-this.startY;this.offset=Object(s.g)(this.startOffset+e,-this.count*this.itemHeight,this.itemHeight)},onTouchEnd:function(){if(this.offset!==this.startOffset){this.duration=200;var t=Object(s.g)(Math.round(-this.offset/this.itemHeight),0,this.count-1);this.setIndex(t,!0)}},adjustIndex:function(t){for(var e=t=Object(s.g)(t,0,this.count);e<this.count;e++)if(!this.isDisabled(this.options[e]))return e;for(var n=t-1;n>=0;n--)if(!this.isDisabled(this.options[n]))return n},isDisabled:function(t){return Object(s.d)(t)&&t.disabled},getOptionText:function(t){return Object(s.d)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){t=this.adjustIndex(t)||0,this.offset=-t*this.itemHeight,t!==this.currentIndex&&(this.currentIndex=t,e&&this.$emit("change",t))},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]}},render:function(t){var e=this,n=this.itemHeight,i=this.visibleItemCount,s={height:n*i+"px"},r=n*(i-1)/2,o={transition:this.duration+"ms",transform:"translate3d(0, "+(this.offset+r)+"px, 0)",lineHeight:n+"px"},a={height:n+"px"};return t("div",{style:s,class:[m(),this.className],on:{touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[t("ul",{style:o},[this.options.map(function(n,i){return t("li",{style:a,class:["van-ellipsis",m("item",{disabled:e.isDisabled(n),selected:i===e.currentIndex})],domProps:{innerHTML:e.getOptionText(n)},on:{click:function(){e.setIndex(i,!0)}}})})])])}}),d=Object(s.h)("picker"),p=d[0],g=d[1],v=d[2],x=p({props:Object(i.a)({},u,{columns:Array,defaultIndex:{type:Number,default:0},valueKey:{type:String,default:"text"}}),data:function(){return{children:[]}},computed:{simple:function(){return this.columns.length&&!this.columns[0].values}},watch:{columns:function(){this.setColumns()}},methods:{setColumns:function(){var t=this;(this.simple?[{values:this.columns}]:this.columns).forEach(function(e,n){t.setColumnValues(n,a(e.values))})},emit:function(t){this.simple?this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit(t,this.getValues(),this.getIndexes())},onChange:function(t){this.simple?this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit("change",this,this.getValues(),t)},getColumn:function(t){return this.children[t]},getColumnValue:function(t){var e=this.getColumn(t);return e&&e.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&n.setValue(e)},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&n.setIndex(e)},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){var n=this.children[t];n&&JSON.stringify(n.options)!==JSON.stringify(e)&&(n.options=e,n.setIndex(0))},getValues:function(){return this.children.map(function(t){return t.getValue()})},setValues:function(t){var e=this;t.forEach(function(t,n){e.setColumnValue(n,t)})},getIndexes:function(){return this.children.map(function(t){return t.currentIndex})},setIndexes:function(t){var e=this;t.forEach(function(t,n){e.setColumnIndex(n,t)})},onConfirm:function(){this.emit("confirm")},onCancel:function(){this.emit("cancel")}},render:function(t){var e=this,n=this.itemHeight,i=this.simple?[this.columns]:this.columns,s={height:n+"px"},o={height:n*this.visibleItemCount+"px"},a=this.showToolbar&&t("div",{class:["van-hairline--top-bottom",g("toolbar")]},[this.slots()||[t("div",{class:g("cancel"),on:{click:this.onCancel}},[this.cancelButtonText||v("cancel")]),this.slots("title")||this.title&&t("div",{class:["van-ellipsis",g("title")]},[this.title]),t("div",{class:g("confirm"),on:{click:this.onConfirm}},[this.confirmButtonText||v("confirm")])]]);return t("div",{class:g()},[a,this.loading&&t("div",{class:g("loading")},[t(c.a)]),t("div",{class:g("columns"),style:o,on:{touchmove:r.c}},[i.map(function(n,i){return t(f,{attrs:{valueKey:e.valueKey,className:n.className,itemHeight:e.itemHeight,defaultIndex:n.defaultIndex||e.defaultIndex,visibleItemCount:e.visibleItemCount,initialOptions:e.simple?n:n.values},on:{change:function(){e.onChange(i)}}})}),t("div",{class:["van-hairline--top-bottom",g("frame")],style:s})])])}});function y(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())}function b(t){return("00"+t).slice(-2)}function C(t){if(t){for(;isNaN(parseInt(t,10));)t=t.slice(1);return parseInt(t,10)}}function V(t,e){return 32-new Date(t,e-1,32).getDate()}var I=Object(s.h)("datetime-picker"),A=I[0],T=I[1],S=(new Date).getFullYear();e.a=A({props:Object(i.a)({},u,{value:null,minHour:Number,minMinute:Number,type:{type:String,default:"datetime"},showToolbar:{type:Boolean,default:!0},format:{type:String,default:"YYYY.MM.DD HH时 mm分"},formatter:{type:Function,default:function(t,e){return e}},minDate:{type:Date,default:function(){return new Date(S-10,0,1)},validator:y},maxDate:{type:Date,default:function(){return new Date(S+10,11,31)},validator:y},maxHour:{type:Number,default:23},maxMinute:{type:Number,default:59}}),data:function(){return{innerValue:this.correctValue(this.value)}},watch:{value:function(t){t=this.correctValue(t),("time"===this.type?t===this.innerValue:t.valueOf()===this.innerValue.valueOf())||(this.innerValue=t,"time"===this.type&&this.updateColumnValue(t))},innerValue:function(t){this.$emit("input",t)},columns:function(){this.updateColumnValue(this.innerValue)}},computed:{ranges:function(){if("time"===this.type)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];var t=this.getBoundary("max",this.innerValue),e=t.maxYear,n=t.maxDate,i=t.maxMonth,s=t.maxHour,r=t.maxMinute,o=this.getBoundary("min",this.innerValue),a=o.minYear,u=o.minDate,c=[{type:"year",range:[a,e]},{type:"month",range:[o.minMonth,i]},{type:"day",range:[u,n]},{type:"hour",range:[o.minHour,s]},{type:"minute",range:[o.minMinute,r]}];return"date"===this.type&&c.splice(3,2),"year-month"===this.type&&c.splice(2,3),c},columns:function(){var t=this;return this.ranges.map(function(e){var n=e.type,i=e.range;return{values:function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(i[1]-i[0]+1,function(e){var s=i[0]+e;return s=s<10?"0"+s:""+s,t.formatter(n,s)})}})}},mounted:function(){this.updateColumnValue(this.innerValue)},methods:{correctValue:function(t){var e="time"!==this.type;if(e&&!y(t))t=this.minDate;else if(!t){var n=this.minHour;t=(n>10?n:"0"+n)+":00"}if(!e){var i=t.split(":"),r=i[0],o=i[1];return(r=b(Object(s.g)(r,this.minHour,this.maxHour)))+":"+(o=b(Object(s.g)(o,this.minMinute,this.maxMinute)))}return t=Math.max(t,this.minDate.getTime()),t=Math.min(t,this.maxDate.getTime()),new Date(t)},getBoundary:function(t,e){var n,i=this[t+"Date"],s=i.getFullYear(),r=1,o=1,a=0,u=0;return"max"===t&&(r=12,o=V(e.getFullYear(),e.getMonth()+1),a=23,u=59),e.getFullYear()===s&&(r=i.getMonth()+1,e.getMonth()+1===r&&(o=i.getDate(),e.getDate()===o&&(a=i.getHours(),e.getHours()===a&&(u=i.getMinutes())))),(n={})[t+"Year"]=s,n[t+"Month"]=r,n[t+"Date"]=o,n[t+"Hour"]=a,n[t+"Minute"]=u,n},onConfirm:function(){this.$emit("confirm",this.innerValue)},onChange:function(t){var e,n=this;if("time"===this.type){var i=t.getIndexes();e=i[0]+this.minHour+":"+(i[1]+this.minMinute)}else{var s=t.getValues(),r=C(s[0]),o=C(s[1]),a=V(r,o),u=C(s[2]);"year-month"===this.type&&(u=1),u=u>a?a:u;var c=0,l=0;"datetime"===this.type&&(c=C(s[3]),l=C(s[4])),e=new Date(r,o-1,u,c,l)}this.innerValue=this.correctValue(e),this.$nextTick(function(){n.$nextTick(function(){n.$emit("change",t)})})},updateColumnValue:function(t){var e=this,n=[],i=this.formatter;if("time"===this.type){var s=t.split(":");n=[i("hour",s[0]),i("minute",s[1])]}else n=[i("year",""+t.getFullYear()),i("month",b(t.getMonth()+1)),i("day",b(t.getDate()))],"datetime"===this.type&&n.push(i("hour",b(t.getHours())),i("minute",b(t.getMinutes()))),"year-month"===this.type&&(n=n.slice(0,2));this.$nextTick(function(){e.$refs.picker.setValues(n)})}},render:function(t){var e=this,n={};return Object.keys(u).forEach(function(t){n[t]=e[t]}),t(x,{class:T(),ref:"picker",attrs:{columns:this.columns},on:{change:this.onChange,confirm:this.onConfirm,cancel:function(){e.$emit("cancel")}},props:Object(i.a)({},n)})}})},"bdd/":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAACbUlEQVRIS63VS2tTQRQH8P+5aWo0QreNS7+EK0VExBc+USwtqEnvnLFS0Z3L7AsVg0EnNYlGKfbW1ifdduG3yMKly6a7Qqw5MmEm3PSVG/HsLsz8mDnzn7mE/1QUd2q12vF8Pv/zX+weZIy5BmAJwFNmfjYs1oWMMScA/ACQJiIB8EQp9XwYrAtFUZTa3Nx8KyKTbrLFHjNzKSnW25rD3onIRAx7xMwvkmB9zbZYq9V6D+BODJtl5vIgrA/y29zY2Fgkotsx7CEzvzwI2wXZwcVicSSXyy0CuOUxEZnRWr/aD9sTimEfANx0kzsi8kBrXdkL2xeyg9fX10eazabN1g2PAWBmfr0TOxByGbPZWhKR67GVKa11NY4NhGLYsohc9VgQBNNhGNY9lghyPRvN5XLLAK54jIgKSqk39jsx5LHx8fEVIrrssD9BEOTDMGwMBbmcjbZarVUAlzxGRPeHhowxaQA2Fv4k7b2cHQpySATAPjm2LNJNfWIoiiK7pb5mA5hhZpO42aVS6VAmk/koIr7JnZ3BHLgih6yKyMXYsYdKqVriQNbr9Uy73f4E4HzshKZ9dhJB8/Pzh7PZ7GcA5zwiInmtdSPxpXXIVwBnY8g9rbV99PasXT0yxhwRkW9EdMbN2AZwl5nt+7Rv9UFzc3PZsbGx7yJyuhsSke1UKjUVhqF9Sg6sHtRoNLJbW1trAE65Gb8BTDKzzc7A6kLlcvloOp1eE5GTHiGiCaXUykDBDehClUrlgu0LgBQRte1fRClljz1x9ba2sLAw1el0KkEQTIRh+CWxEF+Rn1StVo8VCoVfwyJ2/MArkhT9C8gT+IK4h7n8AAAAAElFTkSuQmCC"},dKK0:function(t,e,n){"use strict";var i=n("nsZj"),s=(n.n(i),n("5Hoj"));n.n(s)},eVaN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("eqfM");var i,s=n("/QYm"),r=n("bOdI"),o=n.n(r),a=(n("mMXg"),n("qYlo")),u=(n("dKK0"),n("balU")),c=n("CCn6"),l=n("rBG3"),h=n.n(l),m=n("bdd/"),f=n.n(m),d={name:"promptTime",data:function(){return{currentTime:"07:00",minHour:7,maxHour:22,dateVal:"",dateShow:!1,selectedValue:"",tishiTimer:h.a,youjiantou:f.a}},components:(i={},o()(i,u.a.name,u.a),o()(i,a.a.name,a.a),i),watch:{dateShow:function(t){t||this.contentFn()}},methods:{dateShowClick:function(){this.dateShow=!0,this.$nextTick(function(){document.querySelectorAll(".van-picker__confirm")[0].innerText="完成",document.querySelectorAll(".van-picker-column")[1].style.display="none";for(var t=document.querySelectorAll(".van-picker-column")[0].querySelectorAll("li"),e=0;e<t.length;e++)t[e].innerText=t[e].innerText+":00"})},dateConfirm:function(t){this.currentTime="aN:aN"==t?"00:00":t,this.contentFn()},dateConfirmNo:function(){this.contentFn()},contentFn:function(){this.dateShow=!1,this.$refs.timeSetting.style.borderBottom="1px solid #E2E2E2";for(var t=document.querySelectorAll(".van-picker-column")[0].querySelectorAll("li"),e=0;e<t.length;e++)t[e].innerText=t[e].innerText.split(":")[0]},preservationClick:function(){var t=this,e={time:this.currentTime,periods_id:this.$route.query.periods_id};Object(c._4)(e).then(function(e){Object(s.a)("时间设定完成"),t.$router.go(-1)})}},mounted:function(){var t=this;Object(c.C)(this.$route.query.periods_id).then(function(e){e.time&&(t.currentTime=e.time.split(":")[0]+":"+e.time.split(":")[1])})}},p={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"prompt-time"},[n("div",{staticClass:"title"},[t._v("请设置您希望接收上课提醒的时间")]),t._v(" "),n("div",{staticClass:"tishi-timer"},[n("img",{attrs:{src:t.tishiTimer,alt:""}})]),t._v(" "),n("div",{ref:"timeSetting",staticClass:"time-setting",on:{click:t.dateShowClick}},[n("div",{staticClass:"time-setting-text"},[t._v("\n 当前设定的时间\n ")]),t._v(" "),n("div",{staticClass:"time-setting-ti"},[n("span",[t._v(t._s(t.currentTime))]),t._v(" "),n("img",{attrs:{src:t.youjiantou,alt:""}})])]),t._v(" "),n("div",{staticClass:"preservation",on:{click:t.preservationClick}},[t._v("保存")]),t._v(" "),n("van-popup",{attrs:{position:"bottom"},model:{value:t.dateShow,callback:function(e){t.dateShow=e},expression:"dateShow"}},[n("van-datetime-picker",{attrs:{"min-hour":t.minHour,"max-hour":t.maxHour,type:"time"},on:{confirm:t.dateConfirm,cancel:t.dateConfirmNo},model:{value:t.currentTime,callback:function(e){t.currentTime=e},expression:"currentTime"}})],1)],1)},staticRenderFns:[]};var g=n("VU/8")(d,p,!1,function(t){n("Ebbb")},"data-v-d4e90408",null);e.default=g.exports},rBG3:function(t,e,n){t.exports=n.p+"static/img/tishi_timer.e54eea1.png"}});
\ 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),L=e("+wl/"),w=e.n(L),I=e("wQkO"),b=e.n(I),k=e("C5QI"),S=e.n(k),D=e("vGwH"),x=e.n(D),T={name:"mapDefault",components:r()({swiper:y.swiper,swiperSlide:y.swiperSlide,bottomTab:f.a},c.a.name,c.a),data:function(){var t=this;return{promp:!1,zhong:S.a,yinyin:x.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:w.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:b.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:{initPage:function(){var t=this;sessionStorage.setItem("frist",!0),o.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(l.n)(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.n)().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.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.v)(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.o)(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.w)(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())}}},O={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t.promp?e("div",{staticClass:"model-n",on:{click:function(s){t.promp=!1}}},[e("div",{staticClass:"model-n-image"},[e("img",{attrs:{src:t.yinyin,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("router-link",{attrs:{to:{path:"/promptTime",query:{periods_id:t.secActions.id}}}},[e("div",{staticClass:"zhongbian-kuang"},[e("div",{staticClass:"zhongbian"},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.zhong,alt:""}})])])])],1),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 q=e("VU/8")(T,O,!1,function(t){e("xPZN")},"data-v-2401062e",null);s.default=q.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/4VuBALsb2o7Pkj9LxiW59VvPYQLQadAG4Eiyw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Hbd1BfPkXuph6Hvp24cb0dGrPjyKskuEXav8O2Vk6MkwiBh5ehokAPi2mMoGB+hEuGxtqMjtlJGsODPkp4C66YiglceSqL0maYsgjUPEqjDcO3r6HgfM3fDdHSCz16/wzRAbZQyvc8w6PxD0y7AMGZw0br81DRkVWplDK+o9H7A3pvmDFmW5xlSOIaQ97apXxaZ+8tdgRp8Vn9o2ihzTUN3lfEyhsxU6csgKsMiiHuso/dawlu47vdfuec6yFvvxuoAAAAASUVORK5CYII="},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"},xPZN:function(t,s){},zH3V:function(t,s,e){"use strict";var i=e("nsZj"),n=(e.n(i),e("hW8u")),o=(e.n(n),e("7YDQ"));e.n(o)}});
\ No newline at end of file
webpackJsonp([6],{"+2W0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAd9JREFUOBGVk00uREEUhZ9/EQZiYECMzCUSAwswZR92YDFC9wYQhPhbhAXQE1vwTztfpU67r9973elKvq5bt+45dV+910VRHmNawo54EodiWjjvmdyReBbUOq+wOrxJ4avoZk40R3Pi07BPbaO5TcdV1AmiaD6rPERT76OZEPZR+L9gY0q0hQVxPlMeYs7xsfJoS+acQqeTgo4WxYWwaNh8njVo8cALz/TDghPnBMar4koMM6WGWjRo8SgZ8wi8lHmxJFbEurgRTebsUUMtGrR4JGN+GIj7B3t1+Vhnfcz1Yt9xvIo17V6Lpm6dp4baxqvAnOuYETzWKC/vMmvQVr4KG3NHLeGO4vygPMSc47byaAcad2rE98ptZYht6Lmj3EBjHmdXvAmL7hRvio0MMTnvvyveE6WriK0T84G/iEexLejuQHyJ38yP5luxLBbEvuCK2Pdhvf82d4wpj8PJ/IuYybGHACGDT8y5b8Ufgq6ZPwW5LsKmgVEq0kyX0dhP6lzFIxq7Kxu6mDXGwMAU/OfgcGoAjzTqjLlPBgLGMGP2/Q4qxiTAXVHsjmxsEQfGjtmPNamOl8Dw7BfD2jkKEcbhOnLsG9d1LabAcZzT6VlIjcegmqRxQb/A61FnN1L8AQ0BxfTPbexRAAAAAElFTkSuQmCC"},"2Ihx":function(t,e,s){t.exports=s.p+"static/img/no.4e27c3e.png"},"3CuV":function(t,e,s){t.exports=s.p+"static/img/share_bg.03f118a.jpg"},A6mk:function(t,e){},FRDK:function(t,e,s){t.exports=s.p+"static/img/actBg1.f48d135.png"},JK9h:function(t,e,s){t.exports=s.p+"static/img/log.8c70e94.png"},UEMf:function(t,e,s){t.exports=s.p+"static/img/qr.f968b9d.png"},eN5d:function(t,e){},"f+ht":function(t,e,s){t.exports=s.p+"static/img/actBg2.b47e39b.png"},oSXS:function(t,e,s){t.exports=s.p+"static/img/actBg3.53dd5e6.png"},riDf:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});s("eqfM");var n=s("/QYm"),a=s("bOdI"),i=s.n(a),o=(s("q/am"),s("4VPn")),c=s.n(o),l=s("FRDK"),r=s.n(l),u=s("f+ht"),d=s.n(u),g=s("oSXS"),h=s.n(g),m=s("yniu"),p=s.n(m),_=s("+2W0"),f=s.n(_),b=s("JK9h"),v=s.n(b),w=s("UEMf"),C=s.n(w),y=s("3CuV"),A=s.n(y),x=s("2Ihx"),L=s.n(x),E=s("CCn6"),R=s("MJLE"),T=s.n(R),k=s("eMjc"),B=s.n(k),q={name:"index",components:i()({},c.a.name,c.a),data:function(){return{starbg_1:r.a,share_img_url:A.a,log_url:v.a,no_list:!1,log_show:!1,share_show:!1,qr_show:!1,dataURL:null,no_url:L.a,qr_url:C.a,starbg_2:d.a,starbg_3:h.a,starbg_4:p.a,x_url:f.a,star_total:0,logList:[],shopId:null,share_URL:null}},methods:{initPage:function(){var t=this;Object(E.I)().then(function(e){t.shopId=e[0].value,t.share_URL="https://wechat.changchangenglish.com/#/buyDetail?shopId="+t.shopId+"&invite_code=CC-ZKHB-"+JSON.parse(localStorage.getItem("userDesc")).user_id,t.onShare(t.share_URL),t.toDataURLBase64(t.share_img_url,function(e){t.share_img_url=e})}),Object(E.S)().then(function(e){t.star_total=e.last_value})},closeLog:function(){window.removeEventListener("scroll",this.scrollFix),this.log_show=!1},onShare:function(t){this.enableShare({product_title:"赠您【1元领取398元英语启蒙课程特权】,限时福利,立即领取",desc:"学习另赠价值58元实物绘本,包邮送到家~",shareIcon:"https://cdn.singsingenglish.com/logo/logo.jpg",shareUrl:t})},showQr:function(){this.qr_show=!0,this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"小助手二维码"})},enableShare:function(t){Object(E.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(e){wx.config({debug:!1,appId:e.appId,timestamp:parseInt(e.timestamp),nonceStr:e.nonceStr,signature:e.signature,jsApiList:e.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:t.product_title,desc:t.desc,link:t.shareUrl,imgUrl:t.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:t.product_title,desc:t.desc,link:t.shareUrl,imgUrl:t.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},qrcode:function(t){this.QRCodeB?this.QRCodeB.makeCode(t):this.QRCodeB=new T.a("qrcode",{width:140,height:140,text:t,image:""})},refshow:function(){var t=this;this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"生成海报"}),this.share_show=!0,this.dataURL||(n.a.loading({mask:!0,message:""}),Object(E.J)({url:this.share_URL}).then(function(e){t.qrcode(e.url),t.$nextTick(function(){document.getElementById("capture").getClientRects()[0].width;document.getElementById("capture").style.width=2*document.getElementById("capture").getClientRects()[0].width+"px",document.getElementById("capture").style.height=2*document.getElementById("capture").getClientRects()[0].height+"px",setTimeout(function(){B()(document.getElementById("capture"),{async:!0,scale:2,letterRendering:!0}).then(function(e){var s=e.toDataURL("image/jpg");t.dataURL=s,document.getElementById("capture").style.display="none",n.a.clear()}).catch(function(t){alert(t),document.getElementById("capture").style.display="none",n.a.clear()})},500)})}))},getOffsetRect:function(t){var e=t.getBoundingClientRect(),s=document.body,n=document.documentElement,a=window.pageYOffset||n.scrollTop||s.scrollTop,i=window.pageXOffset||n.scrollLeft||s.scrollLeft,o=n.clientTop||s.clientTop,c=n.clientLeft||s.clientLeft,l=e.top+a-o,r=e.left+i-c;return{top:Math.round(l),left:Math.round(r)}},toDataURLBase64:function(t,e){var s=new XMLHttpRequest;s.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(s.response)},s.responseType="blob",s.open("GET",t,!0),s.send()},scrollFix:function(t){window.scrollTo(0,t)},showLog:function(){var t=this;this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"查看积分"}),Object(E.T)({limit:1e3}).then(function(e){!e.list||e.list.length<1?t.no_list=!0:t.logList=e.list;document.documentElement.scrollTop||document.body.scrollTop;window.addEventListener("scroll",t.scrollFix),t.log_show=!0})}},filters:{substrTime:function(t){return t.substr(0,10).replace(/-/g,".")}},mounted:function(){var t=this;this.initPage(),window.onscroll=function(){(document.documentElement.scrollTop||document.body.scrollTop)>300?(t.$refs.btn_block.style.opacity=1,t.$refs.btn_block.style.display="block"):(t.$refs.btn_block.style.opacity=0,t.$refs.btn_block.style.display="none")}}},I={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"star-activity-page"},[s("div",[s("img",{staticClass:"bg",attrs:{src:t.starbg_1}}),t._v(" "),s("div",{staticClass:"star-total",on:{click:t.showLog}},[t._v("\n 我的星星 "),s("img",{staticClass:"x-img",attrs:{src:t.x_url}}),t._v(t._s(t.star_total)+"\n ")]),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_2}}),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_3},on:{click:t.showQr}}),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_4}})]),t._v(" "),s("div",{ref:"btn_block",staticClass:"btn-block"},[s("div",{staticClass:"btn"},[t._v("\n 活动已结束\n ")])]),t._v(" "),s("mt-popup",{staticStyle:{background:"transparent"},model:{value:t.qr_show,callback:function(e){t.qr_show=e},expression:"qr_show"}},[s("div",{staticClass:"qr-img"},[s("img",{staticClass:"qr-img",attrs:{src:t.qr_url}}),t._v(" "),s("div",{staticClass:"qr-close",on:{click:function(e){t.qr_show=!1}}})])]),t._v(" "),s("mt-popup",{staticStyle:{background:"transparent"},attrs:{closeOnClickModal:!1},model:{value:t.log_show,callback:function(e){t.log_show=e},expression:"log_show"}},[s("div",{staticClass:"log-img",style:{backgroundImage:"url('"+t.log_url+"')"}},[s("div",{staticClass:"content"},[t.no_list?s("div",{staticClass:"no-list"},[s("img",{attrs:{src:t.no_url}}),t._v("\n —— 暂无记录 ——\n ")]):t._e(),t._v(" "),t._l(t.logList,function(e){return s("div",{staticClass:"list"},[s("span",{staticClass:"time-text"},[t._v("\n "+t._s(t._f("substrTime")(e.created_at))+"\n ")]),t._v(" "),s("span",{staticClass:"desc-text"},[t._v("\n "+t._s(e.desc)+"\n ")]),t._v(" "),1===e.is_add?s("span",{staticClass:"star-num",staticStyle:{color:"#7ED321"}},[t._v("\n 星星+"+t._s(e.value)+"\n ")]):t._e(),t._v(" "),1!==e.is_add?s("span",{staticClass:"star-num",staticStyle:{color:"#D0021B"}},[t._v("\n 星星-"+t._s(e.value)+"\n ")]):t._e()])})],2),t._v(" "),s("div",{staticClass:"btn",on:{click:t.closeLog}},[t._v("\n 知道了\n ")])])]),t._v(" "),t.share_show?s("div",{staticClass:"share-show-block",on:{click:function(e){t.share_show=!1}}},[s("div",{staticClass:"share-show-content"},[s("img",{staticClass:"cvs-img",attrs:{src:t.dataURL,id:"cvs-img"}}),t._v(" "),s("div",{ref:"imageWrapper",staticClass:"share_img",style:{backgroundImage:"url('"+t.share_img_url+"')"},attrs:{id:"capture"}},[s("div",{staticClass:"qrcode",attrs:{id:"qrcode"}})]),t._v(" "),t._m(0)])]):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tips"},[e("b",[this._v("长按保存海报 或发送给好友")]),this._v(" "),e("br"),this._v("\n 越多朋友报名,您可得越多星星\n ")])}]};var U=s("VU/8")(q,I,!1,function(t){s("A6mk"),s("eN5d")},"data-v-c5f020b6",null);e.default=U.exports},yniu:function(t,e,s){t.exports=s.p+"static/img/actBg4.74aadcc.png"}}); webpackJsonp([7],{"+2W0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAd9JREFUOBGVk00uREEUhZ9/EQZiYECMzCUSAwswZR92YDFC9wYQhPhbhAXQE1vwTztfpU67r9973elKvq5bt+45dV+910VRHmNawo54EodiWjjvmdyReBbUOq+wOrxJ4avoZk40R3Pi07BPbaO5TcdV1AmiaD6rPERT76OZEPZR+L9gY0q0hQVxPlMeYs7xsfJoS+acQqeTgo4WxYWwaNh8njVo8cALz/TDghPnBMar4koMM6WGWjRo8SgZ8wi8lHmxJFbEurgRTebsUUMtGrR4JGN+GIj7B3t1+Vhnfcz1Yt9xvIo17V6Lpm6dp4baxqvAnOuYETzWKC/vMmvQVr4KG3NHLeGO4vygPMSc47byaAcad2rE98ptZYht6Lmj3EBjHmdXvAmL7hRvio0MMTnvvyveE6WriK0T84G/iEexLejuQHyJ38yP5luxLBbEvuCK2Pdhvf82d4wpj8PJ/IuYybGHACGDT8y5b8Ufgq6ZPwW5LsKmgVEq0kyX0dhP6lzFIxq7Kxu6mDXGwMAU/OfgcGoAjzTqjLlPBgLGMGP2/Q4qxiTAXVHsjmxsEQfGjtmPNamOl8Dw7BfD2jkKEcbhOnLsG9d1LabAcZzT6VlIjcegmqRxQb/A61FnN1L8AQ0BxfTPbexRAAAAAElFTkSuQmCC"},"2Ihx":function(t,e,s){t.exports=s.p+"static/img/no.4e27c3e.png"},"3CuV":function(t,e,s){t.exports=s.p+"static/img/share_bg.03f118a.jpg"},A6mk:function(t,e){},FRDK:function(t,e,s){t.exports=s.p+"static/img/actBg1.f48d135.png"},JK9h:function(t,e,s){t.exports=s.p+"static/img/log.8c70e94.png"},UEMf:function(t,e,s){t.exports=s.p+"static/img/qr.f968b9d.png"},eN5d:function(t,e){},"f+ht":function(t,e,s){t.exports=s.p+"static/img/actBg2.b47e39b.png"},oSXS:function(t,e,s){t.exports=s.p+"static/img/actBg3.53dd5e6.png"},riDf:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});s("eqfM");var n=s("/QYm"),a=s("bOdI"),i=s.n(a),o=(s("q/am"),s("4VPn")),c=s.n(o),l=s("FRDK"),r=s.n(l),u=s("f+ht"),d=s.n(u),g=s("oSXS"),h=s.n(g),m=s("yniu"),p=s.n(m),_=s("+2W0"),f=s.n(_),b=s("JK9h"),v=s.n(b),w=s("UEMf"),C=s.n(w),y=s("3CuV"),A=s.n(y),x=s("2Ihx"),L=s.n(x),E=s("CCn6"),R=s("MJLE"),T=s.n(R),k=s("eMjc"),B=s.n(k),q={name:"index",components:i()({},c.a.name,c.a),data:function(){return{starbg_1:r.a,share_img_url:A.a,log_url:v.a,no_list:!1,log_show:!1,share_show:!1,qr_show:!1,dataURL:null,no_url:L.a,qr_url:C.a,starbg_2:d.a,starbg_3:h.a,starbg_4:p.a,x_url:f.a,star_total:0,logList:[],shopId:null,share_URL:null}},methods:{initPage:function(){var t=this;Object(E.I)().then(function(e){t.shopId=e[0].value,t.share_URL="https://wechat.changchangenglish.com/#/buyDetail?shopId="+t.shopId+"&invite_code=CC-ZKHB-"+JSON.parse(localStorage.getItem("userDesc")).user_id,t.onShare(t.share_URL),t.toDataURLBase64(t.share_img_url,function(e){t.share_img_url=e})}),Object(E.S)().then(function(e){t.star_total=e.last_value})},closeLog:function(){window.removeEventListener("scroll",this.scrollFix),this.log_show=!1},onShare:function(t){this.enableShare({product_title:"赠您【1元领取398元英语启蒙课程特权】,限时福利,立即领取",desc:"学习另赠价值58元实物绘本,包邮送到家~",shareIcon:"https://cdn.singsingenglish.com/logo/logo.jpg",shareUrl:t})},showQr:function(){this.qr_show=!0,this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"小助手二维码"})},enableShare:function(t){Object(E.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(e){wx.config({debug:!1,appId:e.appId,timestamp:parseInt(e.timestamp),nonceStr:e.nonceStr,signature:e.signature,jsApiList:e.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:t.product_title,desc:t.desc,link:t.shareUrl,imgUrl:t.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:t.product_title,desc:t.desc,link:t.shareUrl,imgUrl:t.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},qrcode:function(t){this.QRCodeB?this.QRCodeB.makeCode(t):this.QRCodeB=new T.a("qrcode",{width:140,height:140,text:t,image:""})},refshow:function(){var t=this;this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"生成海报"}),this.share_show=!0,this.dataURL||(n.a.loading({mask:!0,message:""}),Object(E.J)({url:this.share_URL}).then(function(e){t.qrcode(e.url),t.$nextTick(function(){document.getElementById("capture").getClientRects()[0].width;document.getElementById("capture").style.width=2*document.getElementById("capture").getClientRects()[0].width+"px",document.getElementById("capture").style.height=2*document.getElementById("capture").getClientRects()[0].height+"px",setTimeout(function(){B()(document.getElementById("capture"),{async:!0,scale:2,letterRendering:!0}).then(function(e){var s=e.toDataURL("image/jpg");t.dataURL=s,document.getElementById("capture").style.display="none",n.a.clear()}).catch(function(t){alert(t),document.getElementById("capture").style.display="none",n.a.clear()})},500)})}))},getOffsetRect:function(t){var e=t.getBoundingClientRect(),s=document.body,n=document.documentElement,a=window.pageYOffset||n.scrollTop||s.scrollTop,i=window.pageXOffset||n.scrollLeft||s.scrollLeft,o=n.clientTop||s.clientTop,c=n.clientLeft||s.clientLeft,l=e.top+a-o,r=e.left+i-c;return{top:Math.round(l),left:Math.round(r)}},toDataURLBase64:function(t,e){var s=new XMLHttpRequest;s.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(s.response)},s.responseType="blob",s.open("GET",t,!0),s.send()},scrollFix:function(t){window.scrollTo(0,t)},showLog:function(){var t=this;this.$sa.track("buttonClick",{tabTitle:"星星活动页",moduleTitle:"星星活动页",buttonType:"功能",buttonName:"查看积分"}),Object(E.T)({limit:1e3}).then(function(e){!e.list||e.list.length<1?t.no_list=!0:t.logList=e.list;document.documentElement.scrollTop||document.body.scrollTop;window.addEventListener("scroll",t.scrollFix),t.log_show=!0})}},filters:{substrTime:function(t){return t.substr(0,10).replace(/-/g,".")}},mounted:function(){var t=this;this.initPage(),window.onscroll=function(){(document.documentElement.scrollTop||document.body.scrollTop)>300?(t.$refs.btn_block.style.opacity=1,t.$refs.btn_block.style.display="block"):(t.$refs.btn_block.style.opacity=0,t.$refs.btn_block.style.display="none")}}},I={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"star-activity-page"},[s("div",[s("img",{staticClass:"bg",attrs:{src:t.starbg_1}}),t._v(" "),s("div",{staticClass:"star-total",on:{click:t.showLog}},[t._v("\n 我的星星 "),s("img",{staticClass:"x-img",attrs:{src:t.x_url}}),t._v(t._s(t.star_total)+"\n ")]),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_2}}),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_3},on:{click:t.showQr}}),t._v(" "),s("img",{staticClass:"bg",attrs:{src:t.starbg_4}})]),t._v(" "),s("div",{ref:"btn_block",staticClass:"btn-block"},[s("div",{staticClass:"btn"},[t._v("\n 活动已结束\n ")])]),t._v(" "),s("mt-popup",{staticStyle:{background:"transparent"},model:{value:t.qr_show,callback:function(e){t.qr_show=e},expression:"qr_show"}},[s("div",{staticClass:"qr-img"},[s("img",{staticClass:"qr-img",attrs:{src:t.qr_url}}),t._v(" "),s("div",{staticClass:"qr-close",on:{click:function(e){t.qr_show=!1}}})])]),t._v(" "),s("mt-popup",{staticStyle:{background:"transparent"},attrs:{closeOnClickModal:!1},model:{value:t.log_show,callback:function(e){t.log_show=e},expression:"log_show"}},[s("div",{staticClass:"log-img",style:{backgroundImage:"url('"+t.log_url+"')"}},[s("div",{staticClass:"content"},[t.no_list?s("div",{staticClass:"no-list"},[s("img",{attrs:{src:t.no_url}}),t._v("\n —— 暂无记录 ——\n ")]):t._e(),t._v(" "),t._l(t.logList,function(e){return s("div",{staticClass:"list"},[s("span",{staticClass:"time-text"},[t._v("\n "+t._s(t._f("substrTime")(e.created_at))+"\n ")]),t._v(" "),s("span",{staticClass:"desc-text"},[t._v("\n "+t._s(e.desc)+"\n ")]),t._v(" "),1===e.is_add?s("span",{staticClass:"star-num",staticStyle:{color:"#7ED321"}},[t._v("\n 星星+"+t._s(e.value)+"\n ")]):t._e(),t._v(" "),1!==e.is_add?s("span",{staticClass:"star-num",staticStyle:{color:"#D0021B"}},[t._v("\n 星星-"+t._s(e.value)+"\n ")]):t._e()])})],2),t._v(" "),s("div",{staticClass:"btn",on:{click:t.closeLog}},[t._v("\n 知道了\n ")])])]),t._v(" "),t.share_show?s("div",{staticClass:"share-show-block",on:{click:function(e){t.share_show=!1}}},[s("div",{staticClass:"share-show-content"},[s("img",{staticClass:"cvs-img",attrs:{src:t.dataURL,id:"cvs-img"}}),t._v(" "),s("div",{ref:"imageWrapper",staticClass:"share_img",style:{backgroundImage:"url('"+t.share_img_url+"')"},attrs:{id:"capture"}},[s("div",{staticClass:"qrcode",attrs:{id:"qrcode"}})]),t._v(" "),t._m(0)])]):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tips"},[e("b",[this._v("长按保存海报 或发送给好友")]),this._v(" "),e("br"),this._v("\n 越多朋友报名,您可得越多星星\n ")])}]};var U=s("VU/8")(q,I,!1,function(t){s("A6mk"),s("eN5d")},"data-v-c5f020b6",null);e.default=U.exports},yniu:function(t,e,s){t.exports=s.p+"static/img/actBg4.74aadcc.png"}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([7],{AlL1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmMAAAB7CAMAAAAPDHeQAAAA+VBMVEUAAADeQg/jPQf/hQD/hQD/hQD/hQD/hQDjPQfjPQfjPQfjPQfjPQfjPQfsVAXtWATnSAboSgbqTgX/hQD/hQD/hQD9gAD5eAD2cADjPQfbNgDePADkSgDnTgHqVgDuXQHxZQHkaEDjXTDhUCDmQwbiRQD/////+PD+9PD/8OD86OD529D3zcD61cD/4cD/4MD93MD/2LD/0aD/ypD/woD8uYD2roDtm4DypH/vqJDytKD3v6D2xLD/pED/nDD/lCD/jRD4exD4iSnteDjndlDpgmDsj3DzlFv/sVv/unD5p2P5lkDwhEXpZCDoWRD/6dD95ND7wJDzr5BPlWaeAAAAFXRSTlMA/uuZqr7w3860oYp0YEw6LBkJeGIU08daAAAPDUlEQVR4AezXVWEFMAxA0ZT/ypEz8K9qzETt6N0jIRz5tDpdSFFxSGIKfuQu36G4pAcLYTTZqw8K7OD5srXCogIaimySkwKXXJMNulfcQMyyXHkwxADXZa386BIDQpeVpj4GhCbrZN0KTLKizwF8lzVa1GcBTtYI+gIgywpDXwLEJl9XX9mUgN+9KYGy+acEwm8fY2CQVd0LXGRO3wB0+ZKkbwDmr774wdU/CODp6dHpqb4Csf/mr5Ia47OM+gedsWMHKx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ompm5UVn3OSYzJGl4opVlxvlFcorqw4UX+YyP8n4okJfRAdaPbpdWCrXZPX3r1uqL8v727wI0lBoIw/Ai8jIaSYpDk+18xzJPeqTDVFzjBP9yWS2vx4JF1VMoHuedvOPdzs3lCY9G/AzXWPlljxVgwQi2xTH6USDcWV1JLxasXGRONReJcY92LjElsY3MMMDdkIhnX5vSgtS6WPAmDfeoNRmM9eJGDGtnYYoGHNS9ySOi4ZbHgFvDqRMaThtucoxrTHRlPQicbW8IWvYipGLujDjjYshexJNzniMboq6VI6ExjgxFr+qulSMbQamWPWJt69ATRzRi1JxcfmUgF29gaNj4yUWL2/pVTjOvJi9xRYJnyjemjkphiBt3YZgNOjl7kUoNtMNg/m4HVvNh0EjN2tDEaM/QWvKiwApCN2SPWtl6jl28tFViM3d/meKxcY/DyLcVUOihzvjFDL7Wd+S1fVzuTrv/Vmjto89ExftYP+bqAjjMdvOHQtT1ircYEz7JYqDF5o8acU2NiwLM4NzZircYEz7RUY/ImjTk1JiY8k/vx4wTn12Y50wcG8wAAAABJRU5ErkJggg=="},Bgoh:function(e,t,i){e.exports=i.p+"static/img/21.d0421c5.png"},Bzf6:function(e,t){},G3B8:function(e,t,i){e.exports=i.p+"static/img/btn.9815b8e.png"},G3h5:function(e,t){},PHFB:function(e,t,i){e.exports=i.p+"static/img/no_data.c31e3b2.png"},QwAc:function(e,t,i){e.exports=i.p+"static/img/title1.664cce3.png"},ftYv:function(e,t,i){e.exports=i.p+"static/img/31.0e83cd6.jpg"},iIg5:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABmCAYAAAAj4wTsAAAelklEQVR4nO2deZAcV53nPy8z6+77klqHLcuSrdOybEtGxheysLE9ZrHNzcIAM2zsMQshhtiIMWzsH9izE8MsmjE7DBAwxkPsLrCzwJjDi/GBsddjWci3LKHDkmypW+q7q+vOzPfbPzKzKqu62m519aVdfhFPqah+lZn1vvn9Xe/3Xqov38Ek+dIXL70U4V+h1B8AvYAD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Dni1VTtsaHeVEDFZIyq86eGvpbUOAWPO8v2uKBZefUTbuWf5jqevWZ1QDOdtMOM9tYvSKLHqhJNYB//bOHKjWALUjqAlxXCif6o4/v/+3QM0zekMoAv65ivlTglG3msshe6DSllIECimdODf/Vsgu67y1m04MnjxSe/fU/nX1+ZLgQvEWmdmcvf6vQ81vUl+9Y6FuYthh4A5/Eey9gJ9ANdABNeICU8PZTCt6LMUplC4GG93pYSDlfGAVUJ2up7O8QvDvWorKPUtUeSsxZBm7+5HwEKtjbIUclsHX8/7tUXkNXD7DzVs4noKBiq4IXlhj+ZwW836KpbIGTZxZ2TFkscr4BBdVbzIEHRABa+G+172Y6r+V8AyoY8IBVATBBxWzAuNp3BTbuHy+wnG9ABRJMFgTABCmAABC/3muWgphFIOcjUIIHSgBEvRk5qTme9/J/AUq0D5absrPKAAAAAElFTkSuQmCC"},qVuA:function(e,t,i){e.exports=i.p+"static/img/more.72d57b0.png"},ui5E:function(e,t,i){e.exports=i.p+"static/img/4.65b6cb5.png"},yYpN:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i("MJLE"),s=i.n(o),n=i("CCn6"),a=i("E26C"),r=i.n(a),d=i("kXdI"),c=i.n(d),u=i("1UEi"),l=i.n(u),p=i("XaoW"),g=i.n(p),h=i("zpE/"),A=i.n(h),f=i("0ZjB"),m=i.n(f),D=i("eMjc"),v=i.n(D),I=i("QwAc"),x=i.n(I),O=i("iIg5"),V=i.n(O),j=i("Bgoh"),w=i.n(j),q=i("ftYv"),U=i.n(q),k=i("ui5E"),b=i.n(k),B=i("AlL1"),E=i.n(B),X=i("qVuA"),y=i.n(X),M=i("G3B8"),T=i.n(M),C=i("PHFB"),J=i.n(C),S={name:"index",data:function(){return{header1:x.a,header2:w.a,header3:U.a,header_icon:V.a,header4:b.a,inviteResultTitle:E.a,moreResult:y.a,inviteBtn:T.a,refBg:r.a,join:!1,popType:!1,popFill:!1,popupVisible:!1,refVisible:!1,tabType:!0,popcontentW:"您已经购买过课程,无需重复<br>购买,您可以添加微信公众号了解更多",popcontentT:"为了更好地为您进行课程服务,<br>请扫码添加老师二维码",qrCode:A.a,weChatIcon:g.a,closeUrl:m.a,moreUrl:c.a,refIcon:l.a,noData:J.a,QRCodeB:!1,dataURL:null,user_id:null,invite_code_f:!0,invite_code:"",shopId:"",groupId:null,groupDetail:!1,groupData:null,earnings:0,userNum:0,inviteList:[],total:0,shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!"}},filters:{formatDate:function(e){return e?e.split(" ")[0]:""}},mounted:function(){this.getInviteResult(),this.getInviteList(),this.enableShare()},methods:{goToInvite:function(){var e={};window.location.href.indexOf("shopId")>-1&&(e.shopId=this.$route.query.shopId),window.location.href.indexOf("groupId")>-1&&(e.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(e.invite_code=this.$route.query.invite_code),this.$router.push({name:"activityInvite",query:e})},goToInviteList:function(){var e={};window.location.href.indexOf("shopId")>-1&&(e.shopId=this.$route.query.shopId),window.location.href.indexOf("groupId")>-1&&(e.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(e.invite_code=this.$route.query.invite_code),this.$router.push({name:"inviteList",query:e})},refshow:function(){var e=this;if(Toast.loading({mask:!0,message:""}),document.body.scrollTop<10&&(document.body.scrollTop=20,document.documentElement.scrollTop=20),localStorage.getItem("cc_token")&&""!==localStorage.getItem("cc_token"))setTimeout(function(){Toast.clear(),e.invite_code||(e.invite_code="CC-USER"),e.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id;var t=e.invite_code.split("-");t.length>2&&("TEACHER"===t[1]||"XXMM"===t[1])&&(t[1]="USER");var i=t[0]+"-"+t[1],o="https://wechat.changchangenglish.com/#/buyDetail?shopId="+e.shopId+"&invite_code="+i+"-"+e.user_id;e.groupId&&"null"!==e.groupId&&(o+="&groupId="+e.groupId),e.qrcode(o),e.refVisible=!0,e.$nextTick(function(){e.dataURL||setTimeout(function(){var t=document.getElementById("capture").getClientRects()[0],i=(t.height,t.width);document.getElementById("capture").style.width=i+"px";e.getOffsetRect(e.$refs.imageWrapper);var o=document.getElementById("capture").getClientRects()[0],s=o.height1,n=o.width1;v()(document.getElementById("capture"),{async:!0,timeout:500,scrollX:1,scale:3,width:n,height:s,letterRendering:!0}).then(function(t){var i=t.toDataURL("image/jpg");e.dataURL=i}).catch(function(e){alert(e)})},500)})},500);else{var t={retUrl:this.$route.fullPath,is_new_user_url:"1"};this.$router.push({name:"author",query:t})}},getOffsetRect:function(e){var t=e.getBoundingClientRect(),i=document.body,o=document.documentElement,s=window.pageYOffset||o.scrollTop||i.scrollTop,n=window.pageXOffset||o.scrollLeft||i.scrollLeft,a=o.clientTop||i.clientTop,r=o.clientLeft||i.clientLeft,d=t.top+s-a,c=t.left+n-r;return{top:Math.round(d),left:Math.round(c)}},qrcode:function(e){this.QRCodeB?this.QRCodeB.makeCode(e):this.QRCodeB=new s.a("qrcode",{width:80,height:80,text:e,image:""})},enableShare:function(){var e=this;Object(n.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:window.location.href,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页好友分享","id"+e.shopId,e.invite_code])},cancel:function(){}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:window.location.href,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页朋友圈分享","id"+e.shopId,e.invite_code])},cancel:function(){}})})})},onShare:function(e){this.shopId,this.groupId,this.invite_code;1===e&&(this.shopId,this.invite_code)},toDataURLBase64:function(e,t){var i=new XMLHttpRequest;i.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(i.response)},i.responseType="blob",i.open("GET",e,!0),i.send()},getDetail:function(){var e=this;window.location.href.indexOf("invite_code")>-1&&(this.invite_code=this.$route.query.invite_code,this.invite_code.split("-").length<3&&(this.invite_code_f=!1));window.location.href.indexOf("shopId")>-1&&(this.shopId=this.$route.query.shopId,Object(n.q)(this.shopId).then(function(t){if(t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),t.share_desc=JSON.parse(t.share_desc),2===t.status&&t.bind_goods_id)return e.$router.push({name:"buyDetail",query:{shopId:t.bind_goods_id}}),void e.getDetail();e.groupDetail=t;for(var i=0;i<e.groupDetail.header_url.length;i++)e.groupDetail.header_url[i]=e.groupDetail.header_url[i].replace("http://","https://");if(e.groupDetail.desc.detail=e.groupDetail.desc.detail.replace(/http:\/\//g,"https://"),e.groupDetail.desc.qa=e.groupDetail.desc.qa.replace(/http:\/\//g,"https://"),e.groupDetail.share_desc.refImg&&1===e.groupDetail.share_desc.refImg.length){e.groupDetail.share_desc.refImg[0].url=e.groupDetail.share_desc.refImg[0].url.replace("http://","https://");var o=e;e.toDataURLBase64(e.groupDetail.share_desc.refImg[0].url,function(e){o.groupDetail.share_desc.refImg[0].url=e})}2===e.groupDetail.goods_type&&(localStorage.getItem("cc_token")&&Object(n.M)({goods_id:e.shopId}).then(function(t){t.out_trade_no&&e.$router.push({name:"success",query:{out_trade_no:t.out_trade_no}})}),window.location.href.indexOf("groupId")>-1?(e.groupId=e.$route.query.groupId,Object(n.s)(e.groupId).then(function(t){e.groupData=t}),e.onShare(0)):e.onShare(1))}))},getInviteResult:function(){var e=this,t=this.$route.query.shopId;Object(n.u)({},t).then(function(t){e.earnings=t.earnings,e.userNum=t.user_num})},getInviteList:function(){var e=this,t=this.$route.query.shopId;Object(n.t)({page:1,limit:3},t).then(function(t){e.inviteList=t.list,e.total=t.total})}}},K={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"activity"},[i("img",{staticClass:"headerImg",attrs:{src:e.header1}}),e._v(" "),i("img",{staticClass:"headerImg",attrs:{src:e.header2}}),e._v(" "),i("div",{staticClass:"inviteContainer"},[i("img",{staticClass:"invite-title",attrs:{src:e.inviteResultTitle}}),e._v(" "),i("img",{staticClass:"invite-icon",attrs:{src:e.header_icon}}),e._v(" "),i("div",{staticClass:"invite-list"},[e._m(0),e._v(" "),i("div",{staticClass:"flex-center i-num red"},[i("span",[e._v(e._s(e.userNum)+"人")]),e._v(" "),i("span",[e._v(e._s(e.earnings/100)+"元")])])]),e._v(" "),0==e.userNum?i("img",{staticClass:"noData",attrs:{src:e.noData}}):e._e(),e._v(" "),0!=e.userNum?[i("ul",{staticClass:"p-list"},e._l(e.inviteList,function(t){return i("li",[i("div",{staticClass:"flex-start no-margin"},[i("img",{attrs:{src:t.avatar}}),e._v(" "),i("span",[e._v(e._s(t.nickname))])]),e._v(" "),i("span",{staticClass:"no-margin"},[e._v(e._s(e._f("formatDate")(t.pay_at)))])])})),e._v(" "),e.total>3?i("img",{staticClass:"moreBtn",attrs:{src:e.moreResult},on:{click:e.goToInviteList}}):e._e()]:e._e()],2),e._v(" "),i("img",{staticClass:"headerImg",attrs:{src:e.header4}}),e._v(" "),i("div",{staticClass:"invite-btn"},[i("img",{attrs:{src:e.inviteBtn},on:{click:e.goToInvite}})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"flex-center i-title"},[t("span",[this._v("受邀购买")]),this._v(" "),t("span",[this._v("已获奖金")])])}]};var Q=i("VU/8")(S,K,!1,function(e){i("G3h5"),i("Bzf6")},"data-v-97d4d76a",null);t.default=Q.exports}}); webpackJsonp([8],{AlL1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmMAAAB7CAMAAAAPDHeQAAAA+VBMVEUAAADeQg/jPQf/hQD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fVzuTrv/Vmjto89ExftYP+bqAjjMdvOHQtT1ircYEz7JYqDF5o8acU2NiwLM4NzZircYEz7RUY/ImjTk1JiY8k/vx4wTn12Y50wcG8wAAAABJRU5ErkJggg=="},Bgoh:function(e,t,i){e.exports=i.p+"static/img/21.d0421c5.png"},Bzf6:function(e,t){},G3B8:function(e,t,i){e.exports=i.p+"static/img/btn.9815b8e.png"},G3h5:function(e,t){},PHFB:function(e,t,i){e.exports=i.p+"static/img/no_data.c31e3b2.png"},QwAc:function(e,t,i){e.exports=i.p+"static/img/title1.664cce3.png"},ftYv:function(e,t,i){e.exports=i.p+"static/img/31.0e83cd6.jpg"},iIg5:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABmCAYAAAAj4wTsAAAelklEQVR4nO2deZAcV53nPy8z6+77klqHLcuSrdOybEtGxheysLE9ZrHNzcIAM2zsMQshhtiIMWzsH9izE8MsmjE7DBAwxkPsLrCzwJjDi/GBsddjWci3LKHDkmypW+q7q+vOzPfbPzKzKqu62m519aVdfhFPqah+lZn1vvn9Xe/3Xqov38Ek+dIXL70U4V+h1B8AvYADHNVa/vu+faPf/NWjAyVA/O7ifWedVJ2kSeMei1B4OoZKCKjJ12lYlAJXI4USiCASuisFSikwFAiI66Is0/+7fz/a64f456q9R5Hy98Pnrbq+9k8SfF6vn+CdJzinUiDCnoMHpv1TjdoPvviFzk/iFg6hi5/HzV8CNINqB7YZhtqzfXvHgT/69KoNQAywABNQ9953aC6g+L34YgB86SGJAdzzhd6biLc9oLu3o5dcjySWgpun8piAUly0dGn8N8uWxVuBOBDFA8y4975DHmCCB58GcZkbNv1/Jh6j8sfde7730hbV1PNj3XsL0n4DEmtD9+xAmi70waqIUrR95MMr/xZoBhKEwPI6ABrcQfP3IM2SGAD3fmi1o4786xtY85+bVfIKyLwI9iiIoJtXgxH1qVGRRMK8a9u29vVAC5DEA8vEZxaDJvYxCyMx3z/p/02xvvSQNGvXXq1Of+0jmCvAakfST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FTkSuQmCC"},qVuA:function(e,t,i){e.exports=i.p+"static/img/more.72d57b0.png"},ui5E:function(e,t,i){e.exports=i.p+"static/img/4.65b6cb5.png"},yYpN:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i("MJLE"),s=i.n(o),n=i("CCn6"),a=i("E26C"),r=i.n(a),d=i("kXdI"),c=i.n(d),u=i("1UEi"),l=i.n(u),p=i("XaoW"),g=i.n(p),h=i("zpE/"),A=i.n(h),f=i("0ZjB"),m=i.n(f),D=i("eMjc"),v=i.n(D),I=i("QwAc"),x=i.n(I),O=i("iIg5"),V=i.n(O),j=i("Bgoh"),w=i.n(j),q=i("ftYv"),U=i.n(q),k=i("ui5E"),b=i.n(k),B=i("AlL1"),E=i.n(B),X=i("qVuA"),y=i.n(X),M=i("G3B8"),T=i.n(M),C=i("PHFB"),J=i.n(C),S={name:"index",data:function(){return{header1:x.a,header2:w.a,header3:U.a,header_icon:V.a,header4:b.a,inviteResultTitle:E.a,moreResult:y.a,inviteBtn:T.a,refBg:r.a,join:!1,popType:!1,popFill:!1,popupVisible:!1,refVisible:!1,tabType:!0,popcontentW:"您已经购买过课程,无需重复<br>购买,您可以添加微信公众号了解更多",popcontentT:"为了更好地为您进行课程服务,<br>请扫码添加老师二维码",qrCode:A.a,weChatIcon:g.a,closeUrl:m.a,moreUrl:c.a,refIcon:l.a,noData:J.a,QRCodeB:!1,dataURL:null,user_id:null,invite_code_f:!0,invite_code:"",shopId:"",groupId:null,groupDetail:!1,groupData:null,earnings:0,userNum:0,inviteList:[],total:0,shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!"}},filters:{formatDate:function(e){return e?e.split(" ")[0]:""}},mounted:function(){this.getInviteResult(),this.getInviteList(),this.enableShare()},methods:{goToInvite:function(){var e={};window.location.href.indexOf("shopId")>-1&&(e.shopId=this.$route.query.shopId),window.location.href.indexOf("groupId")>-1&&(e.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(e.invite_code=this.$route.query.invite_code),this.$router.push({name:"activityInvite",query:e})},goToInviteList:function(){var e={};window.location.href.indexOf("shopId")>-1&&(e.shopId=this.$route.query.shopId),window.location.href.indexOf("groupId")>-1&&(e.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(e.invite_code=this.$route.query.invite_code),this.$router.push({name:"inviteList",query:e})},refshow:function(){var e=this;if(Toast.loading({mask:!0,message:""}),document.body.scrollTop<10&&(document.body.scrollTop=20,document.documentElement.scrollTop=20),localStorage.getItem("cc_token")&&""!==localStorage.getItem("cc_token"))setTimeout(function(){Toast.clear(),e.invite_code||(e.invite_code="CC-USER"),e.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id;var t=e.invite_code.split("-");t.length>2&&("TEACHER"===t[1]||"XXMM"===t[1])&&(t[1]="USER");var i=t[0]+"-"+t[1],o="https://wechat.changchangenglish.com/#/buyDetail?shopId="+e.shopId+"&invite_code="+i+"-"+e.user_id;e.groupId&&"null"!==e.groupId&&(o+="&groupId="+e.groupId),e.qrcode(o),e.refVisible=!0,e.$nextTick(function(){e.dataURL||setTimeout(function(){var t=document.getElementById("capture").getClientRects()[0],i=(t.height,t.width);document.getElementById("capture").style.width=i+"px";e.getOffsetRect(e.$refs.imageWrapper);var o=document.getElementById("capture").getClientRects()[0],s=o.height1,n=o.width1;v()(document.getElementById("capture"),{async:!0,timeout:500,scrollX:1,scale:3,width:n,height:s,letterRendering:!0}).then(function(t){var i=t.toDataURL("image/jpg");e.dataURL=i}).catch(function(e){alert(e)})},500)})},500);else{var t={retUrl:this.$route.fullPath,is_new_user_url:"1"};this.$router.push({name:"author",query:t})}},getOffsetRect:function(e){var t=e.getBoundingClientRect(),i=document.body,o=document.documentElement,s=window.pageYOffset||o.scrollTop||i.scrollTop,n=window.pageXOffset||o.scrollLeft||i.scrollLeft,a=o.clientTop||i.clientTop,r=o.clientLeft||i.clientLeft,d=t.top+s-a,c=t.left+n-r;return{top:Math.round(d),left:Math.round(c)}},qrcode:function(e){this.QRCodeB?this.QRCodeB.makeCode(e):this.QRCodeB=new s.a("qrcode",{width:80,height:80,text:e,image:""})},enableShare:function(){var e=this;Object(n.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:window.location.href,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页好友分享","id"+e.shopId,e.invite_code])},cancel:function(){}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:window.location.href,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页朋友圈分享","id"+e.shopId,e.invite_code])},cancel:function(){}})})})},onShare:function(e){this.shopId,this.groupId,this.invite_code;1===e&&(this.shopId,this.invite_code)},toDataURLBase64:function(e,t){var i=new XMLHttpRequest;i.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(i.response)},i.responseType="blob",i.open("GET",e,!0),i.send()},getDetail:function(){var e=this;window.location.href.indexOf("invite_code")>-1&&(this.invite_code=this.$route.query.invite_code,this.invite_code.split("-").length<3&&(this.invite_code_f=!1));window.location.href.indexOf("shopId")>-1&&(this.shopId=this.$route.query.shopId,Object(n.q)(this.shopId).then(function(t){if(t.desc=JSON.parse(t.desc),t.goods_desc=JSON.parse(t.goods_desc),t.share_desc=JSON.parse(t.share_desc),2===t.status&&t.bind_goods_id)return e.$router.push({name:"buyDetail",query:{shopId:t.bind_goods_id}}),void e.getDetail();e.groupDetail=t;for(var i=0;i<e.groupDetail.header_url.length;i++)e.groupDetail.header_url[i]=e.groupDetail.header_url[i].replace("http://","https://");if(e.groupDetail.desc.detail=e.groupDetail.desc.detail.replace(/http:\/\//g,"https://"),e.groupDetail.desc.qa=e.groupDetail.desc.qa.replace(/http:\/\//g,"https://"),e.groupDetail.share_desc.refImg&&1===e.groupDetail.share_desc.refImg.length){e.groupDetail.share_desc.refImg[0].url=e.groupDetail.share_desc.refImg[0].url.replace("http://","https://");var o=e;e.toDataURLBase64(e.groupDetail.share_desc.refImg[0].url,function(e){o.groupDetail.share_desc.refImg[0].url=e})}2===e.groupDetail.goods_type&&(localStorage.getItem("cc_token")&&Object(n.M)({goods_id:e.shopId}).then(function(t){t.out_trade_no&&e.$router.push({name:"success",query:{out_trade_no:t.out_trade_no}})}),window.location.href.indexOf("groupId")>-1?(e.groupId=e.$route.query.groupId,Object(n.s)(e.groupId).then(function(t){e.groupData=t}),e.onShare(0)):e.onShare(1))}))},getInviteResult:function(){var e=this,t=this.$route.query.shopId;Object(n.u)({},t).then(function(t){e.earnings=t.earnings,e.userNum=t.user_num})},getInviteList:function(){var e=this,t=this.$route.query.shopId;Object(n.t)({page:1,limit:3},t).then(function(t){e.inviteList=t.list,e.total=t.total})}}},K={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"activity"},[i("img",{staticClass:"headerImg",attrs:{src:e.header1}}),e._v(" "),i("img",{staticClass:"headerImg",attrs:{src:e.header2}}),e._v(" "),i("div",{staticClass:"inviteContainer"},[i("img",{staticClass:"invite-title",attrs:{src:e.inviteResultTitle}}),e._v(" "),i("img",{staticClass:"invite-icon",attrs:{src:e.header_icon}}),e._v(" "),i("div",{staticClass:"invite-list"},[e._m(0),e._v(" "),i("div",{staticClass:"flex-center i-num red"},[i("span",[e._v(e._s(e.userNum)+"人")]),e._v(" "),i("span",[e._v(e._s(e.earnings/100)+"元")])])]),e._v(" "),0==e.userNum?i("img",{staticClass:"noData",attrs:{src:e.noData}}):e._e(),e._v(" "),0!=e.userNum?[i("ul",{staticClass:"p-list"},e._l(e.inviteList,function(t){return i("li",[i("div",{staticClass:"flex-start no-margin"},[i("img",{attrs:{src:t.avatar}}),e._v(" "),i("span",[e._v(e._s(t.nickname))])]),e._v(" "),i("span",{staticClass:"no-margin"},[e._v(e._s(e._f("formatDate")(t.pay_at)))])])})),e._v(" "),e.total>3?i("img",{staticClass:"moreBtn",attrs:{src:e.moreResult},on:{click:e.goToInviteList}}):e._e()]:e._e()],2),e._v(" "),i("img",{staticClass:"headerImg",attrs:{src:e.header4}}),e._v(" "),i("div",{staticClass:"invite-btn"},[i("img",{attrs:{src:e.inviteBtn},on:{click:e.goToInvite}})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"flex-center i-title"},[t("span",[this._v("受邀购买")]),this._v(" "),t("span",[this._v("已获奖金")])])}]};var Q=i("VU/8")(S,K,!1,function(e){i("G3h5"),i("Bzf6")},"data-v-97d4d76a",null);t.default=Q.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([9],{"1fWZ":function(e,t,i){"use strict";var s=i("RfZZ"),r=i("AA6R"),n=i.n(r),a=i("o69Z"),o=i("noWC"),c=i("rhik"),l=i("n8HW"),d=i("+2ln"),u=Object(a.h)("cell"),h=u[0],m=u[1];function v(e,t,i,s){var r=t.icon,o=t.size,u=t.title,h=t.label,v=t.value,f=t.isLink,p=t.arrowDirection,g=i.title||Object(a.c)(u),_=i.default||Object(a.c)(v),b=(i.label||Object(a.c)(h))&&e("div",{class:[m("label"),t.labelClass]},[i.label?i.label():h]),y=g&&e("div",{class:[m("title"),t.titleClass]},[i.title?i.title():e("span",[u]),b]),C=_&&e("div",{class:[m("value",{alone:!i.title&&!u}),t.valueClass]},[i.default?i.default():e("span",[v])]),k=i.icon?i.icon():r&&e(d.a,{class:m("left-icon"),attrs:{name:r}}),$=i["right-icon"],O=$?$():f&&e(d.a,{class:m("right-icon"),attrs:{name:p?"arrow-"+p:"arrow"}}),A={center:t.center,required:t.required,borderless:!t.border,clickable:f||t.clickable};return o&&(A[o]=o),e("div",n()([{class:m(A),on:{click:function(e){Object(c.a)(s,"click",e),Object(l.a)(s)}}},Object(c.b)(s)]),[k,y,C,O,i.extra&&i.extra()])}v.props=Object(s.a)({},o.a,l.b,{clickable:Boolean,arrowDirection:String}),t.a=h(v)},"4aw7":function(e,t,i){"use strict";var s=i("bOdI"),r=i.n(s),n=(i("q/am"),i("4VPn")),a=i.n(n),o=(i("CCn6"),i("4dzY")),c=i.n(o),l={name:"orderCancelDialog",components:r()({},a.a.name,a.a),props:["orderCancel"],data:function(){return{popup_img:c.a}},mounted:function(){},methods:{payOrder:function(){this.$emit("payEven")},dis:function(){this.$emit("cancel")}},watch:{orderCancel:function(){}}},d={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("mt-popup",{staticClass:"orderCancel",attrs:{overlay:!0},model:{value:e.orderCancel,callback:function(t){e.orderCancel=t},expression:"orderCancel"}},[i("div",{staticClass:"box"},[i("img",{staticClass:"img",attrs:{src:e.popup_img,alt:""}}),e._v(" "),i("div",{staticClass:"content"},[i("h2",[e._v("参与未成功")]),e._v(" "),i("p",[e._v("真的要放弃孩子启蒙英语的黄金机会吗?")]),e._v(" "),i("p",{staticClass:"warn"},[e._v("每天10分钟,英语启蒙很轻松!")]),e._v(" "),i("div",{staticClass:"btnbox"},[i("div",{staticClass:"btn fal",on:{click:e.dis}},[e._v("含泪放弃")]),e._v(" "),i("div",{staticClass:"btn suc",on:{click:function(t){e.payOrder()}}},[e._v("报名课程")])])])])])},staticRenderFns:[]};var u=i("VU/8")(l,d,!1,function(e){i("wij0")},"data-v-f7863a06",null);t.a=u.exports},"4dzY":function(e,t,i){e.exports=i.p+"static/img/popup_img@2x.afca647.png"},"5FXK":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i("pFYg");var s,r=i("mvHQ"),n=i.n(r),a=(i("eqfM"),i("/QYm")),o=i("bOdI"),c=i.n(o),l=(i("nsZj"),i("px3J"),i("AA6R")),d=i.n(l),u=i("RfZZ"),h=i("o69Z"),m=i("+2ln"),v=i("1fWZ"),f=i("noWC"),p=Object(h.h)("field"),g=p[0],_=p[1],b=g({inheritAttrs:!1,props:Object(u.a)({},f.a,{error:Boolean,leftIcon:String,rightIcon:String,readonly:Boolean,clearable:Boolean,labelAlign:String,inputAlign:String,onIconClick:Function,autosize:[Boolean,Object],errorMessage:String,errorMessageAlign:String,type:{type:String,default:"text"}}),data:function(){return{focused:!1}},watch:{value:function(){this.$nextTick(this.adjustSize)}},mounted:function(){this.format(),this.$nextTick(this.adjustSize)},computed:{showClear:function(){return this.clearable&&this.focused&&""!==this.value&&Object(h.c)(this.value)&&!this.readonly},listeners:function(){return Object(u.a)({},this.$listeners,{input:this.onInput,keypress:this.onKeypress,focus:this.onFocus,blur:this.onBlur})}},methods:{focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},format:function(e){void 0===e&&(e=this.$refs.input);var t=e.value,i=this.$attrs.maxlength;return"number"===this.type&&Object(h.c)(i)&&t.length>i&&(t=t.slice(0,i),e.value=t),t},onInput:function(e){this.$emit("input",this.format(e.target))},onFocus:function(e){this.focused=!0,this.$emit("focus",e),this.readonly&&this.blur()},onBlur:function(e){this.focused=!1,this.$emit("blur",e)},onClickLeftIcon:function(){this.$emit("click-left-icon")},onClickRightIcon:function(){this.$emit("click-icon"),this.$emit("click-right-icon"),this.onIconClick&&this.onIconClick()},onClear:function(e){e.preventDefault(),this.$emit("input",""),this.$emit("clear")},onKeypress:function(e){if("number"===this.type){var t=e.keyCode,i=-1===String(this.value).indexOf(".");t>=48&&t<=57||46===t&&i||45===t||e.preventDefault()}"search"===this.type&&13===e.keyCode&&this.blur(),this.$emit("keypress",e)},adjustSize:function(){var e=this.$refs.input;if("textarea"===this.type&&this.autosize&&e){e.style.height="auto";var t=e.scrollHeight;if(Object(h.d)(this.autosize)){var i=this.autosize,s=i.maxHeight,r=i.minHeight;s&&(t=Math.min(t,s)),r&&(t=Math.max(t,r))}t&&(e.style.height=t+"px")}},renderInput:function(){var e=this.$createElement,t={ref:"input",class:_("control",this.inputAlign),domProps:{value:this.value},attrs:Object(u.a)({},this.$attrs,{readonly:this.readonly}),on:this.listeners};return"textarea"===this.type?e("textarea",d()([{},t])):e("input",d()([{attrs:{type:this.type}},t]))},renderLeftIcon:function(){var e=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return e("div",{class:_("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||e(m.a,{attrs:{name:this.leftIcon}})])},renderRightIcon:function(){var e=this.$createElement,t=this.slots;if(t("right-icon")||t("icon")||this.rightIcon||this.icon)return e("div",{class:_("right-icon"),on:{click:this.onClickRightIcon}},[t("right-icon")||t("icon")||e(m.a,{attrs:{name:this.rightIcon||this.icon}})])}},render:function(e){var t,i=this.slots,s=this.labelAlign,r={icon:this.renderLeftIcon};return i("label")&&(r.title=function(){return i("label")}),e(v.a,{attrs:{icon:this.leftIcon,size:this.size,title:this.label,center:this.center,border:this.border,isLink:this.isLink,required:this.required,titleClass:_("label",s)},class:_((t={error:this.error,disabled:this.$attrs.disabled},t["label-"+s]=s,t["min-height"]="textarea"===this.type&&!this.autosize,t)),scopedSlots:r},[e("div",{class:_("body")},[this.renderInput(),this.showClear&&e(m.a,{attrs:{name:"clear"},class:_("clear"),on:{touchstart:this.onClear}}),this.renderRightIcon(),i("button")&&e("div",{class:_("button")},[i("button")])]),this.errorMessage&&e("div",{class:_("error-message",this.errorMessageAlign)},[this.errorMessage])])}}),y=(i("OWWB"),i("CCn6")),C=i("4aw7"),k=i("xpkA"),$=i.n(k),O=i("qUD4"),A=i("NuXJ"),P={name:"ybOrderRender",data:function(){return{addressInfo:{},open:!1,link:!0,orderParams:{name:"",mobile:"",verify_code:"",address:""},showAddressPicker:!1,addressArea:"",time:0,invite_code:"",this_code:"",groupDetail:{},orderCancel:!1,imgprize:$.a,deliverDetail:{},query:{},jsApiParameters:"",orderFlag:!1}},components:(s={},c()(s,v.a.name,v.a),c()(s,b.name,b),c()(s,"MyAddress",O.a),c()(s,"orderCancelDialog",C.a),s),mounted:function(){this.initPage()},methods:{test:function(){this.showAddressPicker=tr},buttonClick:function(e,t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"详情页",buttonType:e,buttonName:t})},getAddressCode:function(){this.addressData.province_name;for(var e=this.addressData.city_name,t=(this.addressData.area_name,void 0),i=void 0,s=void 0,r=0,n=A.a.length;r<n;r++){var a=A.a[r];if(e==a.label){t=a.value;for(var o=a.children,c=0,l=o.length;c<l;c++){var d=o[c];if(e==d.label){i=d.value;for(var u=d.children,h=0,m=u.length;h<m;h++)if(u[h].label){s=u[h].value;break}}}}}this.addressAreaCode=t+"-"+i+"-"+s},payOrder:function(){var e=this,t={};if(!this.orderParams.name)return Object(a.a)("收货人不能为空"),!1;if(!this.orderParams.mobile)return Object(a.a)("手机号不能为空"),!1;if(!/^1\d{10,12}$/.test(this.orderParams.mobile))return Object(a.a)("手机号格式不正确"),!1;if(!this.addressArea)return Object(a.a)("所在地区不能为空"),!1;if(!this.orderParams.verify_code)return Object(a.a)("验证码不能为空"),!1;if(!this.orderParams.address)return Object(a.a)("详细地址不能为空"),!1;var i=this.addressAreaCode.split("-"),s=this.addressArea.split("-");t.receive_name=this.orderParams.name,t.receive_mobile=this.orderParams.mobile,t.address=this.orderParams.address,t.province_id=i[0],t.province_name=s[0],t.city_id=i[1],t.city=s[1],t.area_id=i[2],t.area=s[2],t.verify_code=this.orderParams.verify_code,Object(y._6)(t).then(function(t){e.pay()})},pay:function(){var e=this;this.orderCancel=!1;var t={goods_id:50};2!==this.groupDetail.goods_type||this.type||(t.buy_type=2),this.invite_code&&(t.invite_code=this.invite_code),this.saleObj&&(t.order_coupon_id=this.saleObj.id);this.$route.query.invite_code;window.location.href.indexOf("gdt_vid")>-1&&(t.gdt_vid=this.$route.query.gdt_vid),window.location.href.indexOf("cct_user_id")>-1&&(t.cct_user_id=this.$route.query.cct_user_id),window.location.href.indexOf("redeem_code")>-1&&(t.redeem_code=this.$route.query.redeem_code),window.location.href.indexOf("cct_user_id")>-1&&(t.cct_user_id=this.$route.query.cct_user_id),this.orderFlag=!1,Object(y._2)(t).then(function(i){if(i.out_trade_no&&!i.appId)e.$router.push({name:"ybPaySuccess",query:that.$route.query});else{var s=e;e.orderNo=i.out_trade_no,e.jsApiParameters=i,wx.miniProgram.getEnv(function(e){if(e.miniprogram){var i=encodeURIComponent(n()(t));wx.miniProgram.navigateTo({url:"pages/wxPay/main?payParam="+i})}else"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",s.jsApiCall,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",s.jsApiCall),document.attachEvent("onWeixinJSBridgeReady",s.jsApiCall)):s.jsApiCall()})}}).catch(function(t){e.orderFlag=!0})},jsApiCall:function(){var e=this;WeixinJSBridge.invoke("getBrandWCPayRequest",this.jsApiParameters,function(t){e.orderFlag=!0,"get_brand_wcpay_request:ok"===t.err_msg&&(Object(a.a)("支付成功"),setTimeout(function(){e.$router.push({name:"ybPaySuccess",query:e.$route.query})},1e3)),t.err_msg,"get_brand_wcpay_request:cancel"===t.err_msg&&(e.orderCancel=!0)})},timeO:function(){var e=this;this.time>0&&(this.time--,setTimeout(function(){e.timeO()},1e3))},sendCode:function(){var e=this,t={};if(!this.orderParams.mobile.match(/^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/))return Object(a.a)("请正确填写手机号"),!1;t.mobile=this.orderParams.mobile,this.time=30,this.timeO(),this.$sa.track("clickSendcode",{}),Object(y._12)(t).then(function(t){"操作成功"===t?Object(a.a)("验证码已发送"):(e.time=0,Object(a.a)(t))}).catch(function(e){})},hidePicker:function(){this.showAddressPicker=!1},saveAddress:function(e,t){this.addressArea=e,this.addressAreaCode=t,this.showAddressPicker=!this.showAddressPicker},initPage:function(){var e=this;this.invite_code=this.$route.query.invite_code,Object(y.W)({redeem_code:this.$route.query.redeem_code}).then(function(t){1==t.res?e.$router.push({name:"ybOrderRender",query:e.$route.query}):2==t.res||4==t.res?e.$router.push({name:"ybPaySuccess",query:e.$route.query}):window.location.href="https://ebiz.aia.com.cn/salesplus/goodstart/singing-English-Index.action?parentId="+e.$route.query.parentId+"&agentId="+e.$route.query.agentId}),Object(y.N)().then(function(t){var i=t;e.addressData=i,e.orderParams.name=i.receive_name,e.orderParams.mobile=i.receive_mobile,e.orderParams.address=i.address,e.deliverId=i.id,e.addressArea=i.province_name+"-"+i.city+"-"+i.area,e.getAddressCode()});var t=this.invite_code;Object(y.q)(50).then(function(i){e.groupDetail=i,e.$sa.track("ViewDetailPageAIA",{goodsID:e.groupDetail.id.toString(),courseCate:1===e.groupDetail.course_type?"体验课":"正式课",lessonNumber:e.groupDetail.watch_num,goodsName:e.groupDetail.name,coursePrice:Number(e.groupDetail.original_price/100),discountPrice:Number(e.groupDetail.current_price/100),courseID:e.groupDetail.course_id,courseName:"",salesType:t?t.split("-")[1]:"null",salesID:t?Number(t.split("-")[2]):0})}),this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,this.onShare()},handleInviteCode:function(){if(this.invite_code){var e=this.invite_code.split("-"),t=e[0]+"-"+e[1];this.this_code=t+"-"+this.user_id}else this.this_code="CC-AIA-"+this.user_id},onShare:function(e){this.handleInviteCode();var t="https://wechat.changchangenglish.com/#/ybNav?parentId="+this.$route.query.parentId+"&agentId="+this.$route.query.agentId;this.enableShare({product_title:"【免费领】价值498元亲子早教英语启蒙训练课",desc:"友邦助您启蒙宝贝快乐家庭",shareIcon:"https://cdn.singsingenglish.com/new-sing/6c51175a99f73ee3a410ea9fbf66123f9f49f0f6.png",shareUrl:t})},enableShare:function(e){Object(y.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:"【庆百年 友惊喜】暑期亲子礼︱价值498元唱唱启蒙英语线上课程免费领",desc:"【庆百年 友惊喜】暑期亲子礼︱价值498元唱唱启蒙英语线上课程免费领",link:e.shareUrl,imgUrl:e.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:"【庆百年 友惊喜】暑期亲子礼",desc:"价值498元唱唱启蒙英语线上课程免费领",link:e.shareUrl,imgUrl:e.shareIcon||"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})}}},x={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"ybOrderRender"},[i("div",{staticClass:"container"},[i("p",{staticClass:"title"},[e._v("*课程教材收货地址")]),e._v(" "),i("div",{staticClass:"content"},[e.open?e._e():i("van-cell",{ref:"order",attrs:{title:"收货地址",value:"点击填写","is-link":""},on:{click:function(t){e.open=!0,e.buttonClick("按钮点击","友邦点击填写")}}}),e._v(" "),e.open?i("div",[i("van-field",{attrs:{type:"text",label:"收货人",placeholder:"请输入收货人"},model:{value:e.orderParams.name,callback:function(t){e.$set(e.orderParams,"name",t)},expression:"orderParams.name"}}),e._v(" "),i("van-field",{attrs:{type:"tel",label:"手机号",placeholder:"请输入手机号"},model:{value:e.orderParams.mobile,callback:function(t){e.$set(e.orderParams,"mobile",t)},expression:"orderParams.mobile"}}),e._v(" "),i("van-field",{attrs:{maxlength:"4",type:"number",label:"验证码",placeholder:"请输入短信验证码"},model:{value:e.orderParams.verify_code,callback:function(t){e.$set(e.orderParams,"verify_code",t)},expression:"orderParams.verify_code"}},[0==e.time?i("van-button",{attrs:{slot:"button",plain:"",round:"",size:"small",type:"primary"},on:{click:function(t){e.sendCode(),e.buttonClick("按钮点击","友邦发送验证码")}},slot:"button"},[e._v("发送验证码")]):e._e(),e._v(" "),e.time>0?i("van-button",{attrs:{slot:"button",plain:"",round:"",size:"small",disabled:"",type:"primary"},slot:"button"},[e._v(e._s(e.time)+"s后重新发送")]):e._e()],1),e._v(" "),i("div",{staticStyle:{position:"relative"}},[i("van-field",{attrs:{type:"text",label:"所在地区","is-link":e.link,placeholder:"请选择"},model:{value:e.addressArea,callback:function(t){e.addressArea=t},expression:"addressArea"}}),e._v(" "),i("div",{staticClass:"clickItem",on:{click:function(t){e.showAddressPicker=!0}}})],1),e._v(" "),i("van-field",{attrs:{type:"text",label:"详细地址",placeholder:"请输入详细地址"},model:{value:e.orderParams.address,callback:function(t){e.$set(e.orderParams,"address",t)},expression:"orderParams.address"}})],1):e._e()],1)]),e._v(" "),i("div",{staticClass:"container"},[i("p",{staticClass:"title"},[e._v("订单信息")]),e._v(" "),i("div",{staticClass:"content"},[e._m(0),e._v(" "),i("div",{staticClass:"line"}),e._v(" "),i("div",{staticClass:"main"},[e._m(1),e._v(" "),e._m(2),e._v(" "),i("div",{staticClass:"info"},[i("p",{staticStyle:{"margin-top":"6px"}},[e._v("课程教材(共31件)")]),e._v(" "),i("img",{staticClass:"imgprize",attrs:{src:e.imgprize,alt:""}})])])])]),e._v(" "),i("div",{staticClass:"bottom"},[e._m(3),e._v(" "),i("div",{staticClass:"right"},[i("van-button",{staticClass:"pay-btn",attrs:{slot:"button",round:"",size:"normal",type:""},on:{click:function(t){e.payOrder(),e.buttonClick("按钮点击","友邦去支付")}},slot:"button"},[e._v("去支付")])],1)]),e._v(" "),i("my-address",{attrs:{showAddressPicker:e.showAddressPicker,init:e.addressArea},on:{"save-address":e.saveAddress,"hide-picker":e.hidePicker}}),e._v(" "),e.orderCancel?i("order-cancel-dialog",{attrs:{orderCancel:e.orderCancel},on:{cancel:function(t){e.orderCancel=!1},payEven:e.pay}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"top"},[t("div",{staticClass:"left"},[t("div",[this._v("唱唱启蒙英语精品课(适合1-5岁)")]),this._v(" "),t("p",[this._v("课时10天")])]),this._v(" "),t("div",{staticClass:"right"},[this._v("\n ¥0\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip"},[t("span",[this._v("[优惠]")]),this._v("限时福利,0元专享10节课\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip"},[t("span",[this._v("[赠品]")]),this._v("配套教材礼包\n ")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"left"},[t("div",[this._v("邮费:"),t("span",[this._v("¥5.0")])])])}]};var j=i("VU/8")(P,x,!1,function(e){i("Otln"),i("F1Ah")},"data-v-3a841440",null);t.default=j.exports},F1Ah:function(e,t){},OWWB:function(e,t,i){"use strict";var s=i("nsZj");i.n(s)},Otln:function(e,t){},noWC:function(e,t,i){"use strict";i.d(t,"a",function(){return s});var s={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,titleClass:null,valueClass:null,labelClass:null,title:[String,Number],value:[String,Number],label:[String,Number],border:{type:Boolean,default:!0}}},px3J:function(e,t){},wij0:function(e,t){},xpkA:function(e,t,i){e.exports=i.p+"static/img/imghh@2x.d05217f.png"}});
\ No newline at end of file
webpackJsonp([8],{"2Aux":function(t,e,i){t.exports=i.p+"static/img/img_title1.e6e13c0.png"},ATfF:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAYAAADeB1slAAAC3UlEQVRIS7WXz0sUYRjHv8/szLgoFGSd8lx/QN26FGWhQVa0lOu6ZT9cRQShgydBolMdpER3x5RKZ9Zii1DCipQ6RAeJDtEhqkMHISgNCszcmZ0nZhw3c0f3x6vvbS6fD+/7/BzCJh/aZD5cAbdEd1qceczgcgpITUq//nqjxK7AikXqmTjpQRfAdFLR9KcbIVm6QWNjhVVhPwOwz4OaBI7KieQ9UUk2BtzcXG5J8w8A1HhQmxltqmYkRCT/BZlDIdWsVO8QUJ+FMncpWvJqqZKcLOLubinz9dNNJrT9g1KPnNAvE8DFitZMU7MlfAWgrmUgA3eVufQFSqUyxUjWrYN0a0MHMXpWAMdk5cdp6n2yWKgkb6GlY5EoEd8GILlQxguZ0ydoIPWzEElegVsnrZFjzHwfQHAJym9kxayl3tT3fJKCBA7EbInsB3gMwBYP+kG2UE2Dxsx6koIFDiTdGt5DTE6Fb/eeayZjBw4Gbw1/XEtSlMCB/LkU3RWQMlMgVHnQWbbpiDqgv/WTFC1wI3CxocqSMQlgtwf9BVCdktBfrpaUJHAl7aEdlqlMALTXgy4Q0Rk5ro+vlJQscCXNoa0WqY9AOOBBM8x0XtX04WWJkGDpJjVllrnNSeG6bNUzdaiafsP5Fha4klAoYFaqQwSczT4P02FF059vogCHFM2YEhbkPBGDWUK7Gjf6hJ/IJ8gmEc7JcWN5/JYeA980ZT4la8kJ4TT1LTTbPqoMjL4SLjSfVvHNJru6LD76TrhVrG52DHyxJaoO9uufhZudT7t+L1uo2ZB2nTtwMC0HArXUNzwnPHByRiYwKc9Lx2lkZD4fPG8d5A59fijPmWFKpdKFwNcV5KwtREPK7GJMeG3xXbwY12XN6BRevHxXR6BTSRjXCn2SNQvNd/kliqlxfbBUeDYGvus7IyxrhrNtCx2/H5DfIK5T4klnqAuflb9Q4yAEGdykJpLTwmQP8Berj0A2h4b2MAAAAABJRU5ErkJggg=="},G3B8:function(t,e,i){t.exports=i.p+"static/img/btn.9815b8e.png"},Joag:function(t,e,i){t.exports=i.p+"static/img/img_title6.e0dd387.png"},Jt49:function(t,e,i){t.exports=i.p+"static/img/img_title3.a5fc320.png"},KCO3:function(t,e,i){t.exports=i.p+"static/img/img_title2.9b32656.png"},Kf79:function(t,e,i){t.exports=i.p+"static/img/img_bg.e1ca973.png"},T4lz:function(t,e,i){t.exports=i.p+"static/img/img_title5.2b6f130.png"},Z6Nl:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("CCn6"),n={name:"inviteFriends",components:{},data:function(){return{earnings:0,userNum:0,records:[],shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!",invite_code:"",shopId:"",groupId:null}},mounted:function(){this.$route.query.shopId?this.shopId=this.$route.query.shopId:this.shopId=46,this.getInviteResult(),this.getInviteList(),this.onShare(),this.$sa.track("ViewInvitationPage",{})},methods:{lookMyInviteRecords:function(){this.$refs.inviteRecord.scrollIntoView()},lookMoreRecord:function(){var t={shopId:this.shopId};this.$router.push({name:"inviteRecordList",query:t})},getInviteResult:function(){var t=this;Object(s.u)({},this.shopId).then(function(e){t.earnings=e.earnings,t.userNum=e.user_num})},getInviteList:function(){var t=this;Object(s.t)({page:1,limit:20},this.shopId).then(function(e){e&&e.list&&e.list.length>0&&(t.records=e.list)})},goToInvite:function(){var t={};window.location.href.indexOf("shopId")>-1?t.shopId=this.$route.query.shopId:t.shopId=46,window.location.href.indexOf("groupId")>-1&&(t.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(t.invite_code=this.$route.query.invite_code),this.$sa.quick("trackHeatMap",this.$refs.goToInvitePage),this.$router.push({name:"activityInvite",query:t})},enableShare:function(t){var e=this;Object(s.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(i){wx.config({debug:!1,appId:i.appId,timestamp:parseInt(i.timestamp),nonceStr:i.nonceStr,signature:i.signature,jsApiList:i.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:t.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:t.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},onShare:function(t){var e=JSON.parse(localStorage.getItem("userDesc")),i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&groupId="+this.groupId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname);this.invite_code?(i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname),this.enableShare({shareUrl:i})):(this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,this.invite_code="CC-USER-"+this.user_id,i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname),this.enableShare({shareUrl:i}))}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"invite-friends"},[t._m(0),t._v(" "),s("div",{staticClass:"invite-friends cell"},[s("img",{attrs:{src:i("2Aux"),alt:""}}),t._v(" "),s("p",{staticClass:"cell-content money"},[s("span",[t._v(t._s(t.earnings/100))]),t._v(" "),s("span",[t._v("元")])]),t._v(" "),s("p",{staticClass:"cell-content people"},[s("span",[t._v(t._s(t.userNum))]),t._v(" "),s("span",[t._v("人")])]),t._v(" "),t.earnings>0||t.userNum>0?s("div",{staticClass:"invite-record-btn",on:{click:t.lookMyInviteRecords}},[s("p",[t._v("查看我的邀请记录")]),t._v(" "),t._m(1)]):t._e()]),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),s("div",{ref:"inviteRecord",staticClass:"invite-friends cell"},[s("img",{staticClass:"invite-img",attrs:{src:i("T4lz"),alt:""}}),t._v(" "),s("div",{staticClass:"invite-record-list"},[s("div",{staticClass:"container"},[s("div",{staticClass:"record-content"},[t._m(5),t._v(" "),0==t.records.length?s("div",{staticClass:"no-record"},[t._v("您还没有成功邀请好友,快去邀请吧!")]):t._e(),t._v(" "),t.records.length>0?s("ul",{staticClass:"record"},t._l(t.records,function(e,i){return s("li",{key:i},[s("p",[t._v(t._s(e.nickname))]),t._v(" "),s("p",[t._v(t._s(e.pay_at))])])})):t._e(),t._v(" "),t.records.length>6?s("div",{staticClass:"look-more-record",on:{click:t.lookMoreRecord}},[s("p",[t._v("查看更多")]),t._v(" "),t._m(6)]):t._e()])])])]),t._v(" "),t._m(7),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{ref:"goToInvitePage",staticClass:"invite-btn"},[s("img",{attrs:{src:i("G3B8")},on:{click:t.goToInvite}})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends header"},[e("img",{attrs:{src:i("Kf79"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-container"},[e("img",{attrs:{src:i("ATfF")}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("KCO3"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("Jt49"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("ykLY"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"record-title"},[e("span",[this._v("已邀好友")]),this._v(" "),e("span",[this._v("购买时间")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-container"},[e("img",{attrs:{src:i("ATfF")}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("Joag"),alt:""}})])}]};var r=i("VU/8")(n,c,!1,function(t){i("pskz")},"data-v-f93bdca0",null);e.default=r.exports},pskz:function(t,e){},ykLY:function(t,e,i){t.exports=i.p+"static/img/img_title4.20b8135.png"}}); webpackJsonp([9],{"2Aux":function(t,e,i){t.exports=i.p+"static/img/img_title1.e6e13c0.png"},ATfF:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAYAAADeB1slAAAC3UlEQVRIS7WXz0sUYRjHv8/szLgoFGSd8lx/QN26FGWhQVa0lOu6ZT9cRQShgydBolMdpER3x5RKZ9Zii1DCipQ6RAeJDtEhqkMHISgNCszcmZ0nZhw3c0f3x6vvbS6fD+/7/BzCJh/aZD5cAbdEd1qceczgcgpITUq//nqjxK7AikXqmTjpQRfAdFLR9KcbIVm6QWNjhVVhPwOwz4OaBI7KieQ9UUk2BtzcXG5J8w8A1HhQmxltqmYkRCT/BZlDIdWsVO8QUJ+FMncpWvJqqZKcLOLubinz9dNNJrT9g1KPnNAvE8DFitZMU7MlfAWgrmUgA3eVufQFSqUyxUjWrYN0a0MHMXpWAMdk5cdp6n2yWKgkb6GlY5EoEd8GILlQxguZ0ydoIPWzEElegVsnrZFjzHwfQHAJym9kxayl3tT3fJKCBA7EbInsB3gMwBYP+kG2UE2Dxsx6koIFDiTdGt5DTE6Fb/eeayZjBw4Gbw1/XEtSlMCB/LkU3RWQMlMgVHnQWbbpiDqgv/WTFC1wI3CxocqSMQlgtwf9BVCdktBfrpaUJHAl7aEdlqlMALTXgy4Q0Rk5ro+vlJQscCXNoa0WqY9AOOBBM8x0XtX04WWJkGDpJjVllrnNSeG6bNUzdaiafsP5Fha4klAoYFaqQwSczT4P02FF059vogCHFM2YEhbkPBGDWUK7Gjf6hJ/IJ8gmEc7JcWN5/JYeA980ZT4la8kJ4TT1LTTbPqoMjL4SLjSfVvHNJru6LD76TrhVrG52DHyxJaoO9uufhZudT7t+L1uo2ZB2nTtwMC0HArXUNzwnPHByRiYwKc9Lx2lkZD4fPG8d5A59fijPmWFKpdKFwNcV5KwtREPK7GJMeG3xXbwY12XN6BRevHxXR6BTSRjXCn2SNQvNd/kliqlxfbBUeDYGvus7IyxrhrNtCx2/H5DfIK5T4klnqAuflb9Q4yAEGdykJpLTwmQP8Berj0A2h4b2MAAAAABJRU5ErkJggg=="},G3B8:function(t,e,i){t.exports=i.p+"static/img/btn.9815b8e.png"},Joag:function(t,e,i){t.exports=i.p+"static/img/img_title6.e0dd387.png"},Jt49:function(t,e,i){t.exports=i.p+"static/img/img_title3.a5fc320.png"},KCO3:function(t,e,i){t.exports=i.p+"static/img/img_title2.9b32656.png"},Kf79:function(t,e,i){t.exports=i.p+"static/img/img_bg.e1ca973.png"},T4lz:function(t,e,i){t.exports=i.p+"static/img/img_title5.2b6f130.png"},Z6Nl:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("CCn6"),n={name:"inviteFriends",components:{},data:function(){return{earnings:0,userNum:0,records:[],shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!",invite_code:"",shopId:"",groupId:null}},mounted:function(){this.$route.query.shopId?this.shopId=this.$route.query.shopId:this.shopId=46,this.getInviteResult(),this.getInviteList(),this.onShare(),this.$sa.track("ViewInvitationPage",{})},methods:{lookMyInviteRecords:function(){this.$refs.inviteRecord.scrollIntoView()},lookMoreRecord:function(){var t={shopId:this.shopId};this.$router.push({name:"inviteRecordList",query:t})},getInviteResult:function(){var t=this;Object(s.u)({},this.shopId).then(function(e){t.earnings=e.earnings,t.userNum=e.user_num})},getInviteList:function(){var t=this;Object(s.t)({page:1,limit:20},this.shopId).then(function(e){e&&e.list&&e.list.length>0&&(t.records=e.list)})},goToInvite:function(){var t={};window.location.href.indexOf("shopId")>-1?t.shopId=this.$route.query.shopId:t.shopId=46,window.location.href.indexOf("groupId")>-1&&(t.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(t.invite_code=this.$route.query.invite_code),this.$sa.quick("trackHeatMap",this.$refs.goToInvitePage),this.$router.push({name:"activityInvite",query:t})},enableShare:function(t){var e=this;Object(s.Y)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(i){wx.config({debug:!1,appId:i.appId,timestamp:parseInt(i.timestamp),nonceStr:i.nonceStr,signature:i.signature,jsApiList:i.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:t.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:t.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){},cancel:function(){}})})})},onShare:function(t){var e=JSON.parse(localStorage.getItem("userDesc")),i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&groupId="+this.groupId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname);this.invite_code?(i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname),this.enableShare({shareUrl:i})):(this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,this.invite_code="CC-USER-"+this.user_id,i="https://wechat.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+encodeURIComponent(e.nickname),this.enableShare({shareUrl:i}))}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"invite-friends"},[t._m(0),t._v(" "),s("div",{staticClass:"invite-friends cell"},[s("img",{attrs:{src:i("2Aux"),alt:""}}),t._v(" "),s("p",{staticClass:"cell-content money"},[s("span",[t._v(t._s(t.earnings/100))]),t._v(" "),s("span",[t._v("元")])]),t._v(" "),s("p",{staticClass:"cell-content people"},[s("span",[t._v(t._s(t.userNum))]),t._v(" "),s("span",[t._v("人")])]),t._v(" "),t.earnings>0||t.userNum>0?s("div",{staticClass:"invite-record-btn",on:{click:t.lookMyInviteRecords}},[s("p",[t._v("查看我的邀请记录")]),t._v(" "),t._m(1)]):t._e()]),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),s("div",{ref:"inviteRecord",staticClass:"invite-friends cell"},[s("img",{staticClass:"invite-img",attrs:{src:i("T4lz"),alt:""}}),t._v(" "),s("div",{staticClass:"invite-record-list"},[s("div",{staticClass:"container"},[s("div",{staticClass:"record-content"},[t._m(5),t._v(" "),0==t.records.length?s("div",{staticClass:"no-record"},[t._v("您还没有成功邀请好友,快去邀请吧!")]):t._e(),t._v(" "),t.records.length>0?s("ul",{staticClass:"record"},t._l(t.records,function(e,i){return s("li",{key:i},[s("p",[t._v(t._s(e.nickname))]),t._v(" "),s("p",[t._v(t._s(e.pay_at))])])})):t._e(),t._v(" "),t.records.length>6?s("div",{staticClass:"look-more-record",on:{click:t.lookMoreRecord}},[s("p",[t._v("查看更多")]),t._v(" "),t._m(6)]):t._e()])])])]),t._v(" "),t._m(7),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{ref:"goToInvitePage",staticClass:"invite-btn"},[s("img",{attrs:{src:i("G3B8")},on:{click:t.goToInvite}})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends header"},[e("img",{attrs:{src:i("Kf79"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-container"},[e("img",{attrs:{src:i("ATfF")}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("KCO3"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("Jt49"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("ykLY"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"record-title"},[e("span",[this._v("已邀好友")]),this._v(" "),e("span",[this._v("购买时间")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img-container"},[e("img",{attrs:{src:i("ATfF")}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:i("Joag"),alt:""}})])}]};var r=i("VU/8")(n,c,!1,function(t){i("pskz")},"data-v-f93bdca0",null);e.default=r.exports},pskz:function(t,e){},ykLY:function(t,e,i){t.exports=i.p+"static/img/img_title4.20b8135.png"}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([66],{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"),d=n.n(p),f=n("YaEn"),h=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]=d()(n[o].toString());n.sing="singsingenglish21000",h.a.getUrlParam().chang_test_user_id,e.params.param_token=d()(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]=d()(a[r].toString());a.sing="singsingenglish21000",h.a.getUrlParam().chang_test_user_id,e.data.param_token=d()(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&&f.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,"Y",function(){return w}),n.d(t,"q",function(){return y}),n.d(t,"_0",function(){return b}),n.d(t,"B",function(){return v}),n.d(t,"N",function(){return $}),n.d(t,"_2",function(){return _}),n.d(t,"_10",function(){return S}),n.d(t,"_9",function(){return N}),n.d(t,"i",function(){return P}),n.d(t,"j",function(){return k}),n.d(t,"U",function(){return T}),n.d(t,"w",function(){return x}),n.d(t,"o",function(){return I}),n.d(t,"v",function(){return O}),n.d(t,"P",function(){return A}),n.d(t,"_14",function(){return R}),n.d(t,"s",function(){return U}),n.d(t,"D",function(){return D}),n.d(t,"E",function(){return M}),n.d(t,"V",function(){return E}),n.d(t,"M",function(){return C}),n.d(t,"m",function(){return L}),n.d(t,"r",function(){return j}),n.d(t,"u",function(){return V}),n.d(t,"t",function(){return q}),n.d(t,"_12",function(){return Y}),n.d(t,"e",function(){return W}),n.d(t,"_1",function(){return F}),n.d(t,"O",function(){return Q}),n.d(t,"b",function(){return G}),n.d(t,"h",function(){return H}),n.d(t,"F",function(){return B}),n.d(t,"I",function(){return J}),n.d(t,"J",function(){return K}),n.d(t,"S",function(){return z}),n.d(t,"T",function(){return X}),n.d(t,"a",function(){return Z}),n.d(t,"X",function(){return ee}),n.d(t,"_7",function(){return te}),n.d(t,"p",function(){return ne}),n.d(t,"n",function(){return oe}),n.d(t,"_8",function(){return ae}),n.d(t,"k",function(){return re}),n.d(t,"l",function(){return ie}),n.d(t,"y",function(){return ce}),n.d(t,"A",function(){return ue}),n.d(t,"z",function(){return le}),n.d(t,"_15",function(){return se}),n.d(t,"d",function(){return pe}),n.d(t,"g",function(){return de}),n.d(t,"f",function(){return fe}),n.d(t,"_13",function(){return he}),n.d(t,"Z",function(){return me}),n.d(t,"_11",function(){return ge}),n.d(t,"K",function(){return we}),n.d(t,"L",function(){return ye}),n.d(t,"H",function(){return be}),n.d(t,"G",function(){return ve}),n.d(t,"W",function(){return $e}),n.d(t,"_6",function(){return _e}),n.d(t,"x",function(){return Se}),n.d(t,"_3",function(){return Ne}),n.d(t,"_4",function(){return Pe}),n.d(t,"_5",function(){return ke}),n.d(t,"Q",function(){return Te}),n.d(t,"R",function(){return xe}),n.d(t,"C",function(){return Ie});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),f.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),f.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),f.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),f.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)},N=function(e){return o.default.prototype.$post(m+"api/client/user/starActivity/address",e)},P=function(e,t){return o.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+t,e)},k=function(e){return o.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",e)},T=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},x=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},I=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+e)},O=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+e+"/"+t+"/"+n)},A=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},R=function(e,t,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+e+"/"+t+"/"+n,a)},U=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)},E=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report",e)},C=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",e)},L=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:e})},j=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",e)},V=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},Y=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",e)},W=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",e)},F=function(e,t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",e)},Q=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},G=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+e)},B=function(e,t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+e,t)},J=function(){return o.default.prototype.$fetch("/api/client/share/goods")},K=function(e){return o.default.prototype.$fetch("/api/public/short/url",e)},z=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},X=function(e){return o.default.prototype.$fetch("/api/client/user/integral",e)},Z=function(e){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",e)},ee=function(e){return o.default.prototype.$fetch("/api/client/yunji/config",e)},te=function(e){return o.default.prototype.$post("/api/client/user/add/class/"+e)},ne=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},oe=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")},ae=function(e){return o.default.prototype.$put("/api/client/me/set",e)},re=function(e,t){return o.default.prototype.$fetch("/api/client/course/automation/list/"+e+"/"+t)},ie=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ce=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},ue=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},le=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},se=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},pe=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")},he=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},me=function(e){return o.default.prototype.$fetch("/api/client/user/main/info/"+e)},ge=function(e){return o.default.prototype.$fetch("/api/client/user/click/link/"+e)},we=function(){return o.default.prototype.$fetch("/api/client/user/starActivity")},ye=function(){return o.default.prototype.$fetch("/api/client/user/startBonusActivity")},be=function(e){return o.default.prototype.$fetch("/api/client/user/receive/coupon/"+e)},ve=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)},_e=function(e){return o.default.prototype.$post("/api/client/youbang/address/add",e)},Se=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)},Pe=function(e){return o.default.prototype.$post("/api/client/user/notify/setting",e)},ke=function(e,t,n,a){return o.default.prototype.$post("api/client/user/growth/record/"+e+"/"+t+"/"+n,a)},Te=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)},Ie=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)}},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),a=n("NYxO"),r=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,t){e.isMobile=t},isWatchDetail:function(e,t){e.watchDetail=t},isClassQuery:function(e,t){e.classQuery=t},isCouponShadow:function(e,t){e.couponShadow=t},isLookStatus:function(e,t){e.lookStatus=t},isTimeout:function(e,t){e.timeout=t},setTest:function(e,t){e.test=t}});o.default.use(a.a);t.a=new a.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1,lookStatus:0,timeout:"",test:1},mutations:r,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)},isMobile:function(e,t){(0,e.commit)("isMobile",t)},setWatchDetail:function(e,t){(0,e.commit)("isWatchDetail",t)},setClassQuery:function(e,t){(0,e.commit)("isClassQuery",t)},setCouponShadow:function(e,t){(0,e.commit)("isCouponShadow",t)},setLookStatus:function(e,t){(0,e.commit)("isLookStatus",t)},setTimeout:function(e,t){(0,e.commit)("isTimeout",t)}}})},JKiR:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("mMXg");var o=n("qYlo"),a=(n("qVvv"),n("8aUD")),r=(n("3Lne"),n("SSsa")),i=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[this._v(">\n "),t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(e){n("zP5g")},null,null).exports,p=n("YaEn"),d=n("IcnI"),f=n("sf/l"),h=n("wvfG"),m=n.n(h),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,N=n("NVJ5"),P=n("MPCr"),k=this;N.apikey="4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e",Object(P.a)(N,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=f.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:d.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 d={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()},f=window.navigator.userAgent.toLowerCase(),h=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(26).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(64)]).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(27)]).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(6)]).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(25)]).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(10)]).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(7)]).then(n.bind(null,"yYpN"))},meta:{skip_login:!0,noNew:!0}},{path:"/inviteFriends",name:"inviteFriends",component:function(){return n.e(8).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(63)]).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(9)]).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(23)]).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:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"Zazt"))}}]});h.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.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",d.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.getParamhref().gdt_vid),"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.P)().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.P)().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=h},"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"]); webpackJsonp([66],{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"),d=n.n(p),f=n("YaEn"),h=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]=d()(n[o].toString());n.sing="singsingenglish21000",h.a.getUrlParam().chang_test_user_id,e.params.param_token=d()(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]=d()(a[r].toString());a.sing="singsingenglish21000",h.a.getUrlParam().chang_test_user_id,e.data.param_token=d()(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&&f.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,"Y",function(){return w}),n.d(t,"q",function(){return y}),n.d(t,"_0",function(){return b}),n.d(t,"B",function(){return v}),n.d(t,"N",function(){return $}),n.d(t,"_2",function(){return _}),n.d(t,"_10",function(){return S}),n.d(t,"_9",function(){return N}),n.d(t,"i",function(){return P}),n.d(t,"j",function(){return k}),n.d(t,"U",function(){return T}),n.d(t,"w",function(){return x}),n.d(t,"o",function(){return I}),n.d(t,"v",function(){return O}),n.d(t,"P",function(){return A}),n.d(t,"_14",function(){return R}),n.d(t,"s",function(){return U}),n.d(t,"D",function(){return D}),n.d(t,"E",function(){return M}),n.d(t,"V",function(){return E}),n.d(t,"M",function(){return C}),n.d(t,"m",function(){return L}),n.d(t,"r",function(){return j}),n.d(t,"u",function(){return V}),n.d(t,"t",function(){return q}),n.d(t,"_12",function(){return Y}),n.d(t,"e",function(){return W}),n.d(t,"_1",function(){return F}),n.d(t,"O",function(){return Q}),n.d(t,"b",function(){return G}),n.d(t,"h",function(){return H}),n.d(t,"F",function(){return B}),n.d(t,"I",function(){return J}),n.d(t,"J",function(){return K}),n.d(t,"S",function(){return z}),n.d(t,"T",function(){return X}),n.d(t,"a",function(){return Z}),n.d(t,"X",function(){return ee}),n.d(t,"_7",function(){return te}),n.d(t,"p",function(){return ne}),n.d(t,"n",function(){return oe}),n.d(t,"_8",function(){return ae}),n.d(t,"k",function(){return re}),n.d(t,"l",function(){return ie}),n.d(t,"y",function(){return ce}),n.d(t,"A",function(){return ue}),n.d(t,"z",function(){return le}),n.d(t,"_15",function(){return se}),n.d(t,"d",function(){return pe}),n.d(t,"g",function(){return de}),n.d(t,"f",function(){return fe}),n.d(t,"_13",function(){return he}),n.d(t,"Z",function(){return me}),n.d(t,"_11",function(){return ge}),n.d(t,"K",function(){return we}),n.d(t,"L",function(){return ye}),n.d(t,"H",function(){return be}),n.d(t,"G",function(){return ve}),n.d(t,"W",function(){return $e}),n.d(t,"_6",function(){return _e}),n.d(t,"x",function(){return Se}),n.d(t,"_3",function(){return Ne}),n.d(t,"_4",function(){return Pe}),n.d(t,"_5",function(){return ke}),n.d(t,"Q",function(){return Te}),n.d(t,"R",function(){return xe}),n.d(t,"C",function(){return Ie});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),f.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),f.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),f.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),f.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)},N=function(e){return o.default.prototype.$post(m+"api/client/user/starActivity/address",e)},P=function(e,t){return o.default.prototype.$put(m+"api/client/user/starActivity/address/edit/"+t,e)},k=function(e){return o.default.prototype.$fetch(m+"api/client/user/starActivity/address/list",e)},T=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},x=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+e,t)},I=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+e)},O=function(e,t,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+e+"/"+t+"/"+n)},A=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},R=function(e,t,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+e+"/"+t+"/"+n,a)},U=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)},E=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report",e)},C=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",e)},L=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:e})},j=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",e)},V=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+t,e)},q=function(e,t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+t,e)},Y=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",e)},W=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",e)},F=function(e,t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",e)},Q=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",e)},G=function(e){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",e)},H=function(e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+e)},B=function(e,t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+e,t)},J=function(){return o.default.prototype.$fetch("/api/client/share/goods")},K=function(e){return o.default.prototype.$fetch("/api/public/short/url",e)},z=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},X=function(e){return o.default.prototype.$fetch("/api/client/user/integral",e)},Z=function(e){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",e)},ee=function(e){return o.default.prototype.$fetch("/api/client/yunji/config",e)},te=function(e){return o.default.prototype.$post("/api/client/user/add/class/"+e)},ne=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},oe=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")},ae=function(e){return o.default.prototype.$put("/api/client/me/set",e)},re=function(e,t){return o.default.prototype.$fetch("/api/client/course/automation/list/"+e+"/"+t)},ie=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ce=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},ue=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},le=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},se=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},pe=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")},he=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},me=function(e){return o.default.prototype.$fetch("/api/client/user/main/info/"+e)},ge=function(e){return o.default.prototype.$fetch("/api/client/user/click/link/"+e)},we=function(){return o.default.prototype.$fetch("/api/client/user/starActivity")},ye=function(){return o.default.prototype.$fetch("/api/client/user/startBonusActivity")},be=function(e){return o.default.prototype.$fetch("/api/client/user/receive/coupon/"+e)},ve=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)},_e=function(e){return o.default.prototype.$post("/api/client/youbang/address/add",e)},Se=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)},Pe=function(e){return o.default.prototype.$post("/api/client/user/notify/setting",e)},ke=function(e,t,n,a){return o.default.prototype.$post("api/client/user/growth/record/"+e+"/"+t+"/"+n,a)},Te=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)},Ie=function(e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/notify/"+e)}},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),a=n("NYxO"),r=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,t){e.isMobile=t},isWatchDetail:function(e,t){e.watchDetail=t},isClassQuery:function(e,t){e.classQuery=t},isCouponShadow:function(e,t){e.couponShadow=t},isLookStatus:function(e,t){e.lookStatus=t},isTimeout:function(e,t){e.timeout=t},setTest:function(e,t){e.test=t}});o.default.use(a.a);t.a=new a.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1,lookStatus:0,timeout:"",test:1},mutations:r,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)},isMobile:function(e,t){(0,e.commit)("isMobile",t)},setWatchDetail:function(e,t){(0,e.commit)("isWatchDetail",t)},setClassQuery:function(e,t){(0,e.commit)("isClassQuery",t)},setCouponShadow:function(e,t){(0,e.commit)("isCouponShadow",t)},setLookStatus:function(e,t){(0,e.commit)("isLookStatus",t)},setTimeout:function(e,t){(0,e.commit)("isTimeout",t)}}})},JKiR:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("mMXg");var o=n("qYlo"),a=(n("qVvv"),n("8aUD")),r=(n("3Lne"),n("SSsa")),i=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[this._v(">\n "),t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(e){n("zP5g")},null,null).exports,p=n("YaEn"),d=n("IcnI"),f=n("sf/l"),h=n("wvfG"),m=n.n(h),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,N=n("NVJ5"),P=n("MPCr"),k=this;N.apikey="4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e",Object(P.a)(N,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=f.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:d.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 d={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()},f=window.navigator.userAgent.toLowerCase(),h=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(26).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(64)]).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(27)]).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(25)]).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(63)]).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(23)]).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:"*",component:function(){return Promise.all([n.e(0),n.e(55)]).then(n.bind(null,"Zazt"))}}]});h.beforeEach(function(e,t,n){r.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.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",d.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.getParamhref().gdt_vid),"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.P)().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.P)().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=h},"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 \ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,d){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 n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(c,n,d);u.length;)u.shift()();if(d)for(i=0;i<d.length;i++)o=b(b.s=d[i]);return o};var c={},f={67: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 n=document.getElementsByTagName("head")[0],d=document.createElement("script");d.type="text/javascript",d.charset="utf-8",d.async=!0,d.timeout=12e4,d.crossOrigin="anonymous",b.nc&&d.setAttribute("nonce",b.nc),d.src=b.p+"static/js/"+({0:"vendor-async"}[e]||e)+"."+{0:"2e60501645511012c980",1:"de0e4b73b51ed214b1bd",2:"1af94944bc1726efaf9b",3:"6bbeb30f16c632496200",4:"14e65ac9bd5412c6dc6f",5:"82c77aabe6f6d93e5571",6:"4eacb6ac9498f58046a5",7:"2c62b0c03f86e1a7b869",8:"72351ff946f8bcd88899",9:"6e6600bc81eb64e7b097",10:"d21a7369ec04c9d2e769",11:"a94a729daf12ac1a5888",12:"3443d994fae863e646e8",13:"47a4f7376513a6004b7e",14:"fe7e5fd85bb51a819bca",15:"f1a61fd2f78b9129b854",16:"76b36eaf84f8f2ee3700",17:"d412c9b495f1148c0a3c",18:"717ee98c6005740ceabe",19:"b2a9b2e54720487ddc2e",20:"2b239c7c61a1de889816",21:"296e7c8e411797281671",22:"27d399cfcbd640df9b75",23:"cc39db3627db91531b39",24:"549eeb0a889318a34e89",25:"0f3fd7e080bb5463fb64",26:"1f744303f79d0549c35b",27:"05805c74647bb6430ca6",28:"0e5ee9efb4f076a3f3f4",29:"3af479827506b51fe6a7",30:"4cde0a5eaf719a4ac587",31:"574d8f2161045ab36c65",32:"eebb73a886e1100c1aa1",33:"60c59e8df0c97ae4efb1",34:"3b2f20a7b9d28e76177d",35:"a16eba0c0b4954994d25",36:"0be069e4d37ac0e7f97c",37:"d7bf73d5f9bffb315baf",38:"da4b5c6da73963c92098",39:"886c3383b261524be947",40:"f1f7909447f251e37873",41:"3b59527515857f0c374e",42:"9a4ffcfce87c758f54ee",43:"a3af0082b0371a6f08eb",44:"cc50700046a867e6dda4",45:"aff8decbab2cd961b334",46:"f70ed8a66995e22a5fab",47:"221ef2a673e7544aa9ca",48:"a7eb5e7c5a1e23204cbb",49:"d22a71d3549e5c6a017d",50:"1f40fd51e9fcc6a2f49c",51:"0a2afa393542b975a716",52:"80b344889e2a9af8bb32",53:"a064f80477583dc0317a",54:"107f4e2e23dc7eb7f9e8",55:"eee5e26f247074851331",56:"725b5f0d9a7fbcdf2f35",57:"c9895d4f61a09c5a2000",58:"4375300294715fc5e15b",59:"81ed8f435a78b47c11a7",60:"35d956cdde842e754c25",61:"69cadb6491a683109ce8",62:"f8ed8742b78575b29897",63:"9c7e3fa9c6a4d02ffd66",64:"e01d8a7e823843503b7c"}[e]+".js";var t=setTimeout(r,12e4);function r(){d.onerror=d.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return d.onerror=d.onload=r,n.appendChild(d),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}}([]); !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={67: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:"2e60501645511012c980",1:"de0e4b73b51ed214b1bd",2:"1af94944bc1726efaf9b",3:"6bbeb30f16c632496200",4:"14e65ac9bd5412c6dc6f",5:"82c77aabe6f6d93e5571",6:"6c5ed13cbb35455ce3d8",7:"a4274512173f016f0ef0",8:"5597660101a9924bf6be",9:"d19f620cfe6be9ad1b78",10:"e1b7de64c330f3da77e5",11:"a94a729daf12ac1a5888",12:"3443d994fae863e646e8",13:"47a4f7376513a6004b7e",14:"fe7e5fd85bb51a819bca",15:"f1a61fd2f78b9129b854",16:"76b36eaf84f8f2ee3700",17:"d412c9b495f1148c0a3c",18:"717ee98c6005740ceabe",19:"b2a9b2e54720487ddc2e",20:"2b239c7c61a1de889816",21:"209b3e1b53de1246e456",22:"27d399cfcbd640df9b75",23:"cc39db3627db91531b39",24:"549eeb0a889318a34e89",25:"0f3fd7e080bb5463fb64",26:"1f744303f79d0549c35b",27:"05805c74647bb6430ca6",28:"0e5ee9efb4f076a3f3f4",29:"3af479827506b51fe6a7",30:"4cde0a5eaf719a4ac587",31:"574d8f2161045ab36c65",32:"eebb73a886e1100c1aa1",33:"60c59e8df0c97ae4efb1",34:"3b2f20a7b9d28e76177d",35:"a16eba0c0b4954994d25",36:"0be069e4d37ac0e7f97c",37:"d7bf73d5f9bffb315baf",38:"da4b5c6da73963c92098",39:"886c3383b261524be947",40:"f1f7909447f251e37873",41:"3b59527515857f0c374e",42:"9a4ffcfce87c758f54ee",43:"a3af0082b0371a6f08eb",44:"cc50700046a867e6dda4",45:"aff8decbab2cd961b334",46:"f70ed8a66995e22a5fab",47:"221ef2a673e7544aa9ca",48:"a7eb5e7c5a1e23204cbb",49:"d22a71d3549e5c6a017d",50:"1f40fd51e9fcc6a2f49c",51:"0a2afa393542b975a716",52:"80b344889e2a9af8bb32",53:"a064f80477583dc0317a",54:"107f4e2e23dc7eb7f9e8",55:"eee5e26f247074851331",56:"725b5f0d9a7fbcdf2f35",57:"c9895d4f61a09c5a2000",58:"4375300294715fc5e15b",59:"81ed8f435a78b47c11a7",60:"35d956cdde842e754c25",61:"69cadb6491a683109ce8",62:"f8ed8742b78575b29897",63:"9c7e3fa9c6a4d02ffd66",64:"e01d8a7e823843503b7c"}[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 \ No newline at end of file
<template> <template>
<div> <div>
<div class="model-n" v-if="promp" @click="promp=false">
<div class="model-n-image">
<img :src="yinyin" alt="">
</div>
</div>
<van-actionsheet <van-actionsheet
v-model="actionsheetShow" v-model="actionsheetShow"
:actions="actions" :actions="actions"
@select="onSelect" @select="onSelect"
/> />
<div class="unit-block"> <div class="unit-block">
<div class="course_title" @click="actionsheetShow=true">{{secActions.name}} <i class="iconfont icon-below-s"></i> </div> <div class="course_title" @click="actionsheetShow=true">{{secActions.name}} <i class="iconfont icon-below-s"></i>
<router-link :to="{path: '/promptTime', query: { periods_id: secActions.id }}">
<div class="zhongbian-kuang">
<div class="zhongbian">
<img style="width: 100%; height: 100%;" :src="zhong" alt="">
</div>
</div>
</router-link>
</div>
<!--竖屏 主题栏--> <!--竖屏 主题栏-->
<swiper :options="swiperOption" class="banner" v-if="shopType==0&&unitList.length>0" ref="mySwiper"> <swiper :options="swiperOption" class="banner" v-if="shopType==0&&unitList.length>0" ref="mySwiper">
<swiper-slide v-for="(data,index) in unitList" :key="index"> <swiper-slide v-for="(data,index) in unitList" :key="index">
...@@ -76,7 +90,7 @@ ...@@ -76,7 +90,7 @@
</div> </div>
<div class="card-block" v-for="(data,index) in lessonList" > <div class="card-block" v-for="(data,index) in lessonList" >
<img :src="data[0].cover+'?imageslim'"/> <img :src="data[0].cover+'?imageslim'"/>
<div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia(item,x+1)"> <div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia(item,x+1)"> <!-- showDia(item,x+1) -->
<div class="text-block"> <div class="text-block">
<div class="title"> <div class="title">
{{item.name | substr10}} {{item.name | substr10}}
...@@ -184,7 +198,7 @@ ...@@ -184,7 +198,7 @@
</template> </template>
<script> <script>
import {getCourseListApi,getLessonDetailApi,getLessonListApi,getCourseInfoApi} from "../../service/api"; import {getCourseListApi,getLessonDetailApi,getLessonListApi,getCourseInfoApi, getNotifyApi} from "../../service/api";
import star_act from '../../assets/newLesson/star_act.png' import star_act from '../../assets/newLesson/star_act.png'
import star_def from '../../assets/newLesson/star_def.png' import star_def from '../../assets/newLesson/star_def.png'
import diaBGI from '../../assets/newLesson/diaBG.png' import diaBGI from '../../assets/newLesson/diaBG.png'
...@@ -196,6 +210,9 @@ ...@@ -196,6 +210,9 @@
import errorURL from '../../assets/error.png' import errorURL from '../../assets/error.png'
import nextUnitUrl from '../../assets/newLesson/nextUnit.png' import nextUnitUrl from '../../assets/newLesson/nextUnit.png'
import btn_kechegn from '../../assets/btn_kechegn.png' import btn_kechegn from '../../assets/btn_kechegn.png'
import zhong from '../../assets/evaluate/timer.png'
import yinyin from '../../assets/evaluate/yinyin.png'
export default { export default {
name: "mapDefault", name: "mapDefault",
components:{ components:{
...@@ -207,6 +224,9 @@ ...@@ -207,6 +224,9 @@
data() { data() {
let that = this; let that = this;
return { return {
promp: false,
zhong: zhong,
yinyin: yinyin,
actions: [ actions: [
], ],
secActions:{}, secActions:{},
...@@ -313,6 +333,15 @@ ...@@ -313,6 +333,15 @@
return arr return arr
}, },
}, },
mounted() {
let prompStr = localStorage.getItem('promp')
if(prompStr) {
this.promp = false
}else {
localStorage.setItem('promp', 1)
this.promp = true
}
},
methods:{ methods:{
// 页面初始化 // 页面初始化
initPage(){ initPage(){
...@@ -326,9 +355,9 @@ ...@@ -326,9 +355,9 @@
if(this.$route.query.periods_id){ if(this.$route.query.periods_id){
// 从微信推送进入 // 从微信推送进入
getCourseInfoApi(this.$route.query.periods_id).then(res =>{ getCourseInfoApi(this.$route.query.periods_id).then(res =>{
localStorage.setItem('userCourse',''); localStorage.setItem('userCourse','');
// this.$commom.deepCopy(res) // this.$commom.deepCopy(res)
this.userCourse = this.$common.deepCopy(res) this.userCourse = this.$common.deepCopy(res)
localStorage.setItem('userCourse',JSON.stringify(res)); localStorage.setItem('userCourse',JSON.stringify(res));
this.setCourse() this.setCourse()
}) })
...@@ -750,6 +779,23 @@ ...@@ -750,6 +779,23 @@
<style scoped lang="less"> <style scoped lang="less">
@import "../../util/public"; @import "../../util/public";
// 精灵图 // 精灵图
.model-n {
width: 100%;
height: 100%;
background: rgba(0,0,0,.5);
position: fixed;
left: 0;
top: 0;
z-index: 5000;
.model-n-image {
width: 100%;
img{
width: 90%;
margin-left: 7%;
margin-top: 9 * @toVw;
}
}
}
#app{background: white;} #app{background: white;}
.child-view{background: white;} .child-view{background: white;}
.map{background:url('https://static-cdn.changchangenglish.com/new-sing/static/images/map.png') no-repeat;background-size:136*@toVw 207*@toVw} .map{background:url('https://static-cdn.changchangenglish.com/new-sing/static/images/map.png') no-repeat;background-size:136*@toVw 207*@toVw}
...@@ -759,7 +805,7 @@ ...@@ -759,7 +805,7 @@
.actStar{height:20*@toVw;width:20*@toVw;background-position:0 -60*@toVw;display: inline-block} .actStar{height:20*@toVw;width:20*@toVw;background-position:0 -60*@toVw;display: inline-block}
.clock{height:28*@toVw;width:28*@toVw;background-position:0 -80*@toVw;display: inline-block} .clock{height:28*@toVw;width:28*@toVw;background-position:0 -80*@toVw;display: inline-block}
.money{height:40*@toVw;width:40*@toVw;background-position:0 -108*@toVw;display: inline-block;animation: dodge 1s infinite;} .money{height:40*@toVw;width:40*@toVw;background-position:0 -108*@toVw;display: inline-block;animation: dodge 1s infinite;}
.goLesson{height:59*@toVw;width:136*@toVw;background-position:0 -148*@toVw;display: inline-block;margin-top:15*@toVw;margin-bottom: 10*@toVw } .goLesson{height:57*@toVw;width:169*@toVw;background-position:0 -148*@toVw;display: inline-block;margin-top:15*@toVw;margin-bottom: 10*@toVw }
.van-actionsheet{ .van-actionsheet{
.activit{color: yellowgreen;} .activit{color: yellowgreen;}
} }
...@@ -852,7 +898,29 @@ ...@@ -852,7 +898,29 @@
z-index: 2; z-index: 2;
top: 0; top: 0;
left: 0; left: 0;
.course_title{font-size: 20px;padding: 10*@toVw 20*@toVw; border-bottom: 1px solid #eeeeee;} .course_title{
font-size: 20px;padding: 10*@toVw 20*@toVw;border-bottom: 1px solid #eeeeee;
position: relative;
.zhongbian-kuang {
width: 70 * @toVw;
height: 100%;
position: absolute;
top: 0;
right: 10 * @toVw;
.zhongbian {
width: 22 * @toVw;
height: 22 * @toVw;
//margin-top: 15 * @toVw;
//margin-left: 34 * @toVh;
position: absolute;
top: 0;
left: 0;
right: -15 * @toVw;
bottom: 0;
margin: auto;
}
}
}
.banner2{ .banner2{
display: none; display: none;
} }
......
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
}, },
mounted() { mounted() {
getNotifyApi(this.$route.query.periods_id).then(res => { getNotifyApi(this.$route.query.periods_id).then(res => {
console.log(res, 8787878)
if(res.time) if(res.time)
this.currentTime = res.time.split(':')[0] + ':' + res.time.split(':')[1] this.currentTime = res.time.split(':')[0] + ':' + res.time.split(':')[1]
}) })
...@@ -96,10 +95,10 @@ ...@@ -96,10 +95,10 @@
} }
</script> </script>
<style scoped lang="less"> <style lang="less">
@import "../../util/public"; @import "../../util/public";
/* .van-picker { .van-picker {
border-radius: 30 * @toVw 30 * @toVw 0 0; border-radius: 30 * @toVw 30 * @toVw 0 0;
} }
...@@ -134,7 +133,7 @@ ...@@ -134,7 +133,7 @@
.van-picker-column__item--selected { .van-picker-column__item--selected {
color: #40A9FF; color: #40A9FF;
font-size: 21 * @toVw; font-size: 21 * @toVw;
}*/ }
.prompt-time { .prompt-time {
width: 100%; width: 100%;
......
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