feat: 添加待确认分类功能,支持获取和确认未分类交易记录;优化相关组件和服务
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
2026-01-10 12:22:37 +08:00
parent 50843d43ff
commit 037bad2d9b
20 changed files with 548 additions and 79 deletions

View File

@@ -1,5 +1,16 @@
<template>
<div class="page-container-flex">
<!-- 顶部固定搜索框 -->
<div class="top-search-bar">
<van-search
v-model="searchKeyword"
placeholder="搜索交易摘要、来源、卡号、分类"
shape="round"
@update:model-value="onSearchChange"
@clear="onSearchClear"
/>
</div>
<!-- 下拉刷新区域 -->
<van-pull-refresh v-model="refreshing" @refresh="onRefresh">
<!-- 加载提示 -->
@@ -31,21 +42,6 @@
:transaction="currentTransaction"
@save="onDetailSave"
/>
<!-- 底部浮动搜索框 -->
<div class="floating-search">
<van-search
v-model="searchKeyword"
placeholder="搜索交易摘要、来源、卡号、分类"
shape="round"
@update:model-value="onSearchChange"
@clear="onSearchClear"
/>
</div>
</div>
</template>
@@ -230,22 +226,16 @@ onBeforeUnmount(() => {
-webkit-overflow-scrolling: touch;
}
.floating-search {
position: fixed;
bottom: 90px;
left: 0;
right: 0;
z-index: 999;
padding: 8px 16px;
background: transparent;
pointer-events: none;
.top-search-bar {
background: var(--van-background-2);
padding: 4px 12px;
z-index: 100;
border-bottom: 1px solid var(--van-border-color);
}
.floating-search :deep(.van-search) {
pointer-events: auto;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
border-radius: 20px;
border: none;
.top-search-bar :deep(.van-search) {
padding: 4px 0;
background: transparent;
}