资金明细优化

pull/1/MERGE
张乐 2020-08-26 18:02:40 +08:00
parent 6a7437f068
commit 6685425ae0
5 changed files with 8 additions and 8 deletions

View File

@ -122,7 +122,7 @@ export function userActivity(){
}
/*
* 资金明细types|0=全部,1=消费,2=充值,3=返佣,4=提现
* 余额明细types|2=全部,1=支出,2=收入
* */
export function getCommissionInfo(q, types) {
return request.get("spread/commission/" + types, q);

View File

@ -3,8 +3,8 @@
<view class='bill-details'>
<view class='nav acea-row'>
<view class='item' :class='type==0 ? "on":""' @click='changeType(0)'>全部</view>
<view class='item' :class='type==1 ? "on":""' @click='changeType(1)'>消费</view>
<view class='item' :class='type==2 ? "on":""' @click='changeType(2)'>充值</view>
<view class='item' :class='type==1 ? "on":""' @click='changeType(1)'>支出</view>
<view class='item' :class='type==2 ? "on":""' @click='changeType(2)'>收入</view>
</view>
<view class='sign-record'>
<view class='list' v-for="(item,index) in userBillList" :key="index">

View File

@ -18,11 +18,11 @@
</view>
<view class='cumulative acea-row row-top'>
<view class='item'>
<view>累计充值()</view>
<view>累计收入()</view>
<view class='money'>{{statistics.recharge || 0}}</view>
</view>
<view class='item'>
<view>累计消费()</view>
<view>累计支出()</view>
<view class='money'>{{statistics.orderStatusSum || 0}}</view>
</view>
</view>
@ -39,7 +39,7 @@
<view class='pictrue'>
<image src='../../../static/images/record2.png'></image>
</view>
<view>消费记录</view>
<view>支出记录</view>
</navigator>
<navigator class='item' hover-class='none' url='/pages/users/user_bill/index?type=2' v-if="recharge_switch">
<view class='pictrue'>