This commit replaces the previous simple layout with a comprehensive dashboard interface using Nuxt UI Pro components. - Introduced a new default layout with `UDashboardSidebar` and `UDashboardPanel`. - Refactored the main page (`index.vue`) by splitting it into `ItemManageStatistics` and `ItemManageTable` components. - Added new computed stats for monthly growth and total images, and displayed them in new statistic cards. - Reorganized components from `item/` to a new `itemManage/` directory. - Added custom primary and secondary theme colors.
24 lines
451 B
Vue
24 lines
451 B
Vue
<template>
|
|
<UDashboardPanel>
|
|
<template #header>
|
|
<UDashboardNavbar :title="pageTitle" toggle>
|
|
<template #leading>
|
|
<UDashboardSidebarCollapse />
|
|
</template>
|
|
</UDashboardNavbar>
|
|
</template>
|
|
|
|
<template #body>
|
|
<ItemManageStatistics />
|
|
|
|
<ItemManageTable />
|
|
</template>
|
|
</UDashboardPanel>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
const pageTitle = "物品管理";
|
|
</script>
|
|
|
|
<style></style>
|