12 |
- (function(e){function n(n){for(var r,a,o=n[0],i=n[1],l=n[2],d=0,s=[];d<o.length;d++)a=o[d],Object.prototype.hasOwnProperty.call(u,a)&&u[a]&&s.push(u[a][0]),u[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);h&&h(n);while(s.length)s.shift()();return c.push.apply(c,l||[]),t()}function t(){for(var e,n=0;n<c.length;n++){for(var t=c[n],r=!0,a=1;a<t.length;a++){var o=t[a];0!==u[o]&&(r=!1)}r&&(c.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},a={app:0},u={app:0},c=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-12ee4ba7":"6855c27e","chunk-2ed13906":"c24a6cdc","chunk-32bd2a5c":"3c729eae","chunk-5f77cb3a":"53ceb7b6","chunk-673edbc0":"01465685","chunk-77124163":"ec423393","chunk-99c273d8":"c918a24d","chunk-a755a0ba":"803cc014","chunk-e1666184":"eb762629"}[e]+".js"}function i(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,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-12ee4ba7":1,"chunk-2ed13906":1,"chunk-32bd2a5c":1,"chunk-5f77cb3a":1,"chunk-673edbc0":1,"chunk-77124163":1,"chunk-99c273d8":1,"chunk-a755a0ba":1,"chunk-e1666184":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-12ee4ba7":"75dbefa2","chunk-2ed13906":"a17976f3","chunk-32bd2a5c":"7deb3ef4","chunk-5f77cb3a":"b4b659b3","chunk-673edbc0":"91facd67","chunk-77124163":"facac512","chunk-99c273d8":"877d03af","chunk-a755a0ba":"2f870866","chunk-e1666184":"3c581ebb"}[e]+".css",u=i.p+r,c=document.getElementsByTagName("link"),o=0;o<c.length;o++){var l=c[o],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===r||d===u))return n()}var s=document.getElementsByTagName("style");for(o=0;o<s.length;o++){l=s[o],d=l.getAttribute("data-href");if(d===r||d===u)return n()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=n,h.onerror=function(n){var r=n&&n.target&&n.target.src||u,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],h.parentNode.removeChild(h),t(c)},h.href=u;var f=document.getElementsByTagName("head")[0];f.appendChild(h)})).then((function(){a[e]=0})));var r=u[e];if(0!==r)if(r)n.push(r[2]);else{var c=new Promise((function(n,t){r=u[e]=[n,t]}));n.push(r[2]=c);var l,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var s=new Error;l=function(n){d.onerror=d.onload=null,clearTimeout(h);var t=u[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,t[1](s)}u[e]=void 0}};var h=setTimeout((function(){l({type:"timeout",target:d})}),12e4);d.onerror=d.onload=l,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],d=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var h=d;c.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";t("85ec")},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var r=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[e.isRouterAlive?t("router-view"):e._e()],1)},u=[],c={provide:function(){return{reload:this.reload}},data:function(){return{isRouterAlive:!0}},methods:{reload:function(){this.isRouterAlive=!1,this.$nextTick((function(){this.isRouterAlive=!0}))}}},o=c,i=(t("034f"),t("2877")),l=Object(i["a"])(o,a,u,!1,null,null,null),d=l.exports,s=(t("d3b7"),t("3ca3"),t("ddb0"),t("8c4f"));r["a"].use(s["a"]);var h=[{path:"/xixuanzhongxin/leader-mailbox/leader-home",name:"leader-home",component:function(){return t.e("chunk-12ee4ba7").then(t.bind(null,"c9c8"))}},{path:"/xixuanzhongxin/leader-mailbox/leader-mailbox",name:"leader-mailbox",component:function(){return t.e("chunk-32bd2a5c").then(t.bind(null,"83cf"))}},{path:"/xixuanzhongxin/leader-mailbox/leader-success",name:"leader-success",component:function(){return t.e("chunk-e1666184").then(t.bind(null,"b56a"))}},{path:"/xixuanzhongxin/leader-mailbox/leader-mailbox-list",name:"leader-mailbox-list",component:function(){return t.e("chunk-2ed13906").then(t.bind(null,"2aea"))}},{path:"/xixuanzhongxin/leader-mailbox/leader-mailbox-list2",name:"leader-mailbox-list2",component:function(){return t.e("chunk-673edbc0").then(t.bind(null,"e089"))}},{path:"/xixuanzhongxin/leader-mailbox/leader-mailbox-reply",name:"leader-mailbox-reply",component:function(){return t.e("chunk-5f77cb3a").then(t.bind(null,"4eff"))}},{path:"/zaoquan/kuangjingshui/kuangjingshui",name:"kuangjingshui",component:function(){return t.e("chunk-99c273d8").then(t.bind(null,"cc78"))},meta:{title:"矿井水处理"}},{path:"/ningdongyunying/puzzle/puzzle",name:"puzzle",component:function(){return t.e("chunk-77124163").then(t.bind(null,"66c1"))},meta:{title:"拼图游戏"}},{path:"/ningdongyunying/puzzle/puzzle-infos",name:"puzzle-infos",component:function(){return t.e("chunk-a755a0ba").then(t.bind(null,"0369"))},meta:{title:"拼图游戏"}},{path:"/",redirect:{name:"puzzle"}}],f=new s["a"]({routes:h}),p=f,m=t("2909"),b=(t("c740"),t("a434"),t("d81d"),t("2f62"));r["a"].use(b["a"]);var g=new b["a"].Store({state:{carArr:[]},mutations:{addCar:function(e,n){n.check=!0;var t=e.carArr.findIndex((function(e){return e.id==n.id}));-1==t?(n.num=1,e.carArr.push(n)):n.num+=1},jia:function(e,n){var t=Object(m["a"])(e.carArr),r=t.findIndex((function(e){return e.id==n}));t[r].num+=1,e.carArr=t},jian:function(e,n){var t=Object(m["a"])(e.carArr),r=t.findIndex((function(e){return e.id==n}));t[r].num>1&&(t[r].num-=1,e.carArr=t)},sc:function(e,n){var t=e.carArr.findIndex((function(e){return e.id==n}));e.carArr.splice(t,1)}},getters:{sumPrice:function(e){var n=0;return e.carArr.map((function(e){1==e.check&&(n+=e.minPrice*e.num)})),n}},actions:{},modules:{}}),k=t("bc3a"),v=t.n(k);v.a.defaults.baseURL="http://xixuan.nxjiewei.com:8011",v.a.interceptors.request.use((function(e){return e.headers.Authorization=sessionStorage.getItem("mytoken")?sessionStorage.getItem("mytoken"):"",e})),r["a"].prototype.$http=v.a;var x=t("b970"),y=(t("157a"),t("343b")),z=t("d399"),A=t("2241");r["a"].use(z["a"]),r["a"].use(y["a"]),r["a"].use(A["a"]),r["a"].use(x["a"]),r["a"].config.productionTip=!1,p.beforeEach((function(e,n,t){e.meta.title&&(document.title=e.meta.title),t()})),new r["a"]({router:p,store:g,render:function(e){return e(d)}}).$mount("#app")},"85ec":function(e,n,t){}});
- //# sourceMappingURL=app.b9e892d5.js.map
|