金币明细、红包明细区分

This commit is contained in:
GaoHao 2024-12-11 16:22:14 +08:00
parent ca7c293d0e
commit ae276c6a50
3 changed files with 15 additions and 3 deletions

View File

@ -155,7 +155,7 @@
//
goqianbao() {
uni.navigateTo({
url: '/me/invite/moneyList'
url: '/me/invite/moneyList?moneyType=1'
});
},
list() {

View File

@ -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 => {

View File

@ -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> -->