618

parent 742b75a0
......@@ -6,4 +6,4 @@
overflow: hidden;
position: fixed;
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.fa7128be1da9f45439a7.js></script><script type=text/javascript src=static/js/vendor.67557998227df7e95200.js></script><script type=text/javascript src=static/js/app.376cfade2cdf1bce3db6.js></script></body></html>
\ No newline at end of file
}</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.11b42a70d1ee0c3f53ee.js></script><script type=text/javascript src=static/js/vendor.67557998227df7e95200.js></script><script type=text/javascript src=static/js/app.376cfade2cdf1bce3db6.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],f[d]&&u.push(f[d][0]),f[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var c={},f={42:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;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:"7a0a0d088fa3293773e4",1:"b1cfe5d0d99fc11efd21",2:"3480e89e177929e0e092",3:"48f0de846e6ce52fda5a",4:"e0e2f883f76d78f28122",5:"e0a6a403e3ada07926b2",6:"c6ea61099a4a2c21e41e",7:"421bf9ef33a0e07865b9",8:"17b5dee9411a58b64eb8",9:"6b21b01facf38dc18532",10:"aa09fd3470e0fed86271",11:"b414f8bc70807458330b",12:"fc3a3caaa06755878f03",13:"aec72b0e84b7db4b75a5",14:"a3dd74598cca9210c87b",15:"8c526c387c28b957dc7f",16:"fdf8eca9e1a2110a4ef1",17:"c8bfd07f0deb24c8006c",18:"1c4bde4aae9444be9316",19:"5637cca2c4438812cf5b",20:"b4839fec18e0d551b1fb",21:"e70aae60c5b399d61104",22:"16a3985393de88e09f52",23:"79d64d46f87a7594223c",24:"7157073eeccbe0f0be6e",25:"c5752e7d8cca9ae7fae3",26:"4984774ab189eee97f72",27:"53caf949cc72899deb1e",28:"3ea3a2c328b729e948f7",29:"4bf51e792924c3a5130c",30:"a05692f1b7030b7c6dd9",31:"a9765e0b6fdcd95aa498",32:"3cbcf038785e803249d0",33:"6455804c94a9c2e46fd3",34:"31345ac77a963ca8a8ae",35:"0268526fb4af5fd83634",36:"0dfcfa91821b40ca7f36",37:"d9fb4c81ec56e9663dd8",38:"9c4d5093f285b54f6078",39:"2fb56e4a184c3d60b1a9"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,r,t){for(var o,d,b,i=0,u=[];i<c.length;i++)d=c[i],f[d]&&u.push(f[d][0]),f[d]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);for(a&&a(c,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)b=n(n.s=t[i]);return b};var c={},f={42:0};function n(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,n){a=f[e]=[c,n]});a[2]=c;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:"7a0a0d088fa3293773e4",1:"b1cfe5d0d99fc11efd21",2:"3480e89e177929e0e092",3:"48f0de846e6ce52fda5a",4:"e0e2f883f76d78f28122",5:"e0a6a403e3ada07926b2",6:"c6ea61099a4a2c21e41e",7:"071f9895c1ca3f5b22a5",8:"17b5dee9411a58b64eb8",9:"6b21b01facf38dc18532",10:"aa09fd3470e0fed86271",11:"b414f8bc70807458330b",12:"fc3a3caaa06755878f03",13:"aec72b0e84b7db4b75a5",14:"a3dd74598cca9210c87b",15:"8c526c387c28b957dc7f",16:"fdf8eca9e1a2110a4ef1",17:"c8bfd07f0deb24c8006c",18:"1c4bde4aae9444be9316",19:"5637cca2c4438812cf5b",20:"b4839fec18e0d551b1fb",21:"e70aae60c5b399d61104",22:"16a3985393de88e09f52",23:"79d64d46f87a7594223c",24:"7157073eeccbe0f0be6e",25:"c5752e7d8cca9ae7fae3",26:"4984774ab189eee97f72",27:"53caf949cc72899deb1e",28:"3ea3a2c328b729e948f7",29:"4bf51e792924c3a5130c",30:"a05692f1b7030b7c6dd9",31:"a9765e0b6fdcd95aa498",32:"3cbcf038785e803249d0",33:"6455804c94a9c2e46fd3",34:"31345ac77a963ca8a8ae",35:"0268526fb4af5fd83634",36:"0dfcfa91821b40ca7f36",37:"d9fb4c81ec56e9663dd8",38:"9c4d5093f285b54f6078",39:"2fb56e4a184c3d60b1a9"}[e]+".js";var o=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(o);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),c},n.m=e,n.c=c,n.d=function(e,a,c){n.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},n.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ 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>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.833d08a0e7ae1fe67d38c679ff897c7c.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.af604d7b5525798006cd.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.59555ccdee2c4b192710.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.fadf5afbd1226f6bda24.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.5ada2d3a39a37064d994e47dee53141d.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.eab82054aba7a787063e.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.59555ccdee2c4b192710.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.1a33c48c553373cfcc15.js></script></body></html>
\ No newline at end of file
webpackJsonp([6],{"+4G6":function(t,s,e){"use strict";var i=e("RfZZ"),n=e("AA6R"),o=e.n(n),a=e("o69Z"),r=e("rhik"),c=e("CsZI"),l=e("+2ln"),u=e("pIDD"),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.l)(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.l)().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.t)(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.m)(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.u)(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 if(s.$route.query.back_id){var o=document.getElementsByClassName("cid"+s.$route.query.back_id);o.length>0&&"none"!==o[0].style.display&&s.scroll_to(o[0].offsetTop)}else 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("vZvK")},"data-v-18f0ffc2",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"},vZvK:function(t,s){},zH3V:function(t,s,e){"use strict";var i=e("nsZj"),n=(e.n(i),e("hW8u")),o=(e.n(n),e("7YDQ"));e.n(o)}});
\ No newline at end of file
webpackJsonp([6],{"+4G6":function(t,s,e){"use strict";var i=e("RfZZ"),n=e("AA6R"),o=e.n(n),a=e("o69Z"),r=e("rhik"),c=e("CsZI"),l=e("+2ln"),u=e("pIDD"),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.l)(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.l)().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.t)(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.m)(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.u)(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 if(s.$route.query.back_id){var o=document.getElementsByClassName("cid"+s.$route.query.back_id);o.length>0&&"none"!==o[0].style.display&&s.scroll_to(o[0].offsetTop)}else 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("n8K4")},"data-v-6e1aef04",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"},n8K4:function(t,s){},zH3V:function(t,s,e){"use strict";var i=e("nsZj"),n=(e.n(i),e("hW8u")),o=(e.n(n),e("7YDQ"));e.n(o)}});
\ No newline at end of file
webpackJsonp([41],{CCn6:function(t,e,n){"use strict";var o=n("7+uW"),a=(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="06181200";var n=JSON.parse(u()(t.params));for(var o in n)null===n[o]&&(n[o]=""),"string"==typeof n[o]&&(t.params[o]=t.params[o].replace(/(^\s*)|(\s*$)/g,""),n[o]=n[o].replace(/(^\s*)|(\s*$)/g,"")),n[o]=h()(n[o].toString());n.sing="singsingenglish21000",t.params.param_token=h()(u()(n)),t.params.v="06181200"}else if("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06181200";var a=JSON.parse(u()(t.data));for(var i in a)null===a[i]&&(a[i]=""),"string"==typeof a[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),a[i]=a[i].replace(/(^\s*)|(\s*$)/g,"")),a[i]=h()(a[i].toString());a.sing="singsingenglish21000",t.data.param_token=h()(u()(a)),t.data.v="06181200"}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 d}),n.d(e,"N",function(){return m}),n.d(e,"o",function(){return g}),n.d(e,"F",function(){return y}),n.d(e,"Q",function(){return w}),n.d(e,"T",function(){return b}),n.d(e,"K",function(){return v}),n.d(e,"u",function(){return $}),n.d(e,"m",function(){return _}),n.d(e,"t",function(){return S}),n.d(e,"H",function(){return k}),n.d(e,"X",function(){return P}),n.d(e,"q",function(){return N}),n.d(e,"y",function(){return I}),n.d(e,"z",function(){return T}),n.d(e,"L",function(){return O}),n.d(e,"E",function(){return U}),n.d(e,"k",function(){return x}),n.d(e,"p",function(){return D}),n.d(e,"s",function(){return M}),n.d(e,"r",function(){return E}),n.d(e,"V",function(){return A}),n.d(e,"e",function(){return C}),n.d(e,"P",function(){return j}),n.d(e,"G",function(){return q}),n.d(e,"b",function(){return L}),n.d(e,"h",function(){return R}),n.d(e,"A",function(){return W}),n.d(e,"B",function(){return Y}),n.d(e,"C",function(){return Q}),n.d(e,"I",function(){return H}),n.d(e,"J",function(){return B}),n.d(e,"a",function(){return G}),n.d(e,"M",function(){return J}),n.d(e,"R",function(){return V}),n.d(e,"n",function(){return F}),n.d(e,"l",function(){return K}),n.d(e,"S",function(){return X}),n.d(e,"i",function(){return z}),n.d(e,"j",function(){return Z}),n.d(e,"D",function(){return tt}),n.d(e,"v",function(){return et}),n.d(e,"x",function(){return nt}),n.d(e,"w",function(){return ot}),n.d(e,"Y",function(){return at}),n.d(e,"d",function(){return it}),n.d(e,"g",function(){return rt}),n.d(e,"f",function(){return ct}),n.d(e,"W",function(){return ut}),n.d(e,"O",function(){return lt}),n.d(e,"U",function(){return st});o.default.prototype.$post=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$fetch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);else if(501===t.data.code){o(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)o(t.data);else if(506===t.data.code){o(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 o(t.data),Object(a.a)(t.data.msg)}).catch(function(t){o(t)})})},o.default.prototype.$patch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$put=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$del=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$upload=function(t,e){return new r.a(function(n,o){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(a.a)(t.data.msg)}).catch(function(t){o(t)})}()})},o.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 d=function(t,e){return o.default.prototype.$fetch("/api/client/banner/list/"+t,e)},m=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},g=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},y=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},w=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},b=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},v=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},$=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},_=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},S=function(t,e,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},k=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},P=function(t,e,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,a)},N=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},I=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},T=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},O=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},U=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},x=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},D=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},M=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},E=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},A=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},C=function(t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},j=function(t,e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},q=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},L=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},R=function(t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},W=function(t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+t)},Y=function(){return o.default.prototype.$fetch("/api/client/share/goods")},Q=function(t){return o.default.prototype.$fetch("/api/public/short/url",t)},H=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},B=function(t){return o.default.prototype.$fetch("/api/client/user/integral",t)},G=function(t){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},J=function(t){return o.default.prototype.$fetch("/api/client/yunji/config",t)},V=function(t){return o.default.prototype.$post("/api/client/user/add/class/"+t)},F=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},K=function(t){return t?o.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):o.default.prototype.$fetch("/api/client/user/course/info")},X=function(t){return o.default.prototype.$put("/api/client/me/set",t)},z=function(t,e){return o.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},Z=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},tt=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},et=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},nt=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ot=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},at=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},it=function(t){return o.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},rt=function(){return o.default.prototype.$fetch("/api/client/user/generate/authorization")},ct=function(){return o.default.prototype.$fetch("/api/client/user/bind/chance")},ut=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},lt=function(t){return o.default.prototype.$fetch("/api/client/user/main/info/"+t)},st=function(t){return o.default.prototype.$fetch("/api/client/user/click/link/"+t)}},IcnI:function(t,e,n){"use strict";var o=n("7+uW"),a=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}});o.default.use(a.a);e.a=new a.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 o=n("qYlo"),a=(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("krQb")},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),b=(n("d8/S"),n("bOdI")),v=n.n(b),$=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:v()({_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(o.a).use(a.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),o=n.length>>>0,a=arguments[1],i=0;i<o;i++)if(e=n[i],t.call(a,e,i,n))return e})},Onnv:function(t,e){},YaEn:function(t,e,n){"use strict";var o=n("mvHQ"),a=n.n(o),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(15)]).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(12).then(function(){var e=[n("qPDM")];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(31)]).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(19).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(25)]).then(function(){var e=[n("kZy8")];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(18)]).then(function(){var e=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){return n.e(39).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(37)]).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(14)]).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(20)]).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(28).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(35)]).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(38)]).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(17)]).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(32)]).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(27).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(23)]).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(36)]).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(26).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(16).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(21).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(33)]).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(22).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(29)]).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(30)]).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(34)]).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 o=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.H)().then(function(t){localStorage.setItem("userDesc",a()(t)),s.a.login(t.user_id),o()}).catch(function(t){localStorage.getItem("userDesc")&&o()})}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),o()):Object(p.H)().then(function(t){localStorage.setItem("userDesc",a()(t)),s.a.login(t.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});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){},krQb: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 o in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return e},getUrlParam:function(){var t=location.search,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),o=n.split("&"),a=0;a<o.length;a++)e[o[a].split("=")[0]]=unescape(o[a].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),o=n.split("&"),a=0;a<o.length;a++)e[o[a].split("=")[0]]=unescape(o[a].split("=")[1]);return e},leftTimer:function(t,e){if(t>new Date)var n=t-new Date;else{e&&clearInterval(e);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),i=this.checkTime(i),r=this.checkTime(r),o>0?o+"天":a>=0||i>=0||r>=0?a+":"+i+":"+r:void 0},checkTime:function(t){return t<10&&(t="0"+t),t}}},zSLJ:function(t,e,n){"use strict"}},["NHnr"]);
\ No newline at end of file
webpackJsonp([41],{CCn6:function(t,e,n){"use strict";var o=n("7+uW"),a=(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="06181400";var n=JSON.parse(u()(t.params));for(var o in n)null===n[o]&&(n[o]=""),"string"==typeof n[o]&&(t.params[o]=t.params[o].replace(/(^\s*)|(\s*$)/g,""),n[o]=n[o].replace(/(^\s*)|(\s*$)/g,"")),n[o]=h()(n[o].toString());n.sing="singsingenglish21000",t.params.param_token=h()(u()(n)),t.params.v="06181400"}else if("/api/admin/login"!==t.url){t.data=t.data||{},t.data.v="06181400";var a=JSON.parse(u()(t.data));for(var i in a)null===a[i]&&(a[i]=""),"string"==typeof a[i]&&(t.data[i]=t.data[i].replace(/(^\s*)|(\s*$)/g,""),a[i]=a[i].replace(/(^\s*)|(\s*$)/g,"")),a[i]=h()(a[i].toString());a.sing="singsingenglish21000",t.data.param_token=h()(u()(a)),t.data.v="06181400"}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 d}),n.d(e,"N",function(){return m}),n.d(e,"o",function(){return g}),n.d(e,"F",function(){return y}),n.d(e,"Q",function(){return w}),n.d(e,"T",function(){return b}),n.d(e,"K",function(){return v}),n.d(e,"u",function(){return $}),n.d(e,"m",function(){return _}),n.d(e,"t",function(){return S}),n.d(e,"H",function(){return k}),n.d(e,"X",function(){return P}),n.d(e,"q",function(){return N}),n.d(e,"y",function(){return I}),n.d(e,"z",function(){return T}),n.d(e,"L",function(){return O}),n.d(e,"E",function(){return U}),n.d(e,"k",function(){return x}),n.d(e,"p",function(){return D}),n.d(e,"s",function(){return M}),n.d(e,"r",function(){return E}),n.d(e,"V",function(){return A}),n.d(e,"e",function(){return C}),n.d(e,"P",function(){return j}),n.d(e,"G",function(){return q}),n.d(e,"b",function(){return L}),n.d(e,"h",function(){return R}),n.d(e,"A",function(){return W}),n.d(e,"B",function(){return Y}),n.d(e,"C",function(){return Q}),n.d(e,"I",function(){return H}),n.d(e,"J",function(){return B}),n.d(e,"a",function(){return G}),n.d(e,"M",function(){return J}),n.d(e,"R",function(){return V}),n.d(e,"n",function(){return F}),n.d(e,"l",function(){return K}),n.d(e,"S",function(){return X}),n.d(e,"i",function(){return z}),n.d(e,"j",function(){return Z}),n.d(e,"D",function(){return tt}),n.d(e,"v",function(){return et}),n.d(e,"x",function(){return nt}),n.d(e,"w",function(){return ot}),n.d(e,"Y",function(){return at}),n.d(e,"d",function(){return it}),n.d(e,"g",function(){return rt}),n.d(e,"f",function(){return ct}),n.d(e,"W",function(){return ut}),n.d(e,"O",function(){return lt}),n.d(e,"U",function(){return st});o.default.prototype.$post=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.post(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$fetch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.get(t,{params:e}).then(function(t){if(200===t.data.code)n(t.data.data);else if(501===t.data.code){o(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)o(t.data);else if(506===t.data.code){o(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 o(t.data),Object(a.a)(t.data.msg)}).catch(function(t){o(t)})})},o.default.prototype.$patch=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.patch(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$put=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.put(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$del=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r.a(function(n,o){s.a.delete(t,e).then(function(t){200===t.data.code?n(t.data.data):501===t.data.code?(o(t.data),f.a.push({name:"author",query:{retUrl:window.location.href.split("#")[1]||"",is_new_user_url:1}})):503===t.data.code?o(t.data):(o(t.data),Object(a.a)(t.data.msg))},function(t){o(t)})})},o.default.prototype.$upload=function(t,e){return new r.a(function(n,o){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(a.a)(t.data.msg)}).catch(function(t){o(t)})}()})},o.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 d=function(t,e){return o.default.prototype.$fetch("/api/client/banner/list/"+t,e)},m=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/jssdk",t)},g=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/info/"+t)},y=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/address/info")},w=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/pay",t)},b=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/address/save",t)},v=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/course/list")},$=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/category/list/"+t,e)},_=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/course/relation/list/"+t)},S=function(t,e,n){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/element/info/"+t+"/"+e+"/"+n)},k=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/me")},P=function(t,e,n,a){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/watch/log/"+t+"/"+e+"/"+n,a)},N=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/group/info/"+t)},I=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/info/"+t)},T=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/order/list",t)},O=function(){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/watch/report")},U=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/bill/wechat/status",t)},x=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/coupon/list",{goods_id:t})},D=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/goods/list",t)},M=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/earnings/"+e,t)},E=function(t,e){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/invite/list/"+e,t)},A=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/mobile/code",t)},C=function(t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind",t)},j=function(t,e){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/mobile/bind/order_id",t)},q=function(t){return o.default.prototype.$fetch("https://wechat.changchangenglish.com/api/client/user/collect",t)},L=function(t){return o.default.prototype.$post("https://wechat.changchangenglish.com/api/client/user/collect",t)},R=function(t){return o.default.prototype.$put("https://wechat.changchangenglish.com/api/client/user/collect/"+t)},W=function(t){return o.default.prototype.$fetch("/api/client/user/watch/report/"+t)},Y=function(){return o.default.prototype.$fetch("/api/client/share/goods")},Q=function(t){return o.default.prototype.$fetch("/api/public/short/url",t)},H=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},B=function(t){return o.default.prototype.$fetch("/api/client/user/integral",t)},G=function(t){return o.default.prototype.$put("/api/client/user/mobile/bind/exchange",t)},J=function(t){return o.default.prototype.$fetch("/api/client/yunji/config",t)},V=function(t){return o.default.prototype.$post("/api/client/user/add/class/"+t)},F=function(){return o.default.prototype.$fetch("/api/client/user/course/status")},K=function(t){return t?o.default.prototype.$fetch("/api/client/user/course/info",{periods_id:t}):o.default.prototype.$fetch("/api/client/user/course/info")},X=function(t){return o.default.prototype.$put("/api/client/me/set",t)},z=function(t,e){return o.default.prototype.$fetch("/api/client/course/automation/list/"+t+"/"+e)},Z=function(){return o.default.prototype.$fetch("/api/client/recommend/conversion/goods")},tt=function(){return o.default.prototype.$fetch("/api/client/user/last/integral")},et=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw")},nt=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/judge")},ot=function(){return o.default.prototype.$fetch("/api/client/user/luckDraw/rand")},at=function(){return o.default.prototype.$fetch("/api/client/user/unbind/sub")},it=function(t){return o.default.prototype.$fetch("/api/client/user/bind/sub/"+t)},rt=function(){return o.default.prototype.$fetch("/api/client/user/generate/authorization")},ct=function(){return o.default.prototype.$fetch("/api/client/user/bind/chance")},ut=function(){return o.default.prototype.$fetch("/api/client/user/sub/info")},lt=function(t){return o.default.prototype.$fetch("/api/client/user/main/info/"+t)},st=function(t){return o.default.prototype.$fetch("/api/client/user/click/link/"+t)}},IcnI:function(t,e,n){"use strict";var o=n("7+uW"),a=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}});o.default.use(a.a);e.a=new a.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 o=n("qYlo"),a=(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("krQb")},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),b=(n("d8/S"),n("bOdI")),v=n.n(b),$=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:v()({_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(o.a).use(a.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),o=n.length>>>0,a=arguments[1],i=0;i<o;i++)if(e=n[i],t.call(a,e,i,n))return e})},Onnv:function(t,e){},YaEn:function(t,e,n){"use strict";var o=n("mvHQ"),a=n.n(o),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(15)]).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(12).then(function(){var e=[n("qPDM")];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(31)]).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(19).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(25)]).then(function(){var e=[n("kZy8")];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(18)]).then(function(){var e=[n("YaSr")];t.apply(null,e)}.bind(this)).catch(n.oe)},meta:{deep:0,noNew:!0}},{path:"/zhibo",name:"zhibo",component:function(t){return n.e(39).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(37)]).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(14)]).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(20)]).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(28).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(35)]).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(38)]).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(17)]).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(32)]).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(27).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(23)]).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(36)]).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(26).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(16).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(21).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(33)]).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(22).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(29)]).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(30)]).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(34)]).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 o=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.H)().then(function(t){localStorage.setItem("userDesc",a()(t)),s.a.login(t.user_id),o()}).catch(function(t){localStorage.getItem("userDesc")&&o()})}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),o()):Object(p.H)().then(function(t){localStorage.setItem("userDesc",a()(t)),s.a.login(t.user_id),o()}).catch(function(){localStorage.getItem("userDesc")&&o()});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){},krQb: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 o in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return e},getUrlParam:function(){var t=location.search,e=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),o=n.split("&"),a=0;a<o.length;a++)e[o[a].split("=")[0]]=unescape(o[a].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),o=n.split("&"),a=0;a<o.length;a++)e[o[a].split("=")[0]]=unescape(o[a].split("=")[1]);return e},leftTimer:function(t,e){if(t>new Date)var n=t-new Date;else{e&&clearInterval(e);n=0}var o=parseInt(n/1e3/60/60/24,10),a=parseInt(n/1e3/60/60%24,10),i=parseInt(n/1e3/60%60,10),r=parseInt(n/1e3%60,10);return o=this.checkTime(o),a=this.checkTime(a),i=this.checkTime(i),r=this.checkTime(r),o>0?o+"天":a>=0||i>=0||r>=0?a+":"+i+":"+r:void 0},checkTime:function(t){return t<10&&(t="0"+t),t}}},zSLJ:function(t,e,n){"use strict"}},["NHnr"]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,t,r){for(var d,o,b,i=0,u=[];i<f.length;i++)o=f[i],a[o]&&u.push(a[o][0]),a[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(c&&c(f,t,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=n(n.s=r[i]);return b};var f={},a={42:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var t=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,n.nc&&r.setAttribute("nonce",n.nc),r.src=n.p+"static/js/"+e+"."+{0:"719dc3f7f0ed1bbd1996",1:"265692694ccbd64ed997",2:"6534f2bf3c91856a4970",3:"8c954636e0d36ec0afe3",4:"7217efcfd5408cc9e947",5:"3152eee324b7a590a698",6:"4a5db32445117470eb38",7:"b798e0059a30f73754c6",8:"90c94e5d1da85a5a9c2e",9:"82cb51d3c94a2d0759fa",10:"c39b8955de006108028d",11:"97b829918794c73c16f1",12:"2e2251bd3bd75f2f6633",13:"17ee6010ae9c2147f433",14:"5a1da6973b3a06942c82",15:"be8f80faaf19b1a940a4",16:"8425717719df5377dff3",17:"d265e1d13eb3ec85f9e2",18:"53cc8db4bd2ac224ff61",19:"d33956c55fc42cdecc67",20:"8a53c65879fd711c0096",21:"086afd34b50f94f69fc9",22:"857e5f7a9b0c8ef40b96",23:"17250917af5d63e45f38",24:"8d02dce06144460fc2cc",25:"37beff2bc83ec011dd3f",26:"b209d77918cf1543a885",27:"fcfa1f45493204a0fb6b",28:"fb9f440a0dca1ce68cd8",29:"b8525fbfff4eed00593d",30:"03a08822c6989cd43507",31:"bb08ce346fbc90513ec4",32:"eb8f796b3e1909e07ce3",33:"8ead1cffebe2f222b3ec",34:"212fd4e4fb0e0f479209",35:"9bf8f61185245e4bbe8a",36:"a6ca2e8d50cd55726404",37:"0b5f2c665118aa151c50",38:"e7d83bad0ab5744c11cd",39:"ed82f86a8b4c7438ceb5"}[e]+".js";var d=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=o,t.appendChild(r),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,t,r){for(var d,o,b,i=0,u=[];i<f.length;i++)o=f[i],a[o]&&u.push(a[o][0]),a[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(c&&c(f,t,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=n(n.s=r[i]);return b};var f={},a={42:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var t=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,n.nc&&r.setAttribute("nonce",n.nc),r.src=n.p+"static/js/"+e+"."+{0:"719dc3f7f0ed1bbd1996",1:"265692694ccbd64ed997",2:"6534f2bf3c91856a4970",3:"8c954636e0d36ec0afe3",4:"7217efcfd5408cc9e947",5:"3152eee324b7a590a698",6:"7e54017083b950b6fcd3",7:"b798e0059a30f73754c6",8:"90c94e5d1da85a5a9c2e",9:"82cb51d3c94a2d0759fa",10:"c39b8955de006108028d",11:"97b829918794c73c16f1",12:"2e2251bd3bd75f2f6633",13:"17ee6010ae9c2147f433",14:"5a1da6973b3a06942c82",15:"be8f80faaf19b1a940a4",16:"8425717719df5377dff3",17:"d265e1d13eb3ec85f9e2",18:"53cc8db4bd2ac224ff61",19:"d33956c55fc42cdecc67",20:"8a53c65879fd711c0096",21:"086afd34b50f94f69fc9",22:"857e5f7a9b0c8ef40b96",23:"17250917af5d63e45f38",24:"8d02dce06144460fc2cc",25:"37beff2bc83ec011dd3f",26:"b209d77918cf1543a885",27:"fcfa1f45493204a0fb6b",28:"fb9f440a0dca1ce68cd8",29:"b8525fbfff4eed00593d",30:"03a08822c6989cd43507",31:"bb08ce346fbc90513ec4",32:"eb8f796b3e1909e07ce3",33:"8ead1cffebe2f222b3ec",34:"212fd4e4fb0e0f479209",35:"9bf8f61185245e4bbe8a",36:"a6ca2e8d50cd55726404",37:"0b5f2c665118aa151c50",38:"e7d83bad0ab5744c11cd",39:"ed82f86a8b4c7438ceb5"}[e]+".js";var d=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(d);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return r.onerror=r.onload=o,t.appendChild(r),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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
......@@ -753,7 +753,7 @@
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 }
}
.swiper-slide{flex: 1;}
// .swiper-slide{flex: 1;}
@-webkit-keyframes swing {
10% {
transform: rotate(15deg);
......
......@@ -14,7 +14,7 @@ axios.interceptors.request.use(
config => {
// 获取token
// process.env.versionTime
let versiontime = '06181200'
let versiontime = '06181400'
const token = localStorage.getItem('cc_token');
// 设置参数格式
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