@@ -8,18 +8,23 @@
< view
style = "width: 90%;height: max-content;margin-left: 40upx;background-color: #FFFFFF;box-shadow: rgba(183, 183, 183, 0.3) 0px 1px 10px;margin-top: 50upx;border-radius: 20upx;" >
< view style = "display: flex;flex-direction: row;padding: 20upx;" >
< view style = "font-size: 32upx;color: #333333;" > 提现金额 < text style = "font-size: 28upx;color: #ff7581;"
v-if = "shouxufei" > ( 注 : 提现手续费为 {{ shouxufei * 100 }} % ) < / text >
< view style = "font-size: 32upx;color: #333333;" > 提现金额
<!-- < text style = "font-size: 28upx;color: #ff7581;"
v-if = "shouxufei" > ( 注 : 提现手续费为 {{ shouxufei * 100 }} % ) < / text > - - >
< / view >
< / view >
< view style = "display: flex;flex-direction: row;padding: 20upx;" >
< view style = "font-size: 40upx;color: #333333;" > ¥ < / view >
< input type = "number" v-mode l = "m oney" placeholder="请输入金额"
s tyl e= "font-size: 40upx;color: #333333;text-align: left;margin-left: 10upx;width: 100%;" / >
< view style = "display: flex;flex-direction: row;padding: 20upx;justify-content: space-between;align-items: center; " >
< view style = "display: flex;align-items: center;" >
< view s tyle = "f ont-size: 40upx;color: #333333;" > ¥ < / view >
< input typ e = "number" v-model = "money" placeholder="请输入金额"
style = "font-size: 40upx;color: #333333;text-align: left;margin-left: 10upx;width: 80%;" / >
< / view >
< view @click ="money = mayMoney" style = "font-size: 30rpx;color: #333333;background: #ff7581;color: white;border-radius: 10rpx;padding: 7rpx 15rpx;" > 全部 < / view >
< / view >
< view style = "background: #E6E6E6;width: 100%;height: 1upx;" > < / view >
< view style = "display: flex;flex-direction: row;flex-wrap: wrap;" >
<!-- < view style = "display: flex;flex-direction: row;flex-wrap: wrap;" >
< view style = "display: flex;flex-direction: row;" v-for = "(item, index) in moneyList" :key="index" >
< view >
< view style = "padding: 20upx;" @click ="getOut1(item.money)" >
@@ -30,7 +35,7 @@
< / view >
< / view >
< / view >
< / view >
< / view > -- >
< / view >
< view @click ="getOut"
style = "margin: 32upx;font-size: 18px;background: #ff7581;color: white;border-radius: 10px;height: 40px;line-height: 40px" >
@@ -40,7 +45,7 @@
< view style = "display: flex;width: 100%;justify-content: center;" >
< view style = "color: grey;padding-bottom: 30px;padding-top: 20upx;width: 33%;" @click ="goZhifuBao" > 提现账号
< / view >
< view style = "color: grey;padding-bottom: 30px;padding-top: 20upx;width: 33%;" @click ="goqianbao" > 钱 包明细
< view style = "color: grey;padding-bottom: 30px;padding-top: 20upx;width: 33%;" @click ="goqianbao" > 红 包明细
< / view >
< view style = "color: grey;padding-bottom: 30px;padding-top: 20upx;width: 33%;" @click ="gojilu" > 提现记录
< / view >
@@ -124,15 +129,20 @@
page : this . page ,
limit : this . limit
}
this . $u . api . queryInviter ( data ) . then ( res => {
// this.$u.api.myPurseDet(data).then(res => {
// if (res.code == 0) {
// this.mayMoney = res.data.inviteMoney.money
// } else {
// uni.showToast({
// title: res.msg,
// duration: 1000,
// icon: 'none'
// });
// }
// })
this . $Request . getT ( 'app/moneyDetails/selectUserMoney' ) . then ( res => {
if ( res . code == 0 ) {
this . mayMoney = res . data . inviteMoney . money
} else {
uni . showToast ( {
title : res . msg ,
duration : 1000 ,
icon : 'none'
} ) ;
this . mayMoney = res . data . amount
}
} )
} ,
@@ -166,12 +176,12 @@
//this.$queue.showLoading("加载中...");
//可以提现金额查询预估收入查询
let data = {
money : that . money
a mount : that . money
}
this . $u . api . cashMoney ( data ) . then ( res => {
this . $u . api . withdraw ( data ) . then ( res => {
if ( res . code == 0 ) {
uni . showToast ( {
title : '提现申请成功,预计三个工作日到账' ,
title : res . msg ,
icon : 'none'
} )
that . money = ''
@@ -196,12 +206,11 @@
let that = this ;
let token = that . token
let userId = that . userId
console . log ( token )
let cashMoney = that . cashMoney ;
if ( token ) {
if ( that . zhifubao && that . zhifubaoName ) {
if ( ! /^\d+$/ . test ( that . money ) ) {
if ( ! /^\d+(\.\d{1,2})? $/ . test ( that . money ) ) {
uni . showToast ( {
icon : 'none' ,
title : '请输入正确金额,不能包含中文,英文,特殊字符和小数'
@@ -216,8 +225,10 @@
uni . showModal ( {
title : "提现申请提示" ,
content : '请仔细确认收款人信息\n\n收款人姓名:' + that . zhifubaoName + '\n\n提现金额:' + that
. money + '元\n\n提现手续费 : ' + shouxufei +
'\n\n收款人账号: ' + that . zhifubao + '' ,
. money + '元\n\n收款人账号 : ' + that . zhifubao + '' ,
// content: '请仔细确认收款人信息\n\n收款人姓名:' + that.zhifubaoName + '\n\n提现金额:' + that
// .money + '元\n\n提现手续费: ' + shouxufei +
// '\n\n收款人账号: ' + that.zhifubao + '',
success : ( e ) => {
if ( e . confirm ) {
// that.money = money
@@ -276,8 +287,10 @@
uni . showModal ( {
title : '提现申请提示' ,
content : '请仔细确认收款人信息\n\n收款人姓名:' + that . zhifubaoName + '\n\n提现金额:' + money +
'元\n\n提现手续费 : ' + shouxufei +
'\n\n收款人账号: ' + that . zhifubao + '' ,
'元\n\n收款人账号 : ' + that . zhifubao + '' ,
// content: '请仔细确认收款人信息\n\n收款人姓名:' + that.zhifubaoName + '\n\n提现金额:' + money +
// '元\n\n提现手续费: ' + shouxufei +
// '\n\n收款人账号: ' + that.zhifubao + '',
confirmColor : '#ff7581' ,
success : e => {
if ( e . confirm ) {