powerbank/pages/detail/detailed/index.vue
2024-06-08 18:05:07 +08:00

216 lines
4.5 KiB
Vue

<template>
<view class="page">
<u-navbar title="提现明细详情" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='36' height='50'></u-navbar>
<view class="list">
<view class="listbox">
<view class="title">
提现详情
</view>
<view class="listli">
<view class="left">
提现人:
</view>
<view class="right">
{{xqobj.userName}}
</view>
</view>
<view class="listli">
<view class="left">
提现ID:
</view>
<view class="right">
{{xqobj.orderId}}
</view>
</view>
<view class="listli">
<view class="left">
手机号:
</view>
<view class="right">
{{xqobj.mobile}}
</view>
</view>
<view class="listli">
<view class="left">
提现金额:
</view>
<view class="right">
{{xqobj.amount}}
</view>
</view>
<view class="listli">
<view class="left">
到账金额:
</view>
<view class="right">
<text style="color: #FF4444;">{{xqobj.arrivalAmount}}</text>
</view>
</view>
<view class="listli">
<view class="left">
提现总额:
</view>
<view class="right">
{{xqobj.totalAmount}}
</view>
</view>
<view class="listli">
<view class="left">
账户余额:
</view>
<view class="right">
{{xqobj.balance}}
</view>
</view>
<view class="listli">
<view class="left">
提现时间:
</view>
<view class="right">
{{xqobj.createTime}}
</view>
</view>
<view class="listli">
<view class="left">
订单编号:
</view>
<view class="right">
{{xqobj.orderNo}}
</view>
</view>
<view class="listli">
<view class="left">
审核状态:
</view>
<view class="right" v-if="xqobj.status == 1" style="font-weight: 600;">
待审核
</view>
<view class="right" v-if="xqobj.status == 2" style="font-weight: 600;">
审核通过
</view>
<view class="right" v-if="xqobj.status == 3" style="font-weight: 600;">
驳回
</view>
<view class="right" v-if="xqobj.status == 4" style="font-weight: 600;">
已打款
</view>
</view>
<view class="listli">
<view class="left">
提现类型:
</view>
<view class="right" v-if="xqobj.type == 1">
<u-icon name="red-packet" size="30" style="margin-right: 5rpx;"></u-icon> 线上
</view>
<view class="right" v-if="xqobj.type == 2">
<u-icon name="red-packet" size="30" style="margin-right: 5rpx;"></u-icon> 线下
</view>
</view>
</view>
<view class="pic">
<view class="" style="font-weight: 600;">
图片:
</view>
<image :src="xqobj.picture" mode=""></image>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
orderId:'',
xqobj:{}
}
},
onLoad(option) {
this.orderId = option.orderId
this.getxq()
},
methods: {
getxq(){
this.$u.get(`/agent/withdraw/${this.orderId}`).then(res=>{
if(res.code == 200){
this.xqobj = res.data
}
})
}
}
}
</script>
<style lang="scss">
/deep/ .u-title,
/deep/ .uicon-nav-back {
padding-bottom: 22rpx;
}
page {
background: linear-gradient(180deg, #25CE88 0%, rgba(255, 255, 255, 0) 100%);
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.page {
width: 750rpx;
position: fixed;
top: 0;
left: 0;
.list{
width: 750rpx;
height: 1440rpx;
background: #F4F5F7;
border-radius: 0rpx 0rpx 0rpx 0rpx;
padding-top: 30rpx;
.listbox{
width: 680rpx;
height: 746rpx;
background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx;
margin: auto;
padding: 28rpx 30rpx;
box-sizing: border-box;
.title{
font-weight: 600;
font-size: 28rpx;
color: #3D3D3D;
border-bottom: 1px solid #D8D8D8;
padding-bottom: 24rpx;
}
.listli{
margin-top: 24rpx;
display: flex;
justify-content: space-between;
.left{
font-size: 24rpx;
color: #808080;
}
.right{
font-size: 24rpx;
color: #3D3D3D;
}
}
}
.pic{
display: flex;
width: 680rpx;
height: 338rpx;
background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx;
margin: auto;
margin-top: 28rpx;
padding: 30rpx 32rpx;
box-sizing: border-box;
image{
width: 270rpx;
height: 270rpx;
margin-left: 88rpx;
}
}
}
}
</style>