(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/userinfo"],{"099c":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.isHeight=!1})},i=[]},"299f":function(t,e,n){"use strict";var r=n("9f41"),i=n.n(r);i.a},"353c":function(t,e,n){"use strict";n.r(e);var r=n("a907"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"8d0c":function(t,e,n){"use strict";n.r(e);var r=n("099c"),i=n("353c");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("299f");var s=n("828b"),a=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"26e8ca3e",null,!1,r["a"],void 0);e["default"]=a.exports},"9f41":function(t,e,n){},a907:function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("7ca3")),o=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var u={data:function(){return{ageArr:[],sexItem:["男","女"],sex:0,name:null,birthday:"",height:"",isHeight:!1}},computed:a(a({},(0,o.mapState)(["user","appTheme"])),{},{userInfo:function(){return this.user},endDate:function(){return this.$tools.getDate("start")}}),methods:{confirmInfo:function(){var t={};this.name?this.sex?this.height?this.birthday?(t.name=this.name,t.sex=this.sex,t.height=this.height,t.birthday=this.birthday,t.id=this.user.familyid,console.log("提交",t),this.subInfo(t)):this.$tools.msg("请选择出生日期"):this.$tools.msg("请选择身高"):this.$tools.msg("请选择性别"):this.$tools.msg("请输入用户名")},subInfo:function(e){var n=this;n.$model.getsubmit(e).then((function(e){0==e.code?(n.$tools.msg("提交成功"),t.reLaunch({url:"/pages/index/index"})):n.$tools.msg(e.message)}))},bindDateChange:function(t){console.log(t.target.value,this.startDate),this.birthday=t.target.value},onAgeArr:function(t){this.age=this.ageArr[t.target.value]},onsexArr:function(t){this.sex="男"==this.sexItem[t.target.value]?1:2},onTap:function(){this.height="",this.isHeight=!1}},onLoad:function(e){t.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:this.appTheme}),this.name=this.userInfo.nickname?this.userInfo.nickname:this.userInfo.name;for(var n=[],r=12;r<=80;r++)n.push(r);this.ageArr=n}};e.default=u}).call(this,n("df3c")["default"])},fa32:function(t,e,n){"use strict";(function(t,e){var r=n("47a9");n("6846");r(n("3240"));var i=r(n("8d0c"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["fa32","common/runtime","common/vendor"]]]);