同步已迁移的 iOS 模块

This commit is contained in:
2026-06-22 15:35:12 +08:00
parent 0a0d4fbd79
commit 08465fffde
48 changed files with 4455 additions and 15 deletions

View File

@ -14,6 +14,7 @@ struct ProfileView: View {
@Environment(PermissionContext.self) private var permissionContext
@Environment(ScenicSpotContext.self) private var scenicSpotContext
@Environment(AppRouter.self) private var appRouter
@Environment(RouterPath.self) private var router
@Environment(ProfileAPI.self) private var profileAPI
@Environment(ToastCenter.self) private var toastCenter
@Environment(AuthSessionCoordinator.self) private var authSessionCoordinator
@ -234,7 +235,7 @@ struct ProfileView: View {
divider
Button {
toastCenter.show("账号切换待接入")
router.navigate(to: .profile(.accountSwitch))
} label: {
infoRow(title: "当前账号") {
VStack(alignment: .trailing, spacing: 3) {
@ -269,7 +270,7 @@ struct ProfileView: View {
divider
Button {
toastCenter.show("实名认证页面待接入")
router.navigate(to: .profile(.realNameAuth))
} label: {
infoRow(title: "认证状态") {
realNameStatusView
@ -289,6 +290,17 @@ struct ProfileView: View {
infoRow(title: "当前景区") {
scenicStatusView
}
divider
Button {
router.navigate(to: .profile(.settings))
} label: {
infoRow(title: "系统设置") {
rowChevron
}
}
.buttonStyle(.plain)
}
.padding(.horizontal, 24)
.padding(.vertical, 4)