(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/detail"],{"1cbf":function(t,e,n){"use strict";n.r(e);var u=n("f289"),i=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=i.a},"2b23":function(t,e,n){},"7dc0":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var u={uForm:function(){return n.e("node-modules/uview-ui/components/u-form/u-form").then(n.bind(null,"459a"))},uFormItem:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(n.bind(null,"5690"))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-input/u-input")]).then(n.bind(null,"1c95"))}},i=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){return t.$util.preview(t.faceImg)})},o=[]},"804c":function(t,e,n){"use strict";var u=n("2b23"),i=n.n(u);i.a},aa26:function(t,e,n){"use strict";n.r(e);var u=n("7dc0"),i=n("1cbf");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("804c");var a,r=n("f0c5"),c=Object(r["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);e["default"]=c.exports},b9a2:function(t,e,n){"use strict";(function(t){n("4481");u(n("66fd"));var e=u(n("aa26"));function u(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},f289:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{labelStyle:{fontWeight:"600"},form:{},faceImg:""}},onLoad:function(t){this.fetchData(t.id)},methods:{fetchData:function(t){var e=this;this.$api.user.detail(t).then((function(t){e.form=t,e.faceImg=e.$global.imgBaseUrl+t.imageUri}))},previewImg:function(){var e=this.form.fastDfsServer+this.form.imageUri,n=[e];t.previewImage({urls:n})},toItem:function(e){var n="";switch(e){case 1:this.$u.toast("暂未开放");break;case 2:t.navigateTo({url:"add?id="+this.form.id});break;default:break}this.$isEmpty(n)||t.navigateTo({url:n})},deleteRoom:function(){var e=this,n=this.form;this.$dialog.showModal("确定要删除此项吗?").then((function(u){e.$api.user.del({id:n.id}).then((function(n){1==n.data?e.$dialog.showModal("删除成功",!1).then((function(e){t.navigateBack({delta:1})})):e.$u.toast("删除失败")}))}))}}};e.default=n}).call(this,n("543d")["default"])}},[["b9a2","common/runtime","common/vendor"]]]);