Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
f3669652
Commit
f3669652
authored
Feb 25, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组件封装
parent
3099554a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
390 additions
and
231 deletions
+390
-231
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+33
-17
YHBasicInfoFillCell.swift
...ess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
+2
-2
YHPreviewInfoSessionModel.swift
.../PersonInfoList(个人信息预览)/M/YHPreviewInfoSessionModel.swift
+1
-0
YHPreviewInfoCell.swift
...cess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCell.swift
+20
-173
YHPreviewInfoCertificateInformationItemsView.swift
...息预览)/V/YHPreviewInfoCertificateInformationItemsView.swift
+117
-0
YHPreviewInfoCertificatePictureItemView.swift
...t(个人信息预览)/V/YHPreviewInfoCertificatePictureItemView.swift
+24
-24
YHPreviewInfoCertificatePictureItemsView.swift
...(个人信息预览)/V/YHPreviewInfoCertificatePictureItemsView.swift
+64
-0
YHPreviewInfoNameAndSubNameItemView.swift
...oList(个人信息预览)/V/YHPreviewInfoNameAndSubNameItemView.swift
+2
-2
YHPreviewInfoNameAndSubNameItemsView.swift
...List(个人信息预览)/V/YHPreviewInfoNameAndSubNameItemsView.swift
+15
-0
YHPreviewInfoQuestionAndAnswerItemView.swift
...st(个人信息预览)/V/YHPreviewInfoQuestionAndAnswerItemView.swift
+38
-11
YHPreviewInfoQuestionAndAnswerItemsView.swift
...t(个人信息预览)/V/YHPreviewInfoQuestionAndAnswerItemsView.swift
+72
-0
YHPreviewInfoSingleLineTitleView.swift
...InfoList(个人信息预览)/V/YHPreviewInfoSingleLineTitleView.swift
+2
-2
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
f3669652
...
...
@@ -131,11 +131,15 @@
A51044182B493675006B60BB
/* README.md in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A51044172B493675006B60BB
/* README.md */
;
};
A510441A2B495DD0006B60BB
/* UIView+Extension.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A51044192B495DD0006B60BB
/* UIView+Extension.swift */
;
};
A514E5DC2B60A2B700C93951
/* YHServiceCenterSecondViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A514E5DB2B60A2B700C93951
/* YHServiceCenterSecondViewController.swift */
;
};
A5167B272B692CF20084C08F
/* YHP
ersonInfoIdentificationCardView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5167B262B692CF20084C08F
/* YHPersonInfoIdentificationCard
View.swift */
;
};
A5167B272B692CF20084C08F
/* YHP
reviewInfoCertificatePictureItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5167B262B692CF20084C08F
/* YHPreviewInfoCertificatePictureItem
View.swift */
;
};
A5167B332B6A3A2D0084C08F
/* YHPersonInfoBaseViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5167B322B6A3A2D0084C08F
/* YHPersonInfoBaseViewController.swift */
;
};
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
View.swift */
;
};
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
ItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerItem
View.swift */
;
};
A5191F622B89E748001069F7
/* YHPreviewQuestionAndAnswerModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F612B89E748001069F7
/* YHPreviewQuestionAndAnswerModel.swift */
;
};
A5191F642B89E926001069F7
/* YHOtherInfoPreviewViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F632B89E926001069F7
/* YHOtherInfoPreviewViewController.swift */
;
};
A5191F662B8AEFD2001069F7
/* YHPreviewInfoQuestionAndAnswerItemsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F652B8AEFD2001069F7
/* YHPreviewInfoQuestionAndAnswerItemsView.swift */
;
};
A5191F682B8B0F38001069F7
/* YHPreviewInfoNameAndSubNameItemsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F672B8B0F38001069F7
/* YHPreviewInfoNameAndSubNameItemsView.swift */
;
};
A5191F6A2B8B1888001069F7
/* YHPreviewInfoCertificateInformationItemsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F692B8B1888001069F7
/* YHPreviewInfoCertificateInformationItemsView.swift */
;
};
A5191F6C2B8B1A05001069F7
/* YHPreviewInfoCertificatePictureItemsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5191F6B2B8B1A05001069F7
/* YHPreviewInfoCertificatePictureItemsView.swift */
;
};
A5234E282B6E2EED00A33433
/* YHBasicInfoFillViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5234E272B6E2EED00A33433
/* YHBasicInfoFillViewController.swift */
;
};
A5234E2A2B6E349600A33433
/* YHBasicInfoFillBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5234E292B6E349600A33433
/* YHBasicInfoFillBottomView.swift */
;
};
A5234E2C2B6E3BA400A33433
/* YHBasicInfoFillCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5234E2B2B6E3BA400A33433
/* YHBasicInfoFillCell.swift */
;
};
...
...
@@ -255,8 +259,8 @@
A5FD63E62B67908000D1D9DA
/* YHPersonInfoControllerHoldViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63E52B67908000D1D9DA
/* YHPersonInfoControllerHoldViewController.swift */
;
};
A5FD63E82B67D8EA00D1D9DA
/* YHMainApplicantInfoPreviewViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63E72B67D8EA00D1D9DA
/* YHMainApplicantInfoPreviewViewController.swift */
;
};
A5FD63EA2B67D95100D1D9DA
/* YHFamilyMemberViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63E92B67D95100D1D9DA
/* YHFamilyMemberViewController.swift */
;
};
A5FD63ED2B688A7000D1D9DA
/* YHPreviewInfo
TitleView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfo
TitleView.swift */
;
};
A5FD63EF2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
View.swift */
;
};
A5FD63ED2B688A7000D1D9DA
/* YHPreviewInfo
SingleLineTitleView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfoSingleLine
TitleView.swift */
;
};
A5FD63EF2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
ItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubNameItem
View.swift */
;
};
A5FD63F12B68963200D1D9DA
/* YHPreviewInfoHoldView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63F02B68963200D1D9DA
/* YHPreviewInfoHoldView.swift */
;
};
A5FD63F42B68CCE900D1D9DA
/* YHPreviewInfoBaseModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63F32B68CCE900D1D9DA
/* YHPreviewInfoBaseModel.swift */
;
};
A5FD63F62B68D13200D1D9DA
/* YHPreviewInfoSessionModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5FD63F52B68D13200D1D9DA
/* YHPreviewInfoSessionModel.swift */
;
};
...
...
@@ -422,11 +426,15 @@
A51044172B493675006B60BB
/* README.md */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
net.daringfireball.markdown
;
path
=
README.md
;
sourceTree
=
"<group>"
;
};
A51044192B495DD0006B60BB
/* UIView+Extension.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"UIView+Extension.swift"
;
sourceTree
=
"<group>"
;
};
A514E5DB2B60A2B700C93951
/* YHServiceCenterSecondViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceCenterSecondViewController.swift
;
sourceTree
=
"<group>"
;
};
A5167B262B692CF20084C08F
/* YHP
ersonInfoIdentificationCardView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPersonInfoIdentificationCard
View.swift
;
sourceTree
=
"<group>"
;
};
A5167B262B692CF20084C08F
/* YHP
reviewInfoCertificatePictureItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoCertificatePictureItem
View.swift
;
sourceTree
=
"<group>"
;
};
A5167B322B6A3A2D0084C08F
/* YHPersonInfoBaseViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPersonInfoBaseViewController.swift
;
sourceTree
=
"<group>"
;
};
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoQuestionAndAnswer
View.swift
;
sourceTree
=
"<group>"
;
};
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
ItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoQuestionAndAnswerItem
View.swift
;
sourceTree
=
"<group>"
;
};
A5191F612B89E748001069F7
/* YHPreviewQuestionAndAnswerModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewQuestionAndAnswerModel.swift
;
sourceTree
=
"<group>"
;
};
A5191F632B89E926001069F7
/* YHOtherInfoPreviewViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHOtherInfoPreviewViewController.swift
;
sourceTree
=
"<group>"
;
};
A5191F652B8AEFD2001069F7
/* YHPreviewInfoQuestionAndAnswerItemsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoQuestionAndAnswerItemsView.swift
;
sourceTree
=
"<group>"
;
};
A5191F672B8B0F38001069F7
/* YHPreviewInfoNameAndSubNameItemsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoNameAndSubNameItemsView.swift
;
sourceTree
=
"<group>"
;
};
A5191F692B8B1888001069F7
/* YHPreviewInfoCertificateInformationItemsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoCertificateInformationItemsView.swift
;
sourceTree
=
"<group>"
;
};
A5191F6B2B8B1A05001069F7
/* YHPreviewInfoCertificatePictureItemsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoCertificatePictureItemsView.swift
;
sourceTree
=
"<group>"
;
};
A5234E272B6E2EED00A33433
/* YHBasicInfoFillViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBasicInfoFillViewController.swift
;
sourceTree
=
"<group>"
;
};
A5234E292B6E349600A33433
/* YHBasicInfoFillBottomView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBasicInfoFillBottomView.swift
;
sourceTree
=
"<group>"
;
};
A5234E2B2B6E3BA400A33433
/* YHBasicInfoFillCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBasicInfoFillCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -550,8 +558,8 @@
A5FD63E52B67908000D1D9DA
/* YHPersonInfoControllerHoldViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPersonInfoControllerHoldViewController.swift
;
sourceTree
=
"<group>"
;
};
A5FD63E72B67D8EA00D1D9DA
/* YHMainApplicantInfoPreviewViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMainApplicantInfoPreviewViewController.swift
;
sourceTree
=
"<group>"
;
};
A5FD63E92B67D95100D1D9DA
/* YHFamilyMemberViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"YH\U001dFamilyMemberViewController.swift"
;
sourceTree
=
"<group>"
;
};
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfo
TitleView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfo
TitleView.swift
;
sourceTree
=
"<group>"
;
};
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoNameAndSubName
View.swift
;
sourceTree
=
"<group>"
;
};
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfo
SingleLineTitleView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoSingleLine
TitleView.swift
;
sourceTree
=
"<group>"
;
};
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
ItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoNameAndSubNameItem
View.swift
;
sourceTree
=
"<group>"
;
};
A5FD63F02B68963200D1D9DA
/* YHPreviewInfoHoldView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoHoldView.swift
;
sourceTree
=
"<group>"
;
};
A5FD63F32B68CCE900D1D9DA
/* YHPreviewInfoBaseModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoBaseModel.swift
;
sourceTree
=
"<group>"
;
};
A5FD63F52B68D13200D1D9DA
/* YHPreviewInfoSessionModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoSessionModel.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1028,12 +1036,16 @@
A5167B2F2B6A23FC0084C08F
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
A5167B262B692CF20084C08F
/* YHPersonInfoIdentificationCardView.swift */
,
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfoTitleView.swift */
,
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubNameView.swift */
,
A5FD63F02B68963200D1D9DA
/* YHPreviewInfoHoldView.swift */
,
A5F78C812B68F39600EEA170
/* YHPreviewInfoCell.swift */
,
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerView.swift */
,
A5FD63F02B68963200D1D9DA
/* YHPreviewInfoHoldView.swift */
,
A5FD63EC2B688A7000D1D9DA
/* YHPreviewInfoSingleLineTitleView.swift */
,
A5191F5F2B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerItemView.swift */
,
A5191F652B8AEFD2001069F7
/* YHPreviewInfoQuestionAndAnswerItemsView.swift */
,
A5FD63EE2B68902400D1D9DA
/* YHPreviewInfoNameAndSubNameItemView.swift */
,
A5191F672B8B0F38001069F7
/* YHPreviewInfoNameAndSubNameItemsView.swift */
,
A5191F692B8B1888001069F7
/* YHPreviewInfoCertificateInformationItemsView.swift */
,
A5167B262B692CF20084C08F
/* YHPreviewInfoCertificatePictureItemView.swift */
,
A5191F6B2B8B1A05001069F7
/* YHPreviewInfoCertificatePictureItemsView.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
...
...
@@ -1805,7 +1817,7 @@
A596C3A42B84D9100067BBB8
/* YHOtherInfoSessionView.swift in Sources */
,
A5234E372B70802400A33433
/* YHBasicInfoCellModel.swift in Sources */
,
A5C382D12B5FAAB300C5E65C
/* YHContactItemModel.swift in Sources */
,
A5FD63EF2B68902400D1D9DA
/* YHPreviewInfoNameAndSubNameView.swift in Sources */
,
A5FD63EF2B68902400D1D9DA
/* YHPreviewInfoNameAndSubName
Item
View.swift in Sources */
,
A5ACE9522B4564F7002C94D2
/* YHServiceCenterMainViewController.swift in Sources */
,
A5C5B2FD2B55361700A7C5D1
/* YHBannerModel.swift in Sources */
,
A5ACE9462B4564F7002C94D2
/* YHHUDSquareBaseView.swift in Sources */
,
...
...
@@ -1823,7 +1835,8 @@
A5FD63CD2B64E2D600D1D9DA
/* YHScoreDetailViewController.swift in Sources */
,
04E86E4B2B84504D00A35F4B
/* YHWorkHighlightsTableViewCell.swift in Sources */
,
04E86E2D2B81EA1000A35F4B
/* YHWorkItemListViewModel.swift in Sources */
,
A5FD63ED2B688A7000D1D9DA
/* YHPreviewInfoTitleView.swift in Sources */
,
A5191F6C2B8B1A05001069F7
/* YHPreviewInfoCertificatePictureItemsView.swift in Sources */
,
A5FD63ED2B688A7000D1D9DA
/* YHPreviewInfoSingleLineTitleView.swift in Sources */
,
04E86E322B81EA1000A35F4B
/* YHWorkItemAddView.swift in Sources */
,
A5C5B2FB2B5535DF00A7C5D1
/* YHHomeBannerView.swift in Sources */
,
A5F78C822B68F39600EEA170
/* YHPreviewInfoCell.swift in Sources */
,
...
...
@@ -1854,6 +1867,7 @@
A5ACE9342B4564F7002C94D2
/* YHAllApiName.swift in Sources */
,
A5ACE9502B4564F7002C94D2
/* YhCacheTool.swift in Sources */
,
A5234E352B707F6B00A33433
/* YHBasicInfoSessionModel.swift in Sources */
,
A5191F662B8AEFD2001069F7
/* YHPreviewInfoQuestionAndAnswerItemsView.swift in Sources */
,
A5234E312B6F9C5E00A33433
/* YHBasicInfoFillViewModel.swift in Sources */
,
0468D4242B494BEA00CFB916
/* YHCodeResultViewController.swift in Sources */
,
A5FD63EA2B67D95100D1D9DA
/* YHFamilyMemberViewController.swift in Sources */
,
...
...
@@ -1865,7 +1879,7 @@
A5ACE9472B4564F7002C94D2
/* YHHUD.swift in Sources */
,
A5ACE9412B4564F7002C94D2
/* Dictionary+Extension.swift in Sources */
,
A5C5B3102B57677300A7C5D1
/* YHGestureTableView.swift in Sources */
,
A5167B272B692CF20084C08F
/* YHP
ersonInfoIdentificationCard
View.swift in Sources */
,
A5167B272B692CF20084C08F
/* YHP
reviewInfoCertificatePictureItem
View.swift in Sources */
,
A5ACE9312B4564F7002C94D2
/* YHPersonalCenterCell.swift in Sources */
,
04E86E5D2B84CC9700A35F4B
/* YHWorkExampleMessageView.swift in Sources */
,
A5ACE9532B4564F7002C94D2
/* YHBaseViewController.swift in Sources */
,
...
...
@@ -1886,6 +1900,7 @@
0468D4472B624AF000CFB916
/* YHBottomNextView.swift in Sources */
,
A5ACE94C2B4564F7002C94D2
/* YHHUDErrorView.swift in Sources */
,
04A7BC8F2B6B2BC2000E8D47
/* YHFamilyRequestViewModel.swift in Sources */
,
A5191F682B8B0F38001069F7
/* YHPreviewInfoNameAndSubNameItemsView.swift in Sources */
,
041B52D62B5F899E007EBCEB
/* YHSpousePrimaryInfoVC.swift in Sources */
,
A5D6AB1B2B46A1CC001C10A5
/* YHHomeModel.swift in Sources */
,
A5D6AB1D2B46AAFB001C10A5
/* YHHomePageViewModel.swift in Sources */
,
...
...
@@ -1901,6 +1916,7 @@
A5234E282B6E2EED00A33433
/* YHBasicInfoFillViewController.swift in Sources */
,
04E86E312B81EA1000A35F4B
/* YHWorkItemView.swift in Sources */
,
A5191F642B89E926001069F7
/* YHOtherInfoPreviewViewController.swift in Sources */
,
A5191F6A2B8B1888001069F7
/* YHPreviewInfoCertificateInformationItemsView.swift in Sources */
,
0468D4492B6258A900CFB916
/* YHItemView.swift in Sources */
,
041B528F2B5E620E007EBCEB
/* YHFormItemInputTextCell.swift in Sources */
,
04E86E612B85CAEA00A35F4B
/* YHWorkExampleModel.swift in Sources */
,
...
...
@@ -1959,7 +1975,7 @@
A5ACE9562B4564F7002C94D2
/* YHBouncesContentView.swift in Sources */
,
042FBBCB2B65058000F9DE23
/* YHChildBasicInfoVC.swift in Sources */
,
04E86E6A2B87352700A35F4B
/* YHCompanySelectViewController.swift in Sources */
,
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerView.swift in Sources */
,
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswer
Item
View.swift in Sources */
,
04E86E452B8357EC00A35F4B
/* YHItemModel.swift in Sources */
,
A5ACE9302B4564F7002C94D2
/* Algorithm.swift in Sources */
,
A5C5B32B2B57D17600A7C5D1
/* YHDavidCell5.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
View file @
f3669652
...
...
@@ -59,14 +59,14 @@ extension YHBasicInfoFillCell {
make
.
bottom
.
equalToSuperview
()
}
let
sessionView
=
YHPreviewInfoTitleView
()
let
sessionView
=
YHPreviewInfo
SingleLine
TitleView
()
sessionView
.
updateTitle
(
title
:
dataModel
.
sessionTitle
)
holdView1
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoTitleView
.
viewH
)
make
.
height
.
equalTo
(
YHPreviewInfo
SingleLine
TitleView
.
viewH
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/M/YHPreviewInfoSessionModel.swift
View file @
f3669652
...
...
@@ -13,6 +13,7 @@ enum YHPreviewInfoSessionModelType: Int {
case
countryInfoType
=
0
//0-国籍信息 类型
case
idCardInfoType
=
1
//1-证件信息 类型
case
idPictureType
=
2
//2-证件照片 类型
case
questionAndAnswer
=
3
//3-问答 类型
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCell.swift
View file @
f3669652
...
...
@@ -51,190 +51,37 @@ extension YHPreviewInfoCell {
if
model
?
.
cellType
==
.
countryInfoType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData0
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoTitleView
.
viewH
)
}
if
arrData
.
count
==
1
{
let
item
=
arrData
[
0
]
let
cellView
=
YHPreviewInfoNameAndSubNameView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
sessionView
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
var
tmp
:
UIView
=
sessionView
for
(
index
,
item
)
in
arrData
.
enumerated
()
{
let
cellView
=
YHPreviewInfoNameAndSubNameView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
if
index
==
arrData
.
count
-
1
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
tmp
=
cellView
}
let
view
=
YHPreviewInfoQuestionAndAnswerItemsView
(
frame
:
.
zero
)
view
.
dataModel
=
model
holdView
.
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalTo
(
0
)
}
}
}
else
if
model
?
.
cellType
==
.
idCardInfoType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData1
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoTitleView
.
viewH
)
}
var
tmp
:
UIView
=
sessionView
for
(
index0
,
item0
)
in
arrData
.
enumerated
()
{
let
lable
=
UILabel
()
lable
.
text
=
item0
.
cellTitle
lable
.
textColor
=
UIColor
.
mainTextColor
lable
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
holdView
.
addSubview
(
lable
)
lable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
18
)
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
make
.
height
.
equalTo
(
17
)
}
tmp
=
lable
let
arrData0
=
item0
.
cellData
if
arrData0
.
count
>
0
{
for
(
index
,
item
)
in
arrData0
.
enumerated
()
{
let
cellView
=
YHPreviewInfoNameAndSubNameView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
if
index
==
0
{
//第一个
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
10
)
//for test hjl
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
else
if
index
==
arrData0
.
count
-
1
{
//最后一个
if
index0
==
arrData
.
count
-
1
{
//最后一个cell
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
let
bottomLine
=
UIView
()
bottomLine
.
backgroundColor
=
UIColor
(
hex
:
0xF0F0F0
)
holdView
.
addSubview
(
bottomLine
)
bottomLine
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
cellView
.
snp
.
bottom
)
.
offset
(
28
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
0.5
)
}
tmp
=
bottomLine
continue
}
}
else
{
//中间
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
tmp
=
cellView
}
}
let
view
=
YHPreviewInfoCertificateInformationItemsView
(
frame
:
.
zero
)
view
.
dataModel
=
model
holdView
.
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalTo
(
0
)
}
}
else
if
model
?
.
cellType
==
.
idPictureType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData2
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoTitleView
.
viewH
)
guard
let
model
=
model
else
{
return
}
let
view
=
YHPreviewInfoCertificatePictureItemsView
(
frame
:
.
zero
)
view
.
dataModel
=
model
holdView
.
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalTo
(
0
)
}
}
else
if
model
?
.
cellType
==
.
questionAndAnswer
{
var
tmp
:
UIView
=
sessionView
for
(
index0
,
item0
)
in
arrData
.
enumerated
()
{
let
view
=
YHPersonInfoIdentificationCardView
()
view
.
dataModel
=
item0
holdView
.
addSubview
(
view
)
if
index0
==
arrData
.
count
-
1
{
view
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
view
.
bottomLine
.
isHidden
=
true
}
}
else
{
view
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
}
view
.
bottomLine
.
isHidden
=
false
}
tmp
=
view
}
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCertificateInformationItemsView.swift
0 → 100644
View file @
f3669652
//
// YHPreviewInfoCertificateInformationItemsView.swift
// galaxy
//
// Created by davidhuangA on 2024/2/25.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
/*
*证件信息 类型 view
*/
class
YHPreviewInfoCertificateInformationItemsView
:
UIView
{
var
dataModel
:
YHPreviewInfoSessionModel
?
{
didSet
{
updateUI
()
}
}
}
extension
YHPreviewInfoCertificateInformationItemsView
{
func
updateUI
()
{
guard
let
model
=
dataModel
else
{
return
}
guard
let
arrData
=
model
.
cellData1
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoSingleLineTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoSingleLineTitleView
.
viewH
)
}
var
tmp
:
UIView
=
sessionView
for
(
index0
,
item0
)
in
arrData
.
enumerated
()
{
let
lable
=
UILabel
()
lable
.
text
=
item0
.
cellTitle
lable
.
textColor
=
UIColor
.
mainTextColor
lable
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
addSubview
(
lable
)
lable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
18
)
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
make
.
height
.
equalTo
(
17
)
}
tmp
=
lable
let
arrData0
=
item0
.
cellData
if
arrData0
.
count
>
0
{
for
(
index
,
item
)
in
arrData0
.
enumerated
()
{
let
cellView
=
YHPreviewInfoNameAndSubNameItemView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
addSubview
(
cellView
)
if
index
==
0
{
//第一个
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
10
)
//for test hjl
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
else
if
index
==
arrData0
.
count
-
1
{
//最后一个
if
index0
==
arrData
.
count
-
1
{
//最后一个cell
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
let
bottomLine
=
UIView
()
bottomLine
.
backgroundColor
=
UIColor
(
hex
:
0xF0F0F0
)
addSubview
(
bottomLine
)
bottomLine
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
cellView
.
snp
.
bottom
)
.
offset
(
28
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
0.5
)
}
tmp
=
bottomLine
continue
}
}
else
{
//中间
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
tmp
=
cellView
}
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHP
ersonInfoIdentificationCard
View.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHP
reviewInfoCertificatePictureItem
View.swift
View file @
f3669652
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHP
ersonInfoIdentificationCard
View
:
UIView
{
class
YHP
reviewInfoCertificatePictureItem
View
:
UIView
{
var
dataModel
:
YHPersonInfoCellModel2
?
{
didSet
{
...
...
@@ -25,7 +25,7 @@ class YHPersonInfoIdentificationCardView: UIView {
fatalError
(
"init(coder:) has not been implemented"
)
}
private
lazy
var
t
itleLable
:
UILabel
=
{
private
lazy
var
cellT
itleLable
:
UILabel
=
{
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
mainTextColor
lable
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
...
...
@@ -53,7 +53,7 @@ class YHPersonInfoIdentificationCardView: UIView {
}()
private
lazy
var
subtitleF
rontLable
:
UILabel
=
{
private
lazy
var
f
rontLable
:
UILabel
=
{
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
labelTextColor2
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
...
...
@@ -63,7 +63,7 @@ class YHPersonInfoIdentificationCardView: UIView {
}()
private
lazy
var
subtitleB
ackLable
:
UILabel
=
{
private
lazy
var
b
ackLable
:
UILabel
=
{
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
labelTextColor2
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
...
...
@@ -81,10 +81,10 @@ class YHPersonInfoIdentificationCardView: UIView {
}
extension
YHP
ersonInfoIdentificationCard
View
{
extension
YHP
reviewInfoCertificatePictureItem
View
{
func
setupUI
()
{
addSubview
(
t
itleLable
)
t
itleLable
.
snp
.
makeConstraints
{
make
in
addSubview
(
cellT
itleLable
)
cellT
itleLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
...
...
@@ -92,27 +92,27 @@ extension YHPersonInfoIdentificationCardView {
}
addSubview
(
subtitleF
rontLable
)
subtitleF
rontLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
t
itleLable
.
snp
.
bottom
)
.
offset
(
18
)
addSubview
(
f
rontLable
)
f
rontLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
cellT
itleLable
.
snp
.
bottom
)
.
offset
(
18
)
make
.
height
.
equalTo
(
20
)
make
.
left
.
equalTo
(
t
itleLable
.
snp
.
left
)
make
.
left
.
equalTo
(
cellT
itleLable
.
snp
.
left
)
make
.
right
.
equalTo
(
self
.
snp
.
centerX
)
.
offset
(
-
4
)
}
addSubview
(
frontImagV
)
frontImagV
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
subtitleF
rontLable
.
snp
.
bottom
)
.
offset
(
11
)
make
.
top
.
equalTo
(
f
rontLable
.
snp
.
bottom
)
.
offset
(
11
)
make
.
height
.
equalTo
(
95
)
make
.
left
.
equalTo
(
subtitleF
rontLable
.
snp
.
left
)
make
.
right
.
equalTo
(
subtitleF
rontLable
.
snp
.
right
)
make
.
left
.
equalTo
(
f
rontLable
.
snp
.
left
)
make
.
right
.
equalTo
(
f
rontLable
.
snp
.
right
)
}
addSubview
(
subtitleB
ackLable
)
subtitleB
ackLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
subtitleF
rontLable
.
snp
.
top
)
addSubview
(
b
ackLable
)
b
ackLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
f
rontLable
.
snp
.
top
)
make
.
height
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
18
)
make
.
left
.
equalTo
(
self
.
snp
.
centerX
)
.
offset
(
4
)
...
...
@@ -121,10 +121,10 @@ extension YHPersonInfoIdentificationCardView {
addSubview
(
backImagV
)
backImagV
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
subtitleB
ackLable
.
snp
.
bottom
)
.
offset
(
11
)
make
.
top
.
equalTo
(
b
ackLable
.
snp
.
bottom
)
.
offset
(
11
)
make
.
height
.
equalTo
(
95
)
make
.
left
.
equalTo
(
subtitleB
ackLable
.
snp
.
left
)
make
.
right
.
equalTo
(
subtitleB
ackLable
.
snp
.
right
)
make
.
left
.
equalTo
(
b
ackLable
.
snp
.
left
)
make
.
right
.
equalTo
(
b
ackLable
.
snp
.
right
)
}
...
...
@@ -141,12 +141,12 @@ extension YHPersonInfoIdentificationCardView {
}
extension
YHP
ersonInfoIdentificationCard
View
{
extension
YHP
reviewInfoCertificatePictureItem
View
{
func
updateUI
()
{
guard
let
dataModel
=
dataModel
else
{
return
}
t
itleLable
.
text
=
dataModel
.
cellTitle
subtitleF
rontLable
.
text
=
dataModel
.
idType
==
1
?
"身份证头像面"
:
"港澳通行证正面"
subtitleB
ackLable
.
text
=
dataModel
.
idType
==
1
?
"身份证国徽面"
:
"港澳通行证反面"
cellT
itleLable
.
text
=
dataModel
.
cellTitle
f
rontLable
.
text
=
dataModel
.
idType
==
1
?
"身份证头像面"
:
"港澳通行证正面"
b
ackLable
.
text
=
dataModel
.
idType
==
1
?
"身份证国徽面"
:
"港澳通行证反面"
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCertificatePictureItemsView.swift
0 → 100644
View file @
f3669652
//
// YHPreviewInfoCertificatePictureItemsView.swift
// galaxy
//
// Created by davidhuangA on 2024/2/25.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
/*
*证件照片 类型 view
*/
class
YHPreviewInfoCertificatePictureItemsView
:
UIView
{
var
dataModel
:
YHPreviewInfoSessionModel
?
{
didSet
{
updateUI
()
}
}
}
extension
YHPreviewInfoCertificatePictureItemsView
{
func
updateUI
()
{
guard
let
model
=
dataModel
else
{
return
}
guard
let
arrData
=
model
.
cellData2
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoSingleLineTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoSingleLineTitleView
.
viewH
)
}
var
tmp
:
UIView
=
sessionView
for
(
index0
,
item0
)
in
arrData
.
enumerated
()
{
let
view
=
YHPreviewInfoCertificatePictureItemView
()
view
.
dataModel
=
item0
addSubview
(
view
)
if
index0
==
arrData
.
count
-
1
{
view
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
view
.
bottomLine
.
isHidden
=
true
}
}
else
{
view
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
}
view
.
bottomLine
.
isHidden
=
false
}
tmp
=
view
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoNameAndSubNameView.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoNameAndSubName
Item
View.swift
View file @
f3669652
...
...
@@ -7,7 +7,7 @@
//
import
UIKit
class
YHPreviewInfoNameAndSubNameView
:
UIView
{
class
YHPreviewInfoNameAndSubName
Item
View
:
UIView
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
setupUI
()
...
...
@@ -60,7 +60,7 @@ class YHPreviewInfoNameAndSubNameView: UIView {
}
}
extension
YHPreviewInfoNameAndSubNameView
{
extension
YHPreviewInfoNameAndSubName
Item
View
{
func
update
(
title
:
String
,
subtitle
:
String
)
{
nameLable
.
text
=
title
subtitleLable
.
text
=
subtitle
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoNameAndSubNameItemsView.swift
0 → 100644
View file @
f3669652
//
// YHPreviewInfoNameAndSubNameItemsView.swift
// galaxy
//
// Created by davidhuangA on 2024/2/25.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHPreviewInfoNameAndSubNameItemsView
:
UIView
{
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoQuestionAndAnswerView.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoQuestionAndAnswer
Item
View.swift
View file @
f3669652
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHPreviewInfoQuestionAndAnswerView
:
UIView
{
class
YHPreviewInfoQuestionAndAnswer
Item
View
:
UIView
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
setupUI
()
...
...
@@ -23,20 +23,36 @@ class YHPreviewInfoQuestionAndAnswerView: UIView {
let
lable0
=
UILabel
(
text
:
"--"
)
lable0
.
textColor
=
UIColor
.
labelTextColor2
lable0
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
// lable0.numberOfLines = 1
//
lable0.lineBreakMode = .byCharWrapping
lable0
.
numberOfLines
=
0
lable0
.
lineBreakMode
=
.
byCharWrapping
return
lable0
}()
//
tit
le
//
subtitleLab
le
private
lazy
var
subtitleLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"--"
)
lable0
.
textColor
=
UIColor
.
mainTextColor
lable0
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
lable0
.
numberOfLines
=
0
lable0
.
lineBreakMode
=
.
byWordWrapping
lable0
.
textAlignment
=
.
right
// lable0.textAlignment = .right
return
lable0
}()
private
lazy
var
remarkTextField
:
UITextView
=
{
let
lable0
=
UITextView
(
frame
:
.
zero
)
lable0
.
contentInset
=
UIEdgeInsets
(
top
:
12
,
left
:
12
,
bottom
:
12
,
right
:
12
)
lable0
.
textColor
=
UIColor
.
labelTextColor2
lable0
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
lable0
.
backgroundColor
=
.
contentBkgColor
lable0
.
layer
.
cornerRadius
=
kCornerRadius6
lable0
.
clipsToBounds
=
true
lable0
.
isEditable
=
false
lable0
.
isSelectable
=
false
lable0
.
isScrollEnabled
=
false
lable0
.
text
=
"我是测试数据哈"
lable0
.
isHidden
=
true
return
lable0
}()
...
...
@@ -45,23 +61,34 @@ class YHPreviewInfoQuestionAndAnswerView: UIView {
nameLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
18
)
make
.
left
.
equalToSuperview
()
make
.
width
.
lessThanOrEqualTo
(
154
)
make
.
right
.
equalToSuperview
(
)
make
.
height
.
equalTo
(
20
)
}
nameLable
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
//
nameLable.setContentCompressionResistancePriority(.required, for: .horizontal)
addSubview
(
subtitleLable
)
subtitleLable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
nameLable
.
snp
.
top
)
make
.
top
.
equalTo
(
nameLable
.
snp
.
bottom
)
.
offset
(
8
)
make
.
right
.
equalToSuperview
()
make
.
left
.
equalTo
(
nameLable
.
snp
.
right
)
.
offset
(
10
)
make
.
left
.
equalTo
Superview
(
)
make
.
bottom
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
18
)
}
// addSubview(remarkTextField)
// remarkTextField.snp.makeConstraints { make in
// make.top.equalTo(subtitleLable.snp.bottom).offset(8)
// make.right.equalToSuperview()
// make.left.equalToSuperview()
//
// make.bottom.equalToSuperview().offset(-18)
// }
}
}
extension
YHPreviewInfoQuestionAndAnswerView
{
extension
YHPreviewInfoQuestionAndAnswer
Item
View
{
func
update
(
title
:
String
,
subtitle
:
String
)
{
nameLable
.
text
=
title
subtitleLable
.
text
=
subtitle
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoQuestionAndAnswerItemsView.swift
0 → 100644
View file @
f3669652
//
// YHPreviewInfoQuestionAndAnswerItemsView.swift
// galaxy
//
// Created by davidhuangA on 2024/2/25.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHPreviewInfoQuestionAndAnswerItemsView
:
UIView
{
var
dataModel
:
YHPreviewInfoSessionModel
?
{
didSet
{
updateUI
()
}
}
}
extension
YHPreviewInfoQuestionAndAnswerItemsView
{
func
updateUI
()
{
guard
let
model
=
dataModel
else
{
return
}
guard
let
arrData
=
model
.
cellData0
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHPreviewInfoSingleLineTitleView
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHPreviewInfoSingleLineTitleView
.
viewH
)
}
if
arrData
.
count
==
1
{
let
item
=
arrData
[
0
]
let
cellView
=
YHPreviewInfoNameAndSubNameItemView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
addSubview
(
cellView
)
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
sessionView
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
var
tmp
:
UIView
=
sessionView
for
(
index
,
item
)
in
arrData
.
enumerated
()
{
let
cellView
=
YHPreviewInfoNameAndSubNameItemView
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
addSubview
(
cellView
)
if
index
==
arrData
.
count
-
1
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
21
)
}
}
else
{
cellView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
}
tmp
=
cellView
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoTitleView.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfo
SingleLine
TitleView.swift
View file @
f3669652
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHPreviewInfoTitleView
:
UIView
{
class
YHPreviewInfo
SingleLine
TitleView
:
UIView
{
static
let
viewH
:
CGFloat
=
52
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
...
...
@@ -49,7 +49,7 @@ class YHPreviewInfoTitleView: UIView {
}
}
extension
YHPreviewInfoTitleView
{
extension
YHPreviewInfo
SingleLine
TitleView
{
func
updateTitle
(
title
:
String
)
{
nameLable
.
text
=
title
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment