From d9905c925052f58e92a83b9367d0ac79ca3fa77e Mon Sep 17 00:00:00 2001 From: personal82555 Date: Tue, 13 Oct 2026 17:57:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=BE=BD=E7=AB=A0=E6=94=B9=E4=B8=BA=E7=B4=A7=E8=B7=9F=E7=BB=84?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 徽章从标题行最右改为紧跟组名右侧 - nf-head徽章入标题内; h3/全部工具去两端对齐改紧邻 - 内联样式竖直居中, 绿色圆角一致 验证: 全部工具gap8px远离右缘, 视觉7/11紧跟组名 ✓ CHANGELOG记录 --- CHANGELOG.md | 7 +++++++ src/pages/Home.page.vue | 28 ++++++++++++++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a24f09e..3cb3813 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 +### 🔢 数量徽章改为紧跟组名 +- 首页各组数量徽章从「标题行最右」改为**紧跟组名显示**(组名右侧紧邻) +- nf-head 组:徽章放进标题内(组名后);h3 组与全部工具:去掉两端对齐改紧邻排列 +- 徽章内联样式(inline-block、竖直居中、左间距 5px),绿色圆角保持一致 +- 验证:全部工具徽章距组名 8px、badgeRight 远离容器右缘;视觉确认 7/11 紧跟组名 ✓ + + ### 🔢 首页所有组右侧显示功能数量 - 首页每个工具组标题右侧统一加**绿色圆角数量徽章**:精选推荐、近期新功能、最近使用、我的收藏、新增工具、全部工具 - `nf-head` 组用 `margin-left:auto` 靠右;h3 组改弹性两端对齐(左标签 + 右徽章) diff --git a/src/pages/Home.page.vue b/src/pages/Home.page.vue index 51fd7f9..bef7e1d 100644 --- a/src/pages/Home.page.vue +++ b/src/pages/Home.page.vue @@ -124,9 +124,8 @@ function onUpdateFavoriteTools() {
- ⭐ 精选推荐 + ⭐ 精选推荐 {{ recoList.length }} 为您精选的实用工具,管理员持续更新 - {{ recoList.length }}
@@ -142,9 +141,8 @@ function onUpdateFavoriteTools() {
- 🆕 近期新功能 + 🆕 近期新功能 {{ newFeatures.length }} 持续更新中,登录后数据云端同步、授权跟随账号 - {{ newFeatures.length }}
@@ -243,28 +241,30 @@ function onUpdateFavoriteTools() {