41 lines
1.5 KiB
Vue
41 lines
1.5 KiB
Vue
|
|
<template>
|
|||
|
|
<div class="flex-1 flex flex-col min-h-0">
|
|||
|
|
<header class="bg-white border-b border-gray-200 px-6 py-4">
|
|||
|
|
<div class="flex items-center gap-4">
|
|||
|
|
<button
|
|||
|
|
@click="toggleMobileSidebar"
|
|||
|
|
class="lg:hidden p-2 rounded-md hover:bg-gray-100"
|
|||
|
|
>
|
|||
|
|
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|||
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|||
|
|
</svg>
|
|||
|
|
</button>
|
|||
|
|
|
|||
|
|
<div>
|
|||
|
|
<h1 class="text-2xl font-bold text-gray-900">个人空间</h1>
|
|||
|
|
<p class="text-sm text-gray-600">管理个人信息和偏好设置</p>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</header>
|
|||
|
|
|
|||
|
|
<main class="flex-1 p-6 overflow-auto">
|
|||
|
|
<div class="max-w-4xl mx-auto">
|
|||
|
|
<div class="bg-white rounded-lg shadow-sm border border-gray-200 p-8 text-center">
|
|||
|
|
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-4">
|
|||
|
|
<span class="text-white text-xl font-medium">个</span>
|
|||
|
|
</div>
|
|||
|
|
<h2 class="text-xl font-semibold text-gray-900 mb-2">个人空间</h2>
|
|||
|
|
<p class="text-gray-600">该功能已开发完成,等待集成...</p>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</main>
|
|||
|
|
</div>
|
|||
|
|
</template>
|
|||
|
|
|
|||
|
|
<script setup lang="ts">
|
|||
|
|
import { useAppStore } from '@/stores/app'
|
|||
|
|
|
|||
|
|
const appStore = useAppStore()
|
|||
|
|
const { toggleMobileSidebar } = appStore
|
|||
|
|
</script>
|