12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/index"],{27:function(e,n,t){"use strict";(function(e){t(5);r(t(4));var n=r(t(28));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},28:function(e,n,t){"use strict";t.r(n);var r=t(29),o=t(31);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(34);var u,c=t(11),a=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);a.options.__file="pages/my/index.vue",n["default"]=a.exports},29:function(e,n,t){"use strict";t.r(n);var r=t(30);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},30:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return r}));try{r={uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,159))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,166))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,173))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},i=!1,u=[];o._withStripped=!0},31:function(e,n,t){"use strict";t.r(n);var r=t(32),o=t.n(r);for(var i in r)"default"!==i&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},32:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(t(18)),o=(i(t(33)),i(t(24)));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,n,t,r,o,i,u){try{var c=e[i](u),a=c.value}catch(s){return void t(s)}c.done?n(a):Promise.resolve(a).then(r,o)}function c(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function c(e){u(i,r,o,c,a,"next",e)}function a(e){u(i,r,o,c,a,"throw",e)}c(void 0)}))}}var a={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"},{color:"#a8a861",size:"22",type:"home-filled"}],src:"",userInfo:{},role:""}},onShow:function(){var n=this;return c(r.default.mark((function t(){var o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:o=e.getStorageSync("userinfo"),n.userInfo=o.data,n.role=e.getStorageSync("role");case 3:case"end":return t.stop()}}),t)})))()},mounted:function(){var e=this;return c(r.default.mark((function n(){var t,i;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,o.default.getJson();case 2:t=n.sent,i=t.data.avatar,e.src=i;case 5:case"end":return n.stop()}}),n)})))()},methods:{register:function(){e.navigateTo({url:"/pages/register/index"})},onClick:function(n){0!=n?1!=n?5!=n?e.showToast({title:"敬请期待",icon:"error",duration:2e3}):e.navigateTo({url:"/pages/resident/userInfoList"}):this.illness():e.navigateTo({url:"/pages/user/index"})},illness:function(){e.navigateTo({url:"/pages/family/receive"})}}};n.default=a}).call(this,t(1)["default"])},34:function(e,n,t){"use strict";t.r(n);var r=t(35),o=t.n(r);for(var i in r)"default"!==i&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},35:function(e,n,t){}},[[27,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/index.js.map
|