| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <template>
- <view class="">
- <view class="top">
- <image v-if="detail.withdrawStatus=='DONE'" style="border-radius: 50%;" src="@/static/icon/pay-success.png" ></image>
- <image v-if="detail.withdrawStatus=='FAIL'" style="border-radius: 50%;" src="@/static/icon/pay-fail.png" ></image>
- <image v-if="detail.withdrawStatus=='WAITING'" style="border-radius: 50%;" src="@/static/icon/pay-handel.png" ></image>
- <text class="margin-top-20" v-if="detail.withdrawStatus=='WAITING'">处理中</text>
- <text class="margin-top-20" v-if="detail.withdrawStatus=='FAIL'">提现失败</text>
- <text class="margin-top-20" v-if="detail.withdrawStatus=='DONE'">提现成功</text>
- <view class="data">
- <view class="price reduce text-base text-bold" style="padding: 0;">
- {{detail.price}}
- </view>
- </view>
- </view>
- <view class="card">
- <view class="item">
- <text>提现状态</text>
- <text class="text-warn" v-if="detail.withdrawStatus=='WAITING'">处理中</text>
- <text class="text-red" v-if="detail.withdrawStatus=='FAIL'">提现失败</text>
- <text class="text-success" v-if="detail.withdrawStatus=='DONE'">提现成功</text>
- </view>
- <view class="item">
- <text>提现时间</text>
- <text>{{detail.createTime}}</text>
- </view>
- <view class="item">
- <text>提现金额</text>
- <text>{{detail.price}}</text>
- </view>
- <view class="item">
- <text>提现服务费</text>
- <text>{{detail.platformFee || 0}}</text>
- </view>
- <view class="item">
- <text>提现手续费</text>
- <text>{{detail.fee || 0}}</text>
- </view>
- <view class="item">
- <text>实际到账</text>
- <text>{{detail.receiveAmount || '0.00'}}</text>
- </view>
- <view class="item">
- <text>提现银行</text>
- <text>{{detail.receiverAccountName}}</text>
- </view>
- <view class="item">
- <text>提现账号</text>
- <text>{{detail.receiverAccountNo}}</text>
- </view>
- <view class="item" v-if="detail.withdrawStatus=='FAIL'">
- <text style="width: 30%;">失败原因</text>
- <text class="text-cut-2 text-right">{{detail.failReason}}</text>
- </view>
- </view>
-
- <button open-type="contact" class="question btnCss" style="padding: 5rpx 50rpx;font-size: 28rpx;">
- <text>联系客服</text>
- <text class="cuIcon-right" style="margin-top: 5rpx;"></text>
- </button>
- </view>
- </template>
- <script>
- export default {
- name: '',
- data() {
- return {
- detail:{}
- };
- },
- onLoad(options) {
- this.fetchDetail(options.id)
- },
- methods:{
- fetchDetail(id){
- let params={
- id
- }
- this.$api.withdraw.detail(params).then(res=>{
- this.detail=res.data
- })
- }
- }
- };
- </script>
- <style scoped lang="scss">
- .top {
- padding: 80rpx 0 0;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
-
- image {
- width: 120rpx;
- height: 120rpx;
- }
-
- .title {
- color: #000;
- padding-top: 15rpx;
- font-size: 32rpx;
- }
-
- .data {
- padding-top: 30rpx;
- display: flex;
-
- image {
- width: 40rpx;
- height: 40rpx;
- }
-
- view {
- padding-left: 20rpx;
-
- text:first-child {
- color: #000;
- font-size: 38rpx;
- }
-
- text:last-child {
- font-size: 32rpx;
- padding-left: 20rpx;
- }
- }
- }
- }
-
- .card {
- margin-top: 50rpx;
- padding: 20rpx 30rpx;
- background-color: #FFFFFF;
-
- .item{
- padding: 20rpx 0;
- font-size: 28rpx;
- color: #888888;
- margin: 0 20rpx;
- display: flex;
- justify-content: space-between;
- }
- }
-
- .question{
- color: #888888;
- background-color: #FFFFFF;
- margin-top: 20rpx;
- margin-bottom: 50rpx;
- padding: 20rpx 50rpx;
- display: flex;
- justify-content: space-between;
- }
- .strong{
- font-weight: bold;
- color: #000;
- }
- </style>
|