(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/me/me"],{"27ff":function(e,t,n){"use strict";(function(e){n("0d2f");o(n("66fd"));var t=o(n("b257"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"82f2":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var c=function(){var e=this,t=e.$createElement;e._self._c},r=[]},"85c9":function(e,t,n){},a36e:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("26cb");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(){n.e("components/signup/signup").then(function(){return resolve(n("c86f"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("components/userLogin").then(function(){return resolve(n("b06c"))}.bind(null,n)).catch(n.oe)},s={data:function(){return{token:null}},components:{userPopup:u,SignUp:a},computed:r({},(0,o.mapState)(["user"])),onTabItemTap:function(){this.$store.commit("changeEdit",!1)},onLoad:function(){this.token=e.getStorageSync("token")},methods:{handleLogin:function(){e.getStorageSync("token")||this.$store.commit("changeUserLogin",!0)},handleOutLogin:function(){var t=this;e.showModal({title:"友情提示",content:"是否退出登录？",success:function(n){n.confirm?t.$model.getoutlogin({sessionid:e.getStorageSync("sessionid")}).then((function(n){t.$tools.msg(n.message),0==n.code&&(console.log("确定退出",n),e.clearStorageSync(),e.setStorageSync("sessionid",null),t.$store.commit("changeLogout",!1),e.reLaunch({url:"/pages/index/index"}))})):n.cancel&&t.$tools.msg("您已取消操作！")}})},handleClick:function(t){e.getStorageSync("token")?0!=t?1!=t||e.navigateToMiniProgram({appId:"wx6f48cc32c5c0a4a2",path:"pages/index/index",extraData:{}}):e.navigateToMiniProgram({appId:"wx3e83b37ba682faf5",path:"pages/index/index",extraData:{}}):this.$store.commit("changeUserLogin",!0)},navTo:function(t){e.getStorageSync("token")?e.navigateTo({url:t}):this.$store.commit("changeUserLogin",!0)},handleEditClick:function(){e.getStorageSync("token")?this.$store.commit("changeEdit",!0):this.$store.commit("changeUserLogin",!0)}}};t.default=s}).call(this,n("543d")["default"])},ae1d:function(e,t,n){"use strict";var o=n("85c9"),c=n.n(o);c.a},b257:function(e,t,n){"use strict";n.r(t);var o=n("82f2"),c=n("fec0");for(var r in c)"default"!==r&&function(e){n.d(t,e,(function(){return c[e]}))}(r);n("ae1d");var i,a=n("f0c5"),u=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,"390a454b",null,!1,o["a"],i);t["default"]=u.exports},fec0:function(e,t,n){"use strict";n.r(t);var o=n("a36e"),c=n.n(o);for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=c.a}},[["27ff","common/runtime","common/vendor"]]]);