|
|
@@ -2,16 +2,16 @@
|
|
|
<view class="content">
|
|
|
<!-- <uni-notice-bar single="true" text="每月25号到月底可提现上月结算余额"></uni-notice-bar> -->
|
|
|
<view class="content-money">
|
|
|
- <view class="flex ">
|
|
|
+ <view class="flex1 ">
|
|
|
<view class="buttom">
|
|
|
<view class="icon">{{ money | getMoneyStyle }}</view>
|
|
|
<text class="text">可提现金额</text>
|
|
|
</view>
|
|
|
- <view class="interval"></view>
|
|
|
+ <!-- <view class="interval"></view>
|
|
|
<view class="buttom">
|
|
|
<view class=" icon">{{ freeze | getMoneyStyle }}</view>
|
|
|
<text class="text">待审核提现金额</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row-box">
|
|
|
@@ -118,9 +118,9 @@ export default {
|
|
|
// 加载余额信息
|
|
|
async loadData() {
|
|
|
extractBank({}).then(({ data }) => {
|
|
|
- this.money = data.moneyCount; //可提现余额
|
|
|
+ this.money = data.brokerage_price; //可提现余额
|
|
|
this.minPrice = data.minPrice; //最小提现
|
|
|
- this.freeze = data.inmoneyCount; //提现中的余额
|
|
|
+ // this.freeze = data.inmoneyCount; //提现中的余额
|
|
|
});
|
|
|
},
|
|
|
// 跳转
|
|
|
@@ -139,17 +139,18 @@ export default {
|
|
|
extract_type: this.type, //bank -银行卡 alipay-支付宝 weixin-微信
|
|
|
money: this.withdrawal, //金额
|
|
|
money_type: 1 //0佣金1余额
|
|
|
- };
|
|
|
+ };
|
|
|
+ console.log(this.type)
|
|
|
if (this.type == 'alipay') {
|
|
|
- data.name = this.aliData.fullname;
|
|
|
- data.alipay_code = this.aliData.alino;
|
|
|
+ data.name = this.aliData.name;
|
|
|
+ data.alipay_code = this.aliData.payment;
|
|
|
}
|
|
|
if (this.type == 'bank') {
|
|
|
- data.name = this.bankData.fullname;
|
|
|
+ data.name = this.bankData.name;
|
|
|
data.bankname = this.bankData.bank;
|
|
|
- data.cardnum = this.bankData.bankno;
|
|
|
+ data.cardnum = this.bankData.payment;
|
|
|
}
|
|
|
-
|
|
|
+ console.log(data)
|
|
|
extractCash(data)
|
|
|
.then(e => {
|
|
|
uni.showToast({
|
|
|
@@ -172,13 +173,16 @@ page {
|
|
|
}
|
|
|
.content-money {
|
|
|
padding: 30rpx 0;
|
|
|
- background: #ffffff;
|
|
|
+ background: #ffffff;
|
|
|
+
|
|
|
}
|
|
|
-.flex {
|
|
|
+.flex1 {
|
|
|
background-color: #ffffff;
|
|
|
text-align: center;
|
|
|
margin: 0 30rpx;
|
|
|
- border-radius: $border-radius-sm;
|
|
|
+ border-radius: $border-radius-sm;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
.buttom {
|
|
|
font-size: $font-lg;
|
|
|
color: $font-color-dark;
|