(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"04b1":function(e,t,n){},2669:function(e,t,n){"use strict";n.r(t);var r=n("68dd"),o=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},3695:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;this._self._c},o=[]},5398:function(e,t,n){"use strict";var r=n("04b1"),o=n.n(r);o.a},"68dd":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7eb4")),c=r(n("ee10")),a={onLaunch:function(){console.log("App Launch"),this.checkLoginStatus(),this.setGlobalRefresh()},onShow:function(){console.log("App Show"),this.checkLoginStatus()},onHide:function(){console.log("App Hide")},methods:{setGlobalRefresh:function(){e.setBackgroundColor({backgroundColor:"#F5F5F5"}),e.setBackgroundTextStyle({textStyle:"dark"})},onPullDownRefresh:function(){var t=this;return(0,c.default)(o.default.mark((function n(){var r,c;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.checkLoginStatus();case 3:if(r=getCurrentPages(),c=r[r.length-1],!c.$vm.refresh){n.next=8;break}return n.next=8,c.$vm.refresh();case 8:e.stopPullDownRefresh(),n.next=15;break;case 11:n.prev=11,n.t0=n["catch"](0),console.error("刷新失败:",n.t0),e.stopPullDownRefresh();case 15:case"end":return n.stop()}}),n,null,[[0,11]])})))()},checkLoginStatus:function(){var t=this;return(0,c.default)(o.default.mark((function n(){var r,c,a;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$store.dispatch("checkLogin");case 3:r=n.sent,r||(c=e.getStorageSync("token"),a=e.getStorageSync("userInfo"),c&&a&&(t.$store.commit("SET_TOKEN",c),t.$store.commit("SET_USER_INFO",a),t.$store.commit("SET_LOGIN_STATUS",!0))),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),console.error("检查登录状态失败:",n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()}}};t.default=a}).call(this,n("df3c")["default"])},8758:function(e,t,n){"use strict";(function(e,t){var r=n("47a9"),o=r(n("7ca3"));n("4058");var c=r(n("3240")),a=r(n("aadd")),u=r(n("2ac4")),f=r(n("3a85")),s=r(n("4e32")),i=(r(n("87b7")),r(n("f547")));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.__webpack_require_UNI_MP_PLUGIN__=n,c.default.prototype.$http=f.default,c.default.prototype.$store=u.default,c.default.use(s.default),c.default.config.productionTip=!1,c.default.mixin(i.default),a.default.mpType="app";var p=new c.default(d(d({store:u.default},a.default),{},{share:i.default}));t(p).$mount()}).call(this,n("3223")["default"],n("df3c")["createApp"])},aadd:function(e,t,n){"use strict";n.r(t);var r=n("3695"),o=n("2669");for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("5398");var a=n("828b"),u=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=u.exports}},[["8758","common/runtime","common/vendor"]]]);