(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"27e8":function(t,e,n){},3676:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement;t._self._c},o=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o})},"4e84":function(t,e,n){"use strict";n.r(e);var a=n("a7ef"),o=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,function(){return a[t]})}(u);e["default"]=o.a},a7ef:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("7a22"),o=function(){return n.e("components/Auth").then(n.bind(null,"d491"))},u={data:function(){return{user:{username:"-",teamname:"-",token:""},msgList:[],msg:"党费缴纳通知：各支部、...2019-10...",authType:!1,swiper:{indicatorDots:!1,autoplay:!0,interval:2e3,duration:500,vertical:!0}}},components:{Auth:o},onLoad:function(){this.checkUser()},methods:{checkUser:function(){var e=this;t.getStorage({key:"cert",success:function(t){var n=t.data;n&&0===n?(e.authType=!0,e.$refs.authDialog.handleOpen()):e.checkToken()},fail:function(t){e.$refs.authDialog.handleOpen()}})},checkToken:function(){var e=t.getStorage("token");e?(this.getUserInfo(),this.getMessageList()):t.showToast({title:"token不存在,请退出重新登陆",icon:"none"})},getUserInfo:function(){var e=this;(0,a.userInfo)().then(function(n){var a=n.error_code;if(200===a){var o=n.data;e.user=o,t.setStorage({key:"cert",data:o.cert})}})},getMessageList:function(){var t=this;(0,a.messageList)().then(function(e){try{var n=e.data;t.msgList=n}catch(a){t.msgList=[]}})},toNavigator:function(e){var n=this;t.getStorage({key:"token",success:function(a){a?t.navigateTo({url:e}):(n.authType=!1,n.$refs.authDialog.handleOpen())},fail:function(){n.authType=!1,n.$refs.authDialog.handleOpen()}})}}};e.default=u}).call(this,n("543d")["default"])},d57a:function(t,e,n){"use strict";var a=n("27e8"),o=n.n(a);o.a},f93a:function(t,e,n){"use strict";n.r(e);var a=n("3676"),o=n("4e84");for(var u in o)"default"!==u&&function(t){n.d(e,t,function(){return o[t]})}(u);n("d57a");var r=n("2877"),i=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,null,null);e["default"]=i.exports},fb6d:function(t,e,n){"use strict";(function(t){n("ee47"),n("921b");a(n("66fd"));var e=a(n("f93a"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["fb6d","common/runtime","common/vendor"]]]);