From 49da1173b4e512aa557c1478fe8bce168b09cacd Mon Sep 17 00:00:00 2001 From: 2977094657 <2977094657@qq.com> Date: Thu, 23 Apr 2026 21:32:46 +0800 Subject: [PATCH] =?UTF-8?q?improvement(entry-ui):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E4=B8=8E=E5=AF=BC=E5=85=A5=E9=A6=96=E5=B1=8F?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重构检测结果页布局,补充版本/账号/数据库统计与更清晰的加载态 - 首页移除直接解密入口,/import 页面隐藏侧边栏,统一首屏使用路径 - 导入页优化预览、错误和重试体验,并补充 SSE 连接清理逻辑 --- frontend/app.vue | 2 +- frontend/pages/detection-result.vue | 334 ++++++++++++++------------ frontend/pages/import.vue | 356 +++++++++++++++++----------- frontend/pages/index.vue | 7 - 4 files changed, 401 insertions(+), 298 deletions(-) diff --git a/frontend/app.vue b/frontend/app.vue index bfa818a..4c5b2c0 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -101,7 +101,7 @@ const showDesktopTitleBar = computed(() => isDesktop.value) const showSidebar = computed(() => { const path = String(route.path || '') - if (path === '/') return false + if (path === '/' || path === '/import') return false if (path === '/decrypt' || path === '/detection-result' || path === '/decrypt-result') return false return !(path === '/wrapped' || path.startsWith('/wrapped/')) }) diff --git a/frontend/pages/detection-result.vue b/frontend/pages/detection-result.vue index 2711968..9649dee 100644 --- a/frontend/pages/detection-result.vue +++ b/frontend/pages/detection-result.vue @@ -1,5 +1,5 @@