yzms/touch_mz/dist/main.js

10 lines
4.6 KiB
JavaScript

webpackJsonp([5],{14:function(e,t,n){"use strict";var o=n(7),r=n.n(o),u=(n(39),{});u.title=function(e){e=e?e+" - Home":"iView project",window.document.title=e};var i=void 0!==i&&""!==i?i:"",a="https://"+window.location.host+i;u.ajax=r.a.create({baseURL:a,timeout:1e4,headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:function(e,t){var n=[];for(var o in e)e.hasOwnProperty(o)&&null!==e[o]&&n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.join("&")}}),t.a=u},15:function(e,t,n){"use strict";var o=[{path:"/",meta:{title:""},component:function(e){return n.e(0).then(function(){var t=[n(20)];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/index",meta:{title:""},component:function(e){return n.e(0).then(function(){var t=[n(20)];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/cancel",meta:{title:""},component:function(e){return n.e(4).then(function(){var t=[n(45)];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/order",meta:{title:""},component:function(e){return n.e(2).then(function(){var t=[n(47)];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/cart",meta:{title:""},component:function(e){return n.e(1).then(function(){var t=[n(46)];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/result",meta:{title:""},component:function(e){return n.e(3).then(function(){var t=[n(48)];e.apply(null,t)}.bind(this)).catch(n.oe)}}];t.a=o},16:function(e,t){},17:function(e,t,n){var o=n(19)(n(38),n(44),null,null);o.options.__file="E:\\git_project\\backups_source\\标准版敏卓触摸版\\src\\app.vue",o.esModule&&Object.keys(o.esModule).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),o.options.functional&&console.error("[vue-loader] app.vue: functional components are not supported with templates, they should use render functions."),e.exports=o.exports},18:function(e,t,n){/*!
* VueVisible plugin v1.0.2
*
* v-visible directive for vue.
*
* @author Javis Perez <javisperez@gmail.com>
* https://github.com/javisperez/vue-visible
* Released under the MIT License.
*/
!function(t,n){e.exports=n()}(0,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={install:function(e){e.directive("visible",function(e,t){var n=t.value;e.style.visibility=n?"visible":"hidden"})}};window.Vue&&window.Vue.use(o),t.default=o}])})},19:function(e,t){e.exports=function(e,t,n,o){var r,u=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(r=e,u=e.default);var a="function"==typeof u?u.options:u;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),o){var c=Object.create(a.computed||null);Object.keys(o).forEach(function(e){var t=o[e];c[e]=function(){return t}}),a.computed=c}return{esModule:r,exports:u,options:a}}},38:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{}}},39:function(e,t,n){"use strict"},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(2),u=n.n(r),i=n(3),a=n(15),c=n(4),s=n(14),l=n(17),f=n.n(l),p=n(18),d=n.n(p),h=n(16);n.n(h);o.default.use(i.a),o.default.use(c.a),o.default.use(u.a),o.default.use(d.a),o.default.use(s.a),o.default.prototype.$ajax=s.a.ajax;var v={mode:"hash",routes:a.a},m=new i.a(v);m.beforeEach(function(e,t,n){u.a.LoadingBar.start(),e.meta.requireAuth,s.a.title(e.meta.title),n()}),m.afterEach(function(){u.a.LoadingBar.finish(),window.scrollTo(0,0)});var b=new c.a.Store({state:{token:null,loading:!1,count:0},getters:{},mutations:{decrement:function(e){var t=window.setInterval(function(){e.count>0?e.count--:e.loading||(e.token=null,e.count=0,m.replace({path:"index"}),clearInterval(t))},1e3)},setLoading:function(e,t){e.loading=t},setCount:function(e,t){e.count=t},setToken:function(e,t){e.token=t}},actions:{}});new o.default({el:"#app",router:m,store:b,render:function(e){return e(f.a)}}),console.log(m.app.$options.store)},44:function(e,t,n){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("router-view")],1)},staticRenderFns:[]},e.exports.render._withStripped=!0}},[40]);