|
@@ -63,7 +63,7 @@
|
|
|
<span v-if="isActive(item.path)" class="absolute bottom-0 left-3 right-3 h-0.5 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full"></span>
|
|
<span v-if="isActive(item.path)" class="absolute bottom-0 left-3 right-3 h-0.5 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full"></span>
|
|
|
</button>
|
|
</button>
|
|
|
<!-- 下拉子菜单 -->
|
|
<!-- 下拉子菜单 -->
|
|
|
- <div class="absolute top-full left-1/2 -translate-x-1/2 pt-2 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 translate-y-1 group-hover:translate-y-0">
|
|
|
|
|
|
|
+ <div class="absolute top-full left-1/2 -translate-x-1/2 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 translate-y-1 group-hover:translate-y-0">
|
|
|
<div class="bg-white rounded-2xl shadow-xl shadow-slate-200/60 border border-slate-100 p-2 min-w-[200px]">
|
|
<div class="bg-white rounded-2xl shadow-xl shadow-slate-200/60 border border-slate-100 p-2 min-w-[200px]">
|
|
|
<!-- 小三角 -->
|
|
<!-- 小三角 -->
|
|
|
<div class="absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border-l border-t border-slate-100 rotate-45"></div>
|
|
<div class="absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border-l border-t border-slate-100 rotate-45"></div>
|
|
@@ -192,7 +192,7 @@
|
|
|
ref="searchInputRef"
|
|
ref="searchInputRef"
|
|
|
v-model="searchQuery"
|
|
v-model="searchQuery"
|
|
|
type="text"
|
|
type="text"
|
|
|
- placeholder="搜索工作流、教程、功能..."
|
|
|
|
|
|
|
+ :placeholder="$t('common.search_placeholder')"
|
|
|
class="w-full pl-11 pr-12 py-2.5 text-sm bg-slate-50 border border-slate-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500/30 focus:border-blue-400 transition-all"
|
|
class="w-full pl-11 pr-12 py-2.5 text-sm bg-slate-50 border border-slate-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500/30 focus:border-blue-400 transition-all"
|
|
|
@keyup.enter="doSearch"
|
|
@keyup.enter="doSearch"
|
|
|
@keyup.escape="searchOpen = false"
|
|
@keyup.escape="searchOpen = false"
|
|
@@ -392,8 +392,8 @@ const navigation = ref([
|
|
|
href: '#',
|
|
href: '#',
|
|
|
path: '/',
|
|
path: '/',
|
|
|
children: [
|
|
children: [
|
|
|
- { path: '/', icon: '🔍', label: '工作流搜索', desc: '搜索 10,000+ 工作流模板' },
|
|
|
|
|
- { path: '/workflow-trade', icon: '💼', label: '工作流交易', desc: '发布或承接定制需求' },
|
|
|
|
|
|
|
+ { path: '/', icon: '🔍', label: t('common.gongzuoliu_search'), desc: t('common.gongzuoliu_search_desc') },
|
|
|
|
|
+ { path: '/workflow-trade', icon: '💼', label: t('common.gongzuoliu_trade'), desc: t('common.gongzuoliu_trade_desc') },
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{ name: 'common.gongzuoliu_trade', href: '#', path: '/workflow-trade' },
|
|
{ name: 'common.gongzuoliu_trade', href: '#', path: '/workflow-trade' },
|
|
@@ -402,8 +402,8 @@ const navigation = ref([
|
|
|
href: '#',
|
|
href: '#',
|
|
|
path: '/learning-system',
|
|
path: '/learning-system',
|
|
|
children: [
|
|
children: [
|
|
|
- { path: '/learning-system', icon: '🎓', label: '学习教程', desc: '系统化 AI 工作流课程' },
|
|
|
|
|
- { path: '/learn-note', icon: '📝', label: '学习笔记', desc: '记录你的学习心得' },
|
|
|
|
|
|
|
+ { path: '/learning-system', icon: '🎓', label: t('common.learning_course'), desc: t('common.learning_course_desc') },
|
|
|
|
|
+ { path: '/learn-note', icon: '📝', label: t('common.learning_note'), desc: t('common.learning_note_desc') },
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{ name: 'common.xuxibiji', href: '#', path: '/learn-note' },
|
|
{ name: 'common.xuxibiji', href: '#', path: '/learn-note' },
|