(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/index"],{"1f72":function(e,n,t){"use strict";(function(e,n){var r=t("4ea4");t("8316");r(t("66fd"));var i=r(t("d00e"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"305f":function(e,n,t){"use strict";t.r(n);var r=t("da35"),i=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=i.a},"46fb":function(e,n,t){"use strict";var r=t("fdb7"),i=t.n(r);i.a},"957b":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return r}));var r={uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,"f5b0"))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,"8e97"))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,"984f"))}},i=function(){var e=this.$createElement;this._self._c},u=[]},d00e:function(e,n,t){"use strict";t.r(n);var r=t("957b"),i=t("305f");for(var u in i)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(u);t("46fb");var a=t("f0c5"),o=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=o.exports},da35:function(e,n,t){"use strict";(function(e){var r=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(t("2eee")),u=r(t("c973")),a=r(t("4861")),o=r(t("62fc")),s={data:function(){return{extraIconList:[{color:"#ff8319",size:"22",type:"person"},{color:"#ebc200",size:"22",type:"home"},{color:"#429ff6",size:"22",type:"mail-open-filled"},{color:"#4cd964",size:"22",type:"star-filled"},{color:"#e70000",size:"22",type:"email-filled"}],src:"",userInfo:{},role:""}},onShow:function(){var n=this;return(0,u.default)(i.default.mark((function t(){var r;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.role=e.getStorageSync("role"),"guest"===n.role){t.next=7;break}return t.next=4,a.default.getUser();case 4:r=t.sent,e.setStorageSync("userinfo",r.data),n.userInfo=r.data;case 7:case"end":return t.stop()}}),t)})))()},mounted:function(){var n=this;return(0,u.default)(i.default.mark((function t(){var r,u;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o.default.getJson();case 2:if(r=t.sent,u=r.data.avatar,n.src=u,"guest"!=n.role){t.next=8;break}return e.navigateTo({url:"/pages/register/index"}),t.abrupt("return");case 8:case"end":return t.stop()}}),t)})))()},methods:{register:function(){e.navigateTo({url:"/pages/register/index"})},onClick:function(n){0!=n?1!=n?2!=n?3!=n?e.showToast({title:"敬请期待",icon:"error",duration:2e3}):e.navigateTo({url:"/pages/integral/index"}):e.navigateTo({url:"/pages/questionnaire/index"}):this.illness():e.navigateTo({url:"/pages/user/index"})},illness:function(){e.navigateTo({url:"/pages/illness/receive"})},logOut:function(){e.clearStorage(),e.redirectTo({url:"/pages/index/index"})}}};n.default=s}).call(this,t("543d")["default"])},fdb7:function(e,n,t){}},[["1f72","common/runtime","common/vendor"]]]);