(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/riderMy/myAccount/AcontMoney/zhifubao"],{313:function(e,n,t){"use strict";(function(e){t(5);o(t(4));var n=o(t(314));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},314:function(e,n,t){"use strict";t.r(n);var o=t(315),u=t(317);for(var r in u)"default"!==r&&function(e){t.d(n,e,(function(){return u[e]}))}(r);t(319);var i,a=t(11),c=Object(a["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);c.options.__file="pages/riderMy/myAccount/AcontMoney/zhifubao.vue",n["default"]=c.exports},315:function(e,n,t){"use strict";t.r(n);var o=t(316);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},316:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uForm:function(){return t.e("uview-ui/components/u-form/u-form").then(t.bind(null,413))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,420))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-input/u-input")]).then(t.bind(null,385))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var u=function(){var e=this,n=e.$createElement;e._self._c},r=!1,i=[];u._withStripped=!0},317:function(e,n,t){"use strict";t.r(n);var o=t(318),u=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},318:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{mobile:"",userName:"",btn:"绑定账户",logining:!1,form:{},XCXIsSelect:"否"}},onLoad:function(){var n=this;this.XCXIsSelect=this.$queue.getData("XCXIsSelect"),"否"==this.XCXIsSelect?e.setNavigationBarTitle({title:"隐私政策"}):e.setNavigationBarTitle({title:"账号绑定"});var t=this.$queue.getData("userId");t&&this.$Request.getT("/app/userinfo/findUserInfoById").then((function(e){0===e.code&&e.data?(e.data.zhiFuBao?(n.mobile=e.data.zhiFuBao,n.btn="修改账户"):n.btn="绑定账户",e.data.zhiFuBaoName&&(n.userName=e.data.zhiFuBaoName)):n.btn="绑定账户"}))},methods:{inputChange:function(e){var n=e.currentTarget.dataset.key;this[n]=e.detail.value},navBack:function(){e.navigateBack()},toLogin:function(){var n=this,t=(this.$queue.getData("userId"),e.getStorageSync("token"),this.mobile),o=this.userName;t?o?(this.$queue.showLoading("修改中..."),this.$Request.postJson("/app/user/updateUser",{zhiFuBao:t,zhiFuBaoName:o}).then((function(t){0===t.code?n.navBack():n.$queue.showToast(t.msg),e.hideLoading()}))):this.$queue.showToast("请设置收款人姓名"):this.$queue.showToast("请设置收款人支付宝账号")}}};n.default=t}).call(this,t(1)["default"])},319:function(e,n,t){"use strict";t.r(n);var o=t(320),u=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},320:function(e,n,t){}},[[313,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/riderMy/myAccount/AcontMoney/zhifubao.js.map