From 69dfdcc09429d1b6fb30f7e8d763e07b12c54a9a Mon Sep 17 00:00:00 2001 From: ittoview Date: Sat, 23 May 2026 03:56:20 +0100 Subject: [PATCH] style: refine ITTO sticky highlight bar --- src/pages/IttoCollectionsPage.tsx | 105 ++++++++++++++++++------------ 1 file changed, 64 insertions(+), 41 deletions(-) diff --git a/src/pages/IttoCollectionsPage.tsx b/src/pages/IttoCollectionsPage.tsx index 2755409..963b467 100644 --- a/src/pages/IttoCollectionsPage.tsx +++ b/src/pages/IttoCollectionsPage.tsx @@ -160,49 +160,72 @@ export function IttoCollectionsPage() { return (
-
-
-
-

输入 · 工具 · 输出

-

按知识领域与子过程汇总

-
-
- {tabs.map((tab) => { - const Icon = tab.icon - const isActive = activeTab === tab.key - return ( - - ) - })} +
+
+

输入 · 工具 · 输出

+

按知识领域与子过程汇总

+
+
+ {tabs.map((tab) => { + const Icon = tab.icon + const isActive = activeTab === tab.key + return ( + + ) + })} +
+
+ + {selectedText && ( +
+
+
+ 标签:{selectedText} + +
+
+ {tabs.map((tab) => { + const Icon = tab.icon + const isActive = activeTab === tab.key + return ( + + ) + })} +
- - {selectedText && ( -
- 标签:{selectedText} - -
- )} -
+ )}