Commit 34130e10 authored by David黄金龙's avatar David黄金龙

替换名称

parent 5e77c565
...@@ -298,10 +298,6 @@ ...@@ -298,10 +298,6 @@
047AA3F82C5CC7B0009C4554 /* YHShareStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3F72C5CC7B0009C4554 /* YHShareStepView.swift */; }; 047AA3F82C5CC7B0009C4554 /* YHShareStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3F72C5CC7B0009C4554 /* YHShareStepView.swift */; };
047AA3FA2C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3F92C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift */; }; 047AA3FA2C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3F92C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift */; };
047AA3FC2C61EE7F009C4554 /* YHSignAppendStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3FB2C61EE7F009C4554 /* YHSignAppendStepView.swift */; }; 047AA3FC2C61EE7F009C4554 /* YHSignAppendStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA3FB2C61EE7F009C4554 /* YHSignAppendStepView.swift */; };
047AA4092C65C1AC009C4554 /* YHOfficialApprovalResultVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA4042C65C1AC009C4554 /* YHOfficialApprovalResultVC.swift */; };
047AA40A2C65C1AC009C4554 /* YHOffivialApprovalSuccessView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA4062C65C1AC009C4554 /* YHOffivialApprovalSuccessView.swift */; };
047AA40B2C65C1AC009C4554 /* YHOffivialApprovalGuildLineCheckView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA4072C65C1AC009C4554 /* YHOffivialApprovalGuildLineCheckView.swift */; };
047AA40C2C65C1AC009C4554 /* YHOffivialApprovalSuccessCheckView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 047AA4082C65C1AC009C4554 /* YHOffivialApprovalSuccessCheckView.swift */; };
0480976B2BA15269000B9DCA /* YHCertificateInfoCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0480976A2BA15269000B9DCA /* YHCertificateInfoCell.swift */; }; 0480976B2BA15269000B9DCA /* YHCertificateInfoCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0480976A2BA15269000B9DCA /* YHCertificateInfoCell.swift */; };
0480976D2BA158A1000B9DCA /* YHCertificateListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0480976C2BA158A1000B9DCA /* YHCertificateListVC.swift */; }; 0480976D2BA158A1000B9DCA /* YHCertificateListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0480976C2BA158A1000B9DCA /* YHCertificateListVC.swift */; };
048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048097702BA18D66000B9DCA /* YHCertificateSearchBar.swift */; }; 048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048097702BA18D66000B9DCA /* YHCertificateSearchBar.swift */; };
...@@ -594,8 +590,12 @@ ...@@ -594,8 +590,12 @@
A5DE0D3C2BB9016200976FE1 /* YHEmailInputAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */; }; A5DE0D3C2BB9016200976FE1 /* YHEmailInputAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */; };
A5DF3D462BF72BA1003D5F03 /* YHTestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */; }; A5DF3D462BF72BA1003D5F03 /* YHTestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */; };
A5E69D512BA304D400411932 /* DIN Alternate Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */; }; A5E69D512BA304D400411932 /* DIN Alternate Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */; };
A5EB6C622C675DA20081FB6C /* YHOfficalLetterListModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C612C675DA20081FB6C /* YHOfficalLetterListModel.swift */; }; A5EB6C6F2C69FB9A0081FB6C /* YHOfficalLetterListModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C672C69FB9A0081FB6C /* YHOfficalLetterListModel.swift */; };
A5EB6C642C68AD050081FB6C /* YHOfficailLetterColledtionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C632C68AD050081FB6C /* YHOfficailLetterColledtionCell.swift */; }; A5EB6C702C69FB9A0081FB6C /* YHOfficialApprovalResultVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C692C69FB9A0081FB6C /* YHOfficialApprovalResultVC.swift */; };
A5EB6C712C69FB9A0081FB6C /* YHOffivialApprovalSuccessView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C6B2C69FB9A0081FB6C /* YHOffivialApprovalSuccessView.swift */; };
A5EB6C722C69FB9A0081FB6C /* YHOffivialApprovalGuildLineCheckView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C6C2C69FB9A0081FB6C /* YHOffivialApprovalGuildLineCheckView.swift */; };
A5EB6C732C69FB9A0081FB6C /* YHOffivialApprovalSuccessCheckView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C6D2C69FB9A0081FB6C /* YHOffivialApprovalSuccessCheckView.swift */; };
A5EB6C742C69FB9A0081FB6C /* YHOfficailLetterColledtionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EB6C6E2C69FB9A0081FB6C /* YHOfficailLetterColledtionCell.swift */; };
A5EE41EF2C21387C005BBA5D /* YHAiRadarAreaView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EE41EE2C21387C005BBA5D /* YHAiRadarAreaView.swift */; }; A5EE41EF2C21387C005BBA5D /* YHAiRadarAreaView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EE41EE2C21387C005BBA5D /* YHAiRadarAreaView.swift */; };
A5EE42002C216C78005BBA5D /* img_1.png in Resources */ = {isa = PBXBuildFile; fileRef = A5EE41FC2C216C78005BBA5D /* img_1.png */; }; A5EE42002C216C78005BBA5D /* img_1.png in Resources */ = {isa = PBXBuildFile; fileRef = A5EE41FC2C216C78005BBA5D /* img_1.png */; };
A5EE42012C216C78005BBA5D /* img_0.png in Resources */ = {isa = PBXBuildFile; fileRef = A5EE41FD2C216C78005BBA5D /* img_0.png */; }; A5EE42012C216C78005BBA5D /* img_0.png in Resources */ = {isa = PBXBuildFile; fileRef = A5EE41FD2C216C78005BBA5D /* img_0.png */; };
...@@ -951,10 +951,6 @@ ...@@ -951,10 +951,6 @@
047AA3F72C5CC7B0009C4554 /* YHShareStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHShareStepView.swift; sourceTree = "<group>"; }; 047AA3F72C5CC7B0009C4554 /* YHShareStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHShareStepView.swift; sourceTree = "<group>"; };
047AA3F92C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsSelectItemView.swift; sourceTree = "<group>"; }; 047AA3F92C60739E009C4554 /* YHInvitationWithGiftsSelectItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHInvitationWithGiftsSelectItemView.swift; sourceTree = "<group>"; };
047AA3FB2C61EE7F009C4554 /* YHSignAppendStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSignAppendStepView.swift; sourceTree = "<group>"; }; 047AA3FB2C61EE7F009C4554 /* YHSignAppendStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSignAppendStepView.swift; sourceTree = "<group>"; };
047AA4042C65C1AC009C4554 /* YHOfficialApprovalResultVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOfficialApprovalResultVC.swift; sourceTree = "<group>"; };
047AA4062C65C1AC009C4554 /* YHOffivialApprovalSuccessView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalSuccessView.swift; sourceTree = "<group>"; };
047AA4072C65C1AC009C4554 /* YHOffivialApprovalGuildLineCheckView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalGuildLineCheckView.swift; sourceTree = "<group>"; };
047AA4082C65C1AC009C4554 /* YHOffivialApprovalSuccessCheckView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalSuccessCheckView.swift; sourceTree = "<group>"; };
0480976A2BA15269000B9DCA /* YHCertificateInfoCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateInfoCell.swift; sourceTree = "<group>"; }; 0480976A2BA15269000B9DCA /* YHCertificateInfoCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateInfoCell.swift; sourceTree = "<group>"; };
0480976C2BA158A1000B9DCA /* YHCertificateListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateListVC.swift; sourceTree = "<group>"; }; 0480976C2BA158A1000B9DCA /* YHCertificateListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateListVC.swift; sourceTree = "<group>"; };
048097702BA18D66000B9DCA /* YHCertificateSearchBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateSearchBar.swift; sourceTree = "<group>"; }; 048097702BA18D66000B9DCA /* YHCertificateSearchBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateSearchBar.swift; sourceTree = "<group>"; };
...@@ -1254,8 +1250,12 @@ ...@@ -1254,8 +1250,12 @@
A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEmailInputAlertView.swift; sourceTree = "<group>"; }; A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEmailInputAlertView.swift; sourceTree = "<group>"; };
A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHTestViewController.swift; sourceTree = "<group>"; }; A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHTestViewController.swift; sourceTree = "<group>"; };
A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DIN Alternate Bold.ttf"; sourceTree = "<group>"; }; A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DIN Alternate Bold.ttf"; sourceTree = "<group>"; };
A5EB6C612C675DA20081FB6C /* YHOfficalLetterListModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHOfficalLetterListModel.swift; sourceTree = "<group>"; }; A5EB6C672C69FB9A0081FB6C /* YHOfficalLetterListModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOfficalLetterListModel.swift; sourceTree = "<group>"; };
A5EB6C632C68AD050081FB6C /* YHOfficailLetterColledtionCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHOfficailLetterColledtionCell.swift; sourceTree = "<group>"; }; A5EB6C692C69FB9A0081FB6C /* YHOfficialApprovalResultVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOfficialApprovalResultVC.swift; sourceTree = "<group>"; };
A5EB6C6B2C69FB9A0081FB6C /* YHOffivialApprovalSuccessView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalSuccessView.swift; sourceTree = "<group>"; };
A5EB6C6C2C69FB9A0081FB6C /* YHOffivialApprovalGuildLineCheckView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalGuildLineCheckView.swift; sourceTree = "<group>"; };
A5EB6C6D2C69FB9A0081FB6C /* YHOffivialApprovalSuccessCheckView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOffivialApprovalSuccessCheckView.swift; sourceTree = "<group>"; };
A5EB6C6E2C69FB9A0081FB6C /* YHOfficailLetterColledtionCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHOfficailLetterColledtionCell.swift; sourceTree = "<group>"; };
A5EE41EE2C21387C005BBA5D /* YHAiRadarAreaView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAiRadarAreaView.swift; sourceTree = "<group>"; }; A5EE41EE2C21387C005BBA5D /* YHAiRadarAreaView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAiRadarAreaView.swift; sourceTree = "<group>"; };
A5EE41FC2C216C78005BBA5D /* img_1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = img_1.png; sourceTree = "<group>"; }; A5EE41FC2C216C78005BBA5D /* img_1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = img_1.png; sourceTree = "<group>"; };
A5EE41FD2C216C78005BBA5D /* img_0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = img_0.png; sourceTree = "<group>"; }; A5EE41FD2C216C78005BBA5D /* img_0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = img_0.png; sourceTree = "<group>"; };
...@@ -2268,7 +2268,7 @@ ...@@ -2268,7 +2268,7 @@
0472CBA62C5A11640096F48F /* CustomerService */ = { 0472CBA62C5A11640096F48F /* CustomerService */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
047AA4022C65C1AC009C4554 /* OfficialApprovalBatch */, A5EB6C652C69FB9A0081FB6C /* OfficialApproval(正式批) */,
0472CBA52C5A11640096F48F /* PrincipleBatch(原则批) */, 0472CBA52C5A11640096F48F /* PrincipleBatch(原则批) */,
); );
path = CustomerService; path = CustomerService;
...@@ -2363,35 +2363,6 @@ ...@@ -2363,35 +2363,6 @@
path = VM; path = VM;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
047AA4022C65C1AC009C4554 /* OfficialApprovalBatch */ = {
isa = PBXGroup;
children = (
A5EB6C602C675B1D0081FB6C /* M */,
047AA4032C65C1AC009C4554 /* C */,
047AA4052C65C1AC009C4554 /* V */,
);
path = "\U001dOfficialApprovalBatch";
sourceTree = "<group>";
};
047AA4032C65C1AC009C4554 /* C */ = {
isa = PBXGroup;
children = (
047AA4042C65C1AC009C4554 /* YHOfficialApprovalResultVC.swift */,
);
path = C;
sourceTree = "<group>";
};
047AA4052C65C1AC009C4554 /* V */ = {
isa = PBXGroup;
children = (
047AA4062C65C1AC009C4554 /* YHOffivialApprovalSuccessView.swift */,
047AA4072C65C1AC009C4554 /* YHOffivialApprovalGuildLineCheckView.swift */,
047AA4082C65C1AC009C4554 /* YHOffivialApprovalSuccessCheckView.swift */,
A5EB6C632C68AD050081FB6C /* YHOfficailLetterColledtionCell.swift */,
);
path = V;
sourceTree = "<group>";
};
04808C022B4686510056D53C /* Frameworks */ = { 04808C022B4686510056D53C /* Frameworks */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -3353,14 +3324,43 @@ ...@@ -3353,14 +3324,43 @@
path = Font; path = Font;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
A5EB6C602C675B1D0081FB6C /* M */ = { A5EB6C652C69FB9A0081FB6C /* OfficialApproval(正式批) */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
A5EB6C612C675DA20081FB6C /* YHOfficalLetterListModel.swift */, A5EB6C662C69FB9A0081FB6C /* M */,
A5EB6C682C69FB9A0081FB6C /* C */,
A5EB6C6A2C69FB9A0081FB6C /* V */,
);
path = "OfficialApproval(正式批)";
sourceTree = "<group>";
};
A5EB6C662C69FB9A0081FB6C /* M */ = {
isa = PBXGroup;
children = (
A5EB6C672C69FB9A0081FB6C /* YHOfficalLetterListModel.swift */,
); );
path = M; path = M;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
A5EB6C682C69FB9A0081FB6C /* C */ = {
isa = PBXGroup;
children = (
A5EB6C692C69FB9A0081FB6C /* YHOfficialApprovalResultVC.swift */,
);
path = C;
sourceTree = "<group>";
};
A5EB6C6A2C69FB9A0081FB6C /* V */ = {
isa = PBXGroup;
children = (
A5EB6C6B2C69FB9A0081FB6C /* YHOffivialApprovalSuccessView.swift */,
A5EB6C6C2C69FB9A0081FB6C /* YHOffivialApprovalGuildLineCheckView.swift */,
A5EB6C6D2C69FB9A0081FB6C /* YHOffivialApprovalSuccessCheckView.swift */,
A5EB6C6E2C69FB9A0081FB6C /* YHOfficailLetterColledtionCell.swift */,
);
path = V;
sourceTree = "<group>";
};
A5EE41FB2C216C78005BBA5D /* radar */ = { A5EE41FB2C216C78005BBA5D /* radar */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -3648,7 +3648,6 @@ ...@@ -3648,7 +3648,6 @@
A5ACE9362B4564F7002C94D2 /* YHNetworkStatusManager.swift in Sources */, A5ACE9362B4564F7002C94D2 /* YHNetworkStatusManager.swift in Sources */,
048787D52BCE880B0036E221 /* YHServiceOrderListViewController.swift in Sources */, 048787D52BCE880B0036E221 /* YHServiceOrderListViewController.swift in Sources */,
A5D0012A2BABC84A001F003C /* YHFileListHeaerView.swift in Sources */, A5D0012A2BABC84A001F003C /* YHFileListHeaerView.swift in Sources */,
A5EB6C622C675DA20081FB6C /* YHOfficalLetterListModel.swift in Sources */,
044414052BC3B9DE00784A14 /* YHServiceTableFootView.swift in Sources */, 044414052BC3B9DE00784A14 /* YHServiceTableFootView.swift in Sources */,
045EEEEF2B9F171A0022A143 /* YHCertificateInfoController.swift in Sources */, 045EEEEF2B9F171A0022A143 /* YHCertificateInfoController.swift in Sources */,
045EEEDA2B9F171A0022A143 /* YHEducationInfoListVC.swift in Sources */, 045EEEDA2B9F171A0022A143 /* YHEducationInfoListVC.swift in Sources */,
...@@ -3662,7 +3661,6 @@ ...@@ -3662,7 +3661,6 @@
045EEE9B2B9F171A0022A143 /* YHWorkExperienceViewModel.swift in Sources */, 045EEE9B2B9F171A0022A143 /* YHWorkExperienceViewModel.swift in Sources */,
04AD31772C22DE6600DF5655 /* YHEditInterestViewController.swift in Sources */, 04AD31772C22DE6600DF5655 /* YHEditInterestViewController.swift in Sources */,
045EEEC22B9F171A0022A143 /* YHOtherInfoFillViewController.swift in Sources */, 045EEEC22B9F171A0022A143 /* YHOtherInfoFillViewController.swift in Sources */,
047AA40B2C65C1AC009C4554 /* YHOffivialApprovalGuildLineCheckView.swift in Sources */,
045EEE7C2B9F171A0022A143 /* YHPreviewInfoSessionModel.swift in Sources */, 045EEE7C2B9F171A0022A143 /* YHPreviewInfoSessionModel.swift in Sources */,
049A48AA2B49536000D0C641 /* YHAboutUsAdvantageCell.swift in Sources */, 049A48AA2B49536000D0C641 /* YHAboutUsAdvantageCell.swift in Sources */,
04B360EB2C60E88C001EB053 /* YHPrincipleApprovedAlertView.swift in Sources */, 04B360EB2C60E88C001EB053 /* YHPrincipleApprovedAlertView.swift in Sources */,
...@@ -3770,7 +3768,6 @@ ...@@ -3770,7 +3768,6 @@
04F5F8642C19460D004A463C /* YHHKLifeViewController.swift in Sources */, 04F5F8642C19460D004A463C /* YHHKLifeViewController.swift in Sources */,
A59B43CF2C4B5AD100B28379 /* YHShareViewOnTablebarView.swift in Sources */, A59B43CF2C4B5AD100B28379 /* YHShareViewOnTablebarView.swift in Sources */,
A5ACE94A2B4564F7002C94D2 /* YHHUDProgressView.swift in Sources */, A5ACE94A2B4564F7002C94D2 /* YHHUDProgressView.swift in Sources */,
A5EB6C642C68AD050081FB6C /* YHOfficailLetterColledtionCell.swift in Sources */,
04A271232BABFF3200652B1B /* YHCertificateUploadTypeCell.swift in Sources */, 04A271232BABFF3200652B1B /* YHCertificateUploadTypeCell.swift in Sources */,
04B360F32C636525001EB053 /* YHPrincipleWaitResultViewController.swift in Sources */, 04B360F32C636525001EB053 /* YHPrincipleWaitResultViewController.swift in Sources */,
A582B2412BB95998009D098C /* YHHKPlanTipsCell.swift in Sources */, A582B2412BB95998009D098C /* YHHKPlanTipsCell.swift in Sources */,
...@@ -3838,6 +3835,7 @@ ...@@ -3838,6 +3835,7 @@
04174D762BCD5B74000BA46D /* YHMsgListModel.swift in Sources */, 04174D762BCD5B74000BA46D /* YHMsgListModel.swift in Sources */,
045EEEE32B9F171A0022A143 /* YHMySignatureListModel.swift in Sources */, 045EEEE32B9F171A0022A143 /* YHMySignatureListModel.swift in Sources */,
04FB01D22C23FCDD0040115D /* YHMatchCardUsageGuideView.swift in Sources */, 04FB01D22C23FCDD0040115D /* YHMatchCardUsageGuideView.swift in Sources */,
A5EB6C702C69FB9A0081FB6C /* YHOfficialApprovalResultVC.swift in Sources */,
049AC4C62BC3E55300F857F4 /* YHServiceSectionView.swift in Sources */, 049AC4C62BC3E55300F857F4 /* YHServiceSectionView.swift in Sources */,
0408C3632BEC7C6900DB1E25 /* YHVideoPlayerControlView.swift in Sources */, 0408C3632BEC7C6900DB1E25 /* YHVideoPlayerControlView.swift in Sources */,
A567E5B12BD7643D00D5D5A0 /* YHHomeCollectionViewCell.swift in Sources */, A567E5B12BD7643D00D5D5A0 /* YHHomeCollectionViewCell.swift in Sources */,
...@@ -3845,7 +3843,6 @@ ...@@ -3845,7 +3843,6 @@
04CE1AE22C2AD91F001CB80A /* YHActivityApplyInfoItemView.swift in Sources */, 04CE1AE22C2AD91F001CB80A /* YHActivityApplyInfoItemView.swift in Sources */,
045EEEC52B9F171A0022A143 /* YHOtherPickerView.swift in Sources */, 045EEEC52B9F171A0022A143 /* YHOtherPickerView.swift in Sources */,
045EEE842B9F171A0022A143 /* YHPreviewBasiceInformationViewController.swift in Sources */, 045EEE842B9F171A0022A143 /* YHPreviewBasiceInformationViewController.swift in Sources */,
047AA40A2C65C1AC009C4554 /* YHOffivialApprovalSuccessView.swift in Sources */,
A5ACE9282B4564F7002C94D2 /* YHSmsCodeView.swift in Sources */, A5ACE9282B4564F7002C94D2 /* YHSmsCodeView.swift in Sources */,
0499E3002C056EE30037E646 /* YHOneKeyLoginView.swift in Sources */, 0499E3002C056EE30037E646 /* YHOneKeyLoginView.swift in Sources */,
043D2C8C2C0F037B00172438 /* YHServiceOrderSearchViewModel.swift in Sources */, 043D2C8C2C0F037B00172438 /* YHServiceOrderSearchViewModel.swift in Sources */,
...@@ -3928,6 +3925,7 @@ ...@@ -3928,6 +3925,7 @@
A5ACE93E2B4564F7002C94D2 /* UIImage+Extension.swift in Sources */, A5ACE93E2B4564F7002C94D2 /* UIImage+Extension.swift in Sources */,
A587F7C02BBADBE1002D9781 /* YHHKPlanItemView.swift in Sources */, A587F7C02BBADBE1002D9781 /* YHHKPlanItemView.swift in Sources */,
A5ACE94C2B4564F7002C94D2 /* YHHUDErrorView.swift in Sources */, A5ACE94C2B4564F7002C94D2 /* YHHUDErrorView.swift in Sources */,
A5EB6C712C69FB9A0081FB6C /* YHOffivialApprovalSuccessView.swift in Sources */,
A567E5AD2BD7643D00D5D5A0 /* YHSearchInfoHistoryCell.swift in Sources */, A567E5AD2BD7643D00D5D5A0 /* YHSearchInfoHistoryCell.swift in Sources */,
04CE1ADC2C2AD91F001CB80A /* YHActivityTipsItemView.swift in Sources */, 04CE1ADC2C2AD91F001CB80A /* YHActivityTipsItemView.swift in Sources */,
A5EF21332BA6E030005027E6 /* YHFileListViewController.swift in Sources */, A5EF21332BA6E030005027E6 /* YHFileListViewController.swift in Sources */,
...@@ -3964,6 +3962,7 @@ ...@@ -3964,6 +3962,7 @@
A567E5A32BD7643D00D5D5A0 /* YHHomeBannerView.swift in Sources */, A567E5A32BD7643D00D5D5A0 /* YHHomeBannerView.swift in Sources */,
A5ACE9402B4564F7002C94D2 /* String+Extension.swift in Sources */, A5ACE9402B4564F7002C94D2 /* String+Extension.swift in Sources */,
045EEEE42B9F171A0022A143 /* YHMySignatureDetailModel.swift in Sources */, 045EEEE42B9F171A0022A143 /* YHMySignatureDetailModel.swift in Sources */,
A5EB6C722C69FB9A0081FB6C /* YHOffivialApprovalGuildLineCheckView.swift in Sources */,
047AA3D72C4A4399009C4554 /* YHInvitationWithGiftsShareView.swift in Sources */, 047AA3D72C4A4399009C4554 /* YHInvitationWithGiftsShareView.swift in Sources */,
A58A8C8F2BA6978100632765 /* YHMineCertificateEntryViewController.swift in Sources */, A58A8C8F2BA6978100632765 /* YHMineCertificateEntryViewController.swift in Sources */,
045EEF1B2B9F171A0022A143 /* YHAddressPickViewTableViewCell.swift in Sources */, 045EEF1B2B9F171A0022A143 /* YHAddressPickViewTableViewCell.swift in Sources */,
...@@ -4016,7 +4015,6 @@ ...@@ -4016,7 +4015,6 @@
04C8F4832B7216D800ADF59B /* YHUserInfoHeaderView.swift in Sources */, 04C8F4832B7216D800ADF59B /* YHUserInfoHeaderView.swift in Sources */,
045EEEAF2B9F171A0022A143 /* YHWorkExperienceTextItemView.swift in Sources */, 045EEEAF2B9F171A0022A143 /* YHWorkExperienceTextItemView.swift in Sources */,
A5ACE9492B4564F7002C94D2 /* YHHUDSuccessView.swift in Sources */, A5ACE9492B4564F7002C94D2 /* YHHUDSuccessView.swift in Sources */,
047AA4092C65C1AC009C4554 /* YHOfficialApprovalResultVC.swift in Sources */,
04B360EF2C620975001EB053 /* YHPrincipleUploadStatusCell.swift in Sources */, 04B360EF2C620975001EB053 /* YHPrincipleUploadStatusCell.swift in Sources */,
045EEE9C2B9F171A0022A143 /* YHCompanyViewModel.swift in Sources */, 045EEE9C2B9F171A0022A143 /* YHCompanyViewModel.swift in Sources */,
A58556BA2B6BCF1A003746B2 /* YHPersonInfoFillStepModel.swift in Sources */, A58556BA2B6BCF1A003746B2 /* YHPersonInfoFillStepModel.swift in Sources */,
...@@ -4044,6 +4042,7 @@ ...@@ -4044,6 +4042,7 @@
04A671622BA058DE00C1FB91 /* YHCertificateEditSheetView.swift in Sources */, 04A671622BA058DE00C1FB91 /* YHCertificateEditSheetView.swift in Sources */,
04AD317D2C295AE800DF5655 /* YHUserInfoSettingViewModel.swift in Sources */, 04AD317D2C295AE800DF5655 /* YHUserInfoSettingViewModel.swift in Sources */,
045A08C22C37EB8B00BCBABA /* YHMyFileListNoneCell.swift in Sources */, 045A08C22C37EB8B00BCBABA /* YHMyFileListNoneCell.swift in Sources */,
A5EB6C732C69FB9A0081FB6C /* YHOffivialApprovalSuccessCheckView.swift in Sources */,
04FD85682C21277800BEF9C5 /* YHMyNameCardAvatarInfoCell.swift in Sources */, 04FD85682C21277800BEF9C5 /* YHMyNameCardAvatarInfoCell.swift in Sources */,
A566A79A2C219FA400980D06 /* YHHomeSalonAreaView.swift in Sources */, A566A79A2C219FA400980D06 /* YHHomeSalonAreaView.swift in Sources */,
04213B312C4917BD00797900 /* YHHomeInfoDetailViewController.swift in Sources */, 04213B312C4917BD00797900 /* YHHomeInfoDetailViewController.swift in Sources */,
...@@ -4093,7 +4092,6 @@ ...@@ -4093,7 +4092,6 @@
048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */, 048097712BA18D66000B9DCA /* YHCertificateSearchBar.swift in Sources */,
045EEEAA2B9F171A0022A143 /* YHWorkExampleViewController.swift in Sources */, 045EEEAA2B9F171A0022A143 /* YHWorkExampleViewController.swift in Sources */,
A5FD63C12B62616D00D1D9DA /* YHInformationPerfectModel.swift in Sources */, A5FD63C12B62616D00D1D9DA /* YHInformationPerfectModel.swift in Sources */,
047AA40C2C65C1AC009C4554 /* YHOffivialApprovalSuccessCheckView.swift in Sources */,
A567E5A62BD7643D00D5D5A0 /* YHHomeSearchView.swift in Sources */, A567E5A62BD7643D00D5D5A0 /* YHHomeSearchView.swift in Sources */,
045EEE912B9F171A0022A143 /* YHPreviewInfoCertificatePictureItemView.swift in Sources */, 045EEE912B9F171A0022A143 /* YHPreviewInfoCertificatePictureItemView.swift in Sources */,
044867B62BA1A03800DFAD4A /* YHCertificateFilterItemCell.swift in Sources */, 044867B62BA1A03800DFAD4A /* YHCertificateFilterItemCell.swift in Sources */,
...@@ -4117,6 +4115,7 @@ ...@@ -4117,6 +4115,7 @@
0480976D2BA158A1000B9DCA /* YHCertificateListVC.swift in Sources */, 0480976D2BA158A1000B9DCA /* YHCertificateListVC.swift in Sources */,
045EEE8B2B9F171A0022A143 /* YHPreviewMainApplicantInfoViewController.swift in Sources */, 045EEE8B2B9F171A0022A143 /* YHPreviewMainApplicantInfoViewController.swift in Sources */,
045EEE922B9F171A0022A143 /* YHPreviewInfoNameAndSubNameItemView.swift in Sources */, 045EEE922B9F171A0022A143 /* YHPreviewInfoNameAndSubNameItemView.swift in Sources */,
A5EB6C742C69FB9A0081FB6C /* YHOfficailLetterColledtionCell.swift in Sources */,
045EEEF92B9F171A0022A143 /* YHFormItemTitleCell.swift in Sources */, 045EEEF92B9F171A0022A143 /* YHFormItemTitleCell.swift in Sources */,
A580371E2BAD784B0031C312 /* YHMySchemeViewModel.swift in Sources */, A580371E2BAD784B0031C312 /* YHMySchemeViewModel.swift in Sources */,
0425E6482BA96B4100A5E763 /* YHSchemeHeadScoreItemView.swift in Sources */, 0425E6482BA96B4100A5E763 /* YHSchemeHeadScoreItemView.swift in Sources */,
...@@ -4172,6 +4171,7 @@ ...@@ -4172,6 +4171,7 @@
045EEEB72B9F171A0022A143 /* YHWorkItemAddView.swift in Sources */, 045EEEB72B9F171A0022A143 /* YHWorkItemAddView.swift in Sources */,
A5ACE9372B4564F7002C94D2 /* YHBaseUrlManager.swift in Sources */, A5ACE9372B4564F7002C94D2 /* YHBaseUrlManager.swift in Sources */,
04EA230A2BB5172F009DA928 /* YHDocumentPromptTableViewCell.swift in Sources */, 04EA230A2BB5172F009DA928 /* YHDocumentPromptTableViewCell.swift in Sources */,
A5EB6C6F2C69FB9A0081FB6C /* YHOfficalLetterListModel.swift in Sources */,
045EEF092B9F171A0022A143 /* YHBasicInfoFillModel.swift in Sources */, 045EEF092B9F171A0022A143 /* YHBasicInfoFillModel.swift in Sources */,
A5ACE9352B4564F7002C94D2 /* YHNetRequest.swift in Sources */, A5ACE9352B4564F7002C94D2 /* YHNetRequest.swift in Sources */,
A5FD63CB2B63D6C300D1D9DA /* YHInformationFillTipsCell.swift in Sources */, A5FD63CB2B63D6C300D1D9DA /* YHInformationFillTipsCell.swift in Sources */,
......
//
// YHOfficialApprovalResultVC.swift
// galaxy
//
// Created by davidhuangA on 2024/8/6.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
import FSPagerView
import AttributedString
/*
正式批 结果页
*/
class YHOfficialApprovalResultVC: YHBaseViewController {
//背景
lazy var bkgImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_bkg")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//白纸
lazy var paperImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_paper")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//文档
lazy var docImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_doc")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//文档内容
lazy var contentView: YHOffivialApprovalSuccessView = {
let view = YHOffivialApprovalSuccessView()
view.isHidden = true
return view
}()
//pen
lazy var penImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_pen")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//bottom
lazy var bottomImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_bottom_shadow")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//光线
lazy var lightImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_result_top_shadow")
imageV.contentMode = .scaleAspectFill
imageV.clipsToBounds = true
return imageV
}()
//bottom
lazy var bottomContentView: UIView = {
let view = UIView()
return view
}()
lazy var tipsLabel: UILabel = {
let label = UILabel()
label.textColor = UIColor(hex: 0xffffff, alpha: 0.6)
label.textAlignment = .center
label.font = UIFont.PFSC_R(ofSize:12)
label.text = "左滑查看其他获批信,当前"
return label
}()
private lazy var bannerView: FSPagerView = {
let view = FSPagerView()
view.delegate = self
view.dataSource = self
view.bounces = false
view.isInfinite = false
view.removesInfiniteLoopForSingleItem = true
view.alwaysBounceHorizontal = true
view.register(YHOfficailLetterColledtionCell.self, forCellWithReuseIdentifier: YHOfficailLetterColledtionCell.cellReuseIdentifier)
view.itemSize = CGSizeMake(268.0, 148)
view.interitemSpacing = 20
return view
}()
lazy var indicatorView : YHHomeBannerIndicatorView = {
let view = YHHomeBannerIndicatorView()
return view
}()
var dataArr: [YHOfficalLetterModel] = [] {
didSet {
self.indicatorView.indicatorItems = self.dataArr.count
bannerView.reloadData()
self.indicatorView.curIndicatorIndex = 0
bannerView.selectItem(at: 0, animated: false)
let aa: ASAttributedString = .init("左滑查看其他获批信,当前 ", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 0.6)))
let bb: ASAttributedString = .init("1/\(self.dataArr.count)", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 1.0)))
tipsLabel.attributed.text = aa + bb
}
}
lazy var princleVM : YHPrincleViewModel = {
let vm = YHPrincleViewModel()
return vm
}()
//
var showGuildViewFlag : Bool = false
lazy var previewFileTool:YHFilePreviewTool = {
let tool = YHFilePreviewTool(targetVC: UIViewController.current)
return tool
}()
override func viewDidLoad() {
super.viewDidLoad()
setupUI()
getApprovalLetter()
getAlertStatus()
getOfficalGuildCheckStatus()
}
}
private extension YHOfficialApprovalResultVC {
func updateMainApplicationInfo() {
guard let model = princleVM.lettersModel else { return }
contentView.dataModel = model
}
func updateLetterListInfo() {
self.dataArr = self.princleVM.lettersModel?.list ?? []
}
//获取正式批信件列表
func getApprovalLetter() {
if let orderID = UserDefaults.standard.value(forKey: "orderIdForPreview") {
let param = ["orderId":orderID,"searchType":1]
princleVM.getApprovalLetter(param: param) { success, error in
if success {
//1、更新主申请人信息
self.contentView.isHidden = false
self.updateMainApplicationInfo()
//2、更新letter信息
self.updateLetterListInfo()
} else {
YHHUD.flash(message: "数据获取失败")
}
}
} else {
YHHUD.flash(message: "订单号为空")
}
}
//上报弹窗状态
func postAlertStatus(_ type : Int) {
princleVM.postAlertStatus(type) { success, error in
if success {
} else {
}
}
}
//获取正式批 操作指引 确认状态
func getOfficalGuildCheckStatus() {
princleVM.getOfficialCheckStatus { success, error in
if success {
if self.showGuildViewFlag {
self.clickRightItemBtn()
}
}
}
}
//获取原则批、正式批的弹窗状态
func getAlertStatus() {
princleVM.getPrincleStatus { success, error in
if success {
guard let model = self.princleVM.alertStatusModel else {
return
}
model.type = 1 //for test hjl
if model.type == 1 {
let now = Date()
let timestamp = now.timeIntervalSince1970
print("当前时间戳:\(timestamp)")
let offsetSecond = CGFloat(Int64(timestamp) - Int64(model.date))
var roundedUp = 0
if offsetSecond > 0 {
roundedUp = Int(ceil(offsetSecond / (24 * 60 * 60)))
printLog(roundedUp)
}
let view = YHOffivialApprovalSuccessCheckView.sheetView()
view.days = roundedUp
view.show()
view.block = { tag in
DispatchQueue.main.async {
self.postAlertStatus(6)
}
if tag == 0 {
self.clickRightItemBtn()
}
}
}
}
}
}
func setupUI() {
gk_navBarAlpha = 0.0
gk_backImage = UIImage(named: "back_icon_white")
addRightItem()
view.addSubview(bkgImageV)
bkgImageV.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
view.addSubview(paperImageV)
paperImageV.snp.makeConstraints { make in
make.left.equalToSuperview()
make.top.equalToSuperview().offset(200)
make.width.equalTo(294)
make.height.equalTo(530)
}
paperImageV.layer.zPosition = 0
view.addSubview(docImageV)
docImageV.snp.makeConstraints { make in
make.right.equalToSuperview()
make.top.equalToSuperview().offset(64)
make.width.equalTo(294)
make.height.equalTo(530)
}
docImageV.layer.zPosition = 1
docImageV.addSubview(contentView)
contentView.snp.makeConstraints { make in
make.left.equalTo(50)
make.top.equalTo(140)
make.width.equalTo(294)
make.height.equalTo(530)
}
contentView.transform = rotatedTransform()
docImageV.addSubview(penImageV)
penImageV.snp.makeConstraints { make in
make.top.equalToSuperview().offset(204)
make.right.equalToSuperview()
make.width.equalTo(67)
make.height.equalTo(141)
}
penImageV.layer.zPosition = 1
view.addSubview(bottomImageV)
bottomImageV.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(200)
}
bottomImageV.layer.zPosition = 2
view.addSubview(lightImageV)
lightImageV.snp.makeConstraints { make in
make.top.right.left.equalToSuperview()
make.height.equalTo(543)
}
lightImageV.layer.zPosition = 3
//底部内容区域
view.addSubview(bottomContentView)
bottomContentView.snp.makeConstraints { make in
make.bottom.left.right.equalToSuperview()
}
bottomContentView.layer.zPosition = 4
bottomContentView.addSubview(tipsLabel)
tipsLabel.snp.makeConstraints { make in
make.bottom.equalToSuperview().offset(-50)
make.centerX.equalToSuperview()
}
bottomContentView.addSubview(indicatorView)
indicatorView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.height.equalTo(2)
make.bottom.equalTo(tipsLabel.snp.top).offset(-20)
}
bottomContentView.addSubview(bannerView)
bannerView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.height.equalTo(148)
make.bottom.equalTo(indicatorView.snp.top).offset(-16)
make.top.equalToSuperview().offset(20)
}
bannerView.layer.zPosition = 10
// let transform = CGAffineTransform(scaleX: 0.6, y: 0.75)
bannerView.transformer = FSPagerViewTransformer(type:.linear)
// bannerView.itemSize = CGSize(width: 268, height: 148).applying(transform)
bannerView.reloadData()
}
private func rotatedTransform() -> CGAffineTransform {
// 创建一个 CGAffineTransform 对象并设置旋转角度
return CGAffineTransform(rotationAngle: -CGFloat.pi / 64) // 旋转 45 度
}
func addRightItem() {
let searchButton = {
let button = UIButton(type: .custom)
button.frame = CGRect(x: 0, y: 0, width: 54, height: 24)
button.setTitleColor(UIColor.white, for: .normal)
button.setTitle("操作指引", for: .normal)
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 14)
button.contentHorizontalAlignment = .right
button.addTarget(self, action: #selector(self.clickRightItemBtn), for: .touchUpInside)
return button
}()
let rightButtonItem = UIBarButtonItem(customView: searchButton)
gk_navRightBarButtonItem = rightButtonItem
gk_navItemRightSpace = kMargin
}
@objc func clickRightItemBtn() {
let view = YHOffivialApprovalGuildLineCheckView.sheetView()
view.ischeckBeforeFlag = princleVM.isOfficialGuildCheckFlag
view.block = {
//点击了 正式批 操作指引
if !self.princleVM.isOfficialGuildCheckFlag {
self.princleVM.postAlertStatus(2) { success, error in
if success {
} else {
}
self.getOfficalGuildCheckStatus()
}
}
}
view.show()
}
}
// MARK: - FSPagerView Delegate
extension YHOfficialApprovalResultVC: FSPagerViewDataSource, FSPagerViewDelegate {
public func numberOfItems(in pagerView: FSPagerView) -> Int {
return self.dataArr.count
}
public func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -> FSPagerViewCell {
let cell = pagerView.dequeueReusableCell(withReuseIdentifier: YHOfficailLetterColledtionCell.cellReuseIdentifier, at: index) as! YHOfficailLetterColledtionCell
if index < dataArr.count {
cell.dataModel = dataArr[index]
}
return cell
}
func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int) {
pagerView.deselectItem(at: index, animated: true)
pagerView.scrollToItem(at: index, animated: true)
if index < dataArr.count {
let model = self.dataArr[index]
self.previewFileTool.openXLSXRemoteFile(urlString: model.file_url_transformed, fileName: "")
if !model.localShowFlag {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
model.localShowFlag = true
UserDefaults.standard.setValue("localShowFlag", forKey: String(model.id))
UserDefaults.standard.synchronize()
self.bannerView.reloadData()
}
}
return
}
}
func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int) {
self.indicatorView.curIndicatorIndex = targetIndex
let aa: ASAttributedString = .init("左滑查看其他获批信,当前 ", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 0.6)))
let bb: ASAttributedString = .init("\(targetIndex + 1)/\(self.dataArr.count)", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 1.0)))
tipsLabel.attributed.text = aa + bb
}
func pagerViewDidEndScrollAnimation(_ pagerView: FSPagerView) {
self.indicatorView.curIndicatorIndex = pagerView.currentIndex
let aa: ASAttributedString = .init("左滑查看其他获批信,当前 ", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 0.6)))
let bb: ASAttributedString = .init("\(pagerView.currentIndex + 1)/\(self.dataArr.count)", .font(UIFont.PFSC_R(ofSize: 12)),.foreground(UIColor(hex: 0xffffff, alpha: 1.0)))
tipsLabel.attributed.text = aa + bb
}
}
//
// YHOfficalLetterListModel.swift
// galaxy
//
// Created by davidhuangA on 2024/8/10.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
import SmartCodable
class YHOfficalLetterModel: SmartCodable {
var id : Int = -1//申请记录的唯一标识符
var applicant : String = ""//申请人的姓名
var approval_date : String = ""//申请人姓名
var applicant_approval_date : String = ""//申请的日期和时间
var archivist_id : Int = -1//来自相关记录的数据ID
var data_from_type : Int = -1 //数据来源的类型
var deleted_at : String = ""//申请记录被删除的时间(可选)
var e_visa_cn : String = ""//申请人姓名
var email_received_at : String = "" //邮件接收时间
var file_no : String = ""//文件编号
var file_num : String = ""//文件号(可能与file_no重复,用于不同场景)
var file_type : Int = -1 //文件类型
var file_url_transformed : String = ""//转换后的文件URL
var from_order_id : Int = -1 //来源订单ID
var from_relation : Int = -1//与申请人关系的代码
var from_relation_cn : String = ""//与申请人关系的中文描述
var handler : String = ""//处理申请的人员
var is_check : Int = -1//是否进行了检查
var name : String = ""//申请人的姓名
var pay_deadline : String = ""//支付截止日期
var read_status : Int = -1 //阅读状态(例如:未读,已读)
var remark : String = ""//备注信息
var remark_archivist : [String] = []//备注信息,可包含多个档案管理员的备注
var result : Int = -1//申请结果代码
var result_at : String = ""//申请结果的时间
var result_cn : String = ""//申请结果的中文描述
var type : String = ""//申请的类型(例如:旅游,商务)
var updated_at : String = "" //申请记录最后更新的时间
var url : String = ""//文件的URL
var localShowFlag : Bool = false //信件是否点击打开 本地变量
required init() {
}
}
class YHOfficalLetterListModel: SmartCodable {
var order_id : Int = -1//订单id
var applicant_id :Int = -1//申请人id
var applicant_name : String = ""//申请人姓名
var applicant_approval_date : String = ""//申请人通过时间
var applicant_sex : Int = -1//申请人性别
var days : Int = -1 //天数
var list : [YHOfficalLetterModel] = []
required init() {
}
}
//
// YHOfficailLetterColledtionCell.swift
// galaxy
//
// Created by davidhuangA on 2024/8/11.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
import FSPagerView
class YHOfficailLetterColledtionCell: FSPagerViewCell {
static let cellReuseIdentifier = "YHOfficailLetterColledtionCell"
var dataModel: YHOfficalLetterModel? {
didSet {
updateUI()
}
}
lazy var bkgImageView:UIImageView = {
let imageV = UIImageView(image: UIImage(named: "official_approval_result_envelope_not_read"))
imageV.contentMode = .scaleAspectFill
return imageV
}()
lazy var nameLable:UILabel = {
let label = UILabel()
label.text = ""
label.textColor = UIColor(hex: 0xA96B42, alpha: 1.0)
label.font = UIFont.PFSC_M(ofSize: 15)
return label
}()
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(frame: CGRect) {
super.init(frame: frame)
contentView.removeSubviews()
setupUI()
}
}
private extension YHOfficailLetterColledtionCell {
func setupUI() {
backgroundColor = .clear
contentView.backgroundColor = .clear
clipsToBounds = true
contentView.layer.shadowColor = UIColor.clear.cgColor
contentView.layer.shadowRadius = 0
contentView.layer.shadowOpacity = 0
contentView.layer.shadowOffset = .zero
contentView.addSubview(bkgImageView)
bkgImageView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
contentView.addSubview(nameLable)
nameLable.snp.makeConstraints { make in
make.top.equalToSuperview().offset(kMargin + 12)
make.left.equalToSuperview().offset(60)
make.height.equalTo(21)
}
}
func updateUI() {
guard let model = dataModel else { return }
nameLable.text = model.applicant
if !model.localShowFlag {
//未读
bkgImageView.image = UIImage(named: "official_approval_result_envelope_not_read")
} else {
//已读
bkgImageView.image = UIImage(named: "official_approval_result_envelope_readed")
}
}
}
//
// YHOffivialApprovalGuildLineCheckView.swift
// galaxy
//
// Created by davidhuangA on 2024/8/7.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHOffivialApprovalGuildLineCheckView: UIView {
typealias Block = () -> ()
var block: Block?
lazy var blackMaskView: UIView = {
let view = UIView()
view.backgroundColor = UIColor(hex: 0x0F1214, alpha: 0.5)
let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss))
view.addGestureRecognizer(tap)
return view
}()
lazy var whiteContentView: UIView = {
let view = UIView()
view.backgroundColor = .white
return view
}()
lazy var bottomView: UIView = {
let view = UIView()
view.backgroundColor = .clear
view.addSubview(self.rewardBtn)
self.rewardBtn.snp.makeConstraints { make in
make.top.equalToSuperview().offset(10)
make.left.equalTo(kMargin)
make.right.equalTo(-kMargin)
make.height.equalTo(44)
}
view.layer.zPosition = 10
return view
}()
//我已悉知,确认
lazy var rewardBtn: UIButton = {
let button = UIButton(type: .custom)
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 15)
button.contentHorizontalAlignment = .center
button.setTitle("我已悉知,确认", for: .normal)
button.setTitleColor(UIColor.white, for: .normal)
button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true
button.addTarget(self, action: #selector(clickSureBtn), for: .touchUpInside)
button.backgroundColor = UIColor.brandMainColor
return button
}()
lazy var myScrollView: UIScrollView = {
let view = UIScrollView()
view.backgroundColor = .clear
view.showsVerticalScrollIndicator = false
view.delegate = self
return view
}()
lazy var bkgImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_guideline")
imageV.contentMode = .scaleToFill
imageV.clipsToBounds = true
return imageV
}()
lazy var bkgImageV2: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_guideline_bkg")
imageV.contentMode = .scaleToFill
imageV.clipsToBounds = true
return imageV
}()
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
}
private var timer : Timer?
private var maxCount : Int = 5
//之前是否展示过
var ischeckBeforeFlag : Bool = false {
didSet {
if ischeckBeforeFlag {
setButtonEnable(true)
} else {
setButtonEnable(false)
startTimer()
}
}
}
}
extension YHOffivialApprovalGuildLineCheckView {
static func sheetView() -> YHOffivialApprovalGuildLineCheckView {
let view = YHOffivialApprovalGuildLineCheckView(frame:UIScreen.main.bounds)
return view
}
func show() {
UIApplication.shared.yhKeyWindow()?.addSubview(self)
UIView.animate(withDuration: 0.5) {
let whiteHeight = KScreenHeight - k_Height_NavigationtBarAndStatuBar
self.whiteContentView.frame = CGRect(x: 0, y: KScreenHeight - whiteHeight, width: KScreenWidth, height: whiteHeight)
}
}
@objc func dismiss() {
self.removeFromSuperview()
}
@objc func clickSureBtn() {
self.block?()
dismiss()
}
}
private extension YHOffivialApprovalGuildLineCheckView {
@objc func timerFired() {
// 定时器触发时执行的代码
print("Timer fired")
self.maxCount = self.maxCount - 1
if self.maxCount < 0 {
self.stopTimer()
self.setButtonEnable(true)
} else {
rewardBtn.setTitle("请上滑看完指引后操作(\(maxCount)s)", for: .normal)
}
}
func startTimer() {
stopTimer()
timer = Timer.scheduledTimer(timeInterval: 1.0, target: self, selector: #selector(timerFired), userInfo: nil, repeats: true)
RunLoop.current.add(timer!, forMode: .common)
}
func stopTimer() {
maxCount = 5
timer?.invalidate()
timer = nil
}
func setButtonEnable(_ enable : Bool) {
rewardBtn.isEnabled = enable
if enable {
rewardBtn.setTitle("我已悉知,确认", for: .normal)
rewardBtn.backgroundColor = UIColor.brandMainColor
} else {
rewardBtn.setTitle("请上滑看完指引后操作(5s)", for: .normal)
rewardBtn.backgroundColor = UIColor(hex: 0xB7C0CC, alpha: 1.0)
}
}
func setupUI() {
self.addSubview(blackMaskView)
self.addSubview(whiteContentView)
let corner = UIRectCorner(rawValue: UIRectCorner.topLeft.rawValue | UIRectCorner.topRight.rawValue)
let path = UIBezierPath(roundedRect:bounds,byRoundingCorners: corner,cornerRadii:CGSizeMake(16.0, 16.0));
let layer = CAShapeLayer();
layer.frame = whiteContentView.bounds;
layer.path = path.cgPath;
whiteContentView.layer.mask = layer;
whiteContentView.clipsToBounds = true
blackMaskView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
let whiteHeight = KScreenHeight - k_Height_NavigationtBarAndStatuBar
// whiteContentView.snp.makeConstraints { make in
// make.left.right.bottom.equalToSuperview()
// make.height.equalTo(whiteHeight)
// }
whiteContentView.frame = CGRect(x: 0, y: KScreenHeight, width: KScreenWidth, height: whiteHeight)
whiteContentView.addSubview(bkgImageV2)
bkgImageV2.snp.makeConstraints { make in
make.top.left.right.equalToSuperview()
make.height.equalTo(375)
}
whiteContentView.addSubview(bottomView)
bottomView.snp.makeConstraints { make in
make.bottom.left.right.equalToSuperview()
make.height.equalTo(98)
}
whiteContentView.addSubview(myScrollView)
myScrollView.snp.makeConstraints { make in
make.top.equalToSuperview().offset(20)
make.right.equalToSuperview()
make.width.equalTo(KScreenWidth)
make.height.equalTo(whiteHeight-98 - 20)
}
if let tmpImage = UIImage(named:"official_approval_guideline") {
let scale = Double(tmpImage.size.height / tmpImage.size.width)
let imageH = scale * KScreenWidth
myScrollView.addSubview(bkgImageV)
bkgImageV.snp.makeConstraints { make in
make.top.left.equalToSuperview()
make.width.equalTo(KScreenWidth)
make.height.equalTo(imageH)
}
myScrollView.contentSize = CGSize(width: KScreenWidth, height: imageH)
}
}
}
extension YHOffivialApprovalGuildLineCheckView : UIScrollViewDelegate {
func scrollViewDidScroll(_ scrollView: UIScrollView) {
if !ischeckBeforeFlag {
let scrollViewContentHeight = scrollView.contentSize.height
let scrollOffsetThreshold = scrollViewContentHeight - scrollView.bounds.size.height
// 当前滚动位置
let currentOffset = scrollView.contentOffset.y
if currentOffset > scrollOffsetThreshold { // 接近底部
// 滚动到了底部
ischeckBeforeFlag = true
stopTimer()
setButtonEnable(true)
} else {
// 没有滚动到底部
}
}
}
}
//
// YHOffivialApprovalSuccessCheckView.swift
// galaxy
//
// Created by davidhuangA on 2024/8/7.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
import AttributedString
import Lottie
import YYImage
class YHOffivialApprovalSuccessCheckView: UIView {
typealias Block = (Int) -> ()
var block: Block?
lazy var blackMaskView: UIView = {
let view = UIView()
view.backgroundColor = UIColor(hex: 0x0F1214, alpha: 0.6)
return view
}()
lazy var animationView: LottieAnimationView = {
let view = LottieAnimationView(name: "flower2")
view.loopMode = .playOnce
return view
}()
lazy var scrollBgImgV:YYAnimatedImageView = {
let img = YYImage(named:"officalsuccess.gif")
let imgV = YYAnimatedImageView(image: img)
imgV.autoPlayAnimatedImage = false
imgV.currentAnimatedImageIndex = 0
return imgV
}()
//香港身份获批指引操作
lazy var rewardBtn: UIButton = {
let button = UIButton(type: .custom)
button.addTarget(self, action: #selector(clickSureBtn), for: .touchUpInside)
button.setImage(UIImage(named: "official_approval_btn"), for: .normal)
button.setImage(UIImage(named: "official_approval_btn"), for: .disabled)
button.isEnabled = false
return button
}()
lazy var closeBtn: UIButton = {
let button = UIButton(type: .custom)
button.addTarget(self, action: #selector(clickCloseBtn), for: .touchUpInside)
button.setImage(UIImage(named: "official_approval_close_btn"), for: .normal)
button.isHidden = true
return button
}()
lazy var bkgImageV: UIImageView = {
let imageV = UIImageView()
imageV.image = UIImage(named: "official_approval_bkg")
imageV.contentMode = .scaleToFill
imageV.clipsToBounds = true
return imageV
}()
lazy var holdView: UIView = {
let view = UIView()
return view
}()
lazy var titleLabel: UILabel = {
var label = UILabel()
label.font = .PFSC_R(ofSize: 15)
label.textColor = UIColor(hex: 0x671908, alpha: 1.0)
label.text = ""
label.numberOfLines = 0
label.lineBreakMode = .byWordWrapping
return label
}()
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
}
let testContent = "恭喜您申请的【优秀人才入境计划】已获得港府的正式批准!从递交资料伊始,经历了235天,感谢您这一路以来对银河的信赖与包容!"
var timer: Timer?
var counter = 0
private var displayLink: CADisplayLink?
private var currentIndex: Int = 0
private var fullText: String = "恭喜您申请的【优秀人才入境计划】"
private var centerText: String = "已获得港府的正式批准!"
private var lastText: String = "从递交资料伊始,经历了235天,感谢您这一路以来对银河的信赖与包容!"
var days : Int = 0 {
didSet {
lastText = "从递交资料伊始,经历了" + String(days) + "天,感谢您这一路以来对银河的信赖与包容!"
}
}
}
extension YHOffivialApprovalSuccessCheckView {
static func sheetView() -> YHOffivialApprovalSuccessCheckView {
let view = YHOffivialApprovalSuccessCheckView(frame:UIScreen.main.bounds)
return view
}
func show() {
UIApplication.shared.yhKeyWindow()?.addSubview(self)
}
@objc func dismiss() {
self.removeFromSuperview()
}
@objc func clickSureBtn() {
self.block?(0)
dismiss()
}
@objc func clickCloseBtn() {
self.block?(1)
dismiss()
}
}
private extension YHOffivialApprovalSuccessCheckView {
func setupUI() {
addSubview(blackMaskView)
blackMaskView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
if let tmpImage = UIImage(named:"official_approval_bkg") {
let scale = Double(tmpImage.size.height / tmpImage.size.width)
let imageH = scale * KScreenWidth
holdView.frame = CGRect(x: 0, y: KScreenHeight, width: KScreenWidth, height: imageH)
addSubview(holdView)
bkgImageV.frame = CGRect(x: 0, y: 0, width: KScreenWidth, height: imageH)
holdView.addSubview(bkgImageV)
holdView.addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.top.equalTo(112)
make.left.equalTo(64)
make.right.equalTo(-64)
}
titleLabel.isHidden = true
holdView.addSubview(rewardBtn)
rewardBtn.snp.makeConstraints { make in
make.top.equalTo(233)
make.width.equalTo(196)
make.height.equalTo(44)
make.centerX.equalToSuperview()
}
holdView.addSubview(closeBtn)
closeBtn.snp.makeConstraints { make in
make.top.equalTo(rewardBtn.snp.bottom).offset(156)
make.width.equalTo(24)
make.height.equalTo(24)
make.centerX.equalToSuperview()
}
closeBtn.YH_clickEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
UIView.animate(withDuration: 1) {
self.holdView.frame = CGRect(x: 0, y: (KScreenHeight-imageH)/2 + 20, width: KScreenWidth, height: imageH)
} completion: { flag in
self.titleLabel.isHidden = false
self.startTypingEffect()
}
}
// addSubview(animationView)
// animationView.snp.makeConstraints { make in
// make.edges.equalToSuperview()
// }
// animationView.play { completed in
// self.animationView.isHidden = true
// }
addSubview(scrollBgImgV)
scrollBgImgV.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
self.scrollBgImgV.isHidden = false
DispatchQueue.main.asyncAfter(wallDeadline: .now() + 1) {
self.scrollBgImgV.animationRepeatCount = 2
self.scrollBgImgV.startAnimating()
Timer.scheduledTimer(withTimeInterval: 4, repeats: false) { timer in
self.scrollBgImgV.stopAnimating()
timer.invalidate()
self.scrollBgImgV.isHidden = true
}
}
}
func startTyping() {
timer = Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(typeText), userInfo: nil, repeats: true)
RunLoop.current.add(timer!, forMode: .common)
}
@objc func typeText() {
if counter < testContent.count {
self.titleLabel.text = String(testContent.prefix(counter + 1))
counter += 1
} else {
timer?.invalidate()
counter = 0
let aa: ASAttributedString = .init("恭喜您申请的【优秀人才入境计划】", .font(UIFont.PFSC_R(ofSize: 15)),.foreground(UIColor(hex: 0x671908, alpha: 1.0)))
let bb: ASAttributedString = .init("已获得港府的正式批准!", .font(UIFont.PFSC_R(ofSize: 15)),.foreground(UIColor(hex: 0xAE1616, alpha: 1.0)))
let cc: ASAttributedString = .init("从递交资料伊始,经历了235天,感谢您这一路以来对银河的信赖与包容!", .font(UIFont.PFSC_R(ofSize: 15)),.foreground(UIColor(hex: 0x671908, alpha: 1.0)))
self.titleLabel.attributed.text = aa + bb + cc
}
}
private func startTypingEffect() {
displayLink = CADisplayLink(target: self, selector: #selector(handleDisplayLink(_:)))
displayLink?.preferredFramesPerSecond = Int(1 / 0.1) // 设置帧率
displayLink?.add(to: .current, forMode: .common)
}
@objc private func handleDisplayLink(_ displayLink: CADisplayLink) {
if currentIndex < fullText.count + centerText.count + lastText.count {
var index = currentIndex
if currentIndex >= fullText.count {
index = fullText.count
}
let attributedString = NSMutableAttributedString(string: String(fullText[..<index]),
attributes: [
NSAttributedString.Key.foregroundColor: UIColor(hex: 0x671908, alpha: 1.0),
NSAttributedString.Key.paragraphStyle: {
let style = NSMutableParagraphStyle()
style.lineSpacing = 6 //控制行间距
style.alignment = .left
return style
}()
])
var centerIndex = 0
if currentIndex >= fullText.count + centerText.count {
centerIndex = centerText.count
} else if currentIndex >= fullText.count {
centerIndex = currentIndex - fullText.count
}
let centerattributedString = NSMutableAttributedString(string: String(centerText[..<centerIndex]),
attributes: [
NSAttributedString.Key.foregroundColor: UIColor(hex: 0xAE1616, alpha: 1.0),
NSAttributedString.Key.paragraphStyle: {
let style = NSMutableParagraphStyle()
style.lineSpacing = 6 //控制行间距
style.alignment = .left
return style
}()
])
var lastIndex = 0
if currentIndex >= fullText.count + centerText.count {
lastIndex = currentIndex - fullText.count - centerText.count
}
let lastattributedString = NSMutableAttributedString(string: String(lastText[..<lastIndex]),
attributes: [
NSAttributedString.Key.foregroundColor: UIColor(hex: 0x671908, alpha: 1.0),
NSAttributedString.Key.paragraphStyle: {
let style = NSMutableParagraphStyle()
style.lineSpacing = 6 //控制行间距
style.alignment = .left
return style
}()
])
let result = NSMutableAttributedString(attributedString: attributedString)
result.append(centerattributedString)
result.append(lastattributedString)
self.titleLabel.attributedText = result
currentIndex += 1
} else {
displayLink.invalidate()
self.closeBtn.isHidden = false
self.rewardBtn.isEnabled = true
}
}
}
//
// YHOffivialApprovalSuccessView.swift
// galaxy
//
// Created by EDY on 2024/8/9.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHOffivialApprovalSuccessView: UIView {
var dataModel : YHOfficalLetterListModel? {
didSet {
updateUI()
}
}
private var titleLabel: UILabel!
private var arrViews : [UIView] = []
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
}
func setupUI() {
titleLabel = {
let label = UILabel()
label.font = UIFont.PFSC_M(ofSize: 30)
label.textColor = UIColor(hex: 0x881000)
label.text = "恭喜"
return label
}()
addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.left.equalTo(5)
make.top.equalTo(0)
make.right.equalTo(-5)
make.height.equalTo(42)
}
}
func updataView(data: [String]) {
for (_,item) in arrViews.enumerated() {
item.removeFromSuperview()
}
var h = 60
var index = 0
for item in data {
let label = UILabel()
label.text = item
label.font = UIFont.PFSC_M(ofSize: 15)
label.textColor = UIColor(hex: 0x881000)
if index == 2 {
label.textColor = UIColor(hex: 0xd12501)
}
addSubview(label)
label.snp.makeConstraints { make in
make.left.equalTo(5)
make.top.equalTo(h)
make.right.equalTo(-5)
make.height.equalTo(26)
}
let line = UIView()
line.backgroundColor = UIColor(hex: 0x881000).withAlphaComponent(0.15)
addSubview(line)
line.snp.makeConstraints { make in
make.left.equalTo(5)
make.top.equalTo(h + 26 + 2)
make.width.equalTo(234)
make.height.equalTo(1)
}
h = h + 26 + 10
index = index + 1
arrViews.append(label)
arrViews.append(line)
}
}
}
private extension YHOffivialApprovalSuccessView {
func updateUI() {
// backgroundColor = .purple // for test hjl
guard let model = dataModel else { return }
titleLabel.text = "恭喜 " + model.applicant_name + model.applicant_sex.gentlemanDescribe() + "!"
if model.applicant_approval_date.count >= "2023年10月1日".count {
var tmp = model.applicant_approval_date.slice(from: 0, length: "2023年10月1日".count)
let arr = tmp.split(separator: "-")
if arr.count == 3 {
tmp = arr[0] + "年" + arr[1] + "月" + arr[2] + "日" + "正式获批"
let fourItems = ["祝贺您和您的家人申请的","【优秀人才入境计划】",tmp,"这意味着,您领取香港居民身份证","仅有一步之遥!!"]
updataView(data: fourItems)
}
}
}
}
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