(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-me-changeSex"],{"0c21":function(e,t,n){"use strict";n.r(t);var a=n("e9d4"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},1941:function(e,t,n){"use strict";var a=n("b1ff"),r=n.n(a);r.a},"363c":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,".container[data-v-8557fa72]{padding-top:%?40?%;\n\t/* display: flex; */align-items:center;justify-content:center}.row[data-v-8557fa72]{margin-bottom:%?20?%;border-radius:%?20?%;background-color:silver;line-height:%?100?%;display:flex;align-items:center;justify-content:center}.row .gender[data-v-8557fa72]{font-weight:1000;width:90%;float:left;display:flex}.text[data-v-8557fa72]{font-size:large}.btn[data-v-8557fa72]{margin-top:%?30?%;background-color:#4cd964}",""]),e.exports=t},6877:function(e,t,n){"use strict";n.r(t);var a=n("dfd1"),r=n("0c21");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("1941");var o=n("828b"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"8557fa72",null,!1,a["a"],void 0);t["default"]=c.exports},b1ff:function(e,t,n){var a=n("363c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("967d").default;r("52b7ec00",a,!0,{sourceMap:!1,shadowMode:!1})},dfd1:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"row",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeGender("男")}}},[n("v-uni-view",{staticClass:"gender"},[e._v("男")]),"男"==e.sex?n("v-uni-view",[e._v("√")]):e._e()],1),n("v-uni-view",{staticClass:"row",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeGender("女")}}},[n("v-uni-view",{staticClass:"gender"},[e._v("女")]),"女"==e.sex?n("v-uni-view",[e._v("√")]):e._e()],1)],1)],1)},r=[]},e9d4:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("2634")),i=a(n("2fdc")),o=a(n("9b1b")),c=n("bf7f"),u=n("8f59"),s={data:function(){return{sex:this.$store.state.userInfo.gender}},methods:(0,o.default)((0,o.default)({},(0,u.mapActions)(["updateGender"])),{},{changeGender:function(e){var t=this;return(0,i.default)((0,r.default)().mark((function n(){var a,i;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,c.updateUserInfo)({token:t.$store.getters.token,gender:e});case 2:a=n.sent,i=a.content,console.log(i),t.updateGender(e),t.sex=e,uni.showToast({title:"修改成功！"});case 8:case"end":return n.stop()}}),n)})))()}})};t.default=s}}]);