Commit Graph
3 Commits
Author SHA1 Message Date
jacobxu666andClaude 289291f195 fix: remove mock/order.js from main package
- Move mock/order.ts to packages/user/mock/ (subpackage-relative import)
- Delete unused api/order.ts, api/reserve.ts, api/scenic.ts (no page imports them)
- Delete unused mock/store.ts, mock/reserve.ts (dead code)
- order-list.vue now uses relative import ../../mock/order

Main package mock/ now only contains: images.js, notice.js, scenic.js
(all used by main package pages)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 12:43:02 +08:00
jacobxu666 a1307fa148 feat(mock): extract all hardcoded data into mock/ modules
- scenic.ts: 42 items from scenic-list.vue + filter options
- scenic-detail.ts: 8 items from scenic-detail.vue
- order.ts: 6 items from order-list.vue (replaces placeholder)
- reserve.ts: 6 items from reserve-list.vue (replaces placeholder)
- notice.ts: 5 items from notice-list.vue
- store.ts: updated to use new local types

All image URLs replaced with constants from images.ts
2026-06-26 10:16:24 +08:00
jacobxu666 ce729704f8 feat(mock): create mock infrastructure with USE_MOCK switch 2026-06-26 09:58:09 +08:00