liudan 5 months ago
parent cfa671c3ff
commit 09ea7964c0
  1. 2
      pages/user/index.vue
  2. 8
      pages/users/order_confirm/index.vue
  3. 66
      pages/users/user_spread_money/index.vue

@ -162,7 +162,7 @@
</view>
<view class="user-menus shequn" @click="goOtherPage('/pages/users/promoter-list/index')">
<view class="title skeleton-rect">我的下级<text class="iconfont icon-xiangyou" style="font-size:24rpx"></text></view>
<view class="title skeleton-rect">我的团队<text class="iconfont icon-xiangyou" style="font-size:24rpx"></text></view>
<view class="sqContent">
<view class="sqItem">
<view class="num">{{userInfo.bd_spread_count||0}}</view>

@ -569,6 +569,14 @@
title: '可用余额:',
payStatus: this.$store.getters.globalData.yue_pay_status,
},
{
"name": "佣金支付",
"icon": "icon-yinhangqia",
value: 'brokerage',
title: '佣金支付:',
payStatus: 1,
// payStatus: this.$store.getters.globalData.yue_pay_status,
},
{
name: "支付宝支付",
icon: "icon-icon34",

@ -4,6 +4,22 @@
<view class='promoterHeader'>
<timeSlot @changeTime="changeTime"></timeSlot>
</view>
<view class="statusList">
<view :class="activeIndex==0?'statusItem active':'statusItem'" @click="getStatus(1)">
<text>收入</text>
<view class="flag" v-if="activeIndex==0"></view>
</view>
<view :class="activeIndex==1?'statusItem active':'statusItem'" @click="getStatus(0)">
<text>支出</text>
<view class="flag" v-if="activeIndex==1"></view>
</view>
<view :class="activeIndex==2?'statusItem active':'statusItem'" @click="getStatus(2)">
<text>冻结</text>
<view class="flag" v-if="activeIndex==2"></view>
</view>
</view>
<view class='sign-record' v-if="type==1">
<block v-for="(item,index) in recordList" :key="index" v-if="recordList.length>0">
<view class='list'>
@ -102,7 +118,10 @@
userInfo:'',
times: [],
start: "",
stop: ""
stop: "",
activeIndex:0,
status:null,
pm:1
};
},
computed: mapGetters(['isLogin','viewColor']),
@ -133,6 +152,21 @@
this.getRecordList();
},
methods: {
getStatus(val){
if(val!=2){
this.status=null;
this.pm=val;
if(val==1){this.activeIndex=0;}
if(val==0){this.activeIndex=1;}
}else{
this.status=0;
this.pm=null;
this.activeIndex=2
}
this.getRecordList();
},
spreadInfo(){
spreadInfo().then(res => {
this.userInfo = res.data
@ -167,7 +201,9 @@
page: page,
limit: limit,
start: start,
stop: stop
stop: stop,
status:that.status,
pm:that.pm
}, recordType).then(res => {
let len = res.data.list.length;
let recordListData = res.data.list;
@ -182,7 +218,9 @@
page: page,
limit: limit,
start: start,
stop: stop
stop: stop,
status:that.status,
pm:that.pm
}).then(res => {
let len = res.data.list.length;
let recordListData = res.data.list;
@ -239,4 +277,26 @@
margin-right: 6rpx;
font-weight: normal;
}
.statusList{
display: flex;
justify-content: space-between;
padding-top:10rpx;
background-color: #fff;
.statusItem{
flex:1;
text-align: center;
.flag{
width:40rpx;
height:10rpx;
background-color: #116636;
border-radius: 10px;
margin:0 auto;
margin-top:20rpx;
}
}
}
.active{
color:#116636;
}
</style>

Loading…
Cancel
Save