|
@@ -14,7 +14,7 @@ import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
|
|
|
import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging.js'
|
|
|
// 必须导入需要用到的页面生命周期(即使在当前页面上没有直接使用到)
|
|
|
|
|
|
-import { getWalletInfo as _getWalletInfo, accountFlowList } from '@/api/wallet'
|
|
|
+import { getWalletInfo as _getWalletInfo, envelopeList } from '@/api/wallet'
|
|
|
import { formatNumber } from '@/utils'
|
|
|
|
|
|
defineOptions({
|
|
@@ -45,7 +45,7 @@ async function queryList(pageNo, pageSize) {
|
|
|
type: dayType.value,
|
|
|
}
|
|
|
try {
|
|
|
- const res = await accountFlowList(data)
|
|
|
+ const res = await envelopeList(data)
|
|
|
paging.value.complete(res.data.list)
|
|
|
}
|
|
|
catch (error) {
|
|
@@ -177,7 +177,7 @@ onShow(() => {
|
|
|
</view>
|
|
|
<view class="rounded-16rpx bg-white px-20rpx">
|
|
|
<view
|
|
|
- v-for="i in 3" :key="i" class="py-20rpx"
|
|
|
+ v-for="i in dataList" :key="i" class="py-20rpx"
|
|
|
:class="{ 'border-b-1 border-b-solid border-b-#E1E1E1': i !== 3 }"
|
|
|
>
|
|
|
<view class="mb-8rpx flex items-center justify-between text-24rpx">
|