From 6054e64192ac7903f1676dca41eb50eaee658c74 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 26 Aug 2025 14:04:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cashFlow/cashFlow.vue | 20 +++++++++----------- pages/useList/useList.vue | 12 ++++++------ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/pages/cashFlow/cashFlow.vue b/pages/cashFlow/cashFlow.vue index db48f95..49f713d 100644 --- a/pages/cashFlow/cashFlow.vue +++ b/pages/cashFlow/cashFlow.vue @@ -8,7 +8,10 @@ - + {{ expenseType }} @@ -34,6 +37,7 @@ 支出¥{{ expenditures }} 入账¥{{ Recorded }} + @@ -222,13 +226,6 @@ export default { } }) - // 如果是"其他"类型,过滤掉提现和订单 - if (this.expenseType === '其他') { - const originalCount = items.length - items = items.filter(item => item.bstType !== 'WITHDRAW' && item.bstType !== 'ORDER') - console.log(`其他类型过滤: 原始${originalCount}条,过滤后${items.length}条`) - } - // 格式化日期显示 const date = this.formatDateForDisplay(item.createTime) @@ -295,7 +292,8 @@ export default { .header { //background: #13c622; - position: relative; + position: fixed; + top: 0; display: flex; flex-direction: column; padding-left: 40rpx; @@ -397,7 +395,7 @@ view { color: #f5f5f5; //border-radius: 50rpx; margin: 0 0; - width: 30%; + width: 48%; height: 100rpx; font-size: 28rpx; display: flex; @@ -414,7 +412,7 @@ view { } .type-item { - width: 45%; + width: 48%; height: 100rpx; background-color: #fff; border-radius: 10rpx; diff --git a/pages/useList/useList.vue b/pages/useList/useList.vue index 5e0d0f2..234bc5f 100644 --- a/pages/useList/useList.vue +++ b/pages/useList/useList.vue @@ -63,18 +63,18 @@ - {{ device.type }} + {{ device.typeName }} ¥ {{ device.amount }} - {{ device.rentDate }} - {{ device.period }} - {{ device.expiryDate }} + {{ device.leaseTime }} + {{ device.suitName }} + {{ device.expirationTime }}