text: (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/capital/withdrawals/profit"],{"07a0":function(n,t,e){"use strict";(function(n){e("cb10");o(e("66fd"));var t=o(e("d3ac"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e("543d")["createPage"])},"1ec6":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var o={uButton:function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u-button/u-button")]).then(e.bind(null,"eaba"))}},u=function(){var n=this,t=n.$createElement;n._self._c},a=[]},"465c":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var o={uPopup:function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(e.bind(null,"ced5"))},"u-Input":function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u--input/u--input")]).then(e.bind(null,"7048"))},uToast:function(){return e.e("node-modules/uview-ui/components/u-toast/u-toast").then(e.bind(null,"0562"))},uCode:function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u-code/u-code")]).then(e.bind(null,"a086"))},uCodeInput:function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u-code-input/u-code-input")]).then(e.bind(null,"0e63"))},uButton:function(){return Promise.all([e.e("common/vendor"),e.e("node-modules/uview-ui/components/u-button/u-button")]).then(e.bind(null,"eaba"))}},u=function(){var n=this,t=n.$createElement;n._self._c},a=[]},5379:function(n,t,e){},6511:function(n,t,e){"use strict";e.r(t);var o=e("7049"),u=e.n(o);for(var a in o)"default"!==a&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=u.a},7049:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("81e1"),u={name:"fundPassword",props:{},data:function(){return{userInfo:"",principalData:{code:"",password:""},isCodeType:!0,seconds:60,tips:"",flag2:!1}},created:function(){this.userbaseInfoFun(),this.ajaxsendMyCodeFun()},methods:{Withdrawal:function(){this.$emit("Withdrawal")},close:function(){this.flag2=!1,this.principalData.code="",this.principalData.password="",this.isCodeType=!this.isCodeType},open:function(){this.flag2=!0},userbaseInfoFun:function(){var n=this;(0,o.userbaseInfo)().then((function(t){n.userInfo=t.obj.name}))},getCode:function(){var t=this;this.$refs.uCode.canGetCode?(this.isCodeType=!this.isCodeType,n.showLoading({title:"正在获取验证码"}),setTimeout((function(){n.hideLoading(),n.$u.toast("验证码已发送"),t.$refs.uCode.start(),t.ajaxsendMyCodeFun()}),2e3)):n.$u.toast("倒计时结束后再发送")},start:function(){},end:function(){this.isCodeType=!this.isCodeType},codeChange:function(n){this.tips=n},ajaxsendMyCodeFun:function(){(0,o.ajaxsendMyCode)().then((function(n){}))}}};t.default=u}).call(this,e("543d")["default"])},"7ec7":function(n,t,e){"use strict";e.r(t);var o=e("465c"),u=e("6511");for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);var i,r=e("f0c5"),s=Object(r["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=s.exports},b315:function(n,t,e){"use strict";e.r(t);var o=e("ec09"),u=e.n(o);for(var a in o)"default"!==a&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=u.a},d3ac:function(n,t,e){"use strict";e.r(t);var o=e("1ec6"),u=e("b315");for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);e("fc31");var i,r=e("f0c5"),s=Object(r["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=s.exports},ec09:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("81e1"),u=a(e("7ec7"));function a(n){return n&&n.__esModule?n:{default:n}}var i={components:{fundPassword:u.default},data:function(){return{profitData:{adds:"",moeny:""},gsDatava:"",rechargeEarningsProfitData:""}},onShow:function(){this.getbalanceFun(),this.rechargeEarningsProfit()},methods:{showstFun:function(){this.$refs["pwd"].open()},rechargeEarningsProfit:function(){var n=this;(0,o.rechargeEarningsProfit)().then((function(t){n.rechargeEarningsProfitData=t.obj}))},getbalanceFun:function(){var n=this,t={currencyName:"GS",walletType:"1"};(0,o.getbalance)(t).then((function(t){n.gsDatava=t.obj}))},Withdrawal:function(){var t=this.$refs["pwd"].principalData;if(this.profitData.adds&&this.profitData.moeny&&t.code&&t.password){var e={quantity:this.profitData.moeny,address:this.profitData.adds,tradePwd:t.password,code:t.code};(0,o.rechargeEarningsTopUpMoney)(e).then((function(t){n.showToast({title:t.msg,icon:"none"}),0==t.code&&setTimeout((function(){n.navigateBack({})}),2e3)}))}else n.showToast({title:"请先完善提现信息",icon:"none"})},paste:function(){var t=this;n.getClipboardData({success:function(n){t.profitData.adds=n.data}})},recordNext:function(){n.navigateTo({url:"./record?type=0"})},allProfit:function(){this.profitData.moeny=this.gsDatava},retn:function(){n.navigateBack({})}}};t.default=i}).call(this,e("543d")["default"])},fc31:function(n,t,e){"use strict";var o=e("5379"),u=e.n(o);u.a}},[["07a0","common/runtime","common/vendor"]]]);