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
6be8179e
Commit
6be8179e
authored
Oct 09, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签信息弹窗
parent
3e8d7654
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
145 additions
and
0 deletions
+145
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHResignRiskWarningAlertView.swift
...nInfoConfirm(续签信息确认)/V/YHResignRiskWarningAlertView.swift
+141
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
6be8179e
...
@@ -452,6 +452,7 @@
...
@@ -452,6 +452,7 @@
048FA0332BFDDFF400AD3BA9
/* submit_head_animation.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0312BFDDFF400AD3BA9
/* submit_head_animation.gif */
;
};
048FA0332BFDDFF400AD3BA9
/* submit_head_animation.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0312BFDDFF400AD3BA9
/* submit_head_animation.gif */
;
};
048FA0342BFDDFF400AD3BA9
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0322BFDDFF400AD3BA9
/* submit_page_scroll.gif */
;
};
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 */
;
};
048FA0362BFDE04000AD3BA9
/* YHSubmitAllInfoSuccessAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
048FA0352BFDE04000AD3BA9
/* YHSubmitAllInfoSuccessAlertView.swift */
;
};
04912F602CB6697300CC3105
/* YHResignRiskWarningAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F5F2CB6697300CC3105
/* YHResignRiskWarningAlertView.swift */
;
};
0493B3DC2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
;
};
0493B3DC2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
;
};
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
;
};
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0493B3DD2BA80C2300AF9393
/* YHCertificateFilterButton.swift */
;
};
049537852BA9B28500AF7E59
/* YHCertificateTemplateCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049537842BA9B28500AF7E59
/* YHCertificateTemplateCell.swift */
;
};
049537852BA9B28500AF7E59
/* YHCertificateTemplateCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049537842BA9B28500AF7E59
/* YHCertificateTemplateCell.swift */
;
};
...
@@ -1305,6 +1306,7 @@
...
@@ -1305,6 +1306,7 @@
048FA0312BFDDFF400AD3BA9
/* submit_head_animation.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_head_animation.gif
;
sourceTree
=
"<group>"
;
};
048FA0312BFDDFF400AD3BA9
/* submit_head_animation.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_head_animation.gif
;
sourceTree
=
"<group>"
;
};
048FA0322BFDDFF400AD3BA9
/* submit_page_scroll.gif */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
image.gif
;
path
=
submit_page_scroll.gif
;
sourceTree
=
"<group>"
;
};
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>"
;
};
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>"
;
};
0493B3DB2BA7EFE600AF9393
/* YHCertificateSearchViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateSearchViewController.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>"
;
};
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>"
;
};
049537842BA9B28500AF7E59
/* YHCertificateTemplateCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateTemplateCell.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -3276,6 +3278,7 @@
...
@@ -3276,6 +3278,7 @@
04912F582CB6679500CC3105
/* V */
=
{
04912F582CB6679500CC3105
/* V */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
04912F5F2CB6697300CC3105
/* YHResignRiskWarningAlertView.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -5221,6 +5224,7 @@
...
@@ -5221,6 +5224,7 @@
045EEF022B9F171A0022A143
/* YHFormItemDegreeInfoCell.swift in Sources */
,
045EEF022B9F171A0022A143
/* YHFormItemDegreeInfoCell.swift in Sources */
,
045EEEF72B9F171A0022A143
/* YHFormItemAddCell.swift in Sources */
,
045EEEF72B9F171A0022A143
/* YHFormItemAddCell.swift in Sources */
,
045EEEC82B9F171A0022A143
/* YHOtherSelecteItemView.swift in Sources */
,
045EEEC82B9F171A0022A143
/* YHOtherSelecteItemView.swift in Sources */
,
04912F602CB6697300CC3105
/* YHResignRiskWarningAlertView.swift in Sources */
,
0480976B2BA15269000B9DCA
/* YHCertificateInfoCell.swift in Sources */
,
0480976B2BA15269000B9DCA
/* YHCertificateInfoCell.swift in Sources */
,
0430E6862C76DF6A000511E2
/* YHAdopterMainModel.swift in Sources */
,
0430E6862C76DF6A000511E2
/* YHAdopterMainModel.swift in Sources */
,
A56D2D612B62020C009C83A8
/* YHContractMainItemStatusCell.swift in Sources */
,
A56D2D612B62020C009C83A8
/* YHContractMainItemStatusCell.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/V/YHResignRiskWarningAlertView.swift
0 → 100644
View file @
6be8179e
//
// YHResignRiskWarningAlertView.swift
// galaxy
//
// Created by edy on 2024/10/9.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHResignRiskWarningAlertView
:
UIView
{
var
confirmBlock
:(()
->
())?
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
.
init
(
hex
:
0x000000
,
alpha
:
0.68
)
return
view
}()
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
lazy
var
iconImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"cs_family_risk"
))
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
text
=
"风险预警"
return
label
}()
lazy
var
detailLabel
:
UILabel
=
{
var
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14.0
)
let
a
:
ASAttributedString
=
.
init
(
"如若"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
"本次续签,"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
c
:
ASAttributedString
=
.
init
(
"您的家庭信息与之前递交至港府的"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
d
:
ASAttributedString
=
.
init
(
"信息不一致,请务必如实告知,"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
e
:
ASAttributedString
=
.
init
(
"因为这会导致后续续签申请资料及流程不同!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
label
.
attributed
.
text
=
a
+
b
+
c
+
d
+
e
return
label
}()
lazy
var
confirmBtn
:
UIButton
=
{
let
button
=
UIButton
()
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
button
.
setTitle
(
"我已知悉,确认"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
button
.
backgroundColor
=
.
brandMainColor
button
.
addTarget
(
self
,
action
:
#selector(
didConfirmBtnClicked
)
,
for
:
.
touchUpInside
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
return
button
}()
static
func
alertView
()
->
YHResignRiskWarningAlertView
{
let
view
=
YHResignRiskWarningAlertView
(
frame
:
UIScreen
.
main
.
bounds
)
return
view
}
@objc
func
show
()
{
UIApplication
.
shared
.
yhKeyWindow
()?
.
addSubview
(
self
)
}
@objc
func
dismiss
()
{
self
.
removeFromSuperview
()
}
@objc
func
didConfirmBtnClicked
()
{
confirmBlock
?()
self
.
dismiss
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
func
createUI
()
{
self
.
addSubview
(
blackMaskView
)
self
.
addSubview
(
whiteContentView
)
whiteContentView
.
addSubview
(
iconImgView
)
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
detailLabel
)
whiteContentView
.
addSubview
(
confirmBtn
)
blackMaskView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
38
)
make
.
right
.
equalTo
(
-
38
)
make
.
centerY
.
equalToSuperview
()
}
iconImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
53
)
make
.
top
.
equalTo
(
30
)
make
.
centerX
.
equalToSuperview
()
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
iconImgView
.
snp
.
bottom
)
.
offset
(
16
)
make
.
height
.
equalTo
(
24
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
8
)
}
confirmBtn
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
detailLabel
.
snp
.
bottom
)
.
offset
(
32
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
make
.
bottom
.
equalTo
(
-
21
)
make
.
height
.
equalTo
(
45
)
}
}
}
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