Add scenic selection and cooperation order flows aligned with Android.

Upgrade scenic picker with search, location sorting, permission apply/status, and blocking home dialog; add cooperation order module and order source picker improvements with unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 10:48:43 +08:00
parent 3c4ca7eefb
commit 2bea05b1d9
50 changed files with 5603 additions and 191 deletions

View File

@ -136,6 +136,24 @@ final class MainTabBarController: UITabBarController {
scanHandler.onShowMultiVerifySheet = { [weak self] spots, selected in
self?.presentMultiVerifySheet(spots: spots, selected: selected)
}
scanHandler.onNavigateBindAcquirer = { [weak self] saleUserId in
self?.presentBindAcquirerAfterScan(saleUserId: saleUserId)
}
}
private func presentBindAcquirerAfterScan(saleUserId: Int) {
dismiss(animated: true) { [weak self] in
guard let self else { return }
let controller = BindAcquirerViewController(saleUserId: saleUserId)
self.topNavigationController()?.pushViewController(controller, animated: true)
}
}
private func topNavigationController() -> UINavigationController? {
if let selected = selectedViewController as? UINavigationController {
return selected
}
return selectedViewController?.navigationController
}
private func showScanToast(_ message: String) {