Skip to content

优化课表周翻页触摸手势 - #25

Merged
UE-DND merged 2 commits into
masterfrom
codex/timetable-week-touch
Sep 28, 2026
Merged

UE-DND merged 2 commits into
masterfrom
codex/timetable-week-touch

Conversation

@UE-DND

@UE-DND UE-DND commented Sep 28, 2026

Copy link
Copy Markdown
Owner

背景

移动端课表横向翻周容易受浏览器滚动惯性和吸附时机影响,手势结束后页面收尾不够稳定。

变更

  • 增加课表触摸翻页控制,依据方向、距离和速度识别横向翻页,并将一次手势限制为相邻一周。
  • 手势结束后以受控动画吸附到目标周,同时保留纵向滚动。

兼容性与迁移

无。

验证

  • vp run check 通过。
  • 新增了翻页逻辑测试和浏览器回归用例;本次未运行测试。

@UE-DND
UE-DND added this pull request to stack #29 September 28, 2026 07:45
@UE-DND
UE-DND force-pushed the codex/timetable-week-touch branch from 15d0d08 to 52071c0 Compare September 28, 2026 08:23
@UE-DND
UE-DND merged commit 832e687 into master Sep 28, 2026
8 checks passed
@UE-DND
UE-DND deleted the codex/timetable-week-touch branch September 28, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant