补齐预约详情顶部导航

This commit is contained in:
2026-07-02 14:10:01 +08:00
parent fed6a99aa1
commit 0b2f4b2a7a
@@ -1,5 +1,6 @@
<template> <template>
<div class="detail-view"> <MobileShell title="预约详情">
<div class="detail-view">
<LoadingState v-if="loading" text="预约详情加载中" /> <LoadingState v-if="loading" text="预约详情加载中" />
<EmptyState v-else-if="loadError" title="预约详情加载失败" :description="loadError"> <EmptyState v-else-if="loadError" title="预约详情加载失败" :description="loadError">
<template #action> <template #action>
@@ -54,7 +55,8 @@
</div> </div>
</div> </div>
</template> </template>
</div> </div>
</MobileShell>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@@ -62,6 +64,7 @@ import { computed, onMounted, ref } from 'vue'
import { useRoute, useRouter } from 'vue-router' import { useRoute, useRouter } from 'vue-router'
import EmptyState from '@/components/EmptyState.vue' import EmptyState from '@/components/EmptyState.vue'
import LoadingState from '@/components/LoadingState.vue' import LoadingState from '@/components/LoadingState.vue'
import MobileShell from '@/components/MobileShell.vue'
import PageSection from '@/components/PageSection.vue' import PageSection from '@/components/PageSection.vue'
import { managerPlanningApi } from '@/api/managerPlanning' import { managerPlanningApi } from '@/api/managerPlanning'
import type { Appointment } from '@/types/manager' import type { Appointment } from '@/types/manager'