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
87527580
Commit
87527580
authored
Oct 09, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签信息确认
parent
6be8179e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
339 additions
and
0 deletions
+339
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+8
-0
YHResignInfoConfirmViewController.swift
...Confirm(续签信息确认)/C/YHResignInfoConfirmViewController.swift
+162
-0
YHResignFamilyMemberInfoCell.swift
...nInfoConfirm(续签信息确认)/V/YHResignFamilyMemberInfoCell.swift
+141
-0
Contents.json
...Res/Assets.xcassets/ServiceCenter/续签/续签信息确认/Contents.json
+6
-0
Contents.json
...nter/续签/续签信息确认/resign_risk_warning.imageset/Contents.json
+22
-0
Group 2033194705@2x.png
...信息确认/resign_risk_warning.imageset/Group 2033194705@2x.png
+0
-0
Group 2033194705@3x.png
...信息确认/resign_risk_warning.imageset/Group 2033194705@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
87527580
...
...
@@ -453,6 +453,8 @@
048FA0342BFDDFF400AD3BA9
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0322BFDDFF400AD3BA9
/* submit_page_scroll.gif */
;
};
048FA0362BFDE04000AD3BA9
/* YHSubmitAllInfoSuccessAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0352BFDE04000AD3BA9
/* YHSubmitAllInfoSuccessAlertView.swift */
;
};
04912F602CB6697300CC3105
/* YHResignRiskWarningAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F5F2CB6697300CC3105
/* YHResignRiskWarningAlertView.swift */
;
};
04912F622CB66E6300CC3105
/* YHResignInfoConfirmViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F612CB66E6300CC3105
/* YHResignInfoConfirmViewController.swift */
;
};
04912F642CB6885D00CC3105
/* YHResignFamilyMemberInfoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F632CB6885D00CC3105
/* YHResignFamilyMemberInfoCell.swift */
;
};
0493B3DC2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
;
};
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
;
};
049537852BA9B28500AF7E59
/* YHCertificateTemplateCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049537842BA9B28500AF7E59
/* YHCertificateTemplateCell.swift */
;
};
...
...
@@ -1307,6 +1309,8 @@
048FA0322BFDDFF400AD3BA9
/* submit_page_scroll.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_page_scroll.gif
;
sourceTree
=
"<group>"
;
};
048FA0352BFDE04000AD3BA9
/* YHSubmitAllInfoSuccessAlertView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSubmitAllInfoSuccessAlertView.swift
;
sourceTree
=
"<group>"
;
};
04912F5F2CB6697300CC3105
/* YHResignRiskWarningAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignRiskWarningAlertView.swift
;
sourceTree
=
"<group>"
;
};
04912F612CB66E6300CC3105
/* YHResignInfoConfirmViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignInfoConfirmViewController.swift
;
sourceTree
=
"<group>"
;
};
04912F632CB6885D00CC3105
/* YHResignFamilyMemberInfoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignFamilyMemberInfoCell.swift
;
sourceTree
=
"<group>"
;
};
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateSearchViewController.swift
;
sourceTree
=
"<group>"
;
};
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterButton.swift
;
sourceTree
=
"<group>"
;
};
049537842BA9B28500AF7E59
/* YHCertificateTemplateCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateTemplateCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -3271,6 +3275,7 @@
04912F572CB6678300CC3105
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
04912F612CB66E6300CC3105
/* YHResignInfoConfirmViewController.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
...
...
@@ -3279,6 +3284,7 @@
isa
=
PBXGroup
;
children
=
(
04912F5F2CB6697300CC3105
/* YHResignRiskWarningAlertView.swift */
,
04912F632CB6885D00CC3105
/* YHResignFamilyMemberInfoCell.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
...
...
@@ -4896,6 +4902,7 @@
046A95312C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift in Sources */
,
A5ACE9292B4564F7002C94D2
/* YHSmsCodeInputView.swift in Sources */
,
A5ACE9452B4564F7002C94D2
/* YHHUDContainerView.swift in Sources */
,
04912F642CB6885D00CC3105
/* YHResignFamilyMemberInfoCell.swift in Sources */
,
045EEEFD2B9F171A0022A143
/* YHSheetPickerViewType.swift in Sources */
,
04213B2B2C48F1BE00797900
/* YHHomeInfoSectionCell.swift in Sources */
,
0419A0A02C48FC7D00A5FCFA
/* YHInvitationWithGiftsSecondTableViewCell.swift in Sources */
,
...
...
@@ -5169,6 +5176,7 @@
044D0C1C2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift in Sources */
,
A5CA3F562C74850200EB22F5
/* YHUploadCertificateDetailVC.swift in Sources */
,
A5ACE9532B4564F7002C94D2
/* YHBaseViewController.swift in Sources */
,
04912F622CB66E6300CC3105
/* YHResignInfoConfirmViewController.swift in Sources */
,
04EFC8E92C903F1100FC680F
/* YHResignMaterialViewModel.swift in Sources */
,
04256DE82C7314B500A37BA4
/* YHSelectApplicantCell.swift in Sources */
,
045EEE9D2B9F171A0022A143
/* YHWorkItemListViewModel.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/C/YHResignInfoConfirmViewController.swift
0 → 100644
View file @
87527580
//
// YHResignInfoConfirmViewController.swift
// galaxy
//
// Created by edy on 2024/10/9.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHResignInfoConfirmViewController
:
YHBaseViewController
{
// YHApplicantInfoModel
var
familyArr
:
[
String
]
=
[
""
,
""
,
""
,
""
]
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
CGRect
.
zero
,
style
:
.
grouped
)
if
#available(iOS 15.0, *)
{
tableView
.
sectionHeaderTopPadding
=
0.0
}
tableView
.
estimatedSectionHeaderHeight
=
52.0
tableView
.
estimatedSectionFooterHeight
=
0.1
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
separatorStyle
=
.
none
tableView
.
bounces
=
false
tableView
.
register
(
YHResignFamilyMemberInfoCell
.
self
,
forCellReuseIdentifier
:
YHResignFamilyMemberInfoCell
.
cellReuseIdentifier
)
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
isScrollEnabled
=
false
tableView
.
tableHeaderView
=
headerView
return
tableView
}()
lazy
var
headerView
:
UIView
=
{
let
view
=
UIView
(
frame
:
CGRectMake
(
0
,
0
,
KScreenWidth
-
32
,
(
KScreenWidth
-
32.0
)
*
(
109.0
/
343.0
)
+
16.0
))
let
tipsImgView
=
UIImageView
(
image
:
UIImage
(
named
:
"resign_risk_warning"
))
view
.
addSubview
(
tipsImgView
)
tipsImgView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16.0
)
}
return
view
}()
lazy
var
bottomBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
backgroundColor
=
.
brandMainColor
btn
.
setTitle
(
"确认修改,下一步"
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
16
)
btn
.
addTarget
(
self
,
action
:
#selector(
didBottomBtnClicked
)
,
for
:
.
touchUpInside
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
return
btn
}()
lazy
var
bottomView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
addSubview
(
bottomBtn
)
bottomBtn
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
top
.
equalTo
(
8
)
make
.
height
.
equalTo
(
46
)
}
return
view
}()
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"续签信息确认"
self
.
gk_navigationBar
.
backgroundColor
=
.
white
self
.
view
.
backgroundColor
=
.
init
(
hex
:
0xF8F9FB
)
self
.
view
.
addSubview
(
self
.
tableView
)
self
.
view
.
addSubview
(
bottomView
)
self
.
tableView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
+
16
)
make
.
bottom
.
equalTo
(
bottomView
.
snp
.
top
)
}
self
.
bottomView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
height
.
equalTo
(
98
)
}
}
@objc
func
didBottomBtnClicked
()
{
}
}
extension
YHResignInfoConfirmViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
familyArr
.
count
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignFamilyMemberInfoCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignFamilyMemberInfoCell
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
familyArr
.
count
{
let
model
=
familyArr
[
indexPath
.
row
]
cell
.
updateLineMargin
(
indexPath
.
row
==
0
?
0.0
:
18.0
)
if
indexPath
.
row
==
familyArr
.
count
-
1
{
let
corner
=
UIRectCorner
(
rawValue
:
UIRectCorner
.
bottomLeft
.
rawValue
|
UIRectCorner
.
bottomRight
.
rawValue
)
cell
.
createCorner
(
CGSizeMake
(
kCornerRadius6
,
kCornerRadius6
),
corner
)
}
else
{
cell
.
layer
.
mask
=
nil
}
}
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
69.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
familyArr
.
count
{
let
model
=
familyArr
[
indexPath
.
row
]
}
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
52.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.1
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
return
view
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
view
.
clipsToBounds
=
true
let
cornerView
=
UIView
(
frame
:
CGRectMake
(
0
,
0
,
tableView
.
width
,
58.0
))
cornerView
.
backgroundColor
=
.
white
cornerView
.
layer
.
cornerRadius
=
kCornerRadius6
cornerView
.
clipsToBounds
=
true
view
.
addSubview
(
cornerView
)
let
titleLabel
=
UILabel
(
frame
:
CGRect
(
x
:
18
,
y
:
16
,
width
:
KScreenWidth
,
height
:
24.0
))
let
mustTag
:
ASAttributedString
=
.
init
(
"* "
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
var
title
:
ASAttributedString
=
.
init
(
"续签信息核实"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
title
=
mustTag
+
title
titleLabel
.
attributed
.
text
=
title
cornerView
.
addSubview
(
titleLabel
)
return
view
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/V/YHResignFamilyMemberInfoCell.swift
0 → 100644
View file @
87527580
//
// YHResignFamilyMemberInfoCell.swift
// galaxy
//
// Created by edy on 2024/10/9.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHResignFamilyMemberInfoCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHResignFamilyMemberInfoCell"
func
updateModel
(
_
model
:
YHApplicantInfoModel
)
{
self
.
relationLabel
.
text
=
model
.
info
.
getRelation
()
self
.
nameLabel
.
text
=
model
.
info
.
name
self
.
pinyinLabel
.
text
=
"
\(
model
.
info
.
familyName
)
\(
model
.
info
.
givenName
)
"
self
.
statusLabel
.
text
=
model
.
confirmStatus
==
1
?
"已确认"
:
"待核对"
let
textColor
:
UIColor
=
model
.
confirmStatus
==
1
?
.
init
(
hex
:
0x3CC694
)
:
.
brandMainColor
self
.
statusLabel
.
textColor
=
textColor
let
img
=
UIImage
(
named
:
"family_info_status_arrow"
)?
.
withRenderingMode
(
.
alwaysTemplate
)
self
.
arrowImgView
.
image
=
img
self
.
arrowImgView
.
tintColor
=
textColor
}
func
updateLineMargin
(
_
margin
:
CGFloat
)
{
lineView
.
snp
.
updateConstraints
{
make
in
make
.
left
.
equalTo
(
margin
)
make
.
right
.
equalTo
(
-
margin
)
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
lazy
var
lineView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
return
view
}()
lazy
var
relationLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
text
=
"主申人"
label
.
textColor
=
UIColor
.
mainTextColor
return
label
}()
lazy
var
nameLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
label
.
text
=
"张山峰"
label
.
textColor
=
UIColor
.
mainTextColor
return
label
}()
lazy
var
pinyinLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
text
=
"ZHANG SHANGFENG"
label
.
textColor
=
UIColor
.
mainTextColor
(
alpha
:
0.5
)
return
label
}()
lazy
var
statusLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
text
=
"待核对"
label
.
textColor
=
UIColor
.
brandMainColor
return
label
}()
lazy
var
arrowImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"family_info_status_arrow"
))
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
()
{
self
.
selectionStyle
=
.
none
self
.
backgroundColor
=
.
white
self
.
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
relationLabel
)
contentView
.
addSubview
(
nameLabel
)
contentView
.
addSubview
(
pinyinLabel
)
contentView
.
addSubview
(
statusLabel
)
contentView
.
addSubview
(
arrowImgView
)
contentView
.
addSubview
(
lineView
)
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
make
.
top
.
equalToSuperview
()
make
.
height
.
equalTo
(
0.5
)
}
relationLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18.0
)
make
.
width
.
equalTo
(
42
)
make
.
centerY
.
equalToSuperview
()
}
nameLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
relationLabel
.
snp
.
right
)
.
offset
(
60
)
make
.
right
.
equalTo
(
statusLabel
.
snp
.
left
)
.
offset
(
-
14
)
make
.
top
.
equalTo
(
16
)
make
.
height
.
equalTo
(
20
)
}
pinyinLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
nameLabel
)
make
.
right
.
equalTo
(
nameLabel
)
make
.
top
.
equalTo
(
nameLabel
.
snp
.
bottom
)
make
.
height
.
equalTo
(
17
)
}
arrowImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
18
)
make
.
centerY
.
equalToSuperview
()
}
statusLabel
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
56
)
make
.
right
.
equalTo
(
arrowImgView
.
snp
.
left
)
make
.
height
.
equalTo
(
20
)
make
.
centerY
.
equalToSuperview
()
}
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签信息确认/Contents.json
0 → 100644
View file @
87527580
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签信息确认/resign_risk_warning.imageset/Contents.json
0 → 100644
View file @
87527580
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 2033194705@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 2033194705@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签信息确认/resign_risk_warning.imageset/Group 2033194705@2x.png
0 → 100644
View file @
87527580
90.1 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/续签/续签信息确认/resign_risk_warning.imageset/Group 2033194705@3x.png
0 → 100644
View file @
87527580
173 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