查询流水进行区分

This commit is contained in:
GYJ
2024-12-14 14:40:56 +08:00
parent e79e7f5874
commit cfcc0c15ec
6 changed files with 17 additions and 12 deletions

View File

@@ -1,14 +1,14 @@
const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // // const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 // const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 // const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // // const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 // const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 // const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "http://192.168.1.5:8100/sqx_fast/"; // const ROOTPATH1 = "http://192.168.1.5:8100/sqx_fast/"; //
// const ROOTPATH = "http://192.168.1.5:8100/sqx_fast/"; //后台服务域名 const ROOTPATH = "http://192.168.1.5:8100/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "http://192.168.1.5:8100"; //后台服务域名 const ROOTPATH2 = "http://192.168.1.5:8100"; //后台服务域名
module.exports = { module.exports = {
APIHOST: ROOTPATH, APIHOST: ROOTPATH,

View File

@@ -155,7 +155,7 @@
//钱包明细 //钱包明细
goqianbao() { goqianbao() {
uni.navigateTo({ uni.navigateTo({
url: '/me/invite/moneyList?moneyType=1' url: '/me/invite/moneyList?moneyType=1&viewType=2'
}); });
}, },
list() { list() {

View File

@@ -263,12 +263,12 @@
methods: { methods: {
toGold(){ toGold(){
uni.navigateTo({ uni.navigateTo({
url:'/me/invite/moneyList?moneyType=2' url:'/me/invite/moneyList?moneyType=2&viewType=1'
}) })
}, },
toPack(){ toPack(){
uni.navigateTo({ uni.navigateTo({
url:'/me/invite/moneyList?moneyType=1' url:'/me/invite/moneyList?moneyType=1&viewType=1'
}) })
}, },
//获取用户分销比例 //获取用户分销比例

View File

@@ -36,7 +36,8 @@
page: 1, page: 1,
limit: 10, limit: 10,
totalCount: 0, totalCount: 0,
moneyType: null moneyType: null,
viewType: null,
} }
}, },
onLoad: function(e) { onLoad: function(e) {
@@ -47,6 +48,9 @@
title: e.moneyType == 1 ? '红包明细' : '金币明细' title: e.moneyType == 1 ? '红包明细' : '金币明细'
}); });
} }
if (e.viewType) {
this.viewType = e.viewType
}
this.getMoney(); this.getMoney();
}, },
@@ -60,6 +64,7 @@
page : that.page, page : that.page,
limit : that.limit, limit : that.limit,
moneyType : this.moneyType, moneyType : this.moneyType,
viewType: this.viewType,
} }
this.$Request.getT('app/moneyDetails/queryUserMoneyDetails', data).then(res => { this.$Request.getT('app/moneyDetails/queryUserMoneyDetails', data).then(res => {

View File

@@ -365,7 +365,7 @@
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
bottom: 178rpx; bottom: 278rpx;
.cuIcon::before{ .cuIcon::before{
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;

View File

@@ -105,7 +105,7 @@
</block> </block>
</view> </view>
</view> </view>
<view class="money-box-btn" @click="goNav('/me/invite/moneyList?moneyType=2')"> <view class="money-box-btn" @click="goNav('/me/invite/moneyList?moneyType=2&viewType=2')">
金币明细 金币明细
</view> </view>
<!-- <view class="money-box-btn" @click="goNav('/me/wallet/wallet')"> <!-- <view class="money-box-btn" @click="goNav('/me/wallet/wallet')">