Commit Graph

3 Commits

Author SHA1 Message Date
DEV_DSW
9b33bffdca refactor: improve TypeScript type safety across codebase
Add global pinia type declaration for the custom unistorage option.
Add typed interfaces for all Pinia stores and enforce type safety on state and actions.
Add strict type annotations to all utility classes and helper functions.
Fix API response typing in the quick booking list page.
Remove unused iconsMap import in RefundPopup component.
Update package build scripts and add missing terser dependency.
Clean up outdated auto-generated component type definitions.
2026-06-04 13:36:32 +08:00
duanshuwen
e3f8e94547 feat: add dynamic nav, fix album preview and store types
add dynamic TopNavBar to goods page that updates styling based on scroll position
fix album page preview logic, replace uni preview with vant showImagePreview and correct typos
add TypeScript type annotation to picture store action
clean up album page layout and fix invalid img tag
use computed album list from picture store
2026-05-31 22:06:11 +08:00
duanshuwen
c977c485ef refactor: restructure pinia stores, fix calendar, add utilities
- Restructure Pinia store organization from src/stores/ to src/store/ with modular stores
- Update main.ts to use locally created Pinia instance instead of imported pre-configured one
- Fix template syntax errors in Calendar component: correct missing class spacing and incorrect closing tags
- Remove unused calendar demo/example files and documentation
- Add new constant files, token management utilities, and client configuration constants
- Add custom hooks useGoHome and useGoLogin for navigation and login logic
2026-05-26 23:02:05 +08:00