(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/my/edit-info/edit-info"],{"22fc":function(t,e,n){},5866:function(t,e,n){"use strict";n.r(e);var o=n("99e5"),s=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=s.a},6636:function(t,e,n){"use strict";(function(t){n("813a");o(n("66fd"));var e=o(n("6e2f"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"6e2f":function(t,e,n){"use strict";n.r(e);var o=n("a08d"),s=n("5866");for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);n("e0c4");var u,a=n("f0c5"),r=Object(a["a"])(s["default"],o["b"],o["c"],!1,null,"c6ba59cc",null,!1,o["a"],u);e["default"]=r.exports},"99e5":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7cc2")),s=n("ccb8");function i(t){return t&&t.__esModule?t:{default:t}}var u={data:function(){return{sexIndex:-1,sexList:[],userInfo:t.getStorageSync("userInfo")}},onPullDownRefresh:function(){t.startPullDownRefresh()},onShow:function(){this.getSexList(),console.log("用户信息",t.getStorageSync("userInfo"))},onNavigationBarButtonTap:function(){this.preservation()},methods:{preservation:function(){var e=this;console.log("用户信息",this.userInfo),o.default.post("/hs/updatePersonalInfo",{sex:this.userInfo.sex,birthday:this.userInfo.birthday,address:this.userInfo.address,signature:this.userInfo.signature,userId:this.userInfo.user_id}).then((function(n){console.log("保存按钮",n),1===n.data&&(t.showToast({icon:"loading",title:"保存成功"}),setTimeout((function(){t.switchTab({url:"/pages/tabbar/my/my"})}),1e3),(0,s.updateUserInfo)(),console.log("用户信息",e.userInfo))}),(function(t){console.log("err",t)}))},getSexList:function(){var t=this;o.default.post("/hs/getDictionariesData",{code:"Sex"}).then((function(e){console.log("性别",e),t.sexList=[],e.data.forEach((function(e){t.sexList.push(e.dd_detail)}))}),(function(t){console.log("err",t)}))},sexPickerChange:function(t){this.sexIndex=t.detail.value,this.userInfo.sex=this.sexList[this.sexIndex]},DateChange:function(t){this.$set(this.userInfo,"birthday",t.detail.value)}}};e.default=u}).call(this,n("543d")["default"])},a08d:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var s=function(){var t=this,e=t.$createElement;t._self._c},i=[]},e0c4:function(t,e,n){"use strict";var o=n("22fc"),s=n.n(o);s.a}},[["6636","common/runtime","common/vendor"]]]);