11

parent cd7a0319
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
background: #f4f4f4; background: #f4f4f4;
}</style><link href=static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.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 src=static/vconsole/vconsole.min.js></script><script></script><script type=text/javascript src=static/js/manifest.81cd256040c214d63cbd.js></script><script type=text/javascript src=static/js/vendor.a5a943cd8fb34eed2a77.js></script><script type=text/javascript src=static/js/app.6e963a9b6f04cb22bfe3.js></script></body></html> }</style><link href=static/css/app.3c0ad5f24e07150c06bc3b21fbd29d4b.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 src=static/vconsole/vconsole.min.js></script><script></script><script type=text/javascript src=static/js/manifest.2320d68b5c0e67e5ecce.js></script><script type=text/javascript src=static/js/vendor.a5a943cd8fb34eed2a77.js></script><script type=text/javascript src=static/js/app.44ccd2219cf29e4720fa.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var d,b,o,i=0,u=[];i<a.length;i++)b=a[i],c[b]&&u.push(c[b][0]),c[b]=0;for(d in r)Object.prototype.hasOwnProperty.call(r,d)&&(e[d]=r[d]);for(f&&f(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var a={},c={46:0};function n(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,n){f=c[e]=[a,n]});f[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"66f30f37970d706e6b17",1:"d5f0428b3266b3abeda1",2:"c82ef8973358b8a94a53",3:"2107f1b9e184ae98213a",4:"f2bf790adbbeb12829e1",5:"3b0b1393953737345836",6:"25de7942591869c92d4e",7:"6ce25ae809dcabe97131",8:"4c37bd70d65f96539867",9:"f556b559f60a57bd98c7",10:"de3e0e9cd5ee98d6c928",11:"68ed40adad67d85c0313",12:"569df6356ef277433bf8",13:"80d75851ebf723ba0b00",14:"49e2faaa5a02eff36984",15:"443e7c8bba8ab9d657a7",16:"98ce85ad5ab95594e0f7",17:"c9ce4f409d177a19d16d",18:"c5d36ed475bb21ff44cf",19:"489a1a2bd284b566865d",20:"ea0e446648e88f1d76e4",21:"f62dfff013d1ecc467be",22:"0a1864b54026b8c72ef7",23:"52c139bed6992be26830",24:"435db0664814c2a63988",25:"62620e9bac18a036b452",26:"74f2b27848334b451d54",27:"3f1e7217c310f4810b2f",28:"99da3828c1999d40671a",29:"fa14b41d7c77e07c8120",30:"8415ee1bca5daa87c09e",31:"267ce6de032f1064248f",32:"832df5bf4f39f1bb1834",33:"39cebaea98826b57334e",34:"2ef07273df25c5998fc7",35:"4cc5c8808f6ddc45f715",36:"521b496293b7bc33814e",37:"5561b87aa887f3a9c76d",38:"39491e7ffa5846071712",39:"2eebc8580c2465fe6f3e",40:"3d668485588329ab6b7d",41:"333a8bf40e2fefa8f501",42:"0f9cba645d90bf0157fd",43:"6d2a78fce59048b83178"}[e]+".js";var d=setTimeout(b,12e4);function b(){t.onerror=t.onload=null,clearTimeout(d);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return t.onerror=t.onload=b,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,f,a){n.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(f,"a",f),f},n.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},n.p="",n.oe=function(e){throw console.error(e),e}}([]); !function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,r,t){for(var b,d,o,i=0,u=[];i<a.length;i++)d=a[i],c[d]&&u.push(c[d][0]),c[d]=0;for(b in r)Object.prototype.hasOwnProperty.call(r,b)&&(e[b]=r[b]);for(f&&f(a,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var a={},c={46:0};function n(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,n){f=c[e]=[a,n]});f[2]=a;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"66f30f37970d706e6b17",1:"d5f0428b3266b3abeda1",2:"c82ef8973358b8a94a53",3:"2107f1b9e184ae98213a",4:"f2bf790adbbeb12829e1",5:"3b0b1393953737345836",6:"25de7942591869c92d4e",7:"8fb9cb12b685b1628a99",8:"4c37bd70d65f96539867",9:"f556b559f60a57bd98c7",10:"de3e0e9cd5ee98d6c928",11:"68ed40adad67d85c0313",12:"569df6356ef277433bf8",13:"80d75851ebf723ba0b00",14:"49e2faaa5a02eff36984",15:"443e7c8bba8ab9d657a7",16:"98ce85ad5ab95594e0f7",17:"c9ce4f409d177a19d16d",18:"c5d36ed475bb21ff44cf",19:"489a1a2bd284b566865d",20:"ea0e446648e88f1d76e4",21:"f62dfff013d1ecc467be",22:"0a1864b54026b8c72ef7",23:"52c139bed6992be26830",24:"435db0664814c2a63988",25:"62620e9bac18a036b452",26:"74f2b27848334b451d54",27:"3f1e7217c310f4810b2f",28:"99da3828c1999d40671a",29:"fa14b41d7c77e07c8120",30:"8415ee1bca5daa87c09e",31:"267ce6de032f1064248f",32:"832df5bf4f39f1bb1834",33:"39cebaea98826b57334e",34:"2ef07273df25c5998fc7",35:"4cc5c8808f6ddc45f715",36:"521b496293b7bc33814e",37:"5561b87aa887f3a9c76d",38:"39491e7ffa5846071712",39:"2eebc8580c2465fe6f3e",40:"3d668485588329ab6b7d",41:"333a8bf40e2fefa8f501",42:"0f9cba645d90bf0157fd",43:"6d2a78fce59048b83178"}[e]+".js";var b=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(b);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,f,a){n.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(f,"a",f),f},n.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
<!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.573379c64f2026eddd3e72d4343cab79.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.a57999e72f70811a57bd.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.97cf94cdc128b0912fff.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.8366b3719cb1b472945b.js></script></body></html> }</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.e6ef1aa2ff1048aea85e039ee3f0f19e.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.46bcc6f12c3ea4c31732.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.97cf94cdc128b0912fff.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.3c66a94f49f004e538b8.js></script></body></html>
\ No newline at end of file \ 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"),d=e("qYlo"),p=Object(a.h)("actionsheet"),_=p[0],h=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:h(),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:[h("header"),"van-hairline--top-bottom"]},[n,t(l.a,{attrs:{name:"close"},class:h("close"),on:{click:c}})]):s.actions.map(function(s,e){return t("div",{class:[h("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:h("loading"),attrs:{size:"20px"}}):[t("span",{class:h("name")},[s.name]),s.subname&&t("span",{class:h("subname")},[s.subname])]])}),e.default&&t("div",{class:h("content")},[e.default()]),a&&t("div",{class:h("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=_(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("woOf"),a=e.n(o),r=(e("eqfM"),e("/QYm")),c=e("bOdI"),l=e.n(c),u=(e("zH3V"),e("+4G6")),d=e("CCn6"),p=e("QkSs"),_=e.n(p),h=e("064q"),m=e.n(h),g=e("e2Pt"),v=e.n(g),y=e("1Uto"),f=e.n(y),C=(e("v2ns"),e("7QTg")),A=e("2oJL"),L=e("3xxH"),w=e.n(L),b=e("+wl/"),D=e.n(b),I={name:"mapDefault",components:l()({swiper:C.swiper,swiperSlide:C.swiperSlide,bottomTab:A.a},u.a.name,u.a),data:function(){var t=this;return{actions:[],secActions:{},adVisible:!1,actionsheetShow:!1,star_act:_.a,star_def:m.a,shopType:this.$route.query.course_type,diaBGI:v.a,mok4:f.a,goodsID:"",themeName:"",course_id:"",push_time:"",course_name:"",nextUnitUrl:D.a,parent_category_id:this.$route.query.parent_category_id,unitList:[],more:!1,errorURL:w.a,popupVisible:!1,lessonList:[],lesson:"",classID:"",noLesson:!1,hpLessonList:[],thisLesson:null,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:{}}},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),r.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(d.n)(this.$route.query.periods_id).then(function(s){localStorage.setItem("userCourse",""),t.userCourse=a()({},s),localStorage.setItem("userCourse",n()(t.userCourse)),t.setCourse()}):localStorage.getItem("userCourse")?(this.userCourse=JSON.parse(localStorage.getItem("userCourse")),this.setCourse()):Object(d.n)().then(function(s){localStorage.setItem("userCourse",""),t.userCourse=a()({},s),localStorage.setItem("userCourse",n()(t.userCourse)),t.setCourse()})},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,"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.unitList=[],this.lessonList=[]))},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),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){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(d.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(r.a)("课程还未开始哦")},getUnitList:function(){var t=this;Object(d.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&&(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.swiper.slideTo(s,800,!1),t.swiper2.slideTo(e,800,!1)})})},getLessonList:function(t){var s=this;Object(d.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),r.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)}),r.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())}}},k={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)}}},[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(" "),null!=t.secActions.is_start_course&&0==t.secActions.is_start_course?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._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:"map goLesson",on:{click:function(s){t.goDetail()}}})])]):t._e()]),t._v(" "),e("bottom-tab")],1)},staticRenderFns:[]};var S=e("VU/8")(I,k,!1,function(t){e("V/Zb")},"data-v-291bc7eb",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="},"V/Zb":function(t,s){},e2Pt:function(t,s,e){t.exports=e.p+"static/img/diaBG.5949dd1.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)}}); 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"),d=e("qYlo"),p=Object(a.h)("actionsheet"),_=p[0],h=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:h(),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:[h("header"),"van-hairline--top-bottom"]},[n,t(l.a,{attrs:{name:"close"},class:h("close"),on:{click:c}})]):s.actions.map(function(s,e){return t("div",{class:[h("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:h("loading"),attrs:{size:"20px"}}):[t("span",{class:h("name")},[s.name]),s.subname&&t("span",{class:h("subname")},[s.subname])]])}),e.default&&t("div",{class:h("content")},[e.default()]),a&&t("div",{class:h("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=_(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("woOf"),a=e.n(o),r=(e("eqfM"),e("/QYm")),c=e("bOdI"),l=e.n(c),u=(e("zH3V"),e("+4G6")),d=e("CCn6"),p=e("QkSs"),_=e.n(p),h=e("064q"),m=e.n(h),g=e("e2Pt"),v=e.n(g),y=e("1Uto"),f=e.n(y),C=(e("v2ns"),e("7QTg")),A=e("2oJL"),L=e("3xxH"),w=e.n(L),b=e("+wl/"),D=e.n(b),I={name:"mapDefault",components:l()({swiper:C.swiper,swiperSlide:C.swiperSlide,bottomTab:A.a},u.a.name,u.a),data:function(){var t=this;return{actions:[],secActions:{},adVisible:!1,actionsheetShow:!1,star_act:_.a,star_def:m.a,shopType:this.$route.query.course_type,diaBGI:v.a,mok4:f.a,goodsID:"",themeName:"",course_id:"",push_time:"",course_name:"",nextUnitUrl:D.a,parent_category_id:this.$route.query.parent_category_id,unitList:[],more:!1,errorURL:w.a,popupVisible:!1,lessonList:[],lesson:"",classID:"",noLesson:!1,hpLessonList:[],thisLesson:null,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:{}}},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),r.a.loading({mask:!0,message:""}),this.$route.query.periods_id?Object(d.n)(this.$route.query.periods_id).then(function(s){localStorage.setItem("userCourse",""),t.userCourse=a()({},s),localStorage.setItem("userCourse",n()(t.userCourse)),t.setCourse()}):localStorage.getItem("userCourse")?(this.userCourse=JSON.parse(localStorage.getItem("userCourse")),this.setCourse()):Object(d.n)().then(function(s){localStorage.setItem("userCourse",""),t.userCourse=a()({},s),localStorage.setItem("userCourse",n()(t.userCourse)),t.setCourse()})},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,"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.unitList=[],this.lessonList=[]))},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),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){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(d.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(r.a)("课程还未开始哦")},getUnitList:function(){var t=this;Object(d.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&&(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.swiper.slideTo(s,800,!1),t.swiper2.slideTo(e,800,!1)})})},getLessonList:function(t){var s=this;Object(d.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),r.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)}),r.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())}}},k={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)}}},[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(" "),null!=t.secActions.is_start_course&&0==t.secActions.is_start_course?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._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:"map goLesson",on:{click:function(s){t.goDetail()}}})])]):t._e()]),t._v(" "),e("bottom-tab")],1)},staticRenderFns:[]};var S=e("VU/8")(I,k,!1,function(t){e("pN+U")},"data-v-628abe35",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"},"pN+U":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 \ No newline at end of file
webpackJsonp([45],{CCn6:function(t,e,n){"use strict";var a=n("7+uW"),o=(n("eqfM"),n("/QYm")),i=n("//Fk"),r=n.n(i),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),f=n("YaEn");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(t){var e=localStorage.getItem("cc_token");if(t.headers["Content-Type"]||(t.headers={"Content-Type":"application/json"}),e&&(t.headers.token=e),"get"===t.method&&"/api/admin/login"!==t.url){t.params=t.params||{},t.params.v="06211600";var n=JSON.parse(u()(t.params));for(var a in n)null===n[a]&&(n[a]=""),"string"==typeof n[a]&&(t.params[a]=t.params[a].replace(/(^\s*)|(\s*$)/g,""),n[a]=n[a].replace(/(^\s*)|(\s*$)/g,"")),n[a]=h()(n[a].toString());n.sing="singsingenglish21000",t.params.param_token=h()(u()(n)),t.params.v="06211600"}else if("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06211600";var o=JSON.parse(u()(t.data));for(var i in o)null===o[i]&&(o[i]=""),"string"==typeof o[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),o[i]=o[i].replace(/(^\s*)|(\s*$)/g,"")),o[i]=h()(o[i].toString());o.sing="singsingenglish21000",t.data.param_token=h()(u()(o)),t.data.v="06211600"}return t},function(t){return r.a.reject(t)}),s.a.interceptors.response.use(function(t){return 501===t.data.code&&f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),t},function(t){return r.a.reject(t)}),n.d(e,"c",function(){return m}),n.d(e,"Q",function(){return g}),n.d(e,"q",function(){return y}),n.d(e,"I",function(){return w}),n.d(e,"T",function(){return v}),n.d(e,"X",function(){return b}),n.d(e,"W",function(){return $}),n.d(e,"i",function(){return _}),n.d(e,"j",function(){return S}),n.d(e,"N",function(){return k}),n.d(e,"w",function(){return P}),n.d(e,"o",function(){return N}),n.d(e,"v",function(){return T}),n.d(e,"K",function(){return I}),n.d(e,"_1",function(){return O}),n.d(e,"s",function(){return x}),n.d(e,"A",function(){return U}),n.d(e,"B",function(){return D}),n.d(e,"O",function(){return A}),n.d(e,"H",function(){return E}),n.d(e,"m",function(){return M}),n.d(e,"r",function(){return j}),n.d(e,"u",function(){return C}),n.d(e,"t",function(){return L}),n.d(e,"Z",function(){return R}),n.d(e,"e",function(){return q}),n.d(e,"S",function(){return W}),n.d(e,"J",function(){return Y}),n.d(e,"b",function(){return Q}),n.d(e,"h",function(){return G}),n.d(e,"C",function(){return B}),n.d(e,"D",function(){return J}),n.d(e,"E",function(){return K}),n.d(e,"L",function(){return V}),n.d(e,"M",function(){return F}),n.d(e,"a",function(){return H}),n.d(e,"P",function(){return X}),n.d(e,"U",function(){return z}),n.d(e,"p",function(){return Z}),n.d(e,"n",function(){return tt}),n.d(e,"V",function(){return et}),n.d(e,"k",function(){return nt}),n.d(e,"l",function(){return at}),n.d(e,"G",function(){return ot}),n.d(e,"x",function(){return it}),n.d(e,"z",function(){return rt}),n.d(e,"y",function(){return ct}),n.d(e,"_2",function(){return ut}),n.d(e,"d",function(){return lt}),n.d(e,"g",function(){return st}),n.d(e,"f",function(){return pt}),n.d(e,"_0",function(){return ht}),n.d(e,"R",function(){return ft}),n.d(e,"Y",function(){return dt}),n.d(e,"F",function(){return mt});var d="https://wechat.changchangenglish.com/";a.default.prototype.$post=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$fetch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);else if(501===t.data.code){a(t.data);var e={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),e.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}else if(503===t.data.code)a(t.data);else if(506===t.data.code){a(t.data);var i={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),i.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}else a(t.data),Object(o.a)(t.data.msg)}).catch(function(t){a(t)})})},a.default.prototype.$patch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$put=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$del=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$upload=function(t,e){return new r.a(function(n,a){var i=parseInt(Number(e.file.size)/Number(10485760)+1),r=0;!function c(){var u=new FormData,l=e.file.slice(1024*r*1024*10,1024*(r+1)*1024*10);u.append("chunk",r),u.append("file_name",e.file.name),u.append("count",i),u.append("type",e.type),u.append("file",l),s.a.post(t,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(t){}}).then(function(t){200===t.data.code?r+1<i?(r++,c()):(r=0,n(t.data.data)):Object(o.a)(t.data.msg)}).catch(function(t){a(t)})}()})},a.default.prototype.$ret2=function(t){return new r.a(function(e,n){s.a.get(t).then(function(t){e(t.data)}).catch(function(t){n(t)})})};var m=function(t,e){return a.default.prototype.$fetch("/api/client/banner/list/"+t,e)},g=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},y=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},w=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},v=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},b=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},$=function(t){return a.default.prototype.$post(d+"api/client/user/starActivity/address",t)},_=function(t,e){return a.default.prototype.$put(d+"api/client/user/starActivity/address/edit/"+e,t)},S=function(t){return a.default.prototype.$fetch(d+"api/client/user/starActivity/address/list",t)},k=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},P=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},N=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},T=function(t,e,n){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},I=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},O=function(t,e,n,o){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,o)},x=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},U=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},D=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},A=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},E=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},M=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},j=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},C=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},L=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},R=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},q=function(t){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},W=function(t,e){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},Y=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},Q=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},G=function(t){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},B=function(t){return a.default.prototype.$fetch("/api/client/user/watch/report/"+t)},J=function(){return a.default.prototype.$fetch("/api/client/share/goods")},K=function(t){return a.default.prototype.$fetch("/api/public/short/url",t)},V=function(){return a.default.prototype.$fetch("/api/client/user/last/integral")},F=function(t){return a.default.prototype.$fetch("/api/client/user/integral",t)},H=function(t){return a.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},X=function(t){return a.default.prototype.$fetch("/api/client/yunji/config",t)},z=function(t){return a.default.prototype.$post("/api/client/user/add/class/"+t)},Z=function(){return a.default.prototype.$fetch("/api/client/user/course/status")},tt=function(t){return t?a.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):a.default.prototype.$fetch("/api/client/user/course/info")},et=function(t){return a.default.prototype.$put("/api/client/me/set",t)},nt=function(t,e){return a.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},at=function(){return a.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ot=function(){return a.default.prototype.$fetch("/api/client/user/last/integral")},it=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw")},rt=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ct=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw/rand")},ut=function(){return a.default.prototype.$fetch("/api/client/user/unbind/sub")},lt=function(t){return a.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},st=function(){return a.default.prototype.$fetch("/api/client/user/generate/authorization")},pt=function(){return a.default.prototype.$fetch("/api/client/user/bind/chance")},ht=function(){return a.default.prototype.$fetch("/api/client/user/sub/info")},ft=function(t){return a.default.prototype.$fetch("/api/client/user/main/info/"+t)},dt=function(t){return a.default.prototype.$fetch("/api/client/user/click/link/"+t)},mt=function(){return a.default.prototype.$fetch("/api/client/user/starActivity")}},IcnI:function(t,e,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(t,e){t.token=e,localStorage.setItem("cc_token",e)},transitionGo:function(t){t.transitionName="slide-left"},transitionBack:function(t){t.transitionName="slide-right"},isMobile:function(t,e){t.isMobile=e},isWatchDetail:function(t,e){t.watchDetail=e},isClassQuery:function(t,e){t.classQuery=e},isCouponShadow:function(t,e){t.couponShadow=e}});a.default.use(o.a);e.a=new o.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1},mutations:i,actions:{setToken:function(t,e){(0,t.commit)("setToken",e)},isMobile:function(t,e){(0,t.commit)("isMobile",e)},setWatchDetail:function(t,e){(0,t.commit)("isWatchDetail",e)},setClassQuery:function(t,e){(0,t.commit)("isClassQuery",e)},setCouponShadow:function(t,e){(0,t.commit)("isCouponShadow",e)}}})},JKiR:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("mMXg");var a=n("qYlo"),o=(n("qVvv"),n("8aUD")),i=(n("3Lne"),n("SSsa")),r=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("transition",{attrs:{name:"fade"}},[this._v(">\n "),e("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(t){n("y7jL")},null,null).exports,p=n("YaEn"),h=n("IcnI"),f=n("Au9i"),d=n.n(f),m=n("wvfG"),g=n.n(m),y=n("uYVh"),w=n.n(y),v=(n("d8/S"),n("bOdI")),b=n.n(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:20},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){var t=this;setTimeout(function(){t._initScroll()},20)},methods:b()({_initScroll:function(){var t=this;if(this.$refs.wrapper){if(this.scroll=new $.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){var e=this;this.scroll.on("scroll",function(t){e.$emit("scroll",t)})}this.pullup&&this.scroll.on("scrollEnd",function(){t.scroll.y<=t.scroll.maxScrollY+10&&t.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(e){e.y>50&&t.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$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(t,e,n){this.scroll&&this.scroll.scrollTo(t,e,n)},scrollToElement:function(t,e){this.scroll&&this.scroll.scrollToElement(t,e)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){var t=this;setTimeout(function(){t.refresh()},this.refreshDelay)}}},S={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};var k=n("VU/8")(_,S,!1,function(t){n("Onnv")},"data-v-0e8d72df",null).exports;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(d.a),u.default.use(g.a),u.default.use(a.a).use(o.a).use(i.a).use(r.a).use(c.a),u.default.component("scroll",k),p.a.beforeEach(function(t,e,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),new u.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),a=n.length>>>0,o=arguments[1],i=0;i<a;i++)if(e=n[i],t.call(o,e,i,n))return e})},Onnv:function(t,e){},YaEn:function(t,e,n){"use strict";var a=n("mvHQ"),o=n.n(a),i=n("7+uW"),r=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");i.default.use(u.a);var h={versions:function(){var t=navigator.userAgent;navigator.appVersion;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},f=window.navigator.userAgent.toLowerCase(),d=new u.a({routes:[{path:"/",name:"index",component:function(t){return Promise.all([n.e(0),n.e(16)]).then(function(){var e=[n("dAjm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,title:"唱唱启蒙"}},{path:"/orderTrans",name:"orderTrans",component:function(t){return n.e(14).then(function(){var e=[n("qPDM")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(t){return n.e(12).then(function(){var e=[n("784L")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(t){return Promise.all([n.e(0),n.e(35)]).then(function(){var e=[n("JxbE")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(t){return n.e(18).then(function(){var e=[n("9K06")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/address",name:"address",component:function(t){return Promise.all([n.e(0),n.e(32)]).then(function(){var e=[n("kZy8")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(t){return Promise.all([n.e(0),n.e(36)]).then(function(){var e=[n("TEQG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(t){return n.e(7).then(function(){var e=[n("De9k")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(t){return Promise.all([n.e(0),n.e(30)]).then(function(){var e=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(t){return Promise.all([n.e(0),n.e(25)]).then(function(){var e=[n("v+uu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(t){return Promise.all([n.e(0),n.e(26)]).then(function(){var e=[n("xi8t")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){return n.e(43).then(function(){var e=[n("2tJf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(t){return Promise.all([n.e(0),n.e(42)]).then(function(){var e=[n("sj+b")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(t){return Promise.all([n.e(0),n.e(15)]).then(function(){var e=[n("UFvj")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(t){return Promise.all([n.e(0),n.e(21)]).then(function(){var e=[n("IKJm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(t){return n.e(22).then(function(){var e=[n("RaOr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(t){return Promise.all([n.e(0),n.e(1)]).then(function(){var e=[n("4t0V")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/star",name:"star",component:function(t){return Promise.all([n.e(0),n.e(2)]).then(function(){var e=[n("riDf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(t){return Promise.all([n.e(0),n.e(8)]).then(function(){var e=[n("54Ry")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(t){return Promise.all([n.e(0),n.e(40)]).then(function(){var e=[n("P3Wy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(t){return Promise.all([n.e(0),n.e(20)]).then(function(){var e=[n("HgUD")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(t){return Promise.all([n.e(0),n.e(19)]).then(function(){var e=[n("R7Pr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(t){return Promise.all([n.e(0),n.e(37)]).then(function(){var e=[n("Eg0l")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(t){return n.e(31).then(function(){var e=[n("sA+T")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(t){return Promise.all([n.e(0),n.e(27)]).then(function(){var e=[n("bNYG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(t){return Promise.all([n.e(0),n.e(4)]).then(function(){var e=[n("Y1ei")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(t){return Promise.all([n.e(0),n.e(11)]).then(function(){var e=[n("IF8E")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(t){return Promise.all([n.e(0),n.e(41)]).then(function(){var e=[n("w9eS")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(t){return Promise.all([n.e(0),n.e(6)]).then(function(){var e=[n("3QU7")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(t){return n.e(29).then(function(){var e=[n("wSE2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(t){return n.e(24).then(function(){var e=[n("/Vxk")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(t){return Promise.all([n.e(0),n.e(3)]).then(function(){var e=[n("yYpN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(t){return Promise.all([n.e(0),n.e(9)]).then(function(){var e=[n("aRHX")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(t){return n.e(17).then(function(){var e=[n("eZU3")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(t){return Promise.all([n.e(0),n.e(10)]).then(function(){var e=[n("PTpu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(t){return n.e(23).then(function(){var e=[n("nmbt")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(t){return Promise.all([n.e(0),n.e(13)]).then(function(){var e=[n("VPne")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(t){return Promise.all([n.e(0),n.e(38)]).then(function(){var e=[n("6IIy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(t){return n.e(28).then(function(){var e=[n("SLI2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(t){return Promise.all([n.e(0),n.e(33)]).then(function(){var e=[n("f0iw")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(t){return Promise.all([n.e(0),n.e(5)]).then(function(){var e=[n("NVDN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(t){return Promise.all([n.e(0),n.e(34)]).then(function(){var e=[n("5QmN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"*",component:function(t){return Promise.all([n.e(0),n.e(39)]).then(function(){var e=[n("Zazt")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]});d.beforeEach(function(t,e,n){i.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.match(/_SQ_/i)?"noWechat"==t.name&&(t.query.url?n(decodeURIComponent(t.query.url)):n({name:"index"})):"noWechat"!==t.name&&n({name:"noWechat",query:{url:encodeURIComponent(t.fullPath)}}),r.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",t.name;var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var t=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(t)}else n()};if("author"===t.name||"bindMobile"===t.name||"noWechat"===t.name||"inspectorActivit"===t.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===t.name){var u=c.a.getUrlParam().token||t.query.token;r.a.dispatch("setToken",u),Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(t){localStorage.getItem("userDesc")&&a()})}else if(localStorage.getItem("cc_token"))r.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),a()):Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(){localStorage.getItem("userDesc")&&a()});else{var l={retUrl:t.fullPath};localStorage.setItem("retUrl",t.fullPath),window.location.href.indexOf("gdt_vid")>-1&&localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),t.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"}}),e.a=d},"d8/S":function(t,e){},eh36:function(t,e){},hW8u:function(t,e){},nsZj:function(t,e){},"sf/l":function(t,e,n){"use strict";e.a={dateFmt:function(t,e){var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var a in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[a]:("00"+n[a]).substr((""+n[a]).length)));return e},getUrlParam:function(){var t=location.search,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),a=n.split("&"),o=0;o<a.length;o++)e[a[o].split("=")[0]]=unescape(a[o].split("=")[1]);return e},toDataURL:function(t,e){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",t,!0),n.send()},getParamhref:function(){var t=location.href,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),a=n.split("&"),o=0;o<a.length;o++)e[a[o].split("=")[0]]=unescape(a[o].split("=")[1]);return e},leftTimer:function(t,e){if(t>new Date)var n=t-new Date;else{e&&clearInterval(e);n=0}var a=parseInt(n/1e3/60/60/24,10),o=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);return a=this.checkTime(a),o=this.checkTime(o),i=this.checkTime(i),r=this.checkTime(r),a>0?a+"天":o>=0||i>=0||r>=0?o+":"+i+":"+r:void 0},checkTime:function(t){return t<10&&(t="0"+t),t}}},y7jL:function(t,e){},zSLJ:function(t,e,n){"use strict"}},["NHnr"]); webpackJsonp([45],{CCn6:function(t,e,n){"use strict";var a=n("7+uW"),o=(n("eqfM"),n("/QYm")),i=n("//Fk"),r=n.n(i),c=n("mvHQ"),u=n.n(c),l=n("mtWM"),s=n.n(l),p=n("NC6I"),h=n.n(p),f=n("YaEn");s.a.defaults.timeout=5e4,s.a.defaults.baseURL="",s.a.interceptors.request.use(function(t){var e=localStorage.getItem("cc_token");if(t.headers["Content-Type"]||(t.headers={"Content-Type":"application/json"}),e&&(t.headers.token=e),"get"===t.method&&"/api/admin/login"!==t.url){t.params=t.params||{},t.params.v="06211700";var n=JSON.parse(u()(t.params));for(var a in n)null===n[a]&&(n[a]=""),"string"==typeof n[a]&&(t.params[a]=t.params[a].replace(/(^\s*)|(\s*$)/g,""),n[a]=n[a].replace(/(^\s*)|(\s*$)/g,"")),n[a]=h()(n[a].toString());n.sing="singsingenglish21000",t.params.param_token=h()(u()(n)),t.params.v="06211700"}else if("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06211700";var o=JSON.parse(u()(t.data));for(var i in o)null===o[i]&&(o[i]=""),"string"==typeof o[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),o[i]=o[i].replace(/(^\s*)|(\s*$)/g,"")),o[i]=h()(o[i].toString());o.sing="singsingenglish21000",t.data.param_token=h()(u()(o)),t.data.v="06211700"}return t},function(t){return r.a.reject(t)}),s.a.interceptors.response.use(function(t){return 501===t.data.code&&f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}}),t},function(t){return r.a.reject(t)}),n.d(e,"c",function(){return m}),n.d(e,"Q",function(){return g}),n.d(e,"q",function(){return y}),n.d(e,"I",function(){return w}),n.d(e,"T",function(){return v}),n.d(e,"X",function(){return b}),n.d(e,"W",function(){return $}),n.d(e,"i",function(){return _}),n.d(e,"j",function(){return S}),n.d(e,"N",function(){return k}),n.d(e,"w",function(){return P}),n.d(e,"o",function(){return N}),n.d(e,"v",function(){return T}),n.d(e,"K",function(){return I}),n.d(e,"_1",function(){return O}),n.d(e,"s",function(){return x}),n.d(e,"A",function(){return U}),n.d(e,"B",function(){return D}),n.d(e,"O",function(){return A}),n.d(e,"H",function(){return E}),n.d(e,"m",function(){return M}),n.d(e,"r",function(){return j}),n.d(e,"u",function(){return C}),n.d(e,"t",function(){return L}),n.d(e,"Z",function(){return R}),n.d(e,"e",function(){return q}),n.d(e,"S",function(){return W}),n.d(e,"J",function(){return Y}),n.d(e,"b",function(){return Q}),n.d(e,"h",function(){return G}),n.d(e,"C",function(){return B}),n.d(e,"D",function(){return J}),n.d(e,"E",function(){return K}),n.d(e,"L",function(){return V}),n.d(e,"M",function(){return F}),n.d(e,"a",function(){return H}),n.d(e,"P",function(){return X}),n.d(e,"U",function(){return z}),n.d(e,"p",function(){return Z}),n.d(e,"n",function(){return tt}),n.d(e,"V",function(){return et}),n.d(e,"k",function(){return nt}),n.d(e,"l",function(){return at}),n.d(e,"G",function(){return ot}),n.d(e,"x",function(){return it}),n.d(e,"z",function(){return rt}),n.d(e,"y",function(){return ct}),n.d(e,"_2",function(){return ut}),n.d(e,"d",function(){return lt}),n.d(e,"g",function(){return st}),n.d(e,"f",function(){return pt}),n.d(e,"_0",function(){return ht}),n.d(e,"R",function(){return ft}),n.d(e,"Y",function(){return dt}),n.d(e,"F",function(){return mt});var d="https://wechat.changchangenglish.com/";a.default.prototype.$post=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$fetch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);else if(501===t.data.code){a(t.data);var e={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),e.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com"}else if(503===t.data.code)a(t.data);else if(506===t.data.code){a(t.data);var i={retUrl:window.location.href.split("#")[1]};localStorage.setItem("retUrl",window.location.href.split("#")[1]),i.is_new_user_url=1,window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&refresh=1"}else a(t.data),Object(o.a)(t.data.msg)}).catch(function(t){a(t)})})},a.default.prototype.$patch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$put=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$del=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,a){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(a(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?a(t.data):(a(t.data),Object(o.a)(t.data.msg))},function(t){a(t)})})},a.default.prototype.$upload=function(t,e){return new r.a(function(n,a){var i=parseInt(Number(e.file.size)/Number(10485760)+1),r=0;!function c(){var u=new FormData,l=e.file.slice(1024*r*1024*10,1024*(r+1)*1024*10);u.append("chunk",r),u.append("file_name",e.file.name),u.append("count",i),u.append("type",e.type),u.append("file",l),s.a.post(t,u,{headers:{"Content-Type":"multipart/form-data"},timeout:1e7,onUploadProgress:function(t){}}).then(function(t){200===t.data.code?r+1<i?(r++,c()):(r=0,n(t.data.data)):Object(o.a)(t.data.msg)}).catch(function(t){a(t)})}()})},a.default.prototype.$ret2=function(t){return new r.a(function(e,n){s.a.get(t).then(function(t){e(t.data)}).catch(function(t){n(t)})})};var m=function(t,e){return a.default.prototype.$fetch("/api/client/banner/list/"+t,e)},g=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},y=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},w=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},v=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},b=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},$=function(t){return a.default.prototype.$post(d+"api/client/user/starActivity/address",t)},_=function(t,e){return a.default.prototype.$put(d+"api/client/user/starActivity/address/edit/"+e,t)},S=function(t){return a.default.prototype.$fetch(d+"api/client/user/starActivity/address/list",t)},k=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},P=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},N=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},T=function(t,e,n){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},I=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},O=function(t,e,n,o){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,o)},x=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},U=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},D=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},A=function(){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},E=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},M=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},j=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},C=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},L=function(t,e){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},R=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},q=function(t){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},W=function(t,e){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},Y=function(t){return a.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},Q=function(t){return a.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},G=function(t){return a.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},B=function(t){return a.default.prototype.$fetch("/api/client/user/watch/report/"+t)},J=function(){return a.default.prototype.$fetch("/api/client/share/goods")},K=function(t){return a.default.prototype.$fetch("/api/public/short/url",t)},V=function(){return a.default.prototype.$fetch("/api/client/user/last/integral")},F=function(t){return a.default.prototype.$fetch("/api/client/user/integral",t)},H=function(t){return a.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},X=function(t){return a.default.prototype.$fetch("/api/client/yunji/config",t)},z=function(t){return a.default.prototype.$post("/api/client/user/add/class/"+t)},Z=function(){return a.default.prototype.$fetch("/api/client/user/course/status")},tt=function(t){return t?a.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):a.default.prototype.$fetch("/api/client/user/course/info")},et=function(t){return a.default.prototype.$put("/api/client/me/set",t)},nt=function(t,e){return a.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},at=function(){return a.default.prototype.$fetch("/api/client/recommend/conversion/goods")},ot=function(){return a.default.prototype.$fetch("/api/client/user/last/integral")},it=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw")},rt=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ct=function(){return a.default.prototype.$fetch("/api/client/user/luckDraw/rand")},ut=function(){return a.default.prototype.$fetch("/api/client/user/unbind/sub")},lt=function(t){return a.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},st=function(){return a.default.prototype.$fetch("/api/client/user/generate/authorization")},pt=function(){return a.default.prototype.$fetch("/api/client/user/bind/chance")},ht=function(){return a.default.prototype.$fetch("/api/client/user/sub/info")},ft=function(t){return a.default.prototype.$fetch("/api/client/user/main/info/"+t)},dt=function(t){return a.default.prototype.$fetch("/api/client/user/click/link/"+t)},mt=function(){return a.default.prototype.$fetch("/api/client/user/starActivity")}},IcnI:function(t,e,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(t,e){t.token=e,localStorage.setItem("cc_token",e)},transitionGo:function(t){t.transitionName="slide-left"},transitionBack:function(t){t.transitionName="slide-right"},isMobile:function(t,e){t.isMobile=e},isWatchDetail:function(t,e){t.watchDetail=e},isClassQuery:function(t,e){t.classQuery=e},isCouponShadow:function(t,e){t.couponShadow=e}});a.default.use(o.a);e.a=new o.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1,watchDetail:{},classQuery:{},couponShadow:!1},mutations:i,actions:{setToken:function(t,e){(0,t.commit)("setToken",e)},isMobile:function(t,e){(0,t.commit)("isMobile",e)},setWatchDetail:function(t,e){(0,t.commit)("isWatchDetail",e)},setClassQuery:function(t,e){(0,t.commit)("isClassQuery",e)},setCouponShadow:function(t,e){(0,t.commit)("isCouponShadow",e)}}})},JKiR:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("mMXg");var a=n("qYlo"),o=(n("qVvv"),n("8aUD")),i=(n("3Lne"),n("SSsa")),r=(n("XmAh"),n("il3B")),c=(n("eqfM"),n("/QYm")),u=n("7+uW"),l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("transition",{attrs:{name:"fade"}},[this._v(">\n "),e("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",mounted:function(){}},l,!1,function(t){n("y7jL")},null,null).exports,p=n("YaEn"),h=n("IcnI"),f=n("Au9i"),d=n.n(f),m=n("wvfG"),g=n.n(m),y=n("uYVh"),w=n.n(y),v=(n("d8/S"),n("bOdI")),b=n.n(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:20},bounce:{type:Boolean,default:!0},scrollX:{type:Boolean,default:!1},scrollY:{type:Boolean,default:!0}},mounted:function(){var t=this;setTimeout(function(){t._initScroll()},20)},methods:b()({_initScroll:function(){var t=this;if(this.$refs.wrapper){if(this.scroll=new $.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click,bounce:this.bounce,scrollX:this.scrollX,scrollY:this.scrollY}),this.listenScroll){var e=this;this.scroll.on("scroll",function(t){e.$emit("scroll",t)})}this.pullup&&this.scroll.on("scrollEnd",function(){t.scroll.y<=t.scroll.maxScrollY+10&&t.$emit("pullup")}),this.pulldown&&this.scroll.on("touchend",function(e){e.y>50&&t.$emit("pulldown")}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$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(t,e,n){this.scroll&&this.scroll.scrollTo(t,e,n)},scrollToElement:function(t,e){this.scroll&&this.scroll.scrollToElement(t,e)}},"scrollToElement",function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}),watch:{data:function(){var t=this;setTimeout(function(){t.refresh()},this.refreshDelay)}}},S={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"wrapper"},[this._t("default")],2)},staticRenderFns:[]};var k=n("VU/8")(_,S,!1,function(t){n("Onnv")},"data-v-0e8d72df",null).exports;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(d.a),u.default.use(g.a),u.default.use(a.a).use(o.a).use(i.a).use(r.a).use(c.a),u.default.component("scroll",k),p.a.beforeEach(function(t,e,n){n(),null!==document.body.scrollTop&&(document.body.scrollTop=0),null!==document.documentElement&&(document.documentElement.scrollTop=0)}),new u.default({el:"#app",router:p.a,store:h.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),a=n.length>>>0,o=arguments[1],i=0;i<a;i++)if(e=n[i],t.call(o,e,i,n))return e})},Onnv:function(t,e){},YaEn:function(t,e,n){"use strict";var a=n("mvHQ"),o=n.n(a),i=n("7+uW"),r=n("IcnI"),c=n("sf/l"),u=n("/ocq"),l=n("uYVh"),s=n.n(l),p=n("CCn6");i.default.use(u.a);var h={versions:function(){var t=navigator.userAgent;navigator.appVersion;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()},f=window.navigator.userAgent.toLowerCase(),d=new u.a({routes:[{path:"/",name:"index",component:function(t){return Promise.all([n.e(0),n.e(16)]).then(function(){var e=[n("dAjm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,title:"唱唱启蒙"}},{path:"/orderTrans",name:"orderTrans",component:function(t){return n.e(14).then(function(){var e=[n("qPDM")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/addressEdit",name:"addressEdit",component:function(t){return n.e(12).then(function(){var e=[n("784L")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccept",name:"subAccept",component:function(t){return Promise.all([n.e(0),n.e(35)]).then(function(){var e=[n("JxbE")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/subAccount",name:"subAccount",component:function(t){return n.e(18).then(function(){var e=[n("9K06")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/address",name:"address",component:function(t){return Promise.all([n.e(0),n.e(32)]).then(function(){var e=[n("kZy8")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/activityAddr",name:"activityAddr",component:function(t){return Promise.all([n.e(0),n.e(36)]).then(function(){var e=[n("TEQG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/liuyi",name:"liuyi",component:function(t){return n.e(7).then(function(){var e=[n("De9k")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starRank",name:"starRank",component:function(t){return Promise.all([n.e(0),n.e(30)]).then(function(){var e=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starDetail",name:"starDetail",component:function(t){return Promise.all([n.e(0),n.e(25)]).then(function(){var e=[n("v+uu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/starResult",name:"starResult",component:function(t){return Promise.all([n.e(0),n.e(26)]).then(function(){var e=[n("xi8t")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){return n.e(43).then(function(){var e=[n("2tJf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/med",name:"med",component:function(t){return Promise.all([n.e(0),n.e(42)]).then(function(){var e=[n("sj+b")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/preview",name:"preview",component:function(t){return Promise.all([n.e(0),n.e(15)]).then(function(){var e=[n("UFvj")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/bbda",name:"bbda",component:function(t){return Promise.all([n.e(0),n.e(21)]).then(function(){var e=[n("IKJm")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/exChange",name:"exChange",component:function(t){return n.e(22).then(function(){var e=[n("RaOr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/newLesson",name:"newLesson",component:function(t){return Promise.all([n.e(0),n.e(1)]).then(function(){var e=[n("4t0V")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/star",name:"star",component:function(t){return Promise.all([n.e(0),n.e(2)]).then(function(){var e=[n("riDf")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/shareGoods",name:"shareGoods",component:function(t){return Promise.all([n.e(0),n.e(8)]).then(function(){var e=[n("54Ry")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/myGoodsList",name:"myGoodsList",component:function(t){return Promise.all([n.e(0),n.e(40)]).then(function(){var e=[n("P3Wy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(t){return Promise.all([n.e(0),n.e(20)]).then(function(){var e=[n("HgUD")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(t){return Promise.all([n.e(0),n.e(19)]).then(function(){var e=[n("R7Pr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(t){return Promise.all([n.e(0),n.e(37)]).then(function(){var e=[n("Eg0l")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(t){return n.e(31).then(function(){var e=[n("sA+T")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(t){return Promise.all([n.e(0),n.e(27)]).then(function(){var e=[n("bNYG")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(t){return Promise.all([n.e(0),n.e(4)]).then(function(){var e=[n("Y1ei")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(t){return Promise.all([n.e(0),n.e(11)]).then(function(){var e=[n("IF8E")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(t){return Promise.all([n.e(0),n.e(41)]).then(function(){var e=[n("w9eS")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(t){return Promise.all([n.e(0),n.e(6)]).then(function(){var e=[n("3QU7")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(t){return n.e(29).then(function(){var e=[n("wSE2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(t){return n.e(24).then(function(){var e=[n("/Vxk")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(t){return Promise.all([n.e(0),n.e(3)]).then(function(){var e=[n("yYpN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/activityInvite",name:"activityInvite",component:function(t){return Promise.all([n.e(0),n.e(9)]).then(function(){var e=[n("aRHX")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/inviteList",name:"inviteList",component:function(t){return n.e(17).then(function(){var e=[n("eZU3")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,noNew:!0}},{path:"/collection",name:"collection",component:function(t){return Promise.all([n.e(0),n.e(10)]).then(function(){var e=[n("PTpu")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(t){return n.e(23).then(function(){var e=[n("nmbt")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1}},{path:"/mpShop",name:"mpShop",component:function(t){return Promise.all([n.e(0),n.e(13)]).then(function(){var e=[n("VPne")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{skip_login:!1,noNew:!0}},{path:"/shareConfig",name:"shareConfig",component:function(t){return Promise.all([n.e(0),n.e(38)]).then(function(){var e=[n("6IIy")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorActivit",name:"inspectorActivit",component:function(t){return n.e(28).then(function(){var e=[n("SLI2")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/inspectorList",name:"inspectorList",component:function(t){return Promise.all([n.e(0),n.e(33)]).then(function(){var e=[n("f0iw")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/secMap",name:"secMap",component:function(t){return Promise.all([n.e(0),n.e(5)]).then(function(){var e=[n("NVDN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"/hasaccount",name:"hasaccount",component:function(t){return Promise.all([n.e(0),n.e(34)]).then(function(){var e=[n("5QmN")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{noNew:!0}},{path:"*",component:function(t){return Promise.all([n.e(0),n.e(39)]).then(function(){var e=[n("Zazt")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]});d.beforeEach(function(t,e,n){i.default.nextTick(function(){s.a.quick("autoTrackSinglePage")}),"micromessenger"==f.match(/MicroMessenger/i)||"_sq_"==f.match(/_SQ_/i)?"noWechat"==t.name&&(t.query.url?n(decodeURIComponent(t.query.url)):n({name:"index"})):"noWechat"!==t.name&&n({name:"noWechat",query:{url:encodeURIComponent(t.fullPath)}}),r.a.dispatch("isMobile",h.versions.mobile),document.title="唱唱启蒙英语",t.name;var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var t=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(t)}else n()};if("author"===t.name||"bindMobile"===t.name||"noWechat"===t.name||"inspectorActivit"===t.name)n();else if(window.location.href.indexOf("token")>-1&&"index"===t.name){var u=c.a.getUrlParam().token||t.query.token;r.a.dispatch("setToken",u),Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(t){localStorage.getItem("userDesc")&&a()})}else if(localStorage.getItem("cc_token"))r.a.dispatch("setToken",localStorage.getItem("cc_token")),localStorage.getItem("userDesc")?(s.a.login(JSON.parse(localStorage.getItem("userDesc")).user_id),a()):Object(p.K)().then(function(t){localStorage.setItem("userDesc",o()(t)),s.a.login(t.user_id),a()}).catch(function(){localStorage.getItem("userDesc")&&a()});else{var l={retUrl:t.fullPath};localStorage.setItem("retUrl",t.fullPath),window.location.href.indexOf("gdt_vid")>-1&&localStorage.setItem("gdt_vid",c.a.getUrlParam().gdt_vid),t.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"}}),e.a=d},"d8/S":function(t,e){},eh36:function(t,e){},hW8u:function(t,e){},nsZj:function(t,e){},"sf/l":function(t,e,n){"use strict";e.a={dateFmt:function(t,e){var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var a in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[a]:("00"+n[a]).substr((""+n[a]).length)));return e},getUrlParam:function(){var t=location.search,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),a=n.split("&"),o=0;o<a.length;o++)e[a[o].split("=")[0]]=unescape(a[o].split("=")[1]);return e},toDataURL:function(t,e){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.readAsDataURL(n.response)},n.responseType="blob",n.open("GET",t,!0),n.send()},getParamhref:function(){var t=location.href,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),a=n.split("&"),o=0;o<a.length;o++)e[a[o].split("=")[0]]=unescape(a[o].split("=")[1]);return e},leftTimer:function(t,e){if(t>new Date)var n=t-new Date;else{e&&clearInterval(e);n=0}var a=parseInt(n/1e3/60/60/24,10),o=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);return a=this.checkTime(a),o=this.checkTime(o),i=this.checkTime(i),r=this.checkTime(r),a>0?a+"天":o>=0||i>=0||r>=0?o+":"+i+":"+r:void 0},checkTime:function(t){return t<10&&(t="0"+t),t}}},y7jL:function(t,e){},zSLJ:function(t,e,n){"use strict"}},["NHnr"]);
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var b,r,o,i=0,u=[];i<a.length;i++)r=a[i],d[r]&&u.push(d[r][0]),d[r]=0;for(b in f)Object.prototype.hasOwnProperty.call(f,b)&&(e[b]=f[b]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var a={},d={46:0};function n(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=d[e]=[a,n]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"7743968ed5eae85c8d30",1:"9a2a96fc2fca75253f80",2:"531712782fcb827578e5",3:"afb608b727d7fd83fcab",4:"dfe445151430ef96373f",5:"b11365e2be402c950778",6:"f4394a5c36d5478d062d",7:"ec4262182be7b7b65fb3",8:"93477714342846a912bc",9:"8ad33759ab632c2ffba8",10:"acb68173fde53e28e755",11:"5ee5b2a53d6726b221c0",12:"bddb064aaa2458ff299a",13:"67fc3d938531061b6fbd",14:"ced2bc4484fcda903ac4",15:"1037569a31f89cfdba12",16:"8659bc6669d3d7c80913",17:"59ef88cfb8f91f67f11e",18:"05f9c35721eac07bb4ec",19:"272051e9debc69c093db",20:"c7ebb7c3f16d687632b6",21:"a83957bbd62e04d2f4e5",22:"97d54c12eb430e0a4790",23:"bbda549f95a892dd23a4",24:"f9336aecd154b9b853d4",25:"54a7e2d269640d9cf0f3",26:"bb2c4ed93a943bc4d69b",27:"cc1182112c113ff91167",28:"903336d4ae9cec867d8e",29:"c1530cdd6610e0227357",30:"8086e88a0f096e1fb878",31:"5a62c4ccff806bc22bda",32:"22a9405c092de6cd3de0",33:"ab3eb203c50566d818d2",34:"368bae3e6533ecddfd32",35:"97d236d8991b76dc5ae5",36:"ce921a4b267c5bb10666",37:"9ca668807c96c7db4131",38:"35863b826fd5d7179397",39:"2ec00f43f218f3826918",40:"9cb8c53c89003d14566d",41:"dcad5a522d07b181fedf",42:"ba883452023bda7efd57",43:"14bb636213c54a2223db"}[e]+".js";var b=setTimeout(r,12e4);function r(){t.onerror=t.onload=null,clearTimeout(b);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return t.onerror=t.onload=r,f.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="https://static-cdn.changchangenglish.com/new-sing/",n.oe=function(e){throw e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,t){for(var b,r,o,i=0,u=[];i<a.length;i++)r=a[i],d[r]&&u.push(d[r][0]),d[r]=0;for(b in f)Object.prototype.hasOwnProperty.call(f,b)&&(e[b]=f[b]);for(c&&c(a,f,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var a={},d={46:0};function n(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=d[e]=[a,n]});c[2]=a;var f=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"7743968ed5eae85c8d30",1:"9a2a96fc2fca75253f80",2:"531712782fcb827578e5",3:"afb608b727d7fd83fcab",4:"dfe445151430ef96373f",5:"b11365e2be402c950778",6:"d5b1ae301836079f854c",7:"ec4262182be7b7b65fb3",8:"93477714342846a912bc",9:"8ad33759ab632c2ffba8",10:"acb68173fde53e28e755",11:"5ee5b2a53d6726b221c0",12:"bddb064aaa2458ff299a",13:"67fc3d938531061b6fbd",14:"ced2bc4484fcda903ac4",15:"1037569a31f89cfdba12",16:"8659bc6669d3d7c80913",17:"59ef88cfb8f91f67f11e",18:"05f9c35721eac07bb4ec",19:"272051e9debc69c093db",20:"c7ebb7c3f16d687632b6",21:"a83957bbd62e04d2f4e5",22:"97d54c12eb430e0a4790",23:"bbda549f95a892dd23a4",24:"f9336aecd154b9b853d4",25:"54a7e2d269640d9cf0f3",26:"bb2c4ed93a943bc4d69b",27:"cc1182112c113ff91167",28:"903336d4ae9cec867d8e",29:"c1530cdd6610e0227357",30:"8086e88a0f096e1fb878",31:"5a62c4ccff806bc22bda",32:"22a9405c092de6cd3de0",33:"ab3eb203c50566d818d2",34:"368bae3e6533ecddfd32",35:"97d236d8991b76dc5ae5",36:"ce921a4b267c5bb10666",37:"9ca668807c96c7db4131",38:"35863b826fd5d7179397",39:"2ec00f43f218f3826918",40:"9cb8c53c89003d14566d",41:"dcad5a522d07b181fedf",42:"ba883452023bda7efd57",43:"14bb636213c54a2223db"}[e]+".js";var b=setTimeout(r,12e4);function r(){t.onerror=t.onload=null,clearTimeout(b);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return t.onerror=t.onload=r,f.appendChild(t),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="https://static-cdn.changchangenglish.com/new-sing/",n.oe=function(e){throw e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -741,14 +741,12 @@ ...@@ -741,14 +741,12 @@
.van-actionsheet{ .van-actionsheet{
.activit{color: yellowgreen;} .activit{color: yellowgreen;}
} }
.swiper-slide{flex: 1;}
.unStart{ .unStart{
text-align: center; text-align: center;
img{width:300*@toVw; } img{width:300*@toVw; }
p{line-height: 22px;font-size: 16px;color: #666666;} p{line-height: 22px;font-size: 16px;color: #666666;}
div{width:250*@toVw;height: 40*@toVw;line-height:40*@toVw;background: #40A9FF;color: white;border-radius: 20*@toVw;margin-top: 72*@toVw } div{width:250*@toVw;height: 40*@toVw;line-height:40*@toVw;background: #40A9FF;color: white;border-radius: 20*@toVw;margin-top: 72*@toVw }
} }
// .swiper-slide{flex: 1;}
@-webkit-keyframes swing { @-webkit-keyframes swing {
10% { 10% {
transform: rotate(15deg); transform: rotate(15deg);
......
...@@ -14,7 +14,7 @@ axios.interceptors.request.use( ...@@ -14,7 +14,7 @@ axios.interceptors.request.use(
config => { config => {
// 获取token // 获取token
// process.env.versionTime // process.env.versionTime
let versiontime = '06211600' let versiontime = '06211700'
const token = localStorage.getItem('cc_token'); const token = localStorage.getItem('cc_token');
// 设置参数格式 // 设置参数格式
if(!config.headers['Content-Type']){ if(!config.headers['Content-Type']){
......
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