- 首页UI

- 首页 地图标注圈子成员
- 圈子成员列表接口数据接入
This commit is contained in:
linshujie 2026-05-30 18:32:56 +08:00
parent df7d7dd5de
commit bf60b57833
205 changed files with 4218 additions and 1411 deletions

View File

@ -37,7 +37,9 @@ target 'QuickLocation' do
pod 'MBProgressHUD', :git => 'https://github.com/jdg/MBProgressHUD.git'
pod 'MarqueeLabel'
pod 'Popover'
pod 'SDCycleScrollView'
pod 'lottie-ios'
#第三方SDk
pod 'GYSDK' #个推一键登录

View File

@ -78,6 +78,7 @@ PODS:
- libwebp/sharpyuv (1.5.0)
- libwebp/webp (1.5.0):
- libwebp/sharpyuv
- lottie-ios (4.6.0)
- MarqueeLabel (4.5.3)
- Masonry (1.1.0)
- MBProgressHUD (1.2.0)
@ -106,6 +107,11 @@ PODS:
- RxSwiftExt/RxCocoa (6.2.1):
- RxCocoa (~> 6.0)
- RxSwiftExt/Core
- SDCycleScrollView (1.82):
- SDWebImage (>= 5.0.0)
- SDWebImage (5.21.7):
- SDWebImage/Core (= 5.21.7)
- SDWebImage/Core (5.21.7)
- SGQRCode (4.1.0)
- SnapKit (5.7.1)
- SwiftDate (7.0.0)
@ -124,6 +130,7 @@ DEPENDENCIES:
- HXPHPicker
- IQKeyboardManagerSwift
- KingfisherWebP
- lottie-ios
- MarqueeLabel
- Masonry
- MBProgressHUD (from `https://github.com/jdg/MBProgressHUD.git`)
@ -135,6 +142,7 @@ DEPENDENCIES:
- RxDataSources
- RxSwift
- RxSwiftExt
- SDCycleScrollView
- SGQRCode (~> 4.1.0)
- SnapKit
- SwiftDate
@ -166,6 +174,7 @@ SPEC REPOS:
- Kingfisher
- KingfisherWebP
- libwebp
- lottie-ios
- MarqueeLabel
- Masonry
- MJRefresh
@ -177,6 +186,8 @@ SPEC REPOS:
- RxRelay
- RxSwift
- RxSwiftExt
- SDCycleScrollView
- SDWebImage
- SGQRCode
- SnapKit
- SwiftDate
@ -217,6 +228,7 @@ SPEC CHECKSUMS:
Kingfisher: fc2788e497306f97fdef6e4df49f02106cb57788
KingfisherWebP: 064869d5f1201396ec121dcc4c9cfbdba6ecb900
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
lottie-ios: 8f959969761e9c45d70353667d00af0e5b9cadb3
MarqueeLabel: 0c57d4c6634e04a6d015af79f7c9a175b2309525
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: 1b0fb447e80a0fda94808180750e8b78a07b3cd2
@ -229,6 +241,8 @@ SPEC CHECKSUMS:
RxRelay: 335c78b926a2aea8d863a6d25f1ed3b5ad8e8705
RxSwift: 4e28be97cbcfeee614af26d83415febbf2bf6f45
RxSwiftExt: 43aaacb6a4d3c69c55e9d1cf4f79920043d13583
SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
SDWebImage: e9fc87c1aab89a8ab1bbd74eba378c6f53be8abf
SGQRCode: 6ad664d63f38f2842503bc5087812c5a3136d924
SnapKit: d612e99e678a2d3b95bf60b0705ed0a35c03484a
SwiftDate: bbc26e26fc8c0c33fbee8c140c5e8a68293a148a
@ -238,6 +252,6 @@ SPEC CHECKSUMS:
URLNavigator: e9c0426ba6e6ac57f34d018bbf3df840797f984d
ZXSDK: 786338c0a18e98e03eda00699c3bfd2700b97117
PODFILE CHECKSUM: 8221656bba011c856037590658f6282ed7f4e02c
PODFILE CHECKSUM: 3f46a4156fa0c5d43a1b12c2295ee879276d4f69
COCOAPODS: 1.16.2

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,8 @@ enum UserAPI {
/// 用户信息
case userInfo
/// 圈子信息
case groupInfo
/// 退出登录
case logout
@ -34,6 +36,8 @@ extension UserAPI: MultiTargetProtocol {
return "api/user/login"
case .userInfo:
return "api/user"
case .groupInfo:
return "mapi/user/fullinfo"
case .logout:
return "api/user/logout"
}
@ -41,7 +45,7 @@ extension UserAPI: MultiTargetProtocol {
var method: Moya.Method {
switch self {
case .userInfo:
case .userInfo, .groupInfo:
return .get
default:
return .post
@ -58,7 +62,10 @@ extension UserAPI: MultiTargetProtocol {
return .requestParameters(parameters: params, encoding: JSONEncoding())
case .userInfo:
return .requestParameters(parameters: Parameters(), encoding: JSONEncoding())
return .requestParameters(parameters: Parameters(), encoding: URLEncoding())
case .groupInfo:
return .requestParameters(parameters: Parameters(), encoding: URLEncoding())
case .logout:
return .requestParameters(parameters: Parameters(), encoding: JSONEncoding())

View File

@ -19,6 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
setupLocation()
ApiManager.shared.setup()
AppRouter.shared.setup()
@ -58,6 +59,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return true
}
func setupLocation() {
let manager = AuthorizeManager.manager(type: .locationWhenInUse)
if manager?.authorizeStatus() != .authorized {
manager?.authorize(nil)
Permission.openAppSetting(title: "获取位置失败",
message: "请在iPhone的“设置-隐私-定位”选项中允许\(kAppName)访问你的位置。")
}
}
}
extension AppDelegate {

View File

@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "map_btn_sos@2x.png",
"filename" : "Group_238@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_btn_sos@3x.png",
"filename" : "Group_238@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

View File

@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "map_btn_menu@2x.png",
"filename" : "Group_240@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_btn_menu@3x.png",
"filename" : "Group_240@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "map_btn_trip@2x.png",
"filename" : "Frame_29@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_btn_trip@3x.png",
"filename" : "Frame_29@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

View File

@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "map_top_panel@2x.png",
"filename" : "Frame_35@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_top_panel@3x.png",
"filename" : "Frame_35@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_36@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_36@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_30@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_30@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_26@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_26@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_28@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_28@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_27@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_27@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_31@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_31@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_32@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_32@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_33@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_33@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame_34@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame_34@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1458@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1458@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group 1459@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group 1459@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1457@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1457@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1565@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1565@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group 1456@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group 1456@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "title_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "title_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_bottom_controls@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_bottom_controls@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_bottom_panel_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_bottom_panel_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_btn_checkin@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_btn_checkin@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_circle_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_circle_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_current_location@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_current_location@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_home_indicator@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_home_indicator@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_member_bubble_large@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_member_bubble_large@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_member_list_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_member_list_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 KiB

View File

@ -1,22 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "map_status_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "map_status_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Some files were not shown because too many files have changed in this diff Show More