(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/me/me"],{"1aa2":function(e,t,n){},"3a36":function(e,t,n){"use strict";n.r(t);var o=n("50c3"),r=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},"400c":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},i=[]},"50c3":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("26cb");function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(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("f9e5"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("components/userLogin").then(function(){return resolve(n("d753"))}.bind(null,n)).catch(n.oe)},s={data:function(){return{token:null}},components:{userPopup:u,SignUp:a},computed:i({},(0,o.mapState)(["user","configBox","appTheme"])),onTabItemTap:function(){this.$store.commit("changeEdit",!1)},onLoad:function(){e.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:this.appTheme}),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){var n=this;if(e.getStorageSync("token"))return"adult"==t&&n.configBox.referappid?(console.log("跳转儿童小程序",e.getStorageSync("userid")),void e.navigateToMiniProgram({appId:n.configBox.referappid,path:"pages/index/index?userid="+e.getStorageSync("userid"),extraData:{}})):void("device"==t&&n.configBox.businessappid&&e.navigateToMiniProgram({appId:n.configBox.businessappid,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"])},da05:function(e,t,n){"use strict";var o=n("1aa2"),r=n.n(o);r.a},e5d3:function(e,t,n){"use strict";n.r(t);var o=n("400c"),r=n("3a36");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("da05");var c,a=n("f0c5"),u=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"0e754f38",null,!1,o["a"],c);t["default"]=u.exports},ed5b:function(e,t,n){"use strict";(function(e){n("e568");o(n("66fd"));var t=o(n("e5d3"));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"])}},[["ed5b","common/runtime","common/vendor"]]]);