Commit d87b7a60 authored by wangwei's avatar wangwei

绑定手机号 带上老师参数

parent 169da35e
......@@ -4,4 +4,4 @@
hm.src = "https://hm.baidu.com/hm.js?3d48322170d471164729cba5dfa4195f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script><style></style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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 type=text/javascript src=static/js/manifest.5536aca48b6f6f504f1d.js></script><script type=text/javascript src=static/js/vendor.935b3525ddfce821c54b.js></script><script type=text/javascript src=static/js/app.d350aa5409989ce4e9bb.js></script></body></html>
\ No newline at end of file
})();</script><style></style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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 type=text/javascript src=static/js/manifest.84d8fca429fc3d6c3f6d.js></script><script type=text/javascript src=static/js/vendor.935b3525ddfce821c54b.js></script><script type=text/javascript src=static/js/app.144d4d81acd92c552fa2.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([21],{GHGh:function(e,n,t){var a=t("z/+d");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);t("rjj0")("64033dd0",a,!1,{})},IcnI:function(e,n,t){"use strict";var a=t("7+uW"),i=t("NYxO"),o=(t("zSLJ"),{setToken:function(e,n){e.token=n,localStorage.setItem("cc_token",n)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,n){e.isMobile=n}});a.default.use(i.a);n.a=new i.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1},mutations:o,actions:{setToken:function(e,n){(0,e.commit)("setToken",n)},isMobile:function(e,n){(0,e.commit)("isMobile",n)}}})},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("7+uW"),i=function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("transition",{attrs:{name:"fade"}},[n("router-view",{staticClass:"child-view"})],1)],1)};i._withStripped=!0;var o={render:i,staticRenderFns:[]},r=o;var l=!1;var c=t("VU/8")({name:"App",mounted:function(){}},r,!1,function(e){l||t("GHGh")},null,null);c.options.__file="src/App.vue";var s=c.exports,u=t("YaEn"),p=t("IcnI"),f=t("Au9i"),d=t.n(f),m=t("KPKd"),h=t.n(m);t("d8/S");a.default.config.productionTip=!1,a.default.use(d.a),a.default.use(h.a),new a.default({el:"#app",router:u.a,store:p.a,components:{App:s},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n,t=Object(this),a=t.length>>>0,i=arguments[1],o=0;o<a;o++)if(n=t[o],e.call(i,n,o,t))return n})},YaEn:function(e,n,t){"use strict";var a=t("7+uW"),i=t("IcnI"),o=t("sf/l"),r=t("/ocq"),l=t("5Brm");t.n(l);a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(11)]).then(function(){var n=[t("dAjm")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/newLesson",name:"newLesson",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([t.e(0),t.e(17)]).then(function(){var n=[t("P3Wy")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([t.e(0),t.e(15)]).then(function(){var n=[t("U/b5")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("R7Pr")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(e){return Promise.all([t.e(0),t.e(19)]).then(function(){var n=[t("Eg0l")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return t.e(14).then(function(){var n=[t("sA+T")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("bNYG")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("Y1ei")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("IF8E")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([t.e(0),t.e(18)]).then(function(){var n=[t("w9eS")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("3QU7")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(e){return Promise.all([t.e(0),t.e(13)]).then(function(){var n=[t("wSE2")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(e){return Promise.all([t.e(0),t.e(12)]).then(function(){var n=[t("/Vxk")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("yYpN")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/activityInvite",name:"activityInvite",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("aRHX")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/inviteList",name:"inviteList",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("eZU3")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/collection",name:"collection",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("PTpu")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"*",component:function(e){return Promise.all([t.e(0),t.e(16)]).then(function(){var n=[t("Zazt")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]});c.beforeEach(function(e,n,t){var a={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()};a.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);i.a.dispatch("isMobile",a.versions.mobile),window._hmt.push(["_trackPageview","/#"+e.fullPath]),document.title="唱唱启蒙英语";var r=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),t(e)}else t()};if("author"===e.name||"bindMobile"===e.name)t();else if(window.location.href.indexOf("token")>-1){var l=o.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",l),r()}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),r();else if(e.meta.skip_login)r();else{var c={retUrl:e.fullPath};e.meta.noNew&&(c.is_new_user_url=1),t({name:"author",query:c})}}),n.a=c},"d8/S":function(e,n){},"sf/l":function(e,n,t){"use strict";n.a={dateFmt:function(e,n){var t={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[a]:("00"+t[a]).substr((""+t[a]).length)));return n},getUrlParam:function(){var e=location.search,n=new Object;if(-1!=e.indexOf("?"))for(var t=e.substr(1).split("&"),a=0;a<t.length;a++)n[t[a].split("=")[0]]=unescape(t[a].split("=")[1]);return n},toDataURL:function(e,n){var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(t.response)},t.responseType="blob",t.open("GET",e,!0),t.send()}}},"z/+d":function(e,n,t){(e.exports=t("FZ+f")(!0)).push([e.i,'\n#app {\n overflow: auto;\n -webkit-overflow-scrolling:touch;\n font-family: "Helvetica Neue",\n Helvetica,\n "PingFang SC",\n "Hiragino Sans GB",\n "Microsoft YaHei",\n "\\5FAE\\8F6F\\96C5\\9ED1",\n Arial,\n sans-serif;\n}\nhtml,body,#app{\n width: 100%;\n overflow: auto;\n}\n*{\n margin: auto;\n padding: auto;\n}\n.child-view {\n position: relative;\n width: 100%;\n min-height: 100vh;\n -webkit-transition: all .5s;\n transition: all .5s;\n}\n.fade-enter-active, .fade-leave-active {\n -webkit-transition: opacity .5s;\n transition: opacity .5s;\n}\n.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {\n opacity: 0;\n}\n',"",{version:3,sources:["D:/myproject/new-singsingH5/src/src/App.vue"],names:[],mappings:";AAiBA;EACA,eAAA;EACA,iCAAA;EACA;;;;;;;aAOA;CACA;AACA;IACA,YAAA;IACA,eAAA;CACA;AACA;IACA,aAAA;IACA,cAAA;CACA;AACA;EACA,mBAAA;EACA,YAAA;EACA,kBAAA;EACA,4BAAA;EAAA,oBAAA;CACA;AACA;EACA,gCAAA;EAAA,wBAAA;CACA;AACA;EACA,WAAA;CACA",file:"App.vue",sourcesContent:['<template>\n <div id="app">\n <transition name="fade">\n <router-view class="child-view"/>\n </transition>\n </div>\n</template>\n\n<script>\nexport default {\n name: \'App\',\n mounted(){\n },\n}\n<\/script>\n\n<style>\n#app {\n overflow: auto;\n -webkit-overflow-scrolling:touch;\n font-family: "Helvetica Neue",\n Helvetica,\n "PingFang SC",\n "Hiragino Sans GB",\n "Microsoft YaHei",\n "微软雅黑",\n Arial,\n sans-serif;\n}\n html,body,#app{\n width: 100%;\n overflow: auto;\n }\n *{\n margin: auto;\n padding: auto;\n }\n.child-view {\n position: relative;\n width: 100%;\n min-height: 100vh;\n transition: all .5s;\n}\n.fade-enter-active, .fade-leave-active {\n transition: opacity .5s;\n}\n.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {\n opacity: 0;\n}\n</style>\n'],sourceRoot:""}])},zSLJ:function(e,n,t){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.144d4d81acd92c552fa2.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,s=[];u<r.length;u++)d=r[u],t[d]&&s.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);s.length;)s.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={22:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"70a7e7dda89d34d1485f",1:"818dcd18facab7a304dc",2:"95392ed0d033c5c8450c",3:"280edd1955649f0ed2b2",4:"403c7c374ba40f0b079e",5:"20759f75ea39d01afe98",6:"42dc7cd7f3c0a7513063",7:"3b0e5ae71fa52c04e984",8:"5b7f72034dfa7a4bba36",9:"36abe5869f956c6e960c",10:"8d0e37c9f9a3f2593959",11:"3051d38a02e6414e10f5",12:"489c1b48e1059b4c4d16",13:"e071662ce4bb6348695c",14:"da3a460997d731c65432",15:"efc5b92baeac5a717659",16:"8af7eb6f97e0759ee078",17:"f5938e4969a0c61b5f31",18:"6cd5dca1601592bd95fd",19:"2ec1f3dfd3391f01a7e4"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.84d8fca429fc3d6c3f6d.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap fa1aca56fccb636fdf60"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","22","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAhB,EAAAL,IAAAuB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,UACAD,EAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EACAJ,EAAAK,QAAA,KAEArB,EAAAsB,IACAN,EAAAO,aAAA,QAAAvB,EAAAsB,IAEAN,EAAAQ,IAAAxB,EAAAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAAsiB1D,GAAA,MAC9mB,IAAAkC,EAAAyB,WAAAC,EAAA,MAEA,SAAAA,IAEA/B,EAAAgC,QAAAhC,EAAAiC,OAAA,KACAC,aAAA7B,GACA,IAAA8B,EAAA3D,EAAAL,GACA,IAAAgE,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAjE,EAAA,aAEAK,EAAAL,QAAAkE,GAKA,OAfArC,EAAAgC,QAAAhC,EAAAiC,OAAAF,EAaAlC,EAAAyC,YAAAtC,GAEAL,GAIAX,EAAAuD,EAAAzD,EAGAE,EAAAwD,EAAAtD,EAGAF,EAAAyD,EAAA,SAAArD,EAAAsD,EAAAC,GACA3D,EAAA4D,EAAAxD,EAAAsD,IACAhE,OAAAmE,eAAAzD,EAAAsD,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA3D,EAAAiE,EAAA,SAAA5D,GACA,IAAAsD,EAAAtD,KAAA6D,WACA,WAA2B,OAAA7D,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAyD,EAAAE,EAAA,IAAAA,GACAA,GAIA3D,EAAA4D,EAAA,SAAAO,EAAAC,GAAsD,OAAA1E,OAAAC,UAAAC,eAAAC,KAAAsE,EAAAC,IAGtDpE,EAAAyB,EAAA,GAGAzB,EAAAqE,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.84d8fca429fc3d6c3f6d.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t22: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"70a7e7dda89d34d1485f\",\"1\":\"818dcd18facab7a304dc\",\"2\":\"95392ed0d033c5c8450c\",\"3\":\"280edd1955649f0ed2b2\",\"4\":\"403c7c374ba40f0b079e\",\"5\":\"20759f75ea39d01afe98\",\"6\":\"42dc7cd7f3c0a7513063\",\"7\":\"3b0e5ae71fa52c04e984\",\"8\":\"5b7f72034dfa7a4bba36\",\"9\":\"36abe5869f956c6e960c\",\"10\":\"8d0e37c9f9a3f2593959\",\"11\":\"3051d38a02e6414e10f5\",\"12\":\"489c1b48e1059b4c4d16\",\"13\":\"e071662ce4bb6348695c\",\"14\":\"da3a460997d731c65432\",\"15\":\"efc5b92baeac5a717659\",\"16\":\"8af7eb6f97e0759ee078\",\"17\":\"f5938e4969a0c61b5f31\",\"18\":\"6cd5dca1601592bd95fd\",\"19\":\"2ec1f3dfd3391f01a7e4\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap fa1aca56fccb636fdf60"],"sourceRoot":""}
\ No newline at end of file
......@@ -7,4 +7,4 @@
s.parentNode.insertBefore(hm, s);
})();</script><style>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.84d4ca7f12dad90b68c1190ac00bf54f.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.048ceb6586fdde48e2e7.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.8e7bd7704a8fb6219a2a.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.dee4afa5c5aa1edc5e82.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.d9836d8bf8efb1b499bec01ab96954f4.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.409ab56f20c989194ba0.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.8e7bd7704a8fb6219a2a.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.25350b32138a19869944.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.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([14],{"H+th":function(t,i){},M4PM:function(t,i){},dAjm:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=e("CCn6"),s=e("hUWd"),a=e.n(s),r=e("SKwj"),c=e.n(r),o={name:"index",data:function(){return{iKnowUrl:a.a,goUrl:c.a,show:!1}},mounted:function(){var t=this;Object(n.j)({page_name:"index"}).then(function(i){0==i&&(t.show=!0)})}},l={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[t.show?e("div",{staticClass:"guide",on:{click:function(i){t.show=!1}}},[e("img",{staticClass:"i-know",attrs:{src:t.iKnowUrl},on:{click:function(i){t.show=!1}}}),t._v(" "),e("img",{staticClass:"go",attrs:{src:t.goUrl}}),t._v(" "),t._m(0),t._v(" "),e("img",{staticClass:"banner",attrs:{src:"https://cdn.singsingenglish.com/new-sing/20181018/3dd8d55b0b6e9bf4fa1f96d500b69f6b2145640b1539836003313.jpeg"}})]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"tips"},[this._v("\n 已购课程,点击"),i("span",[this._v("开始上课!")])])}]};var d=e("VU/8")(o,l,!1,function(t){e("H+th")},"data-v-5784a464",null).exports,u=(e("v2ns"),e("7QTg")),h=e("Jmy5"),v=e("2oJL"),_=e("Au9i"),p={name:"index",components:{swiper:u.swiper,swiperSlide:u.swiperSlide,bottomTab:v.a,guidePage:d},data:function(){return{bannerList:[],teacherQ2:!1,teacherDetail:null,imgUrl:h.a,user_id:null,newUrl:"",swiperOption:{pagination:{el:".swiper-pagination"}},swiperOption2:{width:.95*window.innerWidth,on:{resize:function(){this.params.width=.95*window.innerWidth,this.update()}}},lessonList:[]}},methods:{toOld:function(t){window.location.href="https://appanqlfkth3717.h5.xiaoeknow.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjoiIiwicmVzb3VyY2VfaWQiOiIiLCJwcm9kdWN0X2lkIjoicF81YjE0YjdjMjdjNDZiX2Rvd0xicDc1IiwiYXBwX2lkIjoiYXBwYU5RTGZrdEgzNzE3In0?state=2f12ab00cbc58f98cdc8193c8151437f_Sc7T3q"},toBannerUrl:function(t){window.location.href=t},toHear:function(){this.$router.push({name:"collection"})},toNewUrl:function(){window.location.href=this.newUrl},initPage:function(){var t=this;Object(n.r)().then(function(t){t&&""!==t&&null!==t&&(window.location.href=t)}),Object(n.w)().then(function(i){t.user_id=i.user_id}),Object(n.d)().then(function(i){t.bannerList=i.list}),Object(n.o)().then(function(i){t.newUrl=i[0].desc}),Object(n.x)().then(function(i){t.lessonList=i}),Object(n.t)().then(function(i){i.id&&(t.teacherDetail=i,"hidden"!==localStorage.getItem("qrType")&&(localStorage.setItem("qrType","hidden"),window.innerWidth<window.innerHeight&&(t.teacherQ2=!0)))})},toGoodsList:function(){this.$router.push({name:"myGoodsList"})},dateParse:function(t){var i=void 0;return i=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(i[0],i[1]-1,i[2])},dateCompare:function(t,i){var e=t.getTime(),n=i.getTime();return n>e?1:n==e?0:-1},toMap:function(t){this.dateCompare(new Date,this.dateParse(t.start_at))<1?this.$router.push({name:"map",query:{periods_id:t.periods_id,parent_category_id:t.parent_category_id,course_type:t.course_type}}):Object(_.Toast)("该课程暂未开始")}},mounted:function(){this.initPage()}},m={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"index"},[e("div",{staticClass:"banner-block"},[e("swiper",{ref:"mySwiper",staticClass:"banner",attrs:{options:t.swiperOption}},t._l(t.bannerList,function(i,n){return e("swiper-slide",{key:n},[e("img",{staticClass:"banner",attrs:{src:i.url+"?imageslim"},on:{click:function(e){t.toBannerUrl(i.link)}}})])}))],1),t._v(" "),e("div",{staticClass:"btn-block"},[e("div",{staticClass:"btn",on:{click:function(i){t.teacherQ2=!0}}},[e("img",{attrs:{src:t.imgUrl.record}})]),t._v(" "),e("div",{staticClass:"btn",on:{click:function(i){t.toOld(i)}}},[e("img",{attrs:{src:t.imgUrl.oldChange}})]),t._v(" "),e("div",{staticClass:"btn",on:{click:t.toHear}},[e("img",{attrs:{src:t.imgUrl.listen}})]),t._v(" "),e("div",{staticClass:"btn"},[e("img",{attrs:{src:t.imgUrl.more}})])]),t._v(" "),e("div",{staticClass:"class-block"},[t.lessonList.length>0?e("div",{staticClass:"title",on:{click:function(i){t.toGoodsList()}}},[t._v("\n 我的课程\n "),e("img",{staticClass:"more",attrs:{src:t.imgUrl.indexMore}})]):t._e(),t._v(" "),t.lessonList.length<1?e("div",{staticClass:"title"},[t._v("\n 我的课程\n ")]):t._e(),t._v(" "),e("div",{staticClass:"lesson-block"},[e("swiper",{ref:"mySwiper2",attrs:{options:t.swiperOption2}},[t._l(t.lessonList,function(i,n){return e("swiper-slide",{key:n},[e("div",{staticClass:"goods-block",on:{click:function(e){t.toMap(i)}}},[i.start_at?e("span",{staticClass:"tips"},[t._v("\n 开课时间:"+t._s(i.start_at)+"\n ")]):t._e(),t._v(" "),e("img",{attrs:{src:i.imgLesson+"?imageslim"}})])])}),t._v(" "),e("swiper-slide",[e("div",{staticClass:"goods-block",on:{click:t.toNewUrl}},[e("img",{attrs:{src:t.imgUrl.noMore}})])])],2)],1)]),t._v(" "),e("mt-popup",{model:{value:t.teacherQ2,callback:function(i){t.teacherQ2=i},expression:"teacherQ2"}},[e("div",{staticClass:"teacher-block"},[e("div",{staticClass:"userNo"},[t._v("\n 学员号:"+t._s(t.user_id)+"\n ")]),t._v(" "),e("img",{staticClass:"teacher-bg",attrs:{src:t.imgUrl.teacherBg}}),t._v(" "),t.teacherDetail?e("img",{staticClass:"qr",attrs:{src:t.teacherDetail.qr}}):t._e(),t._v(" "),t.teacherDetail?t._e():e("img",{staticClass:"qr",attrs:{src:t.imgUrl.qr}}),t._v(" "),e("div",{staticClass:"content-text"},[t.teacherDetail?e("div",{staticClass:"title"},[t._v("\n 请长按识别图中二维码添加老师\n ")]):t._e(),t._v(" "),t.teacherDetail?t._e():e("div",{staticClass:"title"},[t._v("\n 请长按识别图中二维码关注公众号\n ")]),t._v("\n 以便我们能及时为您提供更好的学习体验\n ")]),t._v(" "),e("div",{staticClass:"closeBtn",on:{click:function(i){t.teacherQ2=!1}}})])]),t._v(" "),e("bottom-tab"),t._v(" "),e("guide-page")],1)},staticRenderFns:[]};var f=e("VU/8")(p,m,!1,function(t){e("M4PM")},"data-v-1f081e84",null);i.default=f.exports}});
//# sourceMappingURL=14.167484ad638549ff8629.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([21],{IcnI:function(e,n,t){"use strict";var a=t("7+uW"),o=t("NYxO"),i=(t("zSLJ"),{setToken:function(e,n){e.token=n,localStorage.setItem("cc_token",n)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,n){e.isMobile=n}});a.default.use(o.a);n.a=new o.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1},mutations:i,actions:{setToken:function(e,n){(0,e.commit)("setToken",n)},isMobile:function(e,n){(0,e.commit)("isMobile",n)}}})},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("transition",{attrs:{name:"fade"}},[n("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=t("VU/8")({name:"App",mounted:function(){}},o,!1,function(e){t("RyfC")},null,null).exports,r=t("YaEn"),l=t("IcnI"),c=t("Au9i"),s=t.n(c),u=t("KPKd"),p=t.n(u);t("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),a.default.use(p.a),new a.default({el:"#app",router:r.a,store:l.a,components:{App:i},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n,t=Object(this),a=t.length>>>0,o=arguments[1],i=0;i<a;i++)if(n=t[i],e.call(o,n,i,t))return n})},RyfC:function(e,n){},YaEn:function(e,n,t){"use strict";var a=t("7+uW"),o=t("IcnI"),i=t("sf/l"),r=t("/ocq"),l=t("5Brm");t.n(l);a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(14)]).then(function(){var n=[t("dAjm")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/newLesson",name:"newLesson",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([t.e(0),t.e(17)]).then(function(){var n=[t("P3Wy")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([t.e(0),t.e(18)]).then(function(){var n=[t("U/b5")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("R7Pr")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(e){return Promise.all([t.e(0),t.e(19)]).then(function(){var n=[t("Eg0l")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return t.e(13).then(function(){var n=[t("sA+T")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([t.e(0),t.e(11)]).then(function(){var n=[t("bNYG")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("Y1ei")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("IF8E")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([t.e(0),t.e(15)]).then(function(){var n=[t("w9eS")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("3QU7")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("wSE2")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(e){return Promise.all([t.e(0),t.e(12)]).then(function(){var n=[t("/Vxk")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("yYpN")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/activityInvite",name:"activityInvite",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("aRHX")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/inviteList",name:"inviteList",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("eZU3")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/collection",name:"collection",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("PTpu")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"*",component:function(e){return Promise.all([t.e(0),t.e(16)]).then(function(){var n=[t("Zazt")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]});c.beforeEach(function(e,n,t){var a={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()};a.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);o.a.dispatch("isMobile",a.versions.mobile),window._hmt.push(["_trackPageview","/#"+e.fullPath]),document.title="唱唱启蒙英语";var r=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),t(e)}else t()};if("author"===e.name||"bindMobile"===e.name)t();else if(window.location.href.indexOf("token")>-1){var l=i.a.getUrlParam().token||e.query.token;o.a.dispatch("setToken",l),r()}else if(localStorage.getItem("cc_token"))o.a.dispatch("setToken",localStorage.getItem("cc_token")),r();else if(e.meta.skip_login)r();else{var c={retUrl:e.fullPath};e.meta.noNew&&(c.is_new_user_url=1),t({name:"author",query:c})}}),n.a=c},"d8/S":function(e,n){},"sf/l":function(e,n,t){"use strict";n.a={dateFmt:function(e,n){var t={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[a]:("00"+t[a]).substr((""+t[a]).length)));return n},getUrlParam:function(){var e=location.search,n=new Object;if(-1!=e.indexOf("?"))for(var t=e.substr(1).split("&"),a=0;a<t.length;a++)n[t[a].split("=")[0]]=unescape(t[a].split("=")[1]);return n},toDataURL:function(e,n){var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(t.response)},t.responseType="blob",t.open("GET",e,!0),t.send()}}},zSLJ:function(e,n,t){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.25350b32138a19869944.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var f,d,i,u=0,b=[];u<t.length;u++)d=t[u],r[d]&&b.push(r[d][0]),r[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(t,c,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=o(o.s=a[u]);return i};var t={},r={22:0};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var n=r[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var t=new Promise(function(t,o){n=r[e]=[t,o]});n[2]=t;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"40859d7e058bada53df0",1:"29bcf0187d13d0f3f446",2:"f9b4a6e53416c2f6eb41",3:"e300d2c36498621dd393",4:"0c10b575613ded6f77bb",5:"43d9f6411bd743952303",6:"5705529f45834a53e51b",7:"4dd22534bc89ffa6036a",8:"3f2197ed58c77143c4cc",9:"b3fb516a8e57e3590366",10:"55d510c328703b73d1ee",11:"02970dba4f868f34c187",12:"4910034a28a46ca61ed8",13:"21d8def0d31348438a60",14:"167484ad638549ff8629",15:"f1a3eba8bb2cb303c8af",16:"062edb0e3d77400dc419",17:"39013398cbc319f00bf8",18:"6e299e3fb5ea13a03d38",19:"4b6a866be3777eab84f1"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=r[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,c.appendChild(a),t},o.m=e,o.c=t,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="https://static-cdn.changchangenglish.com/new-sing/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.409ab56f20c989194ba0.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 740629581ce62ab964d7"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","22","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"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","file":"static/js/manifest.409ab56f20c989194ba0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t22: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"40859d7e058bada53df0\",\"1\":\"29bcf0187d13d0f3f446\",\"2\":\"f9b4a6e53416c2f6eb41\",\"3\":\"e300d2c36498621dd393\",\"4\":\"0c10b575613ded6f77bb\",\"5\":\"43d9f6411bd743952303\",\"6\":\"5705529f45834a53e51b\",\"7\":\"4dd22534bc89ffa6036a\",\"8\":\"3f2197ed58c77143c4cc\",\"9\":\"b3fb516a8e57e3590366\",\"10\":\"55d510c328703b73d1ee\",\"11\":\"02970dba4f868f34c187\",\"12\":\"4910034a28a46ca61ed8\",\"13\":\"21d8def0d31348438a60\",\"14\":\"167484ad638549ff8629\",\"15\":\"f1a3eba8bb2cb303c8af\",\"16\":\"062edb0e3d77400dc419\",\"17\":\"39013398cbc319f00bf8\",\"18\":\"6e299e3fb5ea13a03d38\",\"19\":\"4b6a866be3777eab84f1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://static-cdn.changchangenglish.com/new-sing/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 740629581ce62ab964d7"],"sourceRoot":""}
\ No newline at end of file
......@@ -38,7 +38,8 @@
name: "bindMobile",
mounted(){
if(!localStorage.getItem('cc_token')){
let token = common.getUrlParam().token | this.$route.query.token;
let token = common.getUrlParam().token || this.$route.query.token
console.log(token)
if(token){
localStorage.setItem('cc_token',token);
this.$store.dispatch('setToken',token);
......@@ -158,6 +159,9 @@
Toast('请正确填写手机号');
return false
}
if(window.location.href.indexOf('teacher_id') > -1){
json.teacher_id = common.getUrlParam().teacher_id || this.$route.query.teacher_id
}
bindMobileApi(json).then(res=>{
this.$router.push({name:'index'})
this.flag = true
......
......@@ -136,7 +136,7 @@
});
getUserDetailApi().then(res=>{
this.user_id=res.user_id;
this.$sa.login(this.user_id)
// this.$sa.login(this.user_id)
});
getBannerListApi().then(res=>{
this.bannerList = res.list
......
......@@ -198,7 +198,7 @@ router.beforeEach((to,from,next)=> {
if(to.name === 'author' || to.name === 'bindMobile'){
next()
}else if(window.location.href.indexOf('token')>-1){
let token = common.getUrlParam().token;
let token = common.getUrlParam().token || to.query.token;
store.dispatch('setToken',token);
goOn()
// 通过cookie获取token
......
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