Commit 453a8476 authored by wangwei's avatar wangwei

非微信浏览器打开提示

parent b66e632b
<!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></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.1453914dbf526c1a8736.js></script><script type=text/javascript src=static/js/vendor.2cd465c61090dbc6beb5.js></script><script type=text/javascript src=static/js/app.f9d2cfb740313e6d4e99.js></script></body></html> <!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></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.1453914dbf526c1a8736.js></script><script type=text/javascript src=static/js/vendor.2cd465c61090dbc6beb5.js></script><script type=text/javascript src=static/js/app.c2441bf762fa038bd6c1.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{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"),m=t.n(f),d=t("KPKd"),h=t.n(d);t("d8/S");a.default.config.productionTip=!1,a.default.use(m.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(20)]).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:"/noWechat",name:"noWechat",component:function(e){return t.e(19).then(function(){var n=[t("nmbt")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!1}},{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),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.0d777412a550314cb612.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([22],{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"),m=t("Au9i"),f=t.n(m),h=t("KPKd"),d=t.n(h);t("d8/S");a.default.config.productionTip=!1,a.default.use(f.a),a.default.use(d.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(20)]).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:"/noWechat",name:"noWechat",component:function(e){return t.e(19).then(function(){var n=[t("nmbt")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!1}},{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=window.navigator.userAgent.toLowerCase();"micromessenger"==a.match(/MicroMessenger/i)||"_sq_"==a.match(/_SQ_/i)?"noWechat"==e.name&&t({name:"index"}):"noWechat"!==e.name&&t({name:"noWechat"});var r={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()};r.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);i.a.dispatch("isMobile",r.versions.mobile),document.title="唱唱启蒙英语";var l=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||"noWechat"===e.name)t();else if(window.location.href.indexOf("token")>-1){var c=o.a.getUrlParam().token||e.query.token;i.a.dispatch("setToken",c),l()}else if(localStorage.getItem("cc_token"))i.a.dispatch("setToken",localStorage.getItem("cc_token")),l();else if(e.meta.skip_login)l();else{var s={retUrl:e.fullPath};e.meta.noNew&&(s.is_new_user_url=1),t({name:"author",query:s})}}),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.c2441bf762fa038bd6c1.js.map
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style>*{ <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style>*{
-webkit-overflow-scrolling:touch; -webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.4d30427721af327412082286a34e76f7.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.bf783c1b658eb4d2499f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.40068c628efb64493a57.js></script></body></html> }</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.4d30427721af327412082286a34e76f7.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.bf783c1b658eb4d2499f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.0e0dcfe9a85dbe75a401.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([22],{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"),c=t("IcnI"),l=t("Au9i"),s=t.n(l),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:c.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"),c=t("5Brm");t.n(c);a.default.use(r.a);var l=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(12).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(13)]).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(11)]).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:"/noWechat",name:"noWechat",component:function(e){return t.e(20).then(function(){var n=[t("nmbt")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!1}},{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)}}]});l.beforeEach(function(e,n,t){var a=window.navigator.userAgent.toLowerCase();"micromessenger"==a.match(/MicroMessenger/i)||"_sq_"==a.match(/_SQ_/i)?"noWechat"==e.name&&t({name:"index"}):"noWechat"!==e.name&&t({name:"noWechat"});var r={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()};r.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);o.a.dispatch("isMobile",r.versions.mobile),document.title="唱唱启蒙英语";var c=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||"noWechat"===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),c()}else if(localStorage.getItem("cc_token"))o.a.dispatch("setToken",localStorage.getItem("cc_token")),c();else if(e.meta.skip_login)c();else{var s={retUrl:e.fullPath};e.meta.noNew&&(s.is_new_user_url=1),t({name:"author",query:s})}}),n.a=l},"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.0e0dcfe9a85dbe75a401.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([22],{IcnI:function(e,n,t){"use strict";var o=t("7+uW"),a=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}});o.default.use(a.a);n.a=new a.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 o=t("7+uW"),a={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(){}},a,!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");o.default.config.productionTip=!1,o.default.use(s.a),o.default.use(p.a),new o.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),o=t.length>>>0,a=arguments[1],i=0;i<o;i++)if(n=t[i],e.call(a,n,i,t))return n})},RyfC:function(e,n){},YaEn:function(e,n,t){"use strict";var o=t("7+uW"),a=t("IcnI"),i=t("sf/l"),r=t("/ocq"),l=t("5Brm");t.n(l);o.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(12).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(13)]).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(11)]).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:"/noWechat",name:"noWechat",component:function(e){return t.e(20).then(function(){var n=[t("nmbt")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!1}},{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 o={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()};o.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);a.a.dispatch("isMobile",o.versions.mobile),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;a.a.dispatch("setToken",l),r()}else if(localStorage.getItem("cc_token"))a.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 o in/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+o+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[o]:("00"+t[o]).substr((""+t[o]).length)));return n},getUrlParam:function(){var e=location.search,n=new Object;if(-1!=e.indexOf("?"))for(var t=e.substr(1).split("&"),o=0;o<t.length;o++)n[t[o].split("=")[0]]=unescape(t[o].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.d89e47ec4de1ac5fcaba.js.map
\ No newline at end of file
This diff is collapsed.
...@@ -169,12 +169,10 @@ router.beforeEach((to,from,next)=> { ...@@ -169,12 +169,10 @@ router.beforeEach((to,from,next)=> {
if(ua.match(/MicroMessenger/i) == 'micromessenger' || ua.match(/_SQ_/i) == '_sq_'){ if(ua.match(/MicroMessenger/i) == 'micromessenger' || ua.match(/_SQ_/i) == '_sq_'){
if(to.name == 'noWechat'){ if(to.name == 'noWechat'){
next({name:'index'}); next({name:'index'});
return false
} }
}else{ }else{
if(to.name !== 'noWechat') { if(to.name !== 'noWechat') {
next({name:'noWechat'}); next({name:'noWechat'});
return false
} }
} }
let browser = { let browser = {
...@@ -215,7 +213,7 @@ router.beforeEach((to,from,next)=> { ...@@ -215,7 +213,7 @@ router.beforeEach((to,from,next)=> {
next() next()
} }
}; };
if(to.name === 'author' || to.name === 'bindMobile'){ if(to.name === 'author' || to.name === 'bindMobile' || to.name === 'noWechat'){
next() next()
}else if(window.location.href.indexOf('token')>-1){ }else if(window.location.href.indexOf('token')>-1){
let token = common.getUrlParam().token || to.query.token; let token = common.getUrlParam().token || to.query.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