fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 21s
Docker Build & Deploy / Deploy to Production (push) Successful in 5s

This commit is contained in:
2025-12-27 11:50:12 +08:00
parent 9dbdc04a82
commit e68aef6ba1
8 changed files with 122 additions and 76 deletions

View File

@@ -25,6 +25,7 @@
<p v-if="dateTransactions.length"> {{ dateTransactions.length }} 笔交易</p>
</div>
<div class="bills-scroll-container">
<TransactionList
:transactions="dateTransactions"
:loading="listLoading"
@@ -33,6 +34,7 @@
@click="viewDetail"
/>
</div>
</div>
</van-popup>
<!-- 交易详情组件 -->

View File

@@ -141,13 +141,15 @@
<div class="list-header">
<h3 style="margin: 16px;">关联账单列表</h3>
</div>
<TransactionList
:transactions="transactionList"
:loading="false"
:finished="true"
:show-delete="false"
@click="handleTransactionClick"
/>
<div class="bills-scroll-container">
<TransactionList
:transactions="transactionList"
:loading="false"
:finished="true"
:show-delete="false"
@click="handleTransactionClick"
/>
</div>
</div>
</van-popup>
@@ -434,7 +436,13 @@ onMounted(() => {
.transaction-list-popup {
height: 100%;
overflow-y: auto;
display: flex;
flex-direction: column;
}
.list-header{
padding: 16px;
border-bottom: 1px solid #ebedf0;
}
.email-content {

View File

@@ -562,7 +562,7 @@ const goToAnalysis = () => {
// 打开分类账单列表
const goToCategoryBills = (classify, type) => {
selectedClassify.value = classify || ''
selectedClassify.value = classify || '未分类'
selectedType.value = type
selectedCategoryTitle.value = `${classify || '未分类'} - ${type === 0 ? '支出' : '收入'}`
@@ -1076,14 +1076,6 @@ onActivated(() => {
color: var(--van-text-color-2);
}
/* 账单列表滚动容器 */
.bills-scroll-container {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
/* 修复深色模式下van组件的背景色 */
.category-bills :deep(.van-list) {
background: transparent;