增加页面,修改邀请页面名称以及相关跳转
This commit is contained in:
133
me/yaoqing/ymf-yaoqing-tixian-jilu.vue
Normal file
133
me/yaoqing/ymf-yaoqing-tixian-jilu.vue
Normal file
@@ -0,0 +1,133 @@
|
||||
<template>
|
||||
<view style="text-align: left list">
|
||||
<view v-if="list.length" v-for="(item, index) in list" :key="index" class="tixian-item">
|
||||
<view>
|
||||
<view class="u-text-right u-m-t-8" >
|
||||
<text class="u-m-t-8" style="color: green" v-if="item.state===1"> 提现成功</text>
|
||||
<text class="u-m-t-8" style="color: green" v-if="item.state===0"> 提现中</text>
|
||||
<text class="u-m-t-8" style="color: #FD6416" v-if="item.state===-1"> 提现失败</text>
|
||||
</view>
|
||||
|
||||
<view style="color: #999999;font-size: 28upx;">
|
||||
<view class="u-m-t-8"> 收款人账号:{{ item.zhifubao }}</view>
|
||||
<view class="u-m-t-8"> 收款人姓名:{{ item.zhifubaoName }}</view>
|
||||
<view class="u-m-t-8"> 发起时间:{{ item.createAt }}</view>
|
||||
<view class="u-m-t-8" v-if="item.state===1">成功时间 {{ item.outAt }}</view>
|
||||
<view class="u-m-t-8" style="color: #FD6416" v-if="item.state===-1">{{ item.refund }}</view>
|
||||
|
||||
<view class="u-m-t-8 u-text-right" >
|
||||
<!-- 提现金额: -->
|
||||
<text class="u-font-32 " style="color: #FD6416;font-weight: 600"> ¥{{ item.money }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="page-box" v-if="!list.length">
|
||||
<view class="centre">
|
||||
<image src="../../static/images/learn/none.png" mode=""></image>
|
||||
<view class="tips">
|
||||
暂无记录
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
page: 1,
|
||||
limit: 10,
|
||||
total: 0,
|
||||
}
|
||||
},
|
||||
onLoad: function (e) {
|
||||
this.ymfgetMoney();
|
||||
},
|
||||
|
||||
methods: {
|
||||
ymfgetMoney() {
|
||||
let that = this;
|
||||
let token = uni.getStorageSync('token')
|
||||
|
||||
if (token) {
|
||||
//可以提现金额查询预估收入查询
|
||||
let data = {
|
||||
page: this.page,
|
||||
limit: this.limit
|
||||
}
|
||||
this.$Request.getT('app/cash/selectPayDetails', data).then(res => {
|
||||
this.total = res.data.total;
|
||||
if (res.data.list.length > 0) {
|
||||
this.list = [...this.list, ...res.data.list];
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
onReachBottom: function () {
|
||||
if (this.page * this.limit < this.total) {
|
||||
this.page = this.page + 1;
|
||||
this.ymfgetMoney();
|
||||
}
|
||||
},
|
||||
onPullDownRefresh: function () {
|
||||
this.page = 1;
|
||||
// that.list = []
|
||||
this.ymfgetMoney();
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
/* @import "../../static/css/index.css"; */
|
||||
|
||||
page {
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.tixian-item {
|
||||
background: white;
|
||||
padding: 32rpx;
|
||||
margin: 32rpx;
|
||||
font-size: 28rpx;
|
||||
box-shadow: 7px 9px 34px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 16upx;
|
||||
}
|
||||
|
||||
.centre {
|
||||
text-align: center;
|
||||
padding: 200rpx 0;
|
||||
font-size: 32rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
image {
|
||||
width: 360rpx;
|
||||
height: 360rpx;
|
||||
// margin-bottom: 20rpx;
|
||||
margin: 0 auto 20rpx;
|
||||
// border: 1px dotted #000000;
|
||||
}
|
||||
|
||||
.tips {
|
||||
font-size: 34rpx;
|
||||
color: #999999;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin: 80rpx auto;
|
||||
width: 600rpx;
|
||||
border-radius: 32rpx;
|
||||
line-height: 90rpx;
|
||||
color: #ffffff;
|
||||
font-size: 34rpx;
|
||||
background: #ff7581;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user