fix
This commit is contained in:
@@ -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>
|
||||
|
||||
<!-- 交易详情组件 -->
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user