From 478b274f6b53854aed80e3f8903c52c492f27096 Mon Sep 17 00:00:00 2001 From: wanghao Date: Fri, 27 Mar 2026 16:11:31 +0800 Subject: [PATCH] perf(frontend): optimize login page rendering performance - Remove all backdrop-filter: blur() from 20+ elements (primary perf bottleneck) - Remove all filter: drop-shadow() from 40 animated SVG elements - Reduce animated knowledge nodes from 20 to 12 and connection lines from 20 to 12 - Add will-change hints for GPU-composited animation properties - Add contain: strict on animation container to isolate layout recalc - Restore background radial-gradient overlay for visual depth - Replace repeated languageOptions.find() calls with cached computed property - Consolidate onBeforeUnmount import to top-level - Add prefers-reduced-motion media query for accessibility - Maintain visual fidelity with enhanced box-shadow glow on nodes Made-with: Cursor --- frontend/src/views/auth/Login.vue | 576 ++++++------------------------ 1 file changed, 104 insertions(+), 472 deletions(-) diff --git a/frontend/src/views/auth/Login.vue b/frontend/src/views/auth/Login.vue index c6f0fd17..c22df397 100755 --- a/frontend/src/views/auth/Login.vue +++ b/frontend/src/views/auth/Login.vue @@ -1,132 +1,51 @@