Commit b178d6f1 authored by Steven杜宇's avatar Steven杜宇

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

parents 7829efe4 b1f52ff4
...@@ -41,7 +41,7 @@ platform :ios do ...@@ -41,7 +41,7 @@ platform :ios do
# 显示git当前分支最新submit id # 显示git当前分支最新submit id
sh "git rev-parse HEAD" sh "git rev-parse HEAD"
# 更新pod第三方库 # 更新pod第三方库
cocoapods(use_bundle_exec: true) # cocoapods(use_bundle_exec: true)
# 先清空打包路径下的文件 # 先清空打包路径下的文件
sh "pwd" sh "pwd"
......
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
04174D782BCD5B74000BA46D /* YHMessageListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D6F2BCD5B74000BA46D /* YHMessageListVC.swift */; }; 04174D782BCD5B74000BA46D /* YHMessageListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D6F2BCD5B74000BA46D /* YHMessageListVC.swift */; };
04174D792BCD5B74000BA46D /* YHMessageSessionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D712BCD5B74000BA46D /* YHMessageSessionCell.swift */; }; 04174D792BCD5B74000BA46D /* YHMessageSessionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D712BCD5B74000BA46D /* YHMessageSessionCell.swift */; };
04174D7A2BCD5B74000BA46D /* YHDetailMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D722BCD5B74000BA46D /* YHDetailMessageCell.swift */; }; 04174D7A2BCD5B74000BA46D /* YHDetailMessageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04174D722BCD5B74000BA46D /* YHDetailMessageCell.swift */; };
0419A09A2C48F87B00A5FCFA /* YHInvitationWithGiftsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A0992C48F87B00A5FCFA /* YHInvitationWithGiftsViewController.swift */; };
0419A09C2C48FBCB00A5FCFA /* YHInvitationWithGiftsHeadView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A09B2C48FBCB00A5FCFA /* YHInvitationWithGiftsHeadView.swift */; };
0419A09E2C48FC6F00A5FCFA /* YHInvitationWithGiftsFirstTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A09D2C48FC6F00A5FCFA /* YHInvitationWithGiftsFirstTableViewCell.swift */; };
0419A0A02C48FC7D00A5FCFA /* YHInvitationWithGiftsSecondTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A09F2C48FC7D00A5FCFA /* YHInvitationWithGiftsSecondTableViewCell.swift */; };
0419A0A22C49099A00A5FCFA /* YHInvitationWithGiftsShareBottomView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A0A12C49099A00A5FCFA /* YHInvitationWithGiftsShareBottomView.swift */; };
0419A0A42C49184300A5FCFA /* YHInvitationNumberItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0419A0A32C49184300A5FCFA /* YHInvitationNumberItemView.swift */; };
04213B202C47ADEA00797900 /* ATAuthSDK_D.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */; }; 04213B202C47ADEA00797900 /* ATAuthSDK_D.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */; };
04213B212C47AE0100797900 /* ATAuthSDK_D.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 04213B212C47AE0100797900 /* ATAuthSDK_D.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
04213B232C48B7F700797900 /* YHIdentityTabBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04213B222C48B7F700797900 /* YHIdentityTabBar.swift */; }; 04213B232C48B7F700797900 /* YHIdentityTabBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04213B222C48B7F700797900 /* YHIdentityTabBar.swift */; };
...@@ -483,6 +489,7 @@ ...@@ -483,6 +489,7 @@
A592FE972BA6DB340062FACA /* YHCertificateViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A592FE962BA6DB340062FACA /* YHCertificateViewModel.swift */; }; A592FE972BA6DB340062FACA /* YHCertificateViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A592FE962BA6DB340062FACA /* YHCertificateViewModel.swift */; };
A59B43C72C48F68200B28379 /* YHEvaluationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59B43C62C48F68200B28379 /* YHEvaluationView.swift */; }; A59B43C72C48F68200B28379 /* YHEvaluationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59B43C62C48F68200B28379 /* YHEvaluationView.swift */; };
A59B43C92C491FB100B28379 /* YHEvaluationViewVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59B43C82C491FB100B28379 /* YHEvaluationViewVC.swift */; }; A59B43C92C491FB100B28379 /* YHEvaluationViewVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59B43C82C491FB100B28379 /* YHEvaluationViewVC.swift */; };
A59B43CB2C4A151200B28379 /* YHStatusAdvantageVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59B43CA2C4A151200B28379 /* YHStatusAdvantageVC.swift */; };
A5A89FD72C256B94005A71DD /* YHHomeLastMessageModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A89FD62C256B94005A71DD /* YHHomeLastMessageModel.swift */; }; A5A89FD72C256B94005A71DD /* YHHomeLastMessageModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A89FD62C256B94005A71DD /* YHHomeLastMessageModel.swift */; };
A5ACE9282B4564F7002C94D2 /* YHSmsCodeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5ACE8DE2B4564F7002C94D2 /* YHSmsCodeView.swift */; }; A5ACE9282B4564F7002C94D2 /* YHSmsCodeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5ACE8DE2B4564F7002C94D2 /* YHSmsCodeView.swift */; };
A5ACE9292B4564F7002C94D2 /* YHSmsCodeInputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5ACE8E02B4564F7002C94D2 /* YHSmsCodeInputView.swift */; }; A5ACE9292B4564F7002C94D2 /* YHSmsCodeInputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5ACE8E02B4564F7002C94D2 /* YHSmsCodeInputView.swift */; };
...@@ -612,6 +619,12 @@ ...@@ -612,6 +619,12 @@
04174D6F2BCD5B74000BA46D /* YHMessageListVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHMessageListVC.swift; sourceTree = "<group>"; }; 04174D6F2BCD5B74000BA46D /* YHMessageListVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHMessageListVC.swift; sourceTree = "<group>"; };
04174D712BCD5B74000BA46D /* YHMessageSessionCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHMessageSessionCell.swift; sourceTree = "<group>"; }; 04174D712BCD5B74000BA46D /* YHMessageSessionCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHMessageSessionCell.swift; sourceTree = "<group>"; };
04174D722BCD5B74000BA46D /* YHDetailMessageCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHDetailMessageCell.swift; sourceTree = "<group>"; }; 04174D722BCD5B74000BA46D /* YHDetailMessageCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHDetailMessageCell.swift; sourceTree = "<group>"; };
0419A0992C48F87B00A5FCFA /* YHInvitationWithGiftsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsViewController.swift; sourceTree = "<group>"; };
0419A09B2C48FBCB00A5FCFA /* YHInvitationWithGiftsHeadView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsHeadView.swift; sourceTree = "<group>"; };
0419A09D2C48FC6F00A5FCFA /* YHInvitationWithGiftsFirstTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsFirstTableViewCell.swift; sourceTree = "<group>"; };
0419A09F2C48FC7D00A5FCFA /* YHInvitationWithGiftsSecondTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsSecondTableViewCell.swift; sourceTree = "<group>"; };
0419A0A12C49099A00A5FCFA /* YHInvitationWithGiftsShareBottomView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsShareBottomView.swift; sourceTree = "<group>"; };
0419A0A32C49184300A5FCFA /* YHInvitationNumberItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationNumberItemView.swift; sourceTree = "<group>"; };
04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ATAuthSDK_D.framework; path = framework/ATAuthSDK_D.framework; sourceTree = "<group>"; }; 04213B1F2C47ADEA00797900 /* ATAuthSDK_D.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ATAuthSDK_D.framework; path = framework/ATAuthSDK_D.framework; sourceTree = "<group>"; };
04213B222C48B7F700797900 /* YHIdentityTabBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHIdentityTabBar.swift; sourceTree = "<group>"; }; 04213B222C48B7F700797900 /* YHIdentityTabBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHIdentityTabBar.swift; sourceTree = "<group>"; };
04213B242C48C15400797900 /* YHHomeIdentityViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHomeIdentityViewController.swift; sourceTree = "<group>"; }; 04213B242C48C15400797900 /* YHHomeIdentityViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHomeIdentityViewController.swift; sourceTree = "<group>"; };
...@@ -1082,6 +1095,7 @@ ...@@ -1082,6 +1095,7 @@
A592FE962BA6DB340062FACA /* YHCertificateViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHCertificateViewModel.swift; sourceTree = "<group>"; }; A592FE962BA6DB340062FACA /* YHCertificateViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHCertificateViewModel.swift; sourceTree = "<group>"; };
A59B43C62C48F68200B28379 /* YHEvaluationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEvaluationView.swift; sourceTree = "<group>"; }; A59B43C62C48F68200B28379 /* YHEvaluationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEvaluationView.swift; sourceTree = "<group>"; };
A59B43C82C491FB100B28379 /* YHEvaluationViewVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEvaluationViewVC.swift; sourceTree = "<group>"; }; A59B43C82C491FB100B28379 /* YHEvaluationViewVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEvaluationViewVC.swift; sourceTree = "<group>"; };
A59B43CA2C4A151200B28379 /* YHStatusAdvantageVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHStatusAdvantageVC.swift; sourceTree = "<group>"; };
A5A89FD62C256B94005A71DD /* YHHomeLastMessageModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHomeLastMessageModel.swift; sourceTree = "<group>"; }; A5A89FD62C256B94005A71DD /* YHHomeLastMessageModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHHomeLastMessageModel.swift; sourceTree = "<group>"; };
A5ACE8DE2B4564F7002C94D2 /* YHSmsCodeView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHSmsCodeView.swift; sourceTree = "<group>"; }; A5ACE8DE2B4564F7002C94D2 /* YHSmsCodeView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHSmsCodeView.swift; sourceTree = "<group>"; };
A5ACE8E02B4564F7002C94D2 /* YHSmsCodeInputView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHSmsCodeInputView.swift; sourceTree = "<group>"; }; A5ACE8E02B4564F7002C94D2 /* YHSmsCodeInputView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHSmsCodeInputView.swift; sourceTree = "<group>"; };
...@@ -1262,6 +1276,43 @@ ...@@ -1262,6 +1276,43 @@
path = V; path = V;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
0419A0952C48F79100A5FCFA /* InvitationWithGifts(邀请有礼) */ = {
isa = PBXGroup;
children = (
0419A0982C48F81D00A5FCFA /* V */,
0419A0972C48F81300A5FCFA /* M */,
0419A0962C48F80B00A5FCFA /* C */,
);
path = "InvitationWithGifts(邀请有礼)";
sourceTree = "<group>";
};
0419A0962C48F80B00A5FCFA /* C */ = {
isa = PBXGroup;
children = (
0419A0992C48F87B00A5FCFA /* YHInvitationWithGiftsViewController.swift */,
);
path = C;
sourceTree = "<group>";
};
0419A0972C48F81300A5FCFA /* M */ = {
isa = PBXGroup;
children = (
);
path = M;
sourceTree = "<group>";
};
0419A0982C48F81D00A5FCFA /* V */ = {
isa = PBXGroup;
children = (
0419A09B2C48FBCB00A5FCFA /* YHInvitationWithGiftsHeadView.swift */,
0419A09D2C48FC6F00A5FCFA /* YHInvitationWithGiftsFirstTableViewCell.swift */,
0419A09F2C48FC7D00A5FCFA /* YHInvitationWithGiftsSecondTableViewCell.swift */,
0419A0A12C49099A00A5FCFA /* YHInvitationWithGiftsShareBottomView.swift */,
0419A0A32C49184300A5FCFA /* YHInvitationNumberItemView.swift */,
);
path = V;
sourceTree = "<group>";
};
0425E63B2BA931B300A5E763 /* View */ = { 0425E63B2BA931B300A5E763 /* View */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -2499,6 +2550,7 @@ ...@@ -2499,6 +2550,7 @@
A567E5662BD7643D00D5D5A0 /* Home(首页) */ = { A567E5662BD7643D00D5D5A0 /* Home(首页) */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
0419A0952C48F79100A5FCFA /* InvitationWithGifts(邀请有礼) */,
A567E5672BD7643D00D5D5A0 /* VM */, A567E5672BD7643D00D5D5A0 /* VM */,
A567E56A2BD7643D00D5D5A0 /* M */, A567E56A2BD7643D00D5D5A0 /* M */,
A567E5732BD7643D00D5D5A0 /* C */, A567E5732BD7643D00D5D5A0 /* C */,
...@@ -2552,6 +2604,7 @@ ...@@ -2552,6 +2604,7 @@
04213B282C48EF5200797900 /* YHHomeInformationViewController.swift */, 04213B282C48EF5200797900 /* YHHomeInformationViewController.swift */,
04213B2E2C49154900797900 /* YHHomeInfoDetailContainerViewController.swift */, 04213B2E2C49154900797900 /* YHHomeInfoDetailContainerViewController.swift */,
04213B302C4917BD00797900 /* YHHomeInfoDetailViewController.swift */, 04213B302C4917BD00797900 /* YHHomeInfoDetailViewController.swift */,
A59B43CA2C4A151200B28379 /* YHStatusAdvantageVC.swift */,
); );
path = C; path = C;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -3291,6 +3344,7 @@ ...@@ -3291,6 +3344,7 @@
A5ACE9452B4564F7002C94D2 /* YHHUDContainerView.swift in Sources */, A5ACE9452B4564F7002C94D2 /* YHHUDContainerView.swift in Sources */,
045EEEFD2B9F171A0022A143 /* YHSheetPickerViewType.swift in Sources */, 045EEEFD2B9F171A0022A143 /* YHSheetPickerViewType.swift in Sources */,
04213B2B2C48F1BE00797900 /* YHHomeInfoSectionCell.swift in Sources */, 04213B2B2C48F1BE00797900 /* YHHomeInfoSectionCell.swift in Sources */,
0419A0A02C48FC7D00A5FCFA /* YHInvitationWithGiftsSecondTableViewCell.swift in Sources */,
045EEEC72B9F171A0022A143 /* YHOtherYesOrNoItemView.swift in Sources */, 045EEEC72B9F171A0022A143 /* YHOtherYesOrNoItemView.swift in Sources */,
A5FF0F3E2C32F2590069852B /* YHActivityDetailCell2.swift in Sources */, A5FF0F3E2C32F2590069852B /* YHActivityDetailCell2.swift in Sources */,
04FD85702C21646200BEF9C5 /* YHMyInterestTopicCell.swift in Sources */, 04FD85702C21646200BEF9C5 /* YHMyInterestTopicCell.swift in Sources */,
...@@ -3447,6 +3501,7 @@ ...@@ -3447,6 +3501,7 @@
045EEEAE2B9F171A0022A143 /* YHWorkHighlightsTableViewCell.swift in Sources */, 045EEEAE2B9F171A0022A143 /* YHWorkHighlightsTableViewCell.swift in Sources */,
A567E59A2BD7643D00D5D5A0 /* YHHomeKingKongBlockModel.swift in Sources */, A567E59A2BD7643D00D5D5A0 /* YHHomeKingKongBlockModel.swift in Sources */,
045EEF062B9F171A0022A143 /* YHFormItemQuestionsCell.swift in Sources */, 045EEF062B9F171A0022A143 /* YHFormItemQuestionsCell.swift in Sources */,
0419A09A2C48F87B00A5FCFA /* YHInvitationWithGiftsViewController.swift in Sources */,
04F5F86E2C1AC351004A463C /* YHHKEventCenterViewController.swift in Sources */, 04F5F86E2C1AC351004A463C /* YHHKEventCenterViewController.swift in Sources */,
A567E5922BD7643D00D5D5A0 /* YHHomeWebViewModel.swift in Sources */, A567E5922BD7643D00D5D5A0 /* YHHomeWebViewModel.swift in Sources */,
A5D5ADEF2BB90FBC0039FA6B /* YHCheckEamilAlertView.swift in Sources */, A5D5ADEF2BB90FBC0039FA6B /* YHCheckEamilAlertView.swift in Sources */,
...@@ -3458,12 +3513,14 @@ ...@@ -3458,12 +3513,14 @@
A59B43C92C491FB100B28379 /* YHEvaluationViewVC.swift in Sources */, A59B43C92C491FB100B28379 /* YHEvaluationViewVC.swift in Sources */,
0488518F2BF5FD1500C4E32D /* YHOSSManager.swift in Sources */, 0488518F2BF5FD1500C4E32D /* YHOSSManager.swift in Sources */,
A592FE952BA6D23C0062FACA /* YHCertificateEntryCell.swift in Sources */, A592FE952BA6D23C0062FACA /* YHCertificateEntryCell.swift in Sources */,
0419A09C2C48FBCB00A5FCFA /* YHInvitationWithGiftsHeadView.swift in Sources */,
A5ACE9472B4564F7002C94D2 /* YHHUD.swift in Sources */, A5ACE9472B4564F7002C94D2 /* YHHUD.swift in Sources */,
045A08C02C37ABF500BCBABA /* YHSegmentView.swift in Sources */, 045A08C02C37ABF500BCBABA /* YHSegmentView.swift in Sources */,
A5ACE9412B4564F7002C94D2 /* Dictionary+Extension.swift in Sources */, A5ACE9412B4564F7002C94D2 /* Dictionary+Extension.swift in Sources */,
045EEE8F2B9F171A0022A143 /* YHPreviewInfoProjectItemView.swift in Sources */, 045EEE8F2B9F171A0022A143 /* YHPreviewInfoProjectItemView.swift in Sources */,
045EEF152B9F171A0022A143 /* YHHKIDCardModel.swift in Sources */, 045EEF152B9F171A0022A143 /* YHHKIDCardModel.swift in Sources */,
0477E17E2BA4362A00436346 /* YHCustomNavigationBar.swift in Sources */, 0477E17E2BA4362A00436346 /* YHCustomNavigationBar.swift in Sources */,
0419A09E2C48FC6F00A5FCFA /* YHInvitationWithGiftsFirstTableViewCell.swift in Sources */,
045EEEC42B9F171A0022A143 /* YHOtherInfoFillCell.swift in Sources */, 045EEEC42B9F171A0022A143 /* YHOtherInfoFillCell.swift in Sources */,
045EEE9F2B9F171A0022A143 /* YHWorkExperienceModel.swift in Sources */, 045EEE9F2B9F171A0022A143 /* YHWorkExperienceModel.swift in Sources */,
A5FF0F3C2C32F2460069852B /* YHActivityDetailCell1.swift in Sources */, A5FF0F3C2C32F2460069852B /* YHActivityDetailCell1.swift in Sources */,
...@@ -3635,10 +3692,12 @@ ...@@ -3635,10 +3692,12 @@
04EA230C2BB5199D009DA928 /* YHDocumentToActionTableViewCell.swift in Sources */, 04EA230C2BB5199D009DA928 /* YHDocumentToActionTableViewCell.swift in Sources */,
044D0C022C216AAF00C5CF5E /* YHInformationAuthorizeViewModel.swift in Sources */, 044D0C022C216AAF00C5CF5E /* YHInformationAuthorizeViewModel.swift in Sources */,
A5ACE9572B4564F7002C94D2 /* YHBasicContentView.swift in Sources */, A5ACE9572B4564F7002C94D2 /* YHBasicContentView.swift in Sources */,
A59B43CB2C4A151200B28379 /* YHStatusAdvantageVC.swift in Sources */,
A5DF3D462BF72BA1003D5F03 /* YHTestViewController.swift in Sources */, A5DF3D462BF72BA1003D5F03 /* YHTestViewController.swift in Sources */,
A566A79C2C227C9B00980D06 /* YHOrderTipsItemView.swift in Sources */, A566A79C2C227C9B00980D06 /* YHOrderTipsItemView.swift in Sources */,
A517A4E52BB6C4BB000DEECD /* YHDocumentFileItemView.swift in Sources */, A517A4E52BB6C4BB000DEECD /* YHDocumentFileItemView.swift in Sources */,
045EEEFE2B9F171A0022A143 /* YHFormItemInputTextCell.swift in Sources */, 045EEEFE2B9F171A0022A143 /* YHFormItemInputTextCell.swift in Sources */,
0419A0A42C49184300A5FCFA /* YHInvitationNumberItemView.swift in Sources */,
045EEEDD2B9F171A0022A143 /* YHCollegeNameCell.swift in Sources */, 045EEEDD2B9F171A0022A143 /* YHCollegeNameCell.swift in Sources */,
045EEF162B9F171A0022A143 /* YHMainApplicantInformationViewController.swift in Sources */, 045EEF162B9F171A0022A143 /* YHMainApplicantInformationViewController.swift in Sources */,
048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */, 048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */,
...@@ -3689,6 +3748,7 @@ ...@@ -3689,6 +3748,7 @@
04E86E0D2B70D51D00A35F4B /* YHWebViewViewController.swift in Sources */, 04E86E0D2B70D51D00A35F4B /* YHWebViewViewController.swift in Sources */,
A5EF21312BA6DF94005027E6 /* YHMineSchemeViewController.swift in Sources */, A5EF21312BA6DF94005027E6 /* YHMineSchemeViewController.swift in Sources */,
045EEE872B9F171A0022A143 /* YHPreviewControllerHoldViewController.swift in Sources */, 045EEE872B9F171A0022A143 /* YHPreviewControllerHoldViewController.swift in Sources */,
0419A0A22C49099A00A5FCFA /* YHInvitationWithGiftsShareBottomView.swift in Sources */,
04AAA8DC2BF5E5A200FE9FD5 /* YHEmptyDataView.swift in Sources */, 04AAA8DC2BF5E5A200FE9FD5 /* YHEmptyDataView.swift in Sources */,
A5A89FD72C256B94005A71DD /* YHHomeLastMessageModel.swift in Sources */, A5A89FD72C256B94005A71DD /* YHHomeLastMessageModel.swift in Sources */,
045EEF172B9F171A0022A143 /* YHSelectCountryViewController.swift in Sources */, 045EEF172B9F171A0022A143 /* YHSelectCountryViewController.swift in Sources */,
...@@ -3863,7 +3923,7 @@ ...@@ -3863,7 +3923,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 0.9.1; MARKETING_VERSION = 0.9.3;
PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy; PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
...@@ -4004,7 +4064,7 @@ ...@@ -4004,7 +4064,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 0.9.1; MARKETING_VERSION = 0.9.3;
PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy; PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
...@@ -4208,7 +4268,7 @@ ...@@ -4208,7 +4268,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 0.9.1; MARKETING_VERSION = 0.9.3;
PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy; PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
...@@ -4254,7 +4314,7 @@ ...@@ -4254,7 +4314,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
MARKETING_VERSION = 0.9.1; MARKETING_VERSION = 0.9.3;
PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy; PRODUCT_BUNDLE_IDENTIFIER = com.intelligence.galaxy;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
......
//
// YHStatusAdvantageVC.swift
// galaxy
//
// Created by davidhuangA on 2024/7/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
import WebKit
/*
身份优势
*/
class YHStatusAdvantageVC: YHBaseViewController, WKUIDelegate, WKNavigationDelegate {
var webview = WKWebView()
var progBar = UIProgressView()
var url = "https://cdn-public.galaxy-immi.com/app/pic/sfys.png"
lazy var noNetWorkTipsView: YHEmptyDataView = {
let view = YHEmptyDataView.createView("无网络", kNotNetWorkBgName)
view.topMargin = 222
view.backgroundColor = .white
view.isHidden = true
return view
}()
//是否曾今有过网络
private var isNetWorkOkBefore : Bool = false
override func viewDidLoad() {
super.viewDidLoad()
gk_navBarAlpha = 1.0
gk_navLineHidden = false
gk_navTitle = "身份优势"
NotificationCenter.default.addObserver(self, selector: #selector(updateNetWorkUI), name: .reachabilityChanged, object: nil)
view.backgroundColor = .white
//获取导航栏高度
let navHeight = self.navigationController?.navigationBar.frame.height
//获取状态栏高度
let statusHeight = k_Height_statusBar()
// 创建wkwebview
webview = WKWebView(frame: CGRect(x: 0, y: statusHeight + navHeight!, width: self.view.frame.width, height: self.view.frame.height - statusHeight - navHeight! - 59 - k_Height_safeAreaInsetsBottom()))
webview.navigationDelegate = self
// 创建网址
let url = NSURL(string: url)
// 创建请求
let request = NSURLRequest(url: url! as URL)
// 加载请求
webview.load(request as URLRequest)
// 添加wkwebview
self.view.addSubview(webview)
webview.snp.makeConstraints { make in
make.top.equalToSuperview().offset(-20)
make.left.right.bottom.equalToSuperview()
}
webview.scrollView.contentInsetAdjustmentBehavior = .never
// 加载网页的进度条
progBar = UIProgressView(frame: CGRect(x: 0, y: 0, width: self.view.frame.width, height: 30))
progBar.progress = 0.0
progBar.tintColor = UIColor.brandMainColor
webview.addSubview(progBar)
// 监听网页加载的进度
webview.addObserver(self, forKeyPath: "estimatedProgress", options: .new, context: nil)
view.addSubview(noNetWorkTipsView)
self.noNetWorkTipsView.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.top.equalToSuperview().offset(k_Height_NavigationtBarAndStatuBar)
}
updateNetWorkStatusUI(needReload: false)
}
deinit {
webview.removeObserver(self, forKeyPath: "estimatedProgress")
NotificationCenter.default.removeObserver(self)
}
}
// MARK: - 内部方法
private extension YHStatusAdvantageVC {
func addRightItems() {
let rightButtonItem = UIBarButtonItem(image: UIImage(named: "share_item")?.withRenderingMode(.alwaysOriginal), style: .plain, target: self, action: #selector(share))
gk_navRightBarButtonItem = rightButtonItem
gk_navItemRightSpace = 16
}
@objc func share() {
if !YHNetworkStatusManager.shared.isNetWorkOK {
YHHUD.flash(message: "网络不可用,请检查网络设置")
return
}
// YHShareManager.shared.sendLinkContent("", "", , link: self.url)
// YHShareManager.shared.sendLinkContent(link: "https://www.baidu.com/")
YHShareManager.shared.sendLinkContent("Nick哥:我是标题", "Nick哥-这是分享描述", UIImage(named: "AppIcon") ?? UIImage(), link: "https://www.baidu.com/") //todo : for test hjl
// YHShareManager.shared.sendMiniProgram(path: <#T##String#>, name: <#T##String#>)
// if YHLoginManager.shared.isLogin() {
// if vcTitle == "香港身份测评码" {
// guard let url = URL(string: url) else {
// return
// }
// let task = URLSession.shared.dataTask(with: url) { data, response, error in
// DispatchQueue.main.async {
// guard let data = data, error == nil else { return }
// let image = UIImage(data: data)
// if let image = image {
// YHShareManager.shared.sendImageContent(image)
// }
// }
// }
// task.resume()
// } else {
// guard let url = URL(string: self.model.img_url) else {
// return
// }
// let task = URLSession.shared.dataTask(with: url) { data, response, error in
// DispatchQueue.main.async {
// guard let data = data, error == nil else { return }
// let image = UIImage(data: data)
// if let image = image {
// YHShareManager.shared.sendLinkContent(self.model.title, "", image, link: self.url)
// }
// }
// }
// task.resume()
// }
// } else {
// YHOneKeyLoginManager.shared.oneKeyLogin()
// }
}
@objc func updateNetWorkUI() {
updateNetWorkStatusUI(needReload: true)
}
func updateNetWorkStatusUI(needReload:Bool) {
DispatchQueue.main.async {
if YHNetworkStatusManager.shared.isNetWorkOK {
if needReload && self.isNetWorkOkBefore == false {
self.webview.stopLoading()
let targetUrl = NSURL(string: self.url)
let request = NSURLRequest(url: targetUrl! as URL)
self.webview.load(request as URLRequest)
}
self.isNetWorkOkBefore = true
}
if self.isNetWorkOkBefore == false {
self.view.bringSubviewToFront(self.noNetWorkTipsView)
self.noNetWorkTipsView.isHidden = YHNetworkStatusManager.shared.isNetWorkOK
} else {
self.noNetWorkTipsView.isHidden = true
}
}
}
// MARK: - webview function
@objc func toBack() {
if webview.canGoBack {
webview.goBack()
}
}
@objc func toForward() {
if webview.canGoForward {
webview.goForward()
}
}
}
// MARK: - WKNavigationDelegate
extension YHStatusAdvantageVC {
override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
if keyPath == "estimatedProgress" {
self.progBar.alpha = 1.0
progBar.setProgress(Float(webview.estimatedProgress), animated: true)
//进度条的值最大为1.0
if(self.webview.estimatedProgress >= 1.0) {
UIView.animate(withDuration: 0.3, delay: 0.1, options: .curveEaseInOut, animations: { () -> Void in
self.progBar.alpha = 0.0
}, completion: { (finished:Bool) -> Void in
self.progBar.progress = 0
})
}
}
}
override class func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
}
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
// addRightItems()
}
func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures: WKWindowFeatures) -> WKWebView? {
// 实现非安全链接的跳转。如果目标主视图不为空,则允许导航
if !(navigationAction.targetFrame?.isMainFrame != nil) {
webview.load(navigationAction.request)
}
return nil
}
func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void) {
// 修复弹窗弹出的问题
let alert = UIAlertController(title: nil, message: message, preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "Ok", style: .default, handler: { (_) -> Void in
completionHandler()
}))
self.present(alert, animated: true, completion: nil)
}
func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) {
printLog("\(error.localizedDescription)")
}
}
//
// YHInvitationWithGiftsViewController.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationWithGiftsViewController: YHBaseViewController {
var tableView: UITableView!
var bottomViewForShare: YHInvitationWithGiftsShareBottomView!
lazy var headView : YHInvitationWithGiftsHeadView = {
let headView = YHInvitationWithGiftsHeadView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: 666))
return headView
}()
override func viewDidLoad() {
super.viewDidLoad()
setView()
loadData()
}
}
extension YHInvitationWithGiftsViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 2
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 0 {
let cell = tableView.dequeueReusableCell(withClass: YHInvitationWithGiftsFirstTableViewCell.self)
return cell
} else {
let cell = tableView.dequeueReusableCell(withClass: YHInvitationWithGiftsSecondTableViewCell.self)
return cell
}
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 209
} else if indexPath.row == 1 {
return 673
}
return 0
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 0.01
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
return UIView()
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 0.01
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
return UIView()
}
}
extension YHInvitationWithGiftsViewController {
func getData() {
}
func updateDataSource() {
}
func setView() {
view.backgroundColor = .contentBkgColor
tableView = {
let tableView = UITableView(frame: .zero, style: .grouped)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .clear
tableView.separatorStyle = .none
tableView.showsHorizontalScrollIndicator = false
tableView.showsVerticalScrollIndicator = false
tableView.dataSource = self
tableView.delegate = self
tableView.tableHeaderView = headView
tableView.tableFooterView = UIView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: 0.01))
tableView.register(cellWithClass: YHInvitationWithGiftsFirstTableViewCell.self)
tableView.register(cellWithClass: YHInvitationWithGiftsSecondTableViewCell.self)
return tableView
}()
view.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.left.right.equalToSuperview()
make.bottom.equalTo(-98)
}
bottomViewForShare = {
let view = YHInvitationWithGiftsShareBottomView()
return view
}()
view.addSubview(bottomViewForShare)
bottomViewForShare.snp.makeConstraints { make in
make.bottom.left.right.equalToSuperview()
make.height.equalTo(98)
}
}
func loadData() {
}
}
//
// YHInvitationNumberItemView.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationNumberItemView: UIView {
var leftImageView: UIImageView!
var rightImageView: UIImageView!
var titleLabel: UILabel!
var bottomLabel: UILabel!
override init(frame: CGRect) {
super.init(frame: frame)
setUpView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setUpView() {
leftImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_number_left")
return view
}()
addSubview(leftImageView)
leftImageView.snp.makeConstraints { make in
make.left.equalToSuperview()
make.width.height.equalTo(19)
make.top.equalTo(24)
}
rightImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_number_right")
return view
}()
addSubview(rightImageView)
rightImageView.snp.makeConstraints { make in
make.right.equalToSuperview()
make.width.height.equalTo(19)
make.top.equalTo(24)
}
titleLabel = {
let view = UILabel()
view.text = "38"
view.font = UIFont.PFSC_M(ofSize: 24)
view.textColor = UIColor.mainTextColor
view.textAlignment = .center
return view
}()
addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.top.equalTo(15)
make.left.right.equalToSuperview()
make.height.equalTo(33)
}
bottomLabel = {
let view = UILabel()
view.text = "已注册"
view.font = UIFont.PFSC_M(ofSize: 12)
view.textColor = UIColor.yhGreyColor
view.textAlignment = .center
return view
}()
addSubview(bottomLabel)
bottomLabel.snp.makeConstraints { make in
make.top.equalTo(47)
make.left.right.equalToSuperview()
make.height.equalTo(17)
}
}
}
class YHInvitationPeopleItemView: UIView {
var titleLabel: UILabel!
var bgImageView: UIImageView!
override init(frame: CGRect) {
super.init(frame: frame)
setUpView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setUpView() {
self.backgroundColor = UIColor(hex: 0xebf4fe)
titleLabel = {
let view = UILabel()
view.text = "12"
view.font = UIFont.PFSC_M(ofSize: 12)
view.textColor = UIColor.mainTextColor70
view.textAlignment = .left
return view
}()
addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.top.equalTo(10)
make.left.equalTo(10)
make.height.equalTo(17)
make.right.equalToSuperview()
}
bgImageView = {
let view = UIImageView()
view.isHidden = true
view.isUserInteractionEnabled = true
view.image = UIImage(named: "invitation_with_gifts_people_true")
return view
}()
addSubview(bgImageView)
bgImageView.snp.makeConstraints { make in
make.width.height.equalTo(14)
make.center.equalToSuperview()
}
}
}
//
// YHInvitationWithGiftsFirstTableViewCell.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationWithGiftsFirstTableViewCell: UITableViewCell {
var centerImageView: UIImageView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
setupUI()
}
func setupUI() {
self.backgroundColor = UIColor(hex: 0xededed)
centerImageView = {
let imageView = UIImageView()
imageView.image = UIImage(named: "invitation_with_gifts_first")
return imageView
}()
contentView.addSubview(centerImageView)
centerImageView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.left.equalTo(12)
make.right.equalTo(-12)
make.height.equalTo(193)
}
}
}
//
// YHInvitationWithGiftsHeadView.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationWithGiftsHeadView: UIView {
var centerImageView: UIImageView!
var bottomImageView: UIImageView!
override init(frame: CGRect) {
super.init(frame: frame)
setUpView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setUpView() {
self.backgroundColor = UIColor(hex: 0xededed)
centerImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_head")
return view
}()
addSubview(centerImageView)
centerImageView.snp.makeConstraints { make in
make.left.right.top.equalToSuperview()
make.height.equalTo(510)
}
bottomImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_head_bottom")
return view
}()
addSubview(bottomImageView)
bottomImageView.snp.makeConstraints { make in
make.height.equalTo(262)
make.left.equalTo(12)
make.right.equalTo(-12)
make.bottom.equalTo(-8)
}
}
func updateAllViews() {
}
}
//
// YHInvitationWithGiftsSecondTableViewCell.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
var centerView: UIView!
var titleLeftImageView: UIImageView!
var titleRightImageView: UIImageView!
var titleImageView: UIImageView!
var timeLabel: UILabel!
var numberBgView: UIImageView!
var lineImageView: UIImageView!
var numberOneView: YHInvitationNumberItemView!
var numberTwoView: YHInvitationNumberItemView!
var numberThreeView: YHInvitationNumberItemView!
var explainLabel: UILabel!
var peopleOneView: YHInvitationPeopleItemView!
var peopleTwoView: YHInvitationPeopleItemView!
var peopleThreeView: YHInvitationPeopleItemView!
var peopleFourView: YHInvitationPeopleItemView!
var peopleFiveView: YHInvitationPeopleItemView!
var tableView: UITableView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
setupUI()
}
func setupUI() {
self.backgroundColor = UIColor(hex: 0xededed)
centerView = {
let view = UIView()
view.layer.cornerRadius = kCornerRadius3
view.backgroundColor = .white
return view
}()
contentView.addSubview(centerView)
centerView.snp.makeConstraints { make in
make.left.equalTo(12)
make.top.equalTo(8)
make.right.equalTo(-12)
make.bottom.equalTo(-8)
}
titleLeftImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_second_left")
return view
}()
centerView.addSubview(titleLeftImageView)
titleLeftImageView.snp.makeConstraints { make in
make.left.equalTo(15)
make.top.equalTo(29)
make.width.equalTo(110)
make.height.equalTo(20)
}
titleRightImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_second_right")
return view
}()
centerView.addSubview(titleRightImageView)
titleRightImageView.snp.makeConstraints { make in
make.width.equalTo(110)
make.top.equalTo(29)
make.right.equalTo(-15)
make.height.equalTo(20)
}
titleImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_second_title")
return view
}()
centerView.addSubview(titleImageView)
titleImageView.snp.makeConstraints { make in
make.width.equalTo(80)
make.top.equalTo(29)
make.centerX.equalToSuperview()
make.height.equalTo(20)
}
timeLabel = {
let view = UILabel()
view.text = "您的推荐周期:2023-11-20 至2024-11-19"
view.font = UIFont.PFSC_M(ofSize: 13)
view.textColor = UIColor.yhGreyColor
view.textAlignment = .center
return view
}()
centerView.addSubview(timeLabel)
timeLabel.snp.makeConstraints { make in
make.width.equalTo(300)
make.top.equalTo(63)
make.centerX.equalToSuperview()
make.height.equalTo(18)
}
numberBgView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_second_number_bg")
return view
}()
centerView.addSubview(numberBgView)
numberBgView.snp.makeConstraints { make in
make.left.equalTo(15)
make.top.equalTo(97)
make.right.equalTo(-15)
make.height.equalTo(78)
}
lineImageView = {
let view = UIImageView()
view.image = UIImage(named: "invitation_with_gifts_second_line")
return view
}()
centerView.addSubview(lineImageView)
lineImageView.snp.makeConstraints { make in
make.left.equalTo(15)
make.top.equalTo(187)
make.right.equalTo(-15)
make.height.equalTo(1)
}
numberTwoView = {
let view = YHInvitationNumberItemView()
return view
}()
numberBgView.addSubview(numberTwoView)
numberTwoView.snp.makeConstraints { make in
make.center.equalToSuperview()
make.height.equalTo(78)
make.width.equalTo(71)
}
numberOneView = {
let view = YHInvitationNumberItemView()
return view
}()
numberBgView.addSubview(numberOneView)
numberOneView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.right.equalTo(numberTwoView.snp.left).offset(-30)
make.height.equalTo(78)
make.width.equalTo(71)
}
numberThreeView = {
let view = YHInvitationNumberItemView()
return view
}()
numberBgView.addSubview(numberThreeView)
numberThreeView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.left.equalTo(numberTwoView.snp.right).offset(30)
make.height.equalTo(78)
make.width.equalTo(71)
}
let firstlineView = UIView()
firstlineView.backgroundColor = .white
numberBgView.addSubview(firstlineView)
firstlineView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.right.equalTo(numberTwoView.snp.left).offset(-14)
make.height.equalTo(24)
make.width.equalTo(1)
}
let lastlineView = UIView()
lastlineView.backgroundColor = .white
numberBgView.addSubview(lastlineView)
lastlineView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.left.equalTo(numberTwoView.snp.right).offset(14)
make.height.equalTo(24)
make.width.equalTo(1)
}
explainLabel = {
let view = UILabel()
view.text = "*积分发放及提取方式,详见规则"
view.font = UIFont.PFSC_M(ofSize: 11)
view.textColor = UIColor.yhGreyColor
view.textAlignment = .center
return view
}()
centerView.addSubview(explainLabel)
explainLabel.snp.makeConstraints { make in
make.width.equalTo(300)
make.bottom.equalTo(-18)
make.centerX.equalToSuperview()
make.height.equalTo(18)
}
peopleOneView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "被邀请人"
return view
}()
centerView.addSubview(peopleOneView)
peopleOneView.snp.makeConstraints { make in
make.top.equalTo(199)
make.left.equalTo(15)
make.height.equalTo(37)
make.width.equalTo(100)
}
peopleFiveView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "签约"
return view
}()
centerView.addSubview(peopleFiveView)
peopleFiveView.snp.makeConstraints { make in
make.top.equalTo(199)
make.right.equalTo(-15)
make.height.equalTo(37)
make.width.equalTo(38)
}
peopleFourView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "测评"
return view
}()
centerView.addSubview(peopleFourView)
peopleFourView.snp.makeConstraints { make in
make.top.equalTo(199)
make.right.equalTo(peopleFiveView.snp.left).offset(-1)
make.height.equalTo(37)
make.width.equalTo(38)
}
peopleThreeView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "注册"
return view
}()
centerView.addSubview(peopleThreeView)
peopleThreeView.snp.makeConstraints { make in
make.top.equalTo(199)
make.right.equalTo(peopleFourView.snp.left).offset(-1)
make.height.equalTo(37)
make.width.equalTo(38)
}
peopleTwoView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "注册时间"
return view
}()
centerView.addSubview(peopleTwoView)
peopleTwoView.snp.makeConstraints { make in
make.top.equalTo(199)
make.right.equalTo(peopleThreeView.snp.left).offset(-1)
make.height.equalTo(37)
make.left.equalTo(peopleOneView.snp.right).offset(1)
}
tableView = {
let tableView = UITableView(frame: .zero, style: .grouped)
tableView.contentInsetAdjustmentBehavior = .never
tableView.backgroundColor = .clear
tableView.separatorStyle = .none
tableView.showsHorizontalScrollIndicator = false
tableView.showsVerticalScrollIndicator = false
tableView.dataSource = self
tableView.delegate = self
tableView.bounces = false
tableView.tableFooterView = UIView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: 0.01))
tableView.register(cellWithClass: YHInvitationWithGiftsPeopleTableViewCell.self)
return tableView
}()
centerView.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(236)
make.bottom.equalTo(-46)
make.left.equalTo(15)
make.right.equalTo(-15)
}
}
}
extension YHInvitationWithGiftsSecondTableViewCell: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 100
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHInvitationWithGiftsPeopleTableViewCell.self)
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 40
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 0.01
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
return UIView()
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 0.01
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
return UIView()
}
}
class YHInvitationWithGiftsPeopleTableViewCell: UITableViewCell {
var peopleOneView: YHInvitationPeopleItemView!
var peopleTwoView: YHInvitationPeopleItemView!
var peopleThreeView: YHInvitationPeopleItemView!
var peopleFourView: YHInvitationPeopleItemView!
var peopleFiveView: YHInvitationPeopleItemView!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
setupUI()
}
func setupUI() {
self.backgroundColor = UIColor(hex: 0xebf4fe)
peopleOneView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "188****8888"
view.backgroundColor = .white
return view
}()
contentView.addSubview(peopleOneView)
peopleOneView.snp.makeConstraints { make in
make.top.equalTo(0)
make.left.equalTo(1)
make.bottom.equalTo(-1)
make.width.equalTo(99)
}
peopleFiveView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.isHidden = true
view.bgImageView.isHidden = false
view.backgroundColor = .white
return view
}()
contentView.addSubview(peopleFiveView)
peopleFiveView.snp.makeConstraints { make in
make.top.equalTo(0)
make.right.equalTo(-1)
make.bottom.equalTo(-1)
make.width.equalTo(37)
}
peopleFourView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.isHidden = true
view.bgImageView.isHidden = false
view.backgroundColor = .white
return view
}()
contentView.addSubview(peopleFourView)
peopleFourView.snp.makeConstraints { make in
make.top.equalTo(0)
make.right.equalTo(peopleFiveView.snp.left).offset(-1)
make.bottom.equalTo(-1)
make.width.equalTo(38)
}
peopleThreeView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.isHidden = true
view.bgImageView.isHidden = false
view.bgImageView.image = UIImage(named: "invitation_with_gifts_people_false")
view.backgroundColor = .white
return view
}()
contentView.addSubview(peopleThreeView)
peopleThreeView.snp.makeConstraints { make in
make.top.equalTo(0)
make.right.equalTo(peopleFourView.snp.left).offset(-1)
make.bottom.equalTo(-1)
make.width.equalTo(38)
}
peopleTwoView = {
let view = YHInvitationPeopleItemView()
view.titleLabel.text = "2024-06-09"
view.backgroundColor = .white
return view
}()
contentView.addSubview(peopleTwoView)
peopleTwoView.snp.makeConstraints { make in
make.top.equalTo(0)
make.right.equalTo(peopleThreeView.snp.left).offset(-1)
make.bottom.equalTo(-1)
make.left.equalTo(peopleOneView.snp.right).offset(1)
}
}
}
//
// YHInvitationWithGiftsShareBottomView.swift
// galaxy
//
// Created by EDY on 2024/7/18.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHInvitationWithGiftsShareBottomView: UIView {
static let viewH : CGFloat = 98.0
override init(frame: CGRect) {
super.init(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: YHBasicInfoFillBottomView.viewH))
setupUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
typealias Block = (Int) -> ()
var block: Block?
var saveButton: UIButton!
}
private extension YHInvitationWithGiftsShareBottomView {
func setupUI() {
saveButton = {
let button = UIButton(type: .custom)
button.adjustsImageWhenHighlighted = false
button.setBackgroundImage(UIImage(named: "invitation_with_gifts_share"), for: .normal)
button.addTarget(self, action: #selector(save), for: .touchUpInside)
return button
}()
addSubview(saveButton)
saveButton.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.height.equalTo(58)
make.width.equalTo(343)
make.top.equalTo(5)
}
}
@objc func save() {
block?(0)
}
}
...@@ -52,8 +52,8 @@ private extension YHHomeKingKongBlockView { ...@@ -52,8 +52,8 @@ private extension YHHomeKingKongBlockView {
if let tag = gestureRecognizer.view?.tag { if let tag = gestureRecognizer.view?.tag {
switch tag { switch tag {
case 0: case 0:
let vc = YHOtherServiceViewController() //身份优势
vc.classID = 3 let vc = YHStatusAdvantageVC()
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
case 1: case 1:
let vc = YHOtherServiceViewController() let vc = YHOtherServiceViewController()
......
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_first@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_first@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_head@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_head@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_head_bottom@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_head_bottom@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_number_left@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_number_left@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_number_right@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_number_right@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_people_false@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_people_false@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_people_true@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_people_true@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_second_left@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_second_left@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_second_line@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_second_line@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_second_number_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_second_number_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_second_right@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_second_right@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_second_title@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_second_title@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "invitation_with_gifts_share@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "invitation_with_gifts_share@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment