topfans/docs
zerosaturation 3d984f19cd feat(asset-detail): pull-down/up card gestures with smooth follow
Add AssetCardPullExpand component for locked-state display and wire
up/down gesture symmetry on the asset detail page.

Down-pull at top of list:
- card scales 1.0 -> 1.6 with translateY follow, sibling modules fade
  out, hint text '下拉查看大图' -> '松手查看大图' past 80rpx
- on release past threshold, viewMode flips to expanded

Up-pull in expanded state:
- card shrinks 1.6 -> 1.0 with translateY follow, sibling modules fade
  back in, hint text '上拉收起' -> '松手收起' past 80rpx
- on release past threshold, viewMode flips back to normal
- the locked scale(1.6) lives on the wrapper so the release animation
  stays single-jump, not dual-jump

Implementation:
- AssetCardPullExpand renders the card at scale(1) and exposes isExpanded
  for the parent's locked-state toggle (showMask prop gates the legacy
  full-screen tap-to-collapse overlay)
- both gesture surfaces use lazy startY capture in onMove to avoid
  tap-induced jumps; no CSS transition on the wrapper during active pull
- 0.15s transform transition smooths the release interpolation only
- header bar and report/share buttons stay visible in both states;
  v-if/v-else-if/v-else chain (loading -> error -> expanded -> scroll-view)
  preserved; existing 8 card class names and parent CSS untouched

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 14:13:39 +08:00
..
dify
fix
migrations
specs docs:新增后端bug修改文档 2026-07-21 21:14:22 +08:00
superpowers feat(asset-detail): pull-down/up card gestures with smooth follow 2026-07-28 14:13:39 +08:00
API_CALLS_SUMMARY.md
api-base-url-switch-plan.md
backend-architecture.drawio
backend-audit-2026-07-21.md docs: backend audit report 2026-07-21 (findings + corrections) 2026-07-23 01:11:13 +08:00
DESIGN.md
figma-analysis-data-dashboard.md
figma-analysis-topfans-ranking.md
figma-analysis-xiaohongshu-stars.md
frontend-api-consistency-audit.md
generic-moseying-bird.md
laser-card-style-pool.md
MiniMax 图生图 API 集成方案.md
PRD-activity.md
PRD-my-profile.md
PRD-Rankings.md
PRD.md
slot-refactor.md
Tasks-Rankings.md
初始阶段_经济系统_算法.md
界面交互说明.pdf
硬编码常量审批文档.md
系统框架.md
经济系统计算器.md
账号状态实时响应技术方案.md
需求规格说明书 (1).pdf