From b2792a114466d6cc845e07d2edf50e790b946654 Mon Sep 17 00:00:00 2001 From: leokaka1 Date: Tue, 20 Jan 2026 23:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E4=BA=86=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=AF=B9=E6=AF=94=E5=AF=B9=E8=AF=9D=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pages/main.html | 156 +++++-- web/pages/model-compare-chat.html | 671 ++++++++++++++++++++++++++++ web/pages/model-compare-create.html | 3 +- 3 files changed, 794 insertions(+), 36 deletions(-) create mode 100644 web/pages/model-compare-chat.html diff --git a/web/pages/main.html b/web/pages/main.html index cc6dee9..45016f6 100644 --- a/web/pages/main.html +++ b/web/pages/main.html @@ -139,6 +139,30 @@ --danger: #f5222d; --success: #52c41a; } + + /* 侧边栏滑块动画 */ + .sidebar-slider { + position: absolute; + width: 4px; + height: 0; + background-color: var(--primary); + border-radius: 0 2px 2px 0; + transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), + height 0.3s cubic-bezier(0.4, 0, 0.2, 1); + pointer-events: none; + z-index: 10; + } + + /* 菜单项相对定位 */ + .nav-item-wrapper { + position: relative; + } + + /* 选中项背景动画 */ + .nav-link { + position: relative; + z-index: 1; + } @@ -151,47 +175,66 @@ -