feat: 优化卡片滚动问题

This commit is contained in:
zoujing committed 2026-05-27 12:51:17 +08:00
1 parent c9f93cfa7f
commit 134954335c
2 files changed
+41 -1

No files matched your search

@@ -432,11 +432,15 @@ const finishSwipe = (step) => {
};
const handleTouchStart = (event) => {
if (!canSwipe.value || isAnimating.value || isRecycling.value) return;
if (!canSwipe.value || isAnimating.value) return;
const touch = event.touches?.[0] || event.changedTouches?.[0];
if (!touch) return;
clearRecycleTimer();
clearFillFadeTimer();
isRecycling.value = false;
fillFadeKey.value = "";
startX = touch.clientX;
startY = touch.clientY;
deltaX.value = 0;