(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/userinfo"],{"267a":function(t,e,n){"use strict";n.r(e);var r=n("a389"),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},6344:function(t,e,n){"use strict";n.r(e);var r=n("df35"),i=n("267a");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("82f8");var s=n("f0c5"),a=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"26e8ca3e",null,!1,r["a"],void 0);e["default"]=a.exports},"82f8":function(t,e,n){"use strict";var r=n("8702"),i=n.n(r);i.a},8702:function(t,e,n){},a389:function(t,e,n){"use strict";(function(t){var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("9523")),o=n("26cb");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("543d")["default"])},cf43:function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("6808");r(n("66fd"));var i=r(n("6344"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},df35: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=[]}},[["cf43","common/runtime","common/vendor"]]]);