Commit Graph

11 Commits

Author SHA1 Message Date
39186cfe25 Add Lottie global loading overlay and fix stuck loading states.
Replace per-VC activity indicators with a ref-counted GlobalLoadingManager, and resolve duplicate show/hide calls on Profile, Statistics, and Home tabs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 17:43:13 +08:00
3b17b7f7f0 Implement permission-driven home tab aligned with Android.
Load role-permission on first visit to drive menus, role-based layout, store card, and location reporting with account-scoped persistence and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 17:27:54 +08:00
75d0cb1f9a Sync app branding and fix order list decode for referral_order payloads.
Align display name, icon, and launch screen with suixinkan_ios_new, and tolerate nested sale_user and empty travel objects in listv2 responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 17:07:50 +08:00
31d2b6094b Implement orders tab aligned with Android, including scan verify flows.
Add role-based order/deposit lists, AVFoundation QR scanning, verify dialogs, and ViewModel tests so photographers, scenic admins, and store admins match Android behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:59:53 +08:00
6492f80ef0 Implement statistics tab aligned with Android and fix summary decode.
Add role-based analyse APIs, summary/daily UI with date range sheet, and flexible parsing for string refund amounts from the backend.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:32:14 +08:00
005cac3f78 Implement profile tab with Android-aligned flows and OSS upload.
Add personal info page, account switch, real-name auth, withdrawal settings, session cache extensions, AlibabaCloudOSS SPM, and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:01:05 +08:00
02a80764ea Fix login form card layout to hug content and align with Android.
Use content-driven card height with safe area insets so the form no longer stretches to the screen bottom.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:41:02 +08:00
699f1ba7c4 Add networking layer and wire up v9 login flow with unit tests.
Introduce APIClient/AuthAPI, complete login with multi-account selection, and polish the login card UI with shadow and keyboard dismiss.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:33:34 +08:00
b7d74905b7 Add login flow, session routing, and MainTab shell aligned with reference UI.
Implement token-based root routing, Android-matched login screen, five-slot MainTabBar with scan action, and placeholder tab pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:12:34 +08:00
e290656322 Add base infrastructure and SPM dependencies for iOS development.
Integrate SnapKit and Kingfisher, add BaseViewController and NotificationName, and streamline AGENTS.md with Android-aligned conventions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:59:55 +08:00
b20e613fec Initial commit: Swift UIKit iOS project with MVVM guidelines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:44:51 +08:00