diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aff7ff..90bfe00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. See [standa ## Version 2026.10.12-it-tools-pro +### 🗂️ 首页「全部工具」默认折叠 + 数量徽章 +- 首页「全部工具」区块改为**默认折叠**(只显示标题行,点标题展开/收起,带展开动画) +- 标题行左侧箭头(展开时旋转 90°),右侧绿色圆角徽章显示**功能总数**(当前 108) +- 标题行 hover 高亮,点击切换,带 `aria-expanded` +- 验证:默认 grid 不存在(折叠)、徽章显示 108、点击展开 108 卡片+箭头转、再点收起 ✓ + + ### 🤖 AI 问答限定只答本站功能 - AI 问答改为只回答与本站功能/工具相关的问题(某功能在哪、怎么用、选哪个、功能区别) - 前端随请求发送**全站工具清单**(按分类、实时随工具增减),后端嵌入系统提示划定范围 diff --git a/src/pages/Home.page.vue b/src/pages/Home.page.vue index e25a924..afe226d 100644 --- a/src/pages/Home.page.vue +++ b/src/pages/Home.page.vue @@ -79,6 +79,9 @@ const { t } = useI18n(); const favoriteTools = computed(() => toolStore.favoriteTools); +// 全部工具默认折叠,点击标题展开,右侧显示数量 +const showAllTools = ref(false); + // Update favorite tools order when drag is finished function onUpdateFavoriteTools() { toolStore.updateFavoriteTools(favoriteTools.value); // Update the store with the new order @@ -214,17 +217,76 @@ function onUpdateFavoriteTools() { -