main.js 3.7 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"034f":function(t,e,n){"use strict";var o=n("368d"),r=n.n(o);r.a},"23be":function(t,e,n){"use strict";n.r(e);var o=n("e4a4"),r=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},"368d":function(t,e,n){},"3dfd":function(t,e,n){"use strict";n.r(e);var o=n("23be");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("034f");var u,a,c,i,f=n("f0c5"),l=Object(f["a"])(o["default"],u,a,!1,null,null,null,!1,c,i);e["default"]=l.exports},"56d7":function(t,e,n){"use strict";(function(t){n("6cdc");var e=i(n("66fd")),o=i(n("cfa7")),r=i(n("2736")),u=i(n("3dfd")),a=i(n("4360")),c=i(n("95e6"));function i(t){return t&&t.__esModule?t:{default:t}}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p=function(){n.e("components/float-tab").then(function(){return resolve(n("2474"))}.bind(null,n)).catch(n.oe)},s=function(){Promise.all([n.e("common/vendor"),n.e("components/cu-custom")]).then(function(){return resolve(n("0f6f"))}.bind(null,n)).catch(n.oe)},m=function(){n.e("components/page-loading").then(function(){return resolve(n("ae21"))}.bind(null,n)).catch(n.oe)},b=function(){Promise.all([n.e("common/vendor"),n.e("components/mp-tabbar")]).then(function(){return resolve(n("cf2f"))}.bind(null,n)).catch(n.oe)};for(var h in e.default.mixin(c.default),e.default.component("cu-custom",s),e.default.component("page-loading",m),e.default.component("mp-tabbar",b),e.default.component("float-tab",p),o.default)e.default.prototype[h]=o.default[h];for(var w in r.default)e.default.prototype[w]=r.default[w];e.default.config.productionTip=!1,e.default.prototype.$store=a.default,u.default.mpType="app";var g=new e.default(l({store:a.default},u.default));t(g).$mount()}).call(this,n("543d")["createApp"])},e4a4:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("66fd")),r=n("d86e"),u=n("6904");function a(t){return t&&t.__esModule?t:{default:t}}var c={onLaunch:function(){t.getSystemInfo({success:function(t){o.default.prototype.windowHeight=t.windowHeight,o.default.prototype.windowWidth=t.windowWidth,o.default.prototype.platform=t.platform,o.default.prototype.StatusBar=t.statusBarHeight;var e=wx.getMenuButtonBoundingClientRect();o.default.prototype.Custom=e,o.default.prototype.globalCustomBarHeight=e.bottom+e.top-t.statusBarHeight}}),this.$store.dispatch("initAppData")},onShow:function(){var e=this;this.networkListenFlag&&!1!==this.networkListenFlag||t.onNetworkStatusChange((function(n){o.default.prototype.networkListenFlag=!0,e.changeNetworkType(e.$store,n.networkType),"none"===n.networkType&&t.showToast({title:u.NO_NETWORK_TEXT,icon:"none"})})),t.getNetworkType({success:function(n){e.changeNetworkType(e.$store,n.networkType),"none"===n.networkType&&t.showToast({title:u.NO_NETWORK_TEXT,icon:"none"})}})},onHide:function(){console.log("App Hide")},methods:{changeNetworkType:r.changeNetworkType}};e.default=c}).call(this,n("543d")["default"])}},[["56d7","common/runtime","common/vendor"]]]);