样式调整
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 19s
Docker Build & Deploy / Deploy to Production (push) Has been skipped

This commit is contained in:
2025-12-28 10:23:57 +08:00
parent 832015cd22
commit 1b011309d2
12 changed files with 227 additions and 64 deletions

View File

@@ -1,14 +1,5 @@
<template>
<div class="page-container-flex">
<!-- 顶部导航栏 -->
<van-nav-bar title="交易记录" placeholder>
<template #right>
<van-button type="primary" size="small" @click="openAddDialog">
手动录账
</van-button>
</template>
</van-nav-bar>
<!-- 下拉刷新区域 -->
<van-pull-refresh v-model="refreshing" @refresh="onRefresh">
<!-- 加载提示 -->
@@ -25,6 +16,9 @@
@click="viewDetail"
@delete="handleDelete"
/>
<!-- 底部安全距离 -->
<div style="height: calc(50px + env(safe-area-inset-bottom, 0px))"></div>
</van-pull-refresh>
<!-- 详情/编辑弹出层 -->
@@ -517,6 +511,12 @@ onMounted(async () => {
await loadClassifyList()
// 不需要手动调用 loadDatavan-list 会自动触发 onLoad
})
// 暴露给父级方法调用
defineExpose({
openAddDialog
})
</script>
<style scoped>