对接接口

This commit is contained in:
wangxiaowei
2025-12-18 15:28:00 +08:00
parent 63d8e04465
commit ee681133b8
15 changed files with 715 additions and 585 deletions

View File

@ -118,6 +118,7 @@
import type { IUserResult } from '@/api/types/user'
import { getUserInfo, getUserTransactionDetails } from '@/api/user'
import { router } from '@/utils/tools'
import { u } from '@tanstack/vue-query/build/legacy/queryClient-CAHOJcvF'
const OSS = inject('OSS')
const userStore = useUserStore()
@ -142,7 +143,10 @@
})
const Wallet = {
// 上拉加载的回调: 其中num:当前页 从1开始, size:每页数据条数,默认10
/**
* 上拉加载
* @param mescroll
*/
upCallback: (mescroll) => {
const filter = {
page: mescroll.num,
@ -179,6 +183,12 @@
* 去提现
*/
handleToRecharge: () => {
uni.$on('refreshWalletPage', () => {
uni.$off('refreshWalletPage')
// 切换tab时,重置当前的mescroll
list.value = []
getMescroll().resetUpScroll();
})
uni.navigateTo({
url: '/bundle/parten/pages/withdraw/withdraw'
})