sex.js 2.2 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/info/sex"],{"0e41":function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return o}));var o={TopBar:function(){return t.e("components/TopBar/TopBar").then(t.bind(null,"f619"))}},a=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.sex="Famale"},e.e1=function(n){e.sex="Male"})},c=[]},"9b01":function(e,n,t){"use strict";(function(e){t("39a3");o(t("66fd"));var n=o(t("b6f2"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},b6f2:function(e,n,t){"use strict";t.r(n);var o=t("0e41"),a=t("e3d7");for(var c in a)"default"!==c&&function(e){t.d(n,e,(function(){return a[e]}))}(c);t("d83b");var r,u=t("f0c5"),i=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"c8814902",null,!1,o["a"],r);n["default"]=i.exports},c024:function(e,n,t){},cd7e:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/TopBar/TopBar").then(function(){return resolve(t("f619"))}.bind(null,t)).catch(t.oe)},a={components:{TopBar:o},data:function(){return{assetsUrl:this.$util.assetsUrl,sex:"Famale"}},methods:{sure:function(){var n=this;e.showModal({title:"确认性别",content:"性别选择后无法修改,当前选择为".concat("Famale"===this.sex?"女性":"男性",",请确认!"),confirmText:"确认",confirmColor:"#6C52F4",success:function(t){if(t.confirm){e.showLoading({title:"保存中",mask:!0});var o=JSON.parse(e.getStorageSync("user"));o.sex=n.sex,n.$api.login.saveSex({completeUser:o,weiXinStatusEnum:"NoWeiXin"}).then((function(n){e.setStorageSync("regStep","SocialImage"),e.setStorageSync("LL_Ukn",n.data.ukn),e.setStorageSync("user",JSON.stringify(o)),e.hideLoading(),e.reLaunch({url:"/pages/info/figure"})})).catch((function(e){}))}}})}}};n.default=a}).call(this,t("543d")["default"])},d83b:function(e,n,t){"use strict";var o=t("c024"),a=t.n(o);a.a},e3d7:function(e,n,t){"use strict";t.r(n);var o=t("cd7e"),a=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=a.a}},[["9b01","common/runtime","common/vendor"]]]);