You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
3.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<view>
<view class="status-icon flex justify-around bg-white">
<view class="flex flex-direction align-center">
<image src="../../static/mine/t1.png" style="width: 54rpx;" mode="widthFix"></image>
<view class="text">提交申请</view>
<view>{{detail.created_at}}</view>
</view>
<view class="flex flex-direction align-center">
<image src="../../static/mine/t1.png" style="width: 54rpx;" mode="widthFix"></image>
<view class="text">提现成功</view>
<view v-if="detail.doneTime">{{detail.doneTime}}</view>
</view>
</view>
<view class="bg-white" style="padding:40rpx 30rpx;line-height: 50rpx;">
<view class="sub-title" v-if="detail.WaitStatus==0"></view>
<view class="sub-title" v-if="detail.WaitStatus==1"></view>
<view style="color: #aaa;font-size: 24rpx;padding: 0 20rpx;">审核日是04月10日</view>
</view>
<view class="box bg-white">
<view class="title">提现信息</view>
<view class="flex">
<view class="span">本次申请提现金额</view>
<view>{{detail.amount}}</view>
</view>
<view class="flex">
<view class="span">手续费</view>
<view>0.00</view>
</view>
<view class="flex">
<view class="span">申请提现人</view>
<view>{{detail.user_name}}</view>
</view>
<view class="flex">
<view class="span">提现方式</view>
<view v-if="detail.type==1"> | {{detail.alipay}}</view>
<view v-if="detail.type==2"> | {{detail.bank_account}}</view>
</view>
<view class="flex">
<view class="span">申请提现时间</view>
<view>{{detail.created_at}}</view>
</view>
</view>
<view class="box bg-white tip-box">
<view>提现小贴士</view>
<view style="line-height: normal;font-size: 24rpx;color: #AAAAAA;">
<view class="tip-title text-black">什么是审核日</view>
<view>每月10号和25号为瑞库客审核日您的提现申请会在审核日进行审核</view>
<view class="tip-title text-black">审核通过需要几天能够到账</view>
<view>审核通过后3个工作日会到账请留意银行或者支付宝通知(特殊情况视银行结算)</view>
</view>
</view>
<button class="btn cu-btn bg-red lg block">完成</button>
</view>
</template>
<script>
export default {
data() {
return {
id:0,
detail:null
};
},
onLoad(options) {
if(options.id){
this.id = parseInt(options.id)
this.getDetail()
}
},
methods:{
getDetail(){
this.$u.post('/api/v1/wallet/balance/withdraw_detail', {
id: this.id
}).then(res => {
console.log(res.data);
if (res.data.code == "FAIL") {
this.$u.toast(res.data.msg);
return
}
this.detail = res.data.data
});
}
}
}
</script>
<style lang="scss">
.status-icon {
font-size: 22rpx;
color: #666;
padding: 50rpx 0 30rpx;
border-bottom: 1rpx solid #f1f1f1;
.text {
margin: 10rpx 0 5rpx;
font-size: 24rpx;
}
}
.sub-title {
position: relative;
padding: 0 20rpx;
&::after {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 6rpx;
height: 30rpx;
background-color: #D40000;
}
}
.box {
margin: 20rpx 30rpx;
border-radius: 10rpx;
border: 1rpx solid #ddd;
padding: 20rpx;
line-height: 60rpx;
.span {
width: 280rpx;
}
.tip-title{
line-height: 60rpx;
font-size: 28rpx;
}
}
.btn {
color: #FFFFFF;
margin: 50rpx 30rpx 200rpx;
}
</style>