资金明细优化
parent
6a7437f068
commit
6685425ae0
|
@ -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);
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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'>
|
||||
|
|
Loading…
Reference in New Issue