feat: rename Skill 市场 to 技能中心 with Star icon

This commit is contained in:
2026-03-21 11:42:49 +08:00
parent edee597d5f
commit b284f395fd
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { useRouter, useRoute } from 'vue-router'
import { useAuthStore } from '@/stores/auth'
import { MessageCircle, BookOpen, Network, LayoutGrid, MessageSquare, LogOut, Cpu, Bot, Activity, CheckSquare, Settings } from 'lucide-vue-next'
import { MessageCircle, BookOpen, Network, LayoutGrid, MessageSquare, LogOut, Cpu, Bot, Activity, CheckSquare, Settings, Star } from 'lucide-vue-next'
const router = useRouter()
const route = useRoute()
@@ -10,7 +10,7 @@ const auth = useAuthStore()
const navItems = [
{ name: '沟通系统', path: '/chat', icon: MessageCircle },
{ name: '智能链路', path: '/agents', icon: Bot },
{ name: 'Skill 市场', path: '/skills', icon: Bot },
{ name: '技能中心', path: '/skills', icon: Star },
{ name: '资料中枢', path: '/knowledge', icon: BookOpen },
{ name: '知识大脑', path: '/graph', icon: Network },
{ name: '任务矩阵', path: '/kanban', icon: LayoutGrid },

View File

@@ -177,7 +177,7 @@ onMounted(fetchSkills)
<div class="view-header">
<div class="header-title">
<span class="title-bracket">[</span>
<span class="title-text">SKILL MANAGEMENT</span>
<span class="title-text">技能中心</span>
<span class="title-bracket">]</span>
</div>
<div class="header-actions">
@@ -186,7 +186,7 @@ onMounted(fetchSkills)
</button>
<button class="btn-add" @click="openCreateModal">
<Plus :size="14" />
<span>New Skill</span>
<span>新建技能</span>
</button>
</div>
</div>
@@ -261,7 +261,7 @@ onMounted(fetchSkills)
<div v-if="modalOpen" class="modal-overlay" @click.self="closeModal">
<div class="modal-card">
<div class="modal-header">
<span class="modal-title">{{ editingSkill ? '// EDIT SKILL' : '// NEW SKILL' }}</span>
<span class="modal-title">{{ editingSkill ? '// 编辑技能' : '// 新建技能' }}</span>
<button class="btn-close" @click="closeModal"><X :size="16" /></button>
</div>
<div class="modal-body">