<script setup lang="ts">
/**
 * 养护管理模块（占位页）
 *
 * 预留养护管理功能入口，后续迭代完善。
 */
import { useRouter } from 'vue-router'

const router = useRouter()
</script>

<template>
  <div class="maintenance-page">
    <van-nav-bar title="养护管理" left-arrow fixed placeholder @click-left="router.back()" />

    <div class="maintenance-content">
      <van-empty image="search" description="养护管理功能开发中，敬请期待" />
    </div>
  </div>
</template>

<style lang="scss" scoped>
.maintenance-page {
  min-height: 100vh;
  background: var(--color-bg-page);

  :deep(.van-nav-bar) {
    background: var(--color-primary);
    --van-nav-bar-title-text-color: #fff;
    --van-nav-bar-text-color: #fff;
    --van-nav-bar-icon-color: #fff;
  }
}

.maintenance-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
</style>
