(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"4b6c":function(t,e,n){"use strict";var a=n("cd27"),c=n.n(a);c.a},"56d5":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){console.log("App Launch")},onShow:function(){this.init(),console.log("App Show")},onLoad:function(){this.init()},onHide:function(){console.log("App Hide")},methods:{init:function(){var e=this.$store.state.admin;0==e?(t.setTabBarItem({index:0,pagePath:"pages/index/index",text:"合同列表",iconPath:"/static/icon/home.png",selectedIconPath:"/static/icon/achome.png",visible:!0}),t.setTabBarItem({index:1,pagePath:"pages/acceptor/acceptor",text:"承兑人",iconPath:"/static/icon/per.png",selectedIconPath:"/static/icon/out.png"}),t.setTabBarItem({index:2,pagePath:"pages/drawer/drawer",text:"出票人",iconPath:"/static/icon/acsip.png",selectedIconPath:"/static/icon/biao.png",visible:!0}),t.setTabBarItem({index:3,pagePath:"pages/supplier/supplier",text:"供应商",iconPath:"/static/icon/acsup.png",selectedIconPath:"/static/icon/sup.png",visible:!1}),t.setTabBarItem({index:4,pagePath:"pages/mine/mine",text:"我的",iconPath:"/static/icon/my.png",selectedIconPath:"/static/icon/acmy.png",visible:!1})):1==e&&(t.setTabBarItem({index:0,pagePath:"pages/index/index",text:"合同列表",iconPath:"/static/icon/home.png",selectedIconPath:"/static/icon/achome.png",visible:!0}),t.setTabBarItem({index:1,pagePath:"pages/acceptor/acceptor",text:"承兑人",iconPath:"/static/icon/card-2x.png",selectedIconPath:"/static/icon/card_active-2x.png",visible:!1}),t.setTabBarItem({index:2,pagePath:"pages/drawer/drawer",text:"出票人",iconPath:"/static/icon/counter-2x.png",selectedIconPath:"/static/icon/counter_active-2x.png",visible:!1}),t.setTabBarItem({index:3,pagePath:"pages/supplier/supplier",text:"供应商",iconPath:"/static/icon/record-2x.png",selectedIconPath:"/static/icon/record_active-2x.png",visible:!1}),t.setTabBarItem({index:4,pagePath:"pages/mine/mine",text:"我的",iconPath:"/static/icon/my.png",selectedIconPath:"/static/icon/acmy.png",visible:!0}))}}};e.default=n}).call(this,n("543d")["default"])},"827d":function(t,e,n){"use strict";(function(t,e){n("5413");var a=p(n("66fd")),c=p(n("956f")),i=p(n("e2cc")),o=p(n("4344")),r=p(n("ec9b")),s=p(n("5e80"));function p(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(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}wx.__webpack_require_UNI_MP_PLUGIN__=n,a.default.prototype.$store=i.default,a.default.prototype.$util=o.default,a.default.prototype.$common=r.default,a.default.use(s.default),a.default.config.productionTip=!1,c.default.mpType="app",a.default.prototype.$toast=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.showToast({icon:"none",title:e}),!1!==n&&setTimeout((function(){n()}),2e3)},a.default.prototype.$load=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.showLoading({title:e,mask:!0}),!1!==n&&setTimeout((function(){n()}),2e3)},a.default.prototype.$back=function(){t.navigateBack({delta:1})};var f=new a.default(l({store:i.default},c.default));n("b906")(f),e(f).$mount()}).call(this,n("543d")["default"],n("543d")["createApp"])},"956f":function(t,e,n){"use strict";n.r(e);var a=n("e0c5");for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("4b6c");var i,o,r,s,p=n("f0c5"),u=Object(p["a"])(a["default"],i,o,!1,null,null,null,!1,r,s);e["default"]=u.exports},cd27:function(t,e,n){},e0c5:function(t,e,n){"use strict";n.r(e);var a=n("56d5"),c=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=c.a}},[["827d","common/runtime","common/vendor"]]]);