From f8b918b9cd3f46f362b09e410a86adf44f22b368 Mon Sep 17 00:00:00 2001 From: liangxu Date: Wed, 29 Apr 2026 00:50:19 +0800 Subject: [PATCH] style(ops-web/login): redesign login with animated mascot and brand panel Replace the previous split-screen with a brand panel that hosts an animated mascot (eyeballs whose pupils track the focused form field and hide while the password is typed) and decorative grid/circles, plus a mobile brand mark and footer links. Swap Ant Design form controls for native inputs styled to match. The mascot is composed from new AnimatedCharacters / EyeBall / Pupil components. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../login-animation/AnimatedCharacters.vue | 209 ++++++++ .../components/login-animation/EyeBall.vue | 55 +++ .../src/components/login-animation/Pupil.vue | 38 ++ apps/ops-web/src/views/LoginView.vue | 461 ++++++------------ 4 files changed, 449 insertions(+), 314 deletions(-) create mode 100644 apps/ops-web/src/components/login-animation/AnimatedCharacters.vue create mode 100644 apps/ops-web/src/components/login-animation/EyeBall.vue create mode 100644 apps/ops-web/src/components/login-animation/Pupil.vue diff --git a/apps/ops-web/src/components/login-animation/AnimatedCharacters.vue b/apps/ops-web/src/components/login-animation/AnimatedCharacters.vue new file mode 100644 index 0000000..cc17817 --- /dev/null +++ b/apps/ops-web/src/components/login-animation/AnimatedCharacters.vue @@ -0,0 +1,209 @@ + + + + + diff --git a/apps/ops-web/src/components/login-animation/EyeBall.vue b/apps/ops-web/src/components/login-animation/EyeBall.vue new file mode 100644 index 0000000..0077da7 --- /dev/null +++ b/apps/ops-web/src/components/login-animation/EyeBall.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/apps/ops-web/src/components/login-animation/Pupil.vue b/apps/ops-web/src/components/login-animation/Pupil.vue new file mode 100644 index 0000000..f2cdf4e --- /dev/null +++ b/apps/ops-web/src/components/login-animation/Pupil.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/apps/ops-web/src/views/LoginView.vue b/apps/ops-web/src/views/LoginView.vue index 42a9c29..5d0f491 100644 --- a/apps/ops-web/src/views/LoginView.vue +++ b/apps/ops-web/src/views/LoginView.vue @@ -1,72 +1,71 @@