| 1 |
- (my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/me/deposit"],{"3d9c":function(t,n,e){"use strict";var a=e("4f85"),i=e.n(a);i.a},"4f85":function(t,n,e){},5680:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return a}));var a={uParse:function(){return Promise.all([e.e("common/vendor"),e.e("components/u-parse/u-parse")]).then(e.bind(null,"ab9d"))}},i=function(){var t=this,n=t.$createElement;t._self._c},c=[]},7407:function(t,n,e){"use strict";e.r(n);var a=e("5680"),i=e("a66e");for(var c in i)"default"!==c&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("3d9c");var o,u=e("f0c5"),s=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=s.exports},a66e:function(t,n,e){"use strict";e.r(n);var a=e("fb93"),i=e.n(a);for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);n["default"]=i.a},d9cf:function(t,n,e){"use strict";(function(t){e("6f14");a(e("66fd"));var n=a(e("7407"));function a(t){return t&&t.__esModule?t:{default:t}}my.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("c11b")["createPage"])},fb93:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{message:"",amount:"",payIndex:0,payList:[{name:"微信提现",type:"0",account:"",image:"/static/image/me/weixin@2x.png"},{name:"支付宝提现",type:"1",account:"",image:"/static/image/me/zhifubao@2x.png"}]}},methods:{submit:function(){var n=this;return this.amount?this.payList[this.payIndex].account?void(0!=this.amount&&this.$api.withdrawal({amount:this.amount,type:0==this.payIndex?"wechat":"alipay"}).then((function(e){1===e.code&&(t.showToast({title:e.msg}),n.amount="")}))):t.showToast({title:"请绑定"+(0==this.payIndex?"微信":"支付宝")+"账号",icon:"none"}):t.showToast({title:"请输入金额",icon:"none"})},bindAccount:function(n){t.navigateTo({url:"/pages/me/WeChat?type="+n})},changePay:function(t){this.payIndex=t},getAccount:function(){var t=this;this.$api.getWithdrawalSetting().then((function(n){1===n.code&&(t.payList[1].account=n.data.alipay.account,t.payList[0].account=n.data.wechat.account)}))},getMessage:function(){var t=this;this.$api.agreement({name:"withdrawal_instruction"}).then((function(n){1===n.code&&(t.message=n.data.content)}))}},onShow:function(){this.getAccount()},onLoad:function(){this.getMessage()}};n.default=e}).call(this,e("c11b")["default"])}},[["d9cf","common/runtime","common/vendor"]]]);
|