topfans/frontend/pages
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
..
ai-dazi
asset-detail feat(asset-detail): pull-down/up card gestures with smooth follow 2026-07-28 14:13:39 +08:00
castlove refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
components refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
dashboard
discover
exhibition refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
friends
login refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
mailbox feat:修改详细页面,修改为每个类型的页面不对 2026-07-15 19:16:28 +08:00
profile feat(profile): render level progress bar in LV box 2026-07-27 18:02:59 +08:00
register
scan fix:修改登录页流程bug 2026-07-21 16:41:42 +08:00
square feat:修改铸造消耗弹窗样式 2026-07-27 13:38:23 +08:00
starbook feat(asset): restore starbook home More button by Asset.LikeCount ordering 2026-07-24 19:20:16 +08:00
starcity
support-activity refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
tasks refactor(frontend): consolidate user storage read via getStoredUser helper 2026-07-27 17:16:49 +08:00
welcome