添加预算管理功能,重构账单和消息视图,优化路由和组件交互
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 16s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s

This commit is contained in:
孙诚
2026-01-06 20:55:11 +08:00
parent 10b02df6e2
commit 0ca7f44e37
5 changed files with 827 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="page-container-flex">
<van-nav-bar title="消息中心">
<van-nav-bar v-if="!isComponent" title="消息中心">
<template #right>
<van-icon name="passed" size="18" @click="handleMarkAllRead" />
</template>
@@ -207,6 +207,16 @@ const handleMarkAllRead = () => {
onMounted(() => {
// onLoad 会由 van-list 自动触发
});
const props = defineProps({
isComponent: {
type: Boolean,
default: false
}
});
defineExpose({
handleMarkAllRead
});
</script>
<style scoped>