(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"1b8d":function(t,e,n){"use strict";n.r(e);var a=n("7dac");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("2f96");var i=n("828b"),c=Object(i["a"])(a["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=c.exports},"2f96":function(t,e,n){"use strict";var a=n("f7ff"),o=n.n(a);o.a},"5c70":function(t,e,n){"use strict";(function(t,e){var a=n("47a9"),o=a(n("7ca3"));n("aa6c");var i=a(n("1b8d")),c=a(n("3240")),r=a(n("ae6c"));n("38cf");var s=a(n("54da"));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){(0,o.default)(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}t.__webpack_require_UNI_MP_PLUGIN__=n;c.default.component("title-bar",(function(){n.e("pages/component/title-bar/title-bar").then(function(){return resolve(n("69c7"))}.bind(null,n)).catch(n.oe)})),c.default.component("tab-bar",(function(){n.e("pages/component/tab-bar/tab-bar").then(function(){return resolve(n("6914"))}.bind(null,n)).catch(n.oe)})),c.default.component("empty",(function(){n.e("pages/component/empty/empty").then(function(){return resolve(n("2aec"))}.bind(null,n)).catch(n.oe)})),c.default.prototype.$store=r.default,c.default.prototype.$util=s.default,c.default.prototype.$onLaunched=new Promise((function(t){c.default.prototype.$isResolve=t})),c.default.config.productionTip=!1,i.default.mpType="app";var d=new c.default(l(l({},i.default),{},{store:r.default}));e(d).$mount()}).call(this,n("3223")["default"],n("df3c")["createApp"])},"7dac":function(t,e,n){"use strict";n.r(e);var a=n("8cdc"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"8cdc":function(t,e,n){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={globalData:{adminPath:"https://www.yycea.cn",applyField:[]},onLaunch:function(){if(t.canIUse("getUpdateManager")){var e=t.getUpdateManager();e&&e.onCheckForUpdate&&e.onCheckForUpdate((function(n){n.hasUpdate&&(e.onUpdateReady((function(){t.showModal({title:"更新提示",content:"新版本已经准备好，是否重启应用？",success:function(t){t.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((function(){t.showModal({title:"已经有新版本了哟~",content:"新版本已经上线啦~，请您删除当前小程序，重新搜索打开哟~"})})))}))}else t.showModal({title:"提示",content:"当前微信版本过低，无法使用该功能，请升级到最新微信版本后重试。"});var a=n.getStorageSync("token");if(a){var o=n.getStorageSync("userInfo");this.$store.commit("user/setToken",a),this.$store.commit("user/setUserInfo",o)}this.getAssociation(),this.getTabBar(),this.getConfig()},onShow:function(){},onHide:function(){},methods:{getAssociation:function(){var t=this;this.$util.request("main.association",{},this.globalData.adminPath).then((function(e){1==e.code?t.$store.commit("app/setAppletInfo",{name:e.data.name,logo:e.data.logo}):n.showToast({title:e.msg,icon:"none"})})).catch((function(t){console.error("获取商协信息",t)}))},getTabBar:function(){var t=this;this.$util.request("main.tabbar",{},this.globalData.adminPath).then((function(e){1==e.code?t.$store.commit("app/setTabBar",e.data):n.showToast({title:e.msg,icon:"none"})})).catch((function(t){console.error("获取底部导航",t)}))},getConfig:function(){var t=this;this.$util.request("main.config",{},this.globalData.adminPath).then((function(e){1==e.code?(t.$store.commit("app/setConfig",{themeColor:e.data.theme_colors,organize:e.data.organize,subscribeNotifyIds:e.data.subscribe_msg_tpl_ids,statement:e.data.applet_record_number,support:{image:e.data.technical_support_image,type:e.data.jump_type,link:e.data.jump_link,mobile:e.data.call_mobile},loginImg:e.data.login_img,jielongImg:e.data.jielong_img,questionnaireImg:e.data.questionnaire_img,shareImage:e.data.share_image,shareTitle:e.data.share_title,WeChatAppid:e.data.wananchi_appid,deliveryManagement:e.data.delivery_management,joinConfig:e.data.join_config}),t.$isResolve()):n.showToast({title:e.msg,icon:"none"})})).catch((function(t){console.error("获取配置信息",t)}))}}};e.default=a}).call(this,n("3223")["default"],n("df3c")["default"])},f7ff:function(t,e,n){}},[["5c70","common/runtime","common/vendor"]]]);