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
f9642897
Commit
f9642897
authored
Aug 19, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
84731832
c8b6ee63
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1108 additions
and
7 deletions
+1108
-7
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+52
-0
YHCertificateAppointViewController.swift
...ficate(赴港办证预约)/C/YHCertificateAppointViewController.swift
+9
-2
YHGrabFileCell.swift
...te(办证段)/AppointCertificate(赴港办证预约)/V/YHGrabFileCell.swift
+35
-0
YHGrabNumberInfoView.swift
...)/AppointCertificate(赴港办证预约)/V/YHGrabNumberInfoView.swift
+266
-0
YHGrabNumberListCell.swift
...)/AppointCertificate(赴港办证预约)/V/YHGrabNumberListCell.swift
+107
-0
YHGrabNumberListView.swift
...)/AppointCertificate(赴港办证预约)/V/YHGrabNumberListView.swift
+131
-0
YHVisaPaymentVC.swift
...ificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
+161
-0
YHVisaPayTypeCell.swift
...icate(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPayTypeCell.swift
+229
-0
YHVisaPaymentTipsCell.swift
...e(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPaymentTipsCell.swift
+59
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+8
-4
CGFloat+Extention.swift
...xy/galaxy/Classes/Tools/Extention/CGFloat+Extention.swift
+1
-1
Contents.json
...sets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/Contents.json
+6
-0
Contents.json
...eCenter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/Contents.json
+22
-0
image 56@2x.png
...enter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/image 56@2x.png
+0
-0
image 56@3x.png
...enter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/image 56@3x.png
+0
-0
Contents.json
...nter/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/Contents.json
+22
-0
tips@2x.png
...Center/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/tips@2x.png
+0
-0
tips@3x.png
...Center/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/tips@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
f9642897
...
@@ -51,6 +51,10 @@
...
@@ -51,6 +51,10 @@
04256DE62C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
;
};
04256DE62C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
;
};
04256DE82C7314B500A37BA4
/* YHSelectApplicantCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
;
};
04256DE82C7314B500A37BA4
/* YHSelectApplicantCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
;
};
04256DEA2C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
;
};
04256DEA2C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
;
};
04256DEC2C732F6900A37BA4
/* YHGrabNumberListView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DEB2C732F6900A37BA4
/* YHGrabNumberListView.swift */
;
};
04256DEE2C73338200A37BA4
/* YHGrabNumberListCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DED2C73338200A37BA4
/* YHGrabNumberListCell.swift */
;
};
04256DF02C733B2D00A37BA4
/* YHGrabNumberInfoView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DEF2C733B2D00A37BA4
/* YHGrabNumberInfoView.swift */
;
};
04256DF22C734E7E00A37BA4
/* YHGrabFileCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04256DF12C734E7E00A37BA4
/* YHGrabFileCell.swift */
;
};
0425E63D2BA9345200A5E763
/* YHSchemeTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
;
};
0425E63D2BA9345200A5E763
/* YHSchemeTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
;
};
0425E6402BA9357D00A5E763
/* YHScemeItemModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E63F2BA9357D00A5E763
/* YHScemeItemModel.swift */
;
};
0425E6402BA9357D00A5E763
/* YHScemeItemModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E63F2BA9357D00A5E763
/* YHScemeItemModel.swift */
;
};
0425E6422BA95B1B00A5E763
/* YHSchemeTableFooterView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E6412BA95B1B00A5E763
/* YHSchemeTableFooterView.swift */
;
};
0425E6422BA95B1B00A5E763
/* YHSchemeTableFooterView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E6412BA95B1B00A5E763
/* YHSchemeTableFooterView.swift */
;
};
...
@@ -536,6 +540,9 @@
...
@@ -536,6 +540,9 @@
A567E5B72BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
;
};
A567E5B72BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
;
};
A567E5B82BD7643D00D5D5A0
/* YHSearchItemLayout.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
;
};
A567E5B82BD7643D00D5D5A0
/* YHSearchItemLayout.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
;
};
A56D2D612B62020C009C83A8
/* YHContractMainItemStatusCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A56D2D602B62020C009C83A8
/* YHContractMainItemStatusCell.swift */
;
};
A56D2D612B62020C009C83A8
/* YHContractMainItemStatusCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A56D2D602B62020C009C83A8
/* YHContractMainItemStatusCell.swift */
;
};
A57BFDE42C732AEF00A78E51
/* YHVisaPaymentVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A57BFDE32C732AEF00A78E51
/* YHVisaPaymentVC.swift */
;
};
A57BFDE62C73332E00A78E51
/* YHVisaPaymentTipsCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A57BFDE52C73332E00A78E51
/* YHVisaPaymentTipsCell.swift */
;
};
A57BFDE82C73371300A78E51
/* YHVisaPayTypeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A57BFDE72C73371300A78E51
/* YHVisaPayTypeCell.swift */
;
};
A580371E2BAD784B0031C312
/* YHMySchemeViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A580371D2BAD784B0031C312
/* YHMySchemeViewModel.swift */
;
};
A580371E2BAD784B0031C312
/* YHMySchemeViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A580371D2BAD784B0031C312
/* YHMySchemeViewModel.swift */
;
};
A58037212BAD7B2A0031C312
/* YHMySchemeModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58037202BAD7B2A0031C312
/* YHMySchemeModel.swift */
;
};
A58037212BAD7B2A0031C312
/* YHMySchemeModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58037202BAD7B2A0031C312
/* YHMySchemeModel.swift */
;
};
A582B23D2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A582B23C2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift */
;
};
A582B23D2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A582B23C2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift */
;
};
...
@@ -730,6 +737,10 @@
...
@@ -730,6 +737,10 @@
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectApplicantGroupCell.swift
;
sourceTree
=
"<group>"
;
};
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectApplicantGroupCell.swift
;
sourceTree
=
"<group>"
;
};
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectApplicantCell.swift
;
sourceTree
=
"<group>"
;
};
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSelectApplicantCell.swift
;
sourceTree
=
"<group>"
;
};
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHInfoItemSelectSheetView.swift
;
sourceTree
=
"<group>"
;
};
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHInfoItemSelectSheetView.swift
;
sourceTree
=
"<group>"
;
};
04256DEB2C732F6900A37BA4
/* YHGrabNumberListView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGrabNumberListView.swift
;
sourceTree
=
"<group>"
;
};
04256DED2C73338200A37BA4
/* YHGrabNumberListCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGrabNumberListCell.swift
;
sourceTree
=
"<group>"
;
};
04256DEF2C733B2D00A37BA4
/* YHGrabNumberInfoView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGrabNumberInfoView.swift
;
sourceTree
=
"<group>"
;
};
04256DF12C734E7E00A37BA4
/* YHGrabFileCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGrabFileCell.swift
;
sourceTree
=
"<group>"
;
};
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSchemeTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSchemeTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
0425E63F2BA9357D00A5E763
/* YHScemeItemModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHScemeItemModel.swift
;
sourceTree
=
"<group>"
;
};
0425E63F2BA9357D00A5E763
/* YHScemeItemModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHScemeItemModel.swift
;
sourceTree
=
"<group>"
;
};
0425E6412BA95B1B00A5E763
/* YHSchemeTableFooterView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSchemeTableFooterView.swift
;
sourceTree
=
"<group>"
;
};
0425E6412BA95B1B00A5E763
/* YHSchemeTableFooterView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSchemeTableFooterView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1224,6 +1235,9 @@
...
@@ -1224,6 +1235,9 @@
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHkLifeAndIdItemView.swift
;
sourceTree
=
"<group>"
;
};
A567E5902BD7643D00D5D5A0
/* YHHkLifeAndIdItemView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHkLifeAndIdItemView.swift
;
sourceTree
=
"<group>"
;
};
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSearchItemLayout.swift
;
sourceTree
=
"<group>"
;
};
A567E5912BD7643D00D5D5A0
/* YHSearchItemLayout.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSearchItemLayout.swift
;
sourceTree
=
"<group>"
;
};
A56D2D602B62020C009C83A8
/* YHContractMainItemStatusCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHContractMainItemStatusCell.swift
;
sourceTree
=
"<group>"
;
};
A56D2D602B62020C009C83A8
/* YHContractMainItemStatusCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHContractMainItemStatusCell.swift
;
sourceTree
=
"<group>"
;
};
A57BFDE32C732AEF00A78E51
/* YHVisaPaymentVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVisaPaymentVC.swift
;
sourceTree
=
"<group>"
;
};
A57BFDE52C73332E00A78E51
/* YHVisaPaymentTipsCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVisaPaymentTipsCell.swift
;
sourceTree
=
"<group>"
;
};
A57BFDE72C73371300A78E51
/* YHVisaPayTypeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVisaPayTypeCell.swift
;
sourceTree
=
"<group>"
;
};
A580371D2BAD784B0031C312
/* YHMySchemeViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySchemeViewModel.swift
;
sourceTree
=
"<group>"
;
};
A580371D2BAD784B0031C312
/* YHMySchemeViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySchemeViewModel.swift
;
sourceTree
=
"<group>"
;
};
A58037202BAD7B2A0031C312
/* YHMySchemeModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySchemeModel.swift
;
sourceTree
=
"<group>"
;
};
A58037202BAD7B2A0031C312
/* YHMySchemeModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySchemeModel.swift
;
sourceTree
=
"<group>"
;
};
A582B23C2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHKPlanDoctumentVC.swift
;
sourceTree
=
"<group>"
;
};
A582B23C2BB944ED009D098C
/* YHHKPlanDoctumentVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHKPlanDoctumentVC.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1516,8 +1530,12 @@
...
@@ -1516,8 +1530,12 @@
04256DE12C72E1EA00A37BA4
/* YHCertificateAppointOptionCell.swift */
,
04256DE12C72E1EA00A37BA4
/* YHCertificateAppointOptionCell.swift */
,
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
,
04256DE52C7310BE00A37BA4
/* YHSelectApplicantGroupCell.swift */
,
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
,
04256DE72C7314B500A37BA4
/* YHSelectApplicantCell.swift */
,
04256DED2C73338200A37BA4
/* YHGrabNumberListCell.swift */
,
04256DF12C734E7E00A37BA4
/* YHGrabFileCell.swift */
,
04256DE32C72E3FA00A37BA4
/* YHInfoItemOptionView.swift */
,
04256DE32C72E3FA00A37BA4
/* YHInfoItemOptionView.swift */
,
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
,
04256DE92C73263A00A37BA4
/* YHInfoItemSelectSheetView.swift */
,
04256DEB2C732F6900A37BA4
/* YHGrabNumberListView.swift */
,
04256DEF2C733B2D00A37BA4
/* YHGrabNumberInfoView.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -2365,6 +2383,7 @@
...
@@ -2365,6 +2383,7 @@
046A952B2C6EFA710059326A
/* Certificate(办证段) */
=
{
046A952B2C6EFA710059326A
/* Certificate(办证段) */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
A57BFDE02C732A4700A78E51
/* VisaPayment(4电子签字缴费) */
,
0430E63C2C72DB48000511E2
/* AddAdopters */
,
0430E63C2C72DB48000511E2
/* AddAdopters */
,
04256DD72C72D9C200A37BA4
/* AppointCertificate(赴港办证预约) */
,
04256DD72C72D9C200A37BA4
/* AppointCertificate(赴港办证预约) */
,
049D62C32C6F259D00E811A1
/* FamilyInfoConfirm(家庭信息确认) */
,
049D62C32C6F259D00E811A1
/* FamilyInfoConfirm(家庭信息确认) */
,
...
@@ -3127,6 +3146,32 @@
...
@@ -3127,6 +3146,32 @@
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
A57BFDE02C732A4700A78E51
/* VisaPayment(4电子签字缴费) */
=
{
isa
=
PBXGroup
;
children
=
(
A57BFDE22C732AA700A78E51
/* V */
,
A57BFDE12C732A8300A78E51
/* C */
,
);
path
=
"VisaPayment(4电子签字缴费)"
;
sourceTree
=
"<group>"
;
};
A57BFDE12C732A8300A78E51
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
A57BFDE32C732AEF00A78E51
/* YHVisaPaymentVC.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
};
A57BFDE22C732AA700A78E51
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
A57BFDE52C73332E00A78E51
/* YHVisaPaymentTipsCell.swift */
,
A57BFDE72C73371300A78E51
/* YHVisaPayTypeCell.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
};
A580371C2BAD77DB0031C312
/* VM */
=
{
A580371C2BAD77DB0031C312
/* VM */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -3862,6 +3907,7 @@
...
@@ -3862,6 +3907,7 @@
044867B82BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift in Sources */
,
044867B82BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift in Sources */
,
04256DE02C72DC0600A37BA4
/* YHCertificateAppointOptionView.swift in Sources */
,
04256DE02C72DC0600A37BA4
/* YHCertificateAppointOptionView.swift in Sources */
,
044D0C062C22736F00C5CF5E
/* YHSetExplainView.swift in Sources */
,
044D0C062C22736F00C5CF5E
/* YHSetExplainView.swift in Sources */
,
04256DF02C733B2D00A37BA4
/* YHGrabNumberInfoView.swift in Sources */
,
04213B252C48C15400797900
/* YHHomeIdentityViewController.swift in Sources */
,
04213B252C48C15400797900
/* YHHomeIdentityViewController.swift in Sources */
,
0472E25C2C521E64008EAB6E
/* YHHomeIdentityListVC.swift in Sources */
,
0472E25C2C521E64008EAB6E
/* YHHomeIdentityListVC.swift in Sources */
,
045EEF002B9F171A0022A143
/* YHFormItemEnterDetailCell.swift in Sources */
,
045EEF002B9F171A0022A143
/* YHFormItemEnterDetailCell.swift in Sources */
,
...
@@ -3932,6 +3978,7 @@
...
@@ -3932,6 +3978,7 @@
045EEEB32B9F171A0022A143
/* YHWorkFileSyncTableViewCell.swift in Sources */
,
045EEEB32B9F171A0022A143
/* YHWorkFileSyncTableViewCell.swift in Sources */
,
045EEEF12B9F171A0022A143
/* YHChildInfoContainerVC.swift in Sources */
,
045EEEF12B9F171A0022A143
/* YHChildInfoContainerVC.swift in Sources */
,
045EEF0B2B9F171A0022A143
/* YHBasicInfoFillViewController.swift in Sources */
,
045EEF0B2B9F171A0022A143
/* YHBasicInfoFillViewController.swift in Sources */
,
A57BFDE42C732AEF00A78E51
/* YHVisaPaymentVC.swift in Sources */
,
04F5F8682C198372004A463C
/* YHHKClassListViewController.swift in Sources */
,
04F5F8682C198372004A463C
/* YHHKClassListViewController.swift in Sources */
,
A582B2452BBA4CF9009D098C
/* YHHKPlanDocModel.swift in Sources */
,
A582B2452BBA4CF9009D098C
/* YHHKPlanDocModel.swift in Sources */
,
045EEF142B9F171A0022A143
/* YHItemModel.swift in Sources */
,
045EEF142B9F171A0022A143
/* YHItemModel.swift in Sources */
,
...
@@ -3974,6 +4021,7 @@
...
@@ -3974,6 +4021,7 @@
048787D12BCE61B20036E221
/* YHServiceNoOrderView.swift in Sources */
,
048787D12BCE61B20036E221
/* YHServiceNoOrderView.swift in Sources */
,
A567E5AC2BD7643D00D5D5A0
/* YHAgreementAlertView.swift in Sources */
,
A567E5AC2BD7643D00D5D5A0
/* YHAgreementAlertView.swift in Sources */
,
04CE1ADD2C2AD91F001CB80A
/* YHActivityDetailCell.swift in Sources */
,
04CE1ADD2C2AD91F001CB80A
/* YHActivityDetailCell.swift in Sources */
,
A57BFDE62C73332E00A78E51
/* YHVisaPaymentTipsCell.swift in Sources */
,
04AA19FD2BB40D5C00C1CBBD
/* Applegate(JPush).swift in Sources */
,
04AA19FD2BB40D5C00C1CBBD
/* Applegate(JPush).swift in Sources */
,
A567E5972BD7643D00D5D5A0
/* YHHomeModel.swift in Sources */
,
A567E5972BD7643D00D5D5A0
/* YHHomeModel.swift in Sources */
,
04AF82D82C291E960028CE2A
/* YHMatchUserViewModel.swift in Sources */
,
04AF82D82C291E960028CE2A
/* YHMatchUserViewModel.swift in Sources */
,
...
@@ -3985,6 +4033,7 @@
...
@@ -3985,6 +4033,7 @@
04FD856C2C2153F000BEF9C5
/* YHMyEducationCell.swift in Sources */
,
04FD856C2C2153F000BEF9C5
/* YHMyEducationCell.swift in Sources */
,
A5DE0D3C2BB9016200976FE1
/* YHEmailInputAlertView.swift in Sources */
,
A5DE0D3C2BB9016200976FE1
/* YHEmailInputAlertView.swift in Sources */
,
04256DE42C72E3FA00A37BA4
/* YHInfoItemOptionView.swift in Sources */
,
04256DE42C72E3FA00A37BA4
/* YHInfoItemOptionView.swift in Sources */
,
04256DF22C734E7E00A37BA4
/* YHGrabFileCell.swift in Sources */
,
A5ACE9512B4564F7002C94D2
/* YhConstant.swift in Sources */
,
A5ACE9512B4564F7002C94D2
/* YhConstant.swift in Sources */
,
04FD85662C2124AF00BEF9C5
/* YHNameCardViewController.swift in Sources */
,
04FD85662C2124AF00BEF9C5
/* YHNameCardViewController.swift in Sources */
,
0430E63B2C6DA106000511E2
/* CGFloat+Extention.swift in Sources */
,
0430E63B2C6DA106000511E2
/* CGFloat+Extention.swift in Sources */
,
...
@@ -4220,6 +4269,7 @@
...
@@ -4220,6 +4269,7 @@
044D0C1A2C22B40B00C5CF5E
/* YHEditPersonalProfileViewController.swift in Sources */
,
044D0C1A2C22B40B00C5CF5E
/* YHEditPersonalProfileViewController.swift in Sources */
,
047AA3E82C4A6D69009C4554
/* YHListViewController.swift in Sources */
,
047AA3E82C4A6D69009C4554
/* YHListViewController.swift in Sources */
,
048787D92BCF68530036E221
/* YHProgressView.swift in Sources */
,
048787D92BCF68530036E221
/* YHProgressView.swift in Sources */
,
04256DEE2C73338200A37BA4
/* YHGrabNumberListCell.swift in Sources */
,
045EEEEC2B9F171A0022A143
/* YHBrotherInfoVC.swift in Sources */
,
045EEEEC2B9F171A0022A143
/* YHBrotherInfoVC.swift in Sources */
,
0477E17A2BA41C7E00436346
/* YHCertificateModel.swift in Sources */
,
0477E17A2BA41C7E00436346
/* YHCertificateModel.swift in Sources */
,
045EEF242B9F171A0022A143
/* YHStepView.swift in Sources */
,
045EEF242B9F171A0022A143
/* YHStepView.swift in Sources */
,
...
@@ -4299,6 +4349,7 @@
...
@@ -4299,6 +4349,7 @@
045EEEEB2B9F171A0022A143
/* YHTest.swift in Sources */
,
045EEEEB2B9F171A0022A143
/* YHTest.swift in Sources */
,
04CE1AD12C2AD91F001CB80A
/* YHActivityTravelModel.swift in Sources */
,
04CE1AD12C2AD91F001CB80A
/* YHActivityTravelModel.swift in Sources */
,
044D0C202C22D37500C5CF5E
/* YHEditHonorViewController.swift in Sources */
,
044D0C202C22D37500C5CF5E
/* YHEditHonorViewController.swift in Sources */
,
04256DEC2C732F6900A37BA4
/* YHGrabNumberListView.swift in Sources */
,
045EEEAC2B9F171A0022A143
/* YHWorkExperienceTableViewCell.swift in Sources */
,
045EEEAC2B9F171A0022A143
/* YHWorkExperienceTableViewCell.swift in Sources */
,
A5ACE93C2B4564F7002C94D2
/* UIColor+Extension.swift in Sources */
,
A5ACE93C2B4564F7002C94D2
/* UIColor+Extension.swift in Sources */
,
A567E5A82BD7643D00D5D5A0
/* YHHomeWebBottomButton.swift in Sources */
,
A567E5A82BD7643D00D5D5A0
/* YHHomeWebBottomButton.swift in Sources */
,
...
@@ -4397,6 +4448,7 @@
...
@@ -4397,6 +4448,7 @@
045EEE962B9F171A0022A143
/* YHPreviewInfoCertificatePictureItemsView.swift in Sources */
,
045EEE962B9F171A0022A143
/* YHPreviewInfoCertificatePictureItemsView.swift in Sources */
,
04256DDE2C72DA3B00A37BA4
/* YHCertificateAppointViewController.swift in Sources */
,
04256DDE2C72DA3B00A37BA4
/* YHCertificateAppointViewController.swift in Sources */
,
A592FE912BA6CC010062FACA
/* YHCertificateEntryHeadView.swift in Sources */
,
A592FE912BA6CC010062FACA
/* YHCertificateEntryHeadView.swift in Sources */
,
A57BFDE82C73371300A78E51
/* YHVisaPayTypeCell.swift in Sources */
,
0425E63D2BA9345200A5E763
/* YHSchemeTableViewCell.swift in Sources */
,
0425E63D2BA9345200A5E763
/* YHSchemeTableViewCell.swift in Sources */
,
047AA3FC2C61EE7F009C4554
/* YHSignAppendStepView.swift in Sources */
,
047AA3FC2C61EE7F009C4554
/* YHSignAppendStepView.swift in Sources */
,
044D0C1E2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift in Sources */
,
044D0C1E2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
f9642897
...
@@ -10,7 +10,7 @@ import UIKit
...
@@ -10,7 +10,7 @@ import UIKit
class
YHCertificateAppointViewController
:
YHBaseViewController
{
class
YHCertificateAppointViewController
:
YHBaseViewController
{
var
items
=
[
""
,
""
]
var
items
=
[
""
,
""
,
""
]
lazy
var
tableView
:
UITableView
=
{
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
estimatedSectionHeaderHeight
=
16.0
tableView
.
estimatedSectionHeaderHeight
=
16.0
...
@@ -21,9 +21,11 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -21,9 +21,11 @@ class YHCertificateAppointViewController: YHBaseViewController {
tableView
.
delegate
=
self
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
dataSource
=
self
tableView
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
tableView
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
tableView
.
register
(
UITableViewCell
.
self
,
forCellReuseIdentifier
:
"UITableViewCell"
)
tableView
.
register
(
UITableViewCell
.
self
,
forCellReuseIdentifier
:
"UITableViewCell"
)
tableView
.
register
(
YHCertificateAppointOptionCell
.
self
,
forCellReuseIdentifier
:
YHCertificateAppointOptionCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHCertificateAppointOptionCell
.
self
,
forCellReuseIdentifier
:
YHCertificateAppointOptionCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHSelectApplicantGroupCell
.
self
,
forCellReuseIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHSelectApplicantGroupCell
.
self
,
forCellReuseIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHGrabNumberListCell
.
self
,
forCellReuseIdentifier
:
YHGrabNumberListCell
.
cellReuseIdentifier
)
return
tableView
return
tableView
}()
}()
...
@@ -60,8 +62,13 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
...
@@ -60,8 +62,13 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
return
cell
return
cell
}
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHSelectApplicantGroupCell
if
indexPath
.
row
==
1
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHSelectApplicantGroupCell
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHGrabNumberListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHGrabNumberListCell
return
cell
return
cell
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(赴港办证预约)/V/YHGrabFileCell.swift
0 → 100644
View file @
f9642897
//
// YHGrabFileCell.swift
// galaxy
//
// Created by edy on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHGrabFileCell
:
UICollectionViewCell
{
static
let
cellReuseIdentifier
=
"YHGrabFileCell"
lazy
var
selectImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
""
))
return
view
}()
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
createUI
()
{
self
.
layer
.
cornerRadius
=
5.0
self
.
layer
.
borderWidth
=
0.5
self
.
layer
.
borderColor
=
UIColor
.
separatorColor
.
cgColor
self
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xD8D8D8
)
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(赴港办证预约)/V/YHGrabNumberInfoView.swift
0 → 100644
View file @
f9642897
//
// YHGrabNumberInfoView.swift
// galaxy
//
// Created by edy on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
enum
YHGrabItemViewType
:
Int
{
case
info
case
grab
case
files
}
class
YHGrabItem
{
var
type
:
YHGrabItemViewType
=
.
info
var
title
:
String
=
""
var
detail
:
String
=
""
var
files
:[
String
]
=
[]
required
init
()
{
}
init
(
type
:
YHGrabItemViewType
,
title
:
String
,
detail
:
String
,
files
:[
String
]
=
[])
{
self
.
type
=
type
self
.
title
=
title
self
.
detail
=
detail
self
.
files
=
files
}
}
class
YHGrabNumberInfoItemView
:
UIView
{
let
dotWidth
=
4.0
let
titleMaxWidth
=
112.0
let
grabNumColor
=
UIColor
.
brandMainColor
let
infoColor
=
UIColor
.
mainTextColor
let
gap
=
8.0
let
fileWidth
=
floorl
((
KScreenWidth
-
48.0
*
2.0
-
8.0
*
3.0
)
/
4.0
)
var
item
:
YHGrabItem
=
YHGrabItem
()
lazy
var
collectionView
:
UICollectionView
=
{
let
layout
=
UICollectionViewFlowLayout
()
layout
.
scrollDirection
=
.
vertical
layout
.
minimumInteritemSpacing
=
8.0
layout
.
minimumLineSpacing
=
16
let
collectView
=
UICollectionView
(
frame
:
.
zero
,
collectionViewLayout
:
layout
)
collectView
.
delegate
=
self
collectView
.
dataSource
=
self
collectView
.
backgroundColor
=
.
clear
// 注册自定义单元格
collectView
.
register
(
YHGrabFileCell
.
self
,
forCellWithReuseIdentifier
:
YHGrabFileCell
.
cellReuseIdentifier
)
return
collectView
}()
func
updateItem
(
_
item
:
YHGrabItem
)
{
self
.
item
=
item
titleLabel
.
text
=
item
.
title
detailLabel
.
text
=
item
.
detail
if
item
.
type
==
.
grab
{
detailLabel
.
textColor
=
grabNumColor
}
else
{
detailLabel
.
textColor
=
infoColor
}
dotView
.
isHidden
=
(
item
.
type
!=
.
grab
)
collectionView
.
isHidden
=
item
.
type
!=
.
files
collectionView
.
reloadData
()
var
rowCount
=
item
.
files
.
count
/
4
if
item
.
files
.
count
%
4
!=
0
{
rowCount
+=
1
}
collectionView
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalTo
(
0
)
make
.
top
.
equalTo
(
detailLabel
.
snp
.
bottom
)
.
offset
(
16
)
if
item
.
type
==
.
files
{
make
.
height
.
equalTo
((
fileWidth
+
16.0
)
*
Double
(
rowCount
))
}
else
{
make
.
height
.
equalTo
(
0
)
}
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
lazy
var
dotView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
brandMainColor
view
.
layer
.
cornerRadius
=
self
.
dotWidth
/
2.0
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
.
mainTextColor
(
alpha
:
0.5
)
return
label
}()
lazy
var
detailLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
textAlignment
=
.
right
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
self
.
infoColor
return
label
}()
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
createUI
()
{
self
.
addSubview
(
titleLabel
)
self
.
addSubview
(
detailLabel
)
self
.
addSubview
(
dotView
)
self
.
addSubview
(
collectionView
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
make
.
width
.
equalTo
(
titleMaxWidth
)
}
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
make
.
height
.
greaterThanOrEqualTo
(
20.0
)
}
dotView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
dotWidth
)
make
.
centerY
.
equalTo
(
detailLabel
)
make
.
right
.
equalTo
(
detailLabel
.
snp
.
left
)
.
offset
(
-
4
)
make
.
left
.
greaterThanOrEqualTo
(
titleLabel
.
snp
.
right
)
.
offset
(
0
)
}
collectionView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalTo
(
0
)
make
.
top
.
equalTo
(
detailLabel
.
snp
.
bottom
)
.
offset
(
16
)
make
.
height
.
equalTo
(
fileWidth
)
make
.
bottom
.
equalTo
(
0
)
}
}
}
class
YHGrabNumberInfoView
:
UIView
{
var
items
:[
YHGrabItem
]
=
[]
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
textColor
=
.
mainTextColor
return
label
}()
lazy
var
lineView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
return
view
}()
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
createUI
()
{
self
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xF8F9FB
)
self
.
layer
.
cornerRadius
=
kCornerRadius4
self
.
clipsToBounds
=
true
self
.
addSubview
(
titleLabel
)
self
.
addSubview
(
lineView
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
14
)
make
.
top
.
equalTo
(
16
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
14
)
make
.
right
.
equalTo
(
-
14
)
make
.
height
.
equalTo
(
0.5
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
10
)
}
}
func
updateItems
(
_
items
:
[
YHGrabItem
])
{
self
.
items
=
items
var
lastView
:
YHGrabNumberInfoItemView
?
=
nil
for
(
index
,
item
)
in
items
.
enumerated
()
{
let
itemView
=
YHGrabNumberInfoItemView
(
frame
:
.
zero
)
self
.
addSubview
(
itemView
)
itemView
.
updateItem
(
item
)
itemView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
14
)
make
.
right
.
equalTo
(
-
14
)
if
let
last
=
lastView
{
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
.
offset
(
0
)
}
else
{
make
.
top
.
equalTo
(
lineView
.
snp
.
bottom
)
.
offset
(
12
)
}
if
index
==
items
.
count
-
1
{
make
.
bottom
.
equalTo
(
0
)
}
}
lastView
=
itemView
}
}
}
extension
YHGrabNumberInfoItemView
:
UICollectionViewDelegate
,
UICollectionViewDataSource
,
UICollectionViewDelegateFlowLayout
{
// 返回单元格数量
func
collectionView
(
_
collectionView
:
UICollectionView
,
numberOfItemsInSection
section
:
Int
)
->
Int
{
return
item
.
files
.
count
}
// 返回每个单元格的大小
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
return
CGSize
(
width
:
fileWidth
,
height
:
fileWidth
)
}
// 返回自定义单元格
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHGrabFileCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHGrabFileCell
if
0
<=
indexPath
.
item
&&
indexPath
.
item
<
item
.
files
.
count
{
let
applicant
=
item
.
files
[
indexPath
.
item
]
}
return
cell
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
didSelectItemAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
item
&&
indexPath
.
item
<
item
.
files
.
count
{
let
text
=
item
.
files
[
indexPath
.
item
]
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(赴港办证预约)/V/YHGrabNumberListCell.swift
0 → 100644
View file @
f9642897
//
// YHGrabNumberListCell.swift
// galaxy
//
// Created by edy on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHGrabNumberListCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHGrabNumberListCell"
var
items
:[
String
]
=
[
""
,
""
]
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
lazy
var
lineView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
textColor
=
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
text
=
"赴港办理抢号中批次"
return
label
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
func
setupUI
()
{
self
.
selectionStyle
=
.
none
self
.
backgroundColor
=
.
clear
self
.
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
whiteContentView
)
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
lineView
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
0
)
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
12
)
make
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
0.5
)
}
var
lastView
:
YHGrabNumberListView
?
=
nil
for
(
index
,
_
)
in
items
.
enumerated
()
{
let
listView
=
YHGrabNumberListView
(
frame
:
.
zero
)
let
chineseNum
=
convertNumberToChineseText
(
index
+
1
)
listView
.
titleLabel
.
text
=
"第
\(
chineseNum
)
批"
listView
.
membersLabel
.
text
=
"成员:刘德华德成员:刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德"
whiteContentView
.
addSubview
(
listView
)
listView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
if
let
last
=
lastView
{
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
}
else
{
make
.
top
.
equalTo
(
lineView
.
snp
.
bottom
)
}
if
index
==
items
.
count
-
1
{
make
.
bottom
.
equalTo
(
-
16
)
}
}
lastView
=
listView
}
}
//阿拉伯数字转文字
func
convertNumberToChineseText
(
_
number
:
Int
)
->
String
{
let
numberFormatter
=
NumberFormatter
()
numberFormatter
.
locale
=
Locale
(
identifier
:
"zh_CN"
)
numberFormatter
.
numberStyle
=
.
spellOut
return
numberFormatter
.
string
(
from
:
NSNumber
(
value
:
number
))
??
""
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(赴港办证预约)/V/YHGrabNumberListView.swift
0 → 100644
View file @
f9642897
//
// YHGrabNumberListView.swift
// galaxy
//
// Created by edy on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHGrabNumberListView
:
UIView
{
lazy
var
lineView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
return
view
}()
lazy
var
markView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
brandMainColor
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
16
)
label
.
textColor
=
.
mainTextColor
return
label
}()
lazy
var
cancelAppointBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
backgroundColor
=
.
white
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
12
)
btn
.
setTitle
(
"取消预约"
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
borderWidth
=
1.0
btn
.
layer
.
borderColor
=
UIColor
.
brandMainColor
.
cgColor
return
btn
}()
lazy
var
membersLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
text
=
"成员:"
label
.
textColor
=
.
mainTextColor
(
alpha
:
0.7
)
return
label
}()
lazy
var
grabInfoView
:
YHGrabNumberInfoView
=
{
let
view
=
YHGrabNumberInfoView
(
frame
:
.
zero
)
view
.
titleLabel
.
text
=
"抢号信息"
let
items
=
[
YHGrabItem
(
type
:
.
grab
,
title
:
"赴港时间:"
,
detail
:
"抢号中"
),
YHGrabItem
(
type
:
.
grab
,
title
:
"香港入境处:"
,
detail
:
"抢号中"
),
YHGrabItem
(
type
:
.
grab
,
title
:
"抢号反馈回执:"
,
detail
:
"抢号中"
),]
view
.
updateItems
(
items
)
return
view
}()
lazy
var
intentionInfoView
:
UIView
=
{
let
view
=
YHGrabNumberInfoView
(
frame
:
.
zero
)
view
.
titleLabel
.
text
=
"意向信息"
let
items
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
"2023-07-17 ~ 2023-08-22"
),
YHGrabItem
(
type
:
.
info
,
title
:
"期望香港办证点:"
,
detail
:
"屯门办事处(屯门)"
),
YHGrabItem
(
type
:
.
files
,
title
:
"抢号反馈回执:"
,
detail
:
""
,
files
:
[
""
,
""
,
""
,
""
,
""
]),]
view
.
updateItems
(
items
)
return
view
}()
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
createUI
()
{
self
.
addSubview
(
lineView
)
self
.
addSubview
(
markView
)
self
.
addSubview
(
titleLabel
)
self
.
addSubview
(
cancelAppointBtn
)
self
.
addSubview
(
membersLabel
)
self
.
addSubview
(
grabInfoView
)
self
.
addSubview
(
intentionInfoView
)
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
equalToSuperview
()
make
.
height
.
equalTo
(
0.5
)
}
cancelAppointBtn
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
12
)
make
.
right
.
equalTo
(
-
18
)
make
.
size
.
equalTo
(
CGSizeMake
(
70
,
32
))
}
markView
.
snp
.
makeConstraints
{
make
in
make
.
size
.
equalTo
(
CGSizeMake
(
3
,
14
))
make
.
left
.
equalTo
(
0
)
make
.
centerY
.
equalTo
(
cancelAppointBtn
)
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
markView
.
snp
.
right
)
.
offset
(
6
)
make
.
height
.
equalTo
(
22
)
make
.
centerY
.
equalTo
(
cancelAppointBtn
)
}
membersLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
12
)
}
grabInfoView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
membersLabel
.
snp
.
bottom
)
.
offset
(
16
)
// make.height.equalTo(166)
}
intentionInfoView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
grabInfoView
.
snp
.
bottom
)
.
offset
(
16
)
// make.height.equalTo(130)
make
.
bottom
.
equalTo
(
-
16
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
0 → 100644
View file @
f9642897
//
// YHVisaPaymentVC.swift
// galaxy
//
// Created by davidhuangA on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHVisaPaymentVC
:
YHBaseViewController
{
var
items
:
[
String
]
=
[
"1"
,
"1"
]
//for test hjl
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
estimatedSectionHeaderHeight
=
16.0
tableView
.
estimatedSectionFooterHeight
=
0.01
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
backgroundColor
=
.
clear
tableView
.
register
(
UITableViewCell
.
self
,
forCellReuseIdentifier
:
"UITableViewCell"
)
tableView
.
register
(
YHVisaPaymentTipsCell
.
self
,
forCellReuseIdentifier
:
YHVisaPaymentTipsCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHVisaPayTypeCell
.
self
,
forCellReuseIdentifier
:
YHVisaPayTypeCell
.
cellReuseIdentifier
)
return
tableView
}()
//我已悉知,确认
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
.
setTitle
(
"缴费结果更新中,请耐心等待"
,
for
:
.
disabled
)
button
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
white
,
for
:
.
disabled
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
clipsToBounds
=
true
button
.
addTarget
(
self
,
action
:
#selector(
clickNextBtn
)
,
for
:
.
touchUpInside
)
button
.
backgroundColor
=
UIColor
.
brandMainColor
return
button
}()
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
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setupUI
()
}
}
private
extension
YHVisaPaymentVC
{
func
setupUI
()
{
gk_navTitle
=
"签证缴费"
gk_navBarAlpha
=
1.0
gk_navBackgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
.
contentBkgColor
view
.
addSubview
(
tableView
)
view
.
addSubview
(
bottomView
)
bottomView
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
98
)
}
tableView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
kMargin
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
kMargin
)
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
)
make
.
bottom
.
equalTo
(
bottomView
.
snp
.
top
)
}
}
@objc
func
clickNextBtn
()
{
YHHUD
.
flash
(
message
:
"预计会在1个工作日内更新缴费结果"
)
disableSureButton
()
}
func
disableSureButton
()
{
rewardBtn
.
isEnabled
=
false
rewardBtn
.
backgroundColor
=
UIColor
.
brandMainColor30
}
}
extension
YHVisaPaymentVC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
2
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
1
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
if
indexPath
.
section
==
0
{
let
warningCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHVisaPaymentTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
return
warningCell
}
}
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHVisaPayTypeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
return
approveCell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
0
{
return
YHVisaPaymentTipsCell
.
cellH
}
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
}
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
16.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.01
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
return
view
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
return
view
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPayTypeCell.swift
0 → 100644
View file @
f9642897
//
// YHVisaPayTypeCell.swift
// galaxy
//
// Created by davidhuangA on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
import
Photos
class
YHVisaPayTypeCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHVisaPayTypeCell"
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
view
.
clipsToBounds
=
true
view
.
backgroundColor
=
.
white
return
view
}()
/// 已添加的长按手势
private
lazy
var
longPress
:
UILongPressGestureRecognizer
=
{
return
UILongPressGestureRecognizer
(
target
:
self
,
action
:
#selector(
onLongPress(_:)
)
)
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
}
private
extension
YHVisaPayTypeCell
{
func
saveImage
(
_
image
:
UIImage
)
{
// 确保应用有权访问相册
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
/// 长按
@objc
func
onLongPress
(
_
press
:
UILongPressGestureRecognizer
)
{
if
press
.
state
==
.
began
{
saveImage
(
UIImage
(
named
:
"visaPay_qr"
)
??
UIImage
())
}
}
func
setupUI
()
{
selectionStyle
=
.
none
backgroundColor
=
.
clear
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
whiteContentView
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
//
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
text
=
"港府官网缴费方式"
whiteContentView
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
kMargin
)
make
.
left
.
equalTo
(
kMargin
)
make
.
height
.
equalTo
(
24
)
}
let
line
=
UIView
()
line
.
backgroundColor
=
.
separatorColor
whiteContentView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
label
.
snp
.
bottom
)
.
offset
(
12
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
height
.
equalTo
(
1
)
}
let
label1
=
UILabel
()
label1
.
textColor
=
UIColor
.
mainTextColor
label1
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label1
.
text
=
"方式一"
whiteContentView
.
addSubview
(
label1
)
label1
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
line
.
snp
.
bottom
)
.
offset
(
kMargin
)
make
.
left
.
equalTo
(
kMargin
)
make
.
height
.
equalTo
(
20
)
}
let
label2
=
UILabel
()
label2
.
textColor
=
UIColor
.
mainTextColor50
label2
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label2
.
text
=
"点击下方链接,跳转浏览器,进入港府官网操作缴费"
whiteContentView
.
addSubview
(
label2
)
label2
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
label1
.
snp
.
bottom
)
.
offset
(
6
)
make
.
left
.
equalTo
(
kMargin
)
make
.
height
.
equalTo
(
17
)
}
let
holdView
=
UIView
()
holdView
.
backgroundColor
=
.
separatorColor
holdView
.
layer
.
cornerRadius
=
kCornerRadius4
holdView
.
clipsToBounds
=
true
whiteContentView
.
addSubview
(
holdView
)
holdView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
label2
.
snp
.
bottom
)
.
offset
(
6
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
height
.
equalTo
(
66
)
}
let
link
=
UILabel
()
link
.
numberOfLines
=
0
link
.
textColor
=
UIColor
.
brandMainColor
link
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
let
linkTxt
:
String
=
"https://www.gov.hk/tc/residents/immigration/nonpermanent/onlinepaymentforevisa.htm"
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
linkTxt
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
underline
([
.
single
],
color
:
UIColor
.
brandMainColor
),
.
action
{
if
let
url
=
URL
(
string
:
linkTxt
)
{
if
UIApplication
.
shared
.
canOpenURL
(
url
)
{
UIApplication
.
shared
.
open
(
url
,
options
:
[:],
completionHandler
:
nil
)
}
else
{
// 显示一个提示,告知用户无法打开链接
print
(
"无法打开链接"
)
}
}
})
link
.
attributed
.
text
=
aa
holdView
.
addSubview
(
link
)
link
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
}
let
line2
=
UIView
()
line2
.
backgroundColor
=
.
separatorColor
whiteContentView
.
addSubview
(
line2
)
line2
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
holdView
.
snp
.
bottom
)
.
offset
(
16
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
height
.
equalTo
(
1
)
}
let
qrCode
:
UIImageView
=
UIImageView
(
image
:
UIImage
(
named
:
"visaPay_qr"
))
qrCode
.
contentMode
=
.
scaleAspectFill
qrCode
.
isUserInteractionEnabled
=
true
qrCode
.
addGestureRecognizer
(
longPress
)
whiteContentView
.
addSubview
(
qrCode
)
qrCode
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
line2
.
snp
.
bottom
)
.
offset
(
18
)
make
.
right
.
equalTo
(
-
kMargin
)
make
.
height
.
width
.
equalTo
(
86
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
kMargin
)
}
let
label3
=
UILabel
()
label3
.
textColor
=
UIColor
.
mainTextColor
label3
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label3
.
text
=
"方式二"
whiteContentView
.
addSubview
(
label3
)
label3
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
qrCode
.
snp
.
top
)
.
offset
(
12
)
make
.
left
.
equalTo
(
kMargin
)
make
.
height
.
equalTo
(
20
)
}
let
label4
=
UILabel
()
label4
.
numberOfLines
=
0
label4
.
lineBreakMode
=
.
byWordWrapping
label4
.
textColor
=
UIColor
.
mainTextColor50
label4
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label4
.
text
=
"用其他设备直接扫码,或长按保存图片,通过微信识别打开"
whiteContentView
.
addSubview
(
label4
)
label4
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
label3
.
snp
.
bottom
)
.
offset
(
6
)
make
.
left
.
equalTo
(
kMargin
)
make
.
right
.
equalTo
(
qrCode
.
snp
.
left
)
.
offset
(
-
kMargin
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPaymentTipsCell.swift
0 → 100644
View file @
f9642897
//
// YHVisaPaymentTipsCell.swift
// galaxy
//
// Created by davidhuangA on 2024/8/19.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHVisaPaymentTipsCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHVisaPaymentTipsCell"
static
let
cellH
:
CGFloat
=
184.0
*
(
KScreenWidth
-
16
*
2
)
/
343.0
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
view
.
clipsToBounds
=
true
return
view
}()
lazy
var
bgImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"visalPay_tips"
))
view
.
layer
.
cornerRadius
=
kCornerRadius6
view
.
clipsToBounds
=
true
return
view
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
func
setupUI
()
{
selectionStyle
=
.
none
backgroundColor
=
.
clear
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
whiteContentView
)
whiteContentView
.
addSubview
(
bgImgView
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
bgImgView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
f9642897
...
@@ -120,11 +120,14 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
...
@@ -120,11 +120,14 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
view
.
likeClick
=
{
view
.
likeClick
=
{
[
weak
self
]
in
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
//
if !checkLogin() { return }
let
vc
=
YHMyLikeActivityViewController
()
//
let vc = YHMyLikeActivityViewController()
vc
.
myDefaultNavItemIndex
=
0
//
vc.myDefaultNavItemIndex = 0
self
.
navigationController
?
.
pushViewController
(
vc
)
//
self.navigationController?.pushViewController(vc)
print
(
"点赞"
)
print
(
"点赞"
)
let
vc
=
YHVisaPaymentVC
()
self
.
navigationController
?
.
pushViewController
(
vc
)
//for test hjl
}
}
view
.
collectClick
=
{
view
.
collectClick
=
{
[
weak
self
]
in
[
weak
self
]
in
...
@@ -338,6 +341,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
...
@@ -338,6 +341,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
}
}
if
true
{
if
true
{
// test dy
let
vc
=
YHCertificateAppointViewController
()
let
vc
=
YHCertificateAppointViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
return
return
...
...
galaxy/galaxy/Classes/Tools/Extention/CGFloat+Extention.swift
View file @
f9642897
...
@@ -12,7 +12,7 @@ extension CGFloat {
...
@@ -12,7 +12,7 @@ extension CGFloat {
public
func
scaleSizeFrom375px
(
size
:
CGFloat
)
->
CGFloat
{
public
func
scaleSizeFrom375px
(
size
:
CGFloat
)
->
CGFloat
{
let
screenWidth
=
UIScreen
.
main
.
bounds
.
width
let
screenWidth
=
UIScreen
.
main
.
bounds
.
width
// 假设设计稿基于375pt宽度,iPhone 6的屏幕宽度
// 假设设计稿基于375pt宽度,iPhone 6的屏幕宽度
let
baseWidth
:
CGFloat
=
375
let
baseWidth
:
CGFloat
=
375
.0
// 计算换算比例
// 计算换算比例
let
scale
=
screenWidth
/
baseWidth
let
scale
=
screenWidth
/
baseWidth
// 应用换算比例
// 应用换算比例
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/Contents.json
0 → 100644
View file @
f9642897
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/Contents.json
0 → 100644
View file @
f9642897
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"image 56@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"image 56@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/image 56@2x.png
0 → 100644
View file @
f9642897
35.8 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visaPay_qr.imageset/image 56@3x.png
0 → 100644
View file @
f9642897
71.3 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/Contents.json
0 → 100644
View file @
f9642897
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"tips@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"tips@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/tips@2x.png
0 → 100644
View file @
f9642897
63.9 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/4电子签字缴费/visalPay_tips.imageset/tips@3x.png
0 → 100644
View file @
f9642897
130 KB
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