<script setup lang="ts">
import { computed } from "vue";
import { useRoute } from "vue-router";
import CapitalClaim from "./components/capitalDetail/index.vue";

const { query } = useRoute();
const id = computed(() => query.id as string);
</script>

<template>
  <div class="invoice__content" bg-white>
    <h1 mb-2 font-bold>认领详情</h1>
    <CapitalClaim :id="id" />
  </div>
</template>

<style>
.invoice__content {
  padding: 30px !important;
}
</style>
