(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["my/other/zhifubao"],{348:function(e,t,n){"use strict";(function(e){n(5);u(n(4));var t=u(n(349));function u(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},349:function(e,t,n){"use strict";n.r(t);var u=n(350),i=n(352);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n(354);var a,r=n(11),s=Object(r["default"])(i["default"],u["render"],u["staticRenderFns"],!1,null,null,null,!1,u["components"],a);s.options.__file="my/other/zhifubao.vue",t["default"]=s.exports},350:function(e,t,n){"use strict";n.r(t);var u=n(351);n.d(t,"render",(function(){return u["render"]})),n.d(t,"staticRenderFns",(function(){return u["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return u["recyclableRender"]})),n.d(t,"components",(function(){return u["components"]}))},351:function(e,t,n){"use strict";var u;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return u}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=!1,a=[];i._withStripped=!0},352:function(e,t,n){"use strict";n.r(t);var u=n(353),i=n.n(u);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);t["default"]=i.a},353:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(){n.e("my/components/com-input").then(function(){return resolve(n(584))}.bind(null,n)).catch(n.oe)},i=function(){n.e("my/components/watch-login/watch-button").then(function(){return resolve(n(591))}.bind(null,n)).catch(n.oe)},o={components:{listCell:u,wButton:i},data:function(){return{zhiFuBao:"",zhiFuBaoName:"",logining:!1,XCXIsSelect:"否"}},onLoad:function(){var t=this;this.XCXIsSelect=this.$queue.getData("XCXIsSelect"),"否"==this.XCXIsSelect?e.setNavigationBarTitle({title:"隐私政策"}):e.setNavigationBarTitle({title:"提现账号"}),this.getUserInfo();var n=this.$queue.getData("userId");n&&this.$Request.get("/sys/user/info").then((function(e){0==e.code&&(e.user.userEntity.zhiFuBao&&(t.zhiFuBao=e.user.userEntity.zhiFuBao),e.user.userEntity.zhiFuBaoName&&(t.zhiFuBaoName=e.user.userEntity.zhiFuBaoName))}))},methods:{inputChange:function(e){var t=e.currentTarget.dataset.key;this[t]=e.detail.value},navBack:function(){e.navigateBack()},toLogin:function(){var t=this,n=(this.$queue.getData("userId"),e.getStorageSync("token"),this.zhiFuBao),u=this.zhiFuBaoName;if(n)if(u){this.$queue.showLoading("修改中...");var i={zhiFuBao:this.zhiFuBao,zhiFuBaoName:this.zhiFuBaoName};this.$Request.postJson("/shop/shopmoney/updateUser",i).then((function(n){0===n.code?e.showToast({title:"修改成功",icon:"none",complete:function(){setTimeout((function(){e.navigateBack()}),1e3)}}):t.$queue.showToast(n.msg),e.hideLoading()}))}else this.$queue.showToast("请设置收款人姓名");else this.$queue.showToast("请设置收款人支付宝账号")},getUserInfo:function(){var e=this;this.$Request.getA("/sys/user/info").then((function(t){0==t.code&&(e.$queue.setData("zhiFuBao",t.user.userEntity.zhiFuBao),e.$queue.setData("zhiFuBaoName",t.user.userEntity.zhiFuBaoName))}))}}};t.default=o}).call(this,n(1)["default"])},354:function(e,t,n){"use strict";n.r(t);var u=n(355),i=n.n(u);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);t["default"]=i.a},355:function(e,t,n){}},[[348,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/my/other/zhifubao.js.map