Advance UIKit rewrite with AMap integration and core UI modules.

Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-26 15:16:12 +08:00
parent 9edf993432
commit d99a5b1bf8
124 changed files with 5195 additions and 1536 deletions

View File

@ -14,6 +14,7 @@ struct ScenicAreaNode: Decodable, Equatable, Identifiable {
let name: String
let children: [ScenicAreaNode]
///
enum CodingKeys: String, CodingKey {
case id
case code
@ -44,6 +45,7 @@ struct ScenicAreaNode: Decodable, Equatable, Identifiable {
struct ScenicApplicationPendingsResponse: Decodable, Equatable {
let items: [ScenicApplicationPendingResponse]
///
enum CodingKeys: String, CodingKey {
case items
case list
@ -83,6 +85,7 @@ struct ScenicApplicationPendingResponse: Decodable, Equatable, Identifiable {
let auditNote: String?
let createdAt: String
///
enum CodingKeys: String, CodingKey {
case id
case code
@ -171,6 +174,7 @@ struct ScenicApplicationSubmitRequest: Encodable, Equatable {
let remark: String
let scenicId: Int
///
enum CodingKeys: String, CodingKey {
case scenicName = "scenic_name"
case scenicImages = "scenic_images"
@ -196,6 +200,7 @@ struct RoleApplyPendingResponse: Decodable, Equatable, Hashable, Identifiable {
let auditedAt: String?
let auditNote: String?
///
enum CodingKeys: String, CodingKey {
case id
case code
@ -259,6 +264,7 @@ struct RoleApplyScenicItem: Decodable, Equatable, Hashable, Identifiable {
let id: Int
let name: String
///
enum CodingKeys: String, CodingKey {
case id
case name
@ -283,6 +289,7 @@ struct RoleApplySubmitRequest: Encodable, Equatable {
let scenicId: [Int]
let roleId: Int
///
enum CodingKeys: String, CodingKey {
case scenicId = "scenic_id"
case roleId = "role_id"
@ -295,6 +302,7 @@ struct ScenicApplicationUploadPlaceholder: Encodable, Equatable {
let fileType: String
let fileSize: Int64
///
enum CodingKeys: String, CodingKey {
case fileName = "file_name"
case fileType = "file_type"