Commit Graph
14 Commits
Author SHA1 Message Date
lujiuyinandCursor 87696a4774 Introduce unified design tokens and migrate Home, Orders, and Statistics UI.
Establish AppColor/AppFont/AppSpacing/AppRadius theming, shared components, and design-system docs so pilot screens align with Android while keeping iOS-native spacing and touch targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 17:58:18 +08:00
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 39a9038a3b Switch default actor isolation to nonisolated and document concurrency conventions.
Align app and test targets on nonisolated defaults so ViewModels stay off MainActor by default, and capture the resulting patterns in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:18:20 +08:00
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 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
lujiuyinandCursor 6cc2336e7b Expand AGENTS.md with migration and development conventions.
Document SwiftUI-to-UIKit migration approach, third-party libraries, list patterns, unit testing requirements, and imperative UIKit style.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:50:14 +08:00
lujiuyinandCursor 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