feat:个人中心完成

This commit is contained in:
李伊帆
2026-09-16 15:21:41 +08:00
parent 56eb59ed5d
commit 8394da7ecb
34 changed files with 3415 additions and 18 deletions

View File

@@ -2,7 +2,8 @@
import AppTabBar from '@/components/AppTabBar.vue'
import { useGreeting } from '@/hooks/use-greeting'
import { useQuickEntries } from '@/hooks/use-quick-entries'
import type { ProjectItem, ServiceItem } from '@/types/home'
import type { ProjectItem, QuickEntryItem, ServiceItem } from '@/types/home'
import { navigateQuickEntry } from '@/utils/quick-entry-navigate'
import headerBg from '@/static/icons/1.png'
import softwareIllus from '@/static/icons/software.png'
import hardwareIllus from '@/static/icons/hardware.png'
@@ -56,6 +57,10 @@ const services: ServiceItem[] = [
},
]
function handleQuickEntryTap(entry: QuickEntryItem) {
navigateQuickEntry(entry.id, entry.label)
}
const projects: ProjectItem[] = [
{
id: '1',
@@ -163,6 +168,7 @@ const projects: ProjectItem[] = [
v-for="entry in pinnedEntries"
:key="entry.id"
class="home__quick-item"
@tap="handleQuickEntryTap(entry)"
>
<image
class="home__quick-icon"