style: 优化整体title显示

This commit is contained in:
ccnetcore
2026-01-03 02:15:28 +08:00
parent a50f877964
commit c4ab176089
6 changed files with 64 additions and 26 deletions

View File

@@ -0,0 +1,26 @@
<script setup lang="ts">
// 智能体功能 - 预留
</script>
<template>
<div class="image-generation-page">
<el-empty description="智能体功能开发中,敬请期待">
<template #image>
<el-icon style="font-size: 80px; color: var(--el-color-primary);">
<i-ep-picture />
</el-icon>
</template>
</el-empty>
</div>
</template>
<style scoped lang="scss">
.image-generation-page {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
background-color: var(--el-bg-color);
}
</style>

View File

@@ -11,9 +11,10 @@ const isCollapsed = ref(true);
// 菜单项配置
const navItems = [
{ name: 'conversation', label: '对话', icon: 'ChatDotRound', path: '/chat/conversation' },
{ name: 'image', label: '图片生成', icon: 'Picture', path: '/chat/image' },
{ name: 'video', label: '视频生成', icon: 'VideoCamera', path: '/chat/video' },
{ name: 'conversation', label: 'AI对话', icon: 'ChatDotRound', path: '/chat/conversation' },
{ name: 'image', label: 'AI图片', icon: 'Picture', path: '/chat/image' },
{ name: 'video', label: 'AI视频', icon: 'VideoCamera', path: '/chat/video' },
{ name: 'monitor', label: 'AI智能体', icon: 'Monitor', path: '/chat/agent' },
];
// 当前激活的菜单