From 5df910c9f1fcf85d5faa106706713290cd3f585d Mon Sep 17 00:00:00 2001 From: wangxiaogang <1433729587@qq.com> Date: Wed, 10 Jun 2026 15:59:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20UI/=E4=BA=A4=E4=BA=92=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20=E2=80=94=20=E5=8A=A8=E7=94=BB=E7=B3=BB=E7=BB=9F+De?= =?UTF-8?q?sign=20Token+=E9=AA=A8=E6=9E=B6=E5=B1=8F+=E5=BE=AE=E5=8F=8D?= =?UTF-8?q?=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Design Token 统一:CategoryIcon/BudgetBar/Numpad/Skeleton/TransactionItem 硬编码hex颜色替换为 $primary/$border/$danger 等SCSS变量 2. 入场动画:mixins.scss 添加 fade-in-up/bounce-in/count-up 等 mixin+keyframes, 首页卡片/金额/快捷按钮应用交错入场动画 3. 记账成功动画增强:SaveSuccess 增加纸屑粒子爆发+光环脉冲效果, prefers-reduced-motion 下自动隐藏 4. 骨架屏替代文字加载:recurring/group-manage/notifications 三个页面 从"加载中..."替换为骨架屏;空状态增加图标容器+引导文案 5. 交互微反馈:分类按压0.92缩放、推荐虚线呼吸动画、 Tab滑块cubic-bezier优化、快捷按钮弹性按压 6. 左滑删除提示:TransactionItem首项1.5s后自动微微左滑再回弹, 引导用户发现滑动删除功能 --- client/src/components/BudgetBar/BudgetBar.vue | 24 ++-- .../components/CategoryIcon/CategoryIcon.vue | 4 +- client/src/components/Numpad/Numpad.vue | 4 +- .../components/SaveSuccess/SaveSuccess.vue | 117 ++++++++++++++++-- client/src/components/Skeleton/Skeleton.vue | 2 +- .../TransactionItem/TransactionItem.vue | 43 +++++-- client/src/pages/add/index.vue | 17 ++- client/src/pages/group-manage/index.vue | 47 ++++++- client/src/pages/index/index.vue | 7 +- client/src/pages/notifications/index.vue | 48 ++++++- client/src/pages/recurring/index.vue | 44 +++++-- client/src/styles/mixins.scss | 62 ++++++++++ 12 files changed, 360 insertions(+), 59 deletions(-) diff --git a/client/src/components/BudgetBar/BudgetBar.vue b/client/src/components/BudgetBar/BudgetBar.vue index e31d456..275c594 100644 --- a/client/src/components/BudgetBar/BudgetBar.vue +++ b/client/src/components/BudgetBar/BudgetBar.vue @@ -1,7 +1,7 @@