|
|
|
@ -36,13 +36,14 @@ |
|
|
|
审核时间:{{item.reviewed_at}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="hit-right"> |
|
|
|
<!-- <view class="hit-right"> |
|
|
|
<view class="amount">提现金额:¥{{item.amount}}</view> |
|
|
|
<view class="fee">手续费:¥{{item.fee}}</view> |
|
|
|
<view class="receive-amount">实到账:¥{{item.receive_amount}}</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="load-more" @click="getWithdrawList">{{ hasMore ? '加载更多数据...' : '已加载完毕' }}</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
@ -55,65 +56,83 @@ |
|
|
|
data() { |
|
|
|
return { |
|
|
|
withdrawList: [], |
|
|
|
hasMore: true, |
|
|
|
page: 0, |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad() { |
|
|
|
this.getWithdrawList() |
|
|
|
}, |
|
|
|
onReachBottom() { |
|
|
|
this.getWithdrawList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getWithdrawList() { |
|
|
|
if (!this.hasMore) { |
|
|
|
return |
|
|
|
} |
|
|
|
this.page++ |
|
|
|
agentWithdrawList({ |
|
|
|
page: 1, |
|
|
|
page: this.page, |
|
|
|
page_size: 15, |
|
|
|
}).then(data => this.withdrawList = data.list) |
|
|
|
}).then(data => { |
|
|
|
this.withdrawList = [...this.withdrawList, ...data.list] |
|
|
|
this.hasMore = data.has_more |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss"> |
|
|
|
.his-content { |
|
|
|
padding: 0 30rpx; |
|
|
|
.his-content { |
|
|
|
padding: 0 30rpx; |
|
|
|
|
|
|
|
.his-item { |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
padding: 30rpx 0 30rpx; |
|
|
|
.his-item { |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
padding: 30rpx 0 30rpx; |
|
|
|
|
|
|
|
.hit-left { |
|
|
|
.hit-left { |
|
|
|
|
|
|
|
.his-name { |
|
|
|
color: #454545; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
.his-name { |
|
|
|
color: #454545; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
|
|
|
|
.his-state { |
|
|
|
color: #666; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
.his-state { |
|
|
|
color: #666; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
} |
|
|
|
|
|
|
|
.his-time { |
|
|
|
color: #999; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.his-time { |
|
|
|
color: #999; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 1.8; |
|
|
|
.hit-right { |
|
|
|
height: 130rpx; |
|
|
|
line-height: 130rpx; |
|
|
|
font-size: 14px; |
|
|
|
color: #454545; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.hit-right { |
|
|
|
height: 130rpx; |
|
|
|
line-height: 130rpx; |
|
|
|
font-size: 14px; |
|
|
|
color: #454545; |
|
|
|
font-weight: bold; |
|
|
|
.u-border-bottom, |
|
|
|
.u-border-top { |
|
|
|
border-color: #eee !important; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.u-border-bottom, |
|
|
|
.u-border-top { |
|
|
|
border-color: #eee !important; |
|
|
|
.load-more { |
|
|
|
text-align: center; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |