| 12 |
- webpackJsonp([32],{"8bgk":function(t,e){},Bcmm:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mtWM"),o=a.n(s),n=a("odqc"),i=a("Znkm"),r=(n.a,i.a,{components:{Tab:n.a,TabItem:i.a},name:"currency_transfer",data:function(){return{password:"",num:"",mobile:""}},created:function(){},methods:{recoraList:function(){var t=this,e=this;""===this.mobile?this.$vux.toast.text("请输入转账账户","middle"):""===this.num?this.$vux.toast.text("请输入转出的点币数量","middle"):this.num<=0?this.$vux.toast.text("点币数量必须大于0","middle"):""===this.password?this.$vux.toast.text("请输入支付密码","middle"):o()({method:"POST",url:"/api/coin/transfer",data:{mobile:this.mobile,num:this.num,pay_password:this.password}}).then(function(a){"success"==a.data.code?(t.$vux.toast.text(a.data.message,"middle"),setTimeout(function(){e.$router.push({path:"/user"})},2e3)):"您还未设置支付密码"==a.data.message?t.$vux.confirm.show({content:"您未设置支付密码",confirmText:"现在去设置",cancelText:"取消",onCancel:function(){},onConfirm:function(){t.$router.push("/userinfo/modify_payPwd")}}):t.$vux.toast.text(a.data.message,"middle")})}}}),u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrapper white-bg"},[a("ul",{staticClass:"form mAuto"},[a("li",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mobile,expression:"mobile"}],staticClass:"ml30 w70f",attrs:{type:"text",maxlength:"11",placeholder:"请输入转码账户手机号"},domProps:{value:t.mobile},on:{input:function(e){e.target.composing||(t.mobile=e.target.value)}}})]),t._v(" "),a("li",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.num,expression:"num"}],staticClass:"ml30 w70f",attrs:{type:"number",placeholder:"请输入转出的点币数量"},domProps:{value:t.num},on:{input:function(e){e.target.composing||(t.num=e.target.value)}}})]),t._v(" "),a("li",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"ml30 w70f",attrs:{type:"password",placeholder:"请输入支付密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})])]),t._v(" "),a("button",{staticClass:"blue-bg white-color button",on:{click:function(e){t.recoraList()}}},[t._v("确认转出")])])},staticRenderFns:[]};var m=a("VU/8")(r,u,!1,function(t){a("8bgk")},"data-v-b444ffa6",null);e.default=m.exports}});
- //# sourceMappingURL=32.de3e0adb89e444f5df1f.js.map
|