金币明细、红包明细区分
This commit is contained in:
parent
ca7c293d0e
commit
ae276c6a50
|
|
@ -155,7 +155,7 @@
|
|||
//钱包明细
|
||||
goqianbao() {
|
||||
uni.navigateTo({
|
||||
url: '/me/invite/moneyList'
|
||||
url: '/me/invite/moneyList?moneyType=1'
|
||||
});
|
||||
},
|
||||
list() {
|
||||
|
|
|
|||
|
|
@ -35,10 +35,18 @@
|
|||
list: [],
|
||||
page: 1,
|
||||
limit: 10,
|
||||
totalCount: 0
|
||||
totalCount: 0,
|
||||
moneyType: null
|
||||
}
|
||||
},
|
||||
onLoad: function(e) {
|
||||
console.log(e)
|
||||
if (e.moneyType) {
|
||||
this.moneyType = e.moneyType
|
||||
uni.setNavigationBarTitle({
|
||||
title: e.moneyType == 1 ? '红包明细' : '金币明细'
|
||||
});
|
||||
}
|
||||
this.getMoney();
|
||||
},
|
||||
|
||||
|
|
@ -50,7 +58,8 @@
|
|||
if (token) {
|
||||
let data = {
|
||||
page : that.page,
|
||||
limit : that.limit
|
||||
limit : that.limit,
|
||||
moneyType : this.moneyType,
|
||||
}
|
||||
|
||||
this.$Request.getT('app/moneyDetails/queryUserMoneyDetails', data).then(res => {
|
||||
|
|
|
|||
|
|
@ -105,6 +105,9 @@
|
|||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="money-box-btn" @click="goNav('/me/invite/moneyList?moneyType=2')">
|
||||
金币明细
|
||||
</view>
|
||||
<!-- <view class="money-box-btn" @click="goNav('/me/wallet/wallet')">
|
||||
立即充值
|
||||
</view> -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue