feat: update wallet punch point and report success

This commit is contained in:
2026-07-09 14:27:18 +08:00
parent 2970f1514b
commit 43e6133c21
34 changed files with 6671 additions and 71 deletions

View File

@ -8,6 +8,9 @@ import Foundation
/// ViewModel Android `HomeViewModel`
final class HomeViewModel {
///
static let locationReportPromptText = "您已进入打卡范围"
private(set) var currentScenicName = ""
private(set) var currentAppRole: AppRoleCode?
private(set) var commonMenus: [HomeMenuItem] = []
@ -18,7 +21,7 @@ final class HomeViewModel {
private(set) var showOnlineStatusDialog = false
private(set) var showLocationReportSuccessDialog = false
private(set) var isMinimalTopRole = false
private(set) var locationInfoText = "定位中..."
private(set) var locationInfoText = HomeViewModel.locationReportPromptText
private(set) var reportTimeText = ""
private(set) var isLocationReporting = false
private(set) var needsPermissionReload = false