(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-gender"],{"2e38":function(t,a,e){"use strict";e.r(a);var n=e("ec68"),i=e("ab6a");for(var u in i)"default"!==u&&function(t){e.d(a,t,(function(){return i[t]}))}(u);var r,s=e("f0c5"),o=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"6a444830",null,!1,n["a"],r);a["default"]=o.exports},ab3b:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{pageLoad:!1,data:{}}},onLoad:function(t){uni.setNavigationBarTitle({title:"性别"}),this.getPage()},methods:{getPage:function(){var t=this;t.app.get({url:t.app.apiHost+"?m=user&a=info&ajax=1",success:function(a){a.error?t.app.goHome():(t.pageLoad=!0,t.data=a.data.data)}})},changeGender:function(t){this.data.gender=t.detail.value},submit:function(t){var a=this;a.app.post({url:a.app.apiHost+"?m=user&a=genderSave&ajax=1",data:t.detail.value,success:function(t){uni.showToast({title:t.message}),t.error||setTimeout((function(){uni.navigateBack()}),600)}})}}};a.default=n},ab6a:function(t,a,e){"use strict";e.r(a);var n=e("ab3b"),i=e.n(n);for(var u in n)"default"!==u&&function(t){e.d(a,t,(function(){return n[t]}))}(u);a["default"]=i.a},ec68:function(t,a,e){"use strict";var n;e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return u})),e.d(a,"a",(function(){return n}));var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[t.pageLoad?e("v-uni-view",[e("v-uni-form",{on:{submit:function(a){arguments[0]=a=t.$handleEvent(a),t.submit.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"input-flex"},[e("v-uni-view",{staticClass:"input-flex-label"},[t._v("性别")]),e("div",{staticClass:"flex flex-ai-center flex-1"},[e("v-uni-input",{staticClass:"none",attrs:{type:"text",name:"gender",value:t.data.gender}}),e("v-uni-radio-group",{on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.changeGender.apply(void 0,arguments)}}},[e("v-uni-radio",{staticClass:"mgr-10",attrs:{checked:1==t.data.gender,value:"1"}},[t._v("男")]),e("v-uni-radio",{attrs:{checked:2==t.data.gender,value:"2"}},[t._v("女")])],1)],1)],1),e("div",{staticClass:"row-box text-center f12 cl-red"},[t._v("性别选择后不可改")]),e("v-uni-button",{staticClass:"btn-row-submit",attrs:{"form-type":"submit"}},[t._v("提交")])],1)],1):t._e()],1)},u=[]}}]);