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
7f8212b7
Commit
7f8212b7
authored
Aug 16, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 办证段弹窗
parent
0f14cd3e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
214 additions
and
0 deletions
+214
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+44
-0
YHFamilyMemberRiskWarningAlertView.swift
...rtificate(办证段)/V/YHFamilyMemberRiskWarningAlertView.swift
+137
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+5
-0
Contents.json
...y/Res/Assets.xcassets/ServiceCenter/客服段/办证段/Contents.json
+6
-0
Contents.json
...rviceCenter/客服段/办证段/cs_family_risk.imageset/Contents.json
+22
-0
fengxanyujing@2x.png
...nter/客服段/办证段/cs_family_risk.imageset/fengxanyujing@2x.png
+0
-0
fengxanyujing@3x.png
...nter/客服段/办证段/cs_family_risk.imageset/fengxanyujing@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
7f8212b7
...
@@ -272,6 +272,7 @@
...
@@ -272,6 +272,7 @@
0468D4312B5654C100CFB916
/* libresolv.tbd in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D42C2B56549200CFB916
/* libresolv.tbd */
;
};
0468D4312B5654C100CFB916
/* libresolv.tbd in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D42C2B56549200CFB916
/* libresolv.tbd */
;
};
0468D4362B57752F00CFB916
/* YHUserModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4352B57752F00CFB916
/* YHUserModel.swift */
;
};
0468D4362B57752F00CFB916
/* YHUserModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4352B57752F00CFB916
/* YHUserModel.swift */
;
};
0468D43A2B579EAC00CFB916
/* YHLoginViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4392B579EAC00CFB916
/* YHLoginViewModel.swift */
;
};
0468D43A2B579EAC00CFB916
/* YHLoginViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4392B579EAC00CFB916
/* YHLoginViewModel.swift */
;
};
046A95312C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
046A95302C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift */
;
};
0472CBA82C5A11640096F48F
/* YHPrincipleUploadListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472CB9C2C5A11640096F48F
/* YHPrincipleUploadListVC.swift */
;
};
0472CBA82C5A11640096F48F
/* YHPrincipleUploadListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472CB9C2C5A11640096F48F
/* YHPrincipleUploadListVC.swift */
;
};
0472CBAC2C5A11640096F48F
/* YHPrincleViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472CBA32C5A11640096F48F
/* YHPrincleViewModel.swift */
;
};
0472CBAC2C5A11640096F48F
/* YHPrincleViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472CBA32C5A11640096F48F
/* YHPrincleViewModel.swift */
;
};
0472E25C2C521E64008EAB6E
/* YHHomeIdentityListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472E25B2C521E64008EAB6E
/* YHHomeIdentityListVC.swift */
;
};
0472E25C2C521E64008EAB6E
/* YHHomeIdentityListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0472E25B2C521E64008EAB6E
/* YHHomeIdentityListVC.swift */
;
};
...
@@ -925,6 +926,7 @@
...
@@ -925,6 +926,7 @@
0468D42F2B5654B500CFB916
/* SystemConfiguration.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
SystemConfiguration.framework
;
path
=
System/Library/Frameworks/SystemConfiguration.framework
;
sourceTree
=
SDKROOT
;
};
0468D42F2B5654B500CFB916
/* SystemConfiguration.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
SystemConfiguration.framework
;
path
=
System/Library/Frameworks/SystemConfiguration.framework
;
sourceTree
=
SDKROOT
;
};
0468D4352B57752F00CFB916
/* YHUserModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
YHUserModel.swift
;
path
=
"galaxy/Classes/Modules/Login(登录)/M/YHUserModel.swift"
;
sourceTree
=
SOURCE_ROOT
;
};
0468D4352B57752F00CFB916
/* YHUserModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
YHUserModel.swift
;
path
=
"galaxy/Classes/Modules/Login(登录)/M/YHUserModel.swift"
;
sourceTree
=
SOURCE_ROOT
;
};
0468D4392B579EAC00CFB916
/* YHLoginViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLoginViewModel.swift
;
sourceTree
=
"<group>"
;
};
0468D4392B579EAC00CFB916
/* YHLoginViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLoginViewModel.swift
;
sourceTree
=
"<group>"
;
};
046A95302C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyMemberRiskWarningAlertView.swift
;
sourceTree
=
"<group>"
;
};
046AB7762BD674170086C6F1
/* galaxy.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxy.entitlements
;
sourceTree
=
"<group>"
;
};
046AB7762BD674170086C6F1
/* galaxy.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxy.entitlements
;
sourceTree
=
"<group>"
;
};
046AB7772BD674170086C6F1
/* galaxyDebug.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxyDebug.entitlements
;
sourceTree
=
"<group>"
;
};
046AB7772BD674170086C6F1
/* galaxyDebug.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxyDebug.entitlements
;
sourceTree
=
"<group>"
;
};
046AB7782BD674170086C6F1
/* galaxyTestEnv.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxyTestEnv.entitlements
;
sourceTree
=
"<group>"
;
};
046AB7782BD674170086C6F1
/* galaxyTestEnv.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
galaxyTestEnv.entitlements
;
sourceTree
=
"<group>"
;
};
...
@@ -2214,6 +2216,46 @@
...
@@ -2214,6 +2216,46 @@
path
=
VM
;
path
=
VM
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
046A952B2C6EFA710059326A
/* Certificate(办证段) */
=
{
isa
=
PBXGroup
;
children
=
(
046A952F2C6EFB120059326A
/* C */
,
046A952E2C6EFB090059326A
/* VM */
,
046A952D2C6EFAFF0059326A
/* V */
,
046A952C2C6EFAF30059326A
/* M */
,
);
path
=
"Certificate(办证段)"
;
sourceTree
=
"<group>"
;
};
046A952C2C6EFAF30059326A
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
M
;
sourceTree
=
"<group>"
;
};
046A952D2C6EFAFF0059326A
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
046A95302C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
};
046A952E2C6EFB090059326A
/* VM */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
VM
;
sourceTree
=
"<group>"
;
};
046A952F2C6EFB120059326A
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
C
;
sourceTree
=
"<group>"
;
};
0472CB9D2C5A11640096F48F
/* C */
=
{
0472CB9D2C5A11640096F48F
/* C */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -2275,6 +2317,7 @@
...
@@ -2275,6 +2317,7 @@
0472CBA62C5A11640096F48F
/* CustomerService */
=
{
0472CBA62C5A11640096F48F
/* CustomerService */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
046A952B2C6EFA710059326A
/* Certificate(办证段) */
,
A5EB6C652C69FB9A0081FB6C
/* OfficialApproval(正式批) */
,
A5EB6C652C69FB9A0081FB6C
/* OfficialApproval(正式批) */
,
0472CBA52C5A11640096F48F
/* PrincipleBatch(原则批) */
,
0472CBA52C5A11640096F48F
/* PrincipleBatch(原则批) */
,
);
);
...
@@ -3711,6 +3754,7 @@
...
@@ -3711,6 +3754,7 @@
04CC2EF02BC3DDB2000305DD
/* YHServiceBannerView.swift in Sources */
,
04CC2EF02BC3DDB2000305DD
/* YHServiceBannerView.swift in Sources */
,
045EEEA32B9F171A0022A143
/* YHCompanyModel.swift in Sources */
,
045EEEA32B9F171A0022A143
/* YHCompanyModel.swift in Sources */
,
045EEEC62B9F171A0022A143
/* YHOtherTextViewItemView.swift in Sources */
,
045EEEC62B9F171A0022A143
/* YHOtherTextViewItemView.swift in Sources */
,
046A95312C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift in Sources */
,
A5ACE9292B4564F7002C94D2
/* YHSmsCodeInputView.swift in Sources */
,
A5ACE9292B4564F7002C94D2
/* YHSmsCodeInputView.swift in Sources */
,
A5ACE9452B4564F7002C94D2
/* YHHUDContainerView.swift in Sources */
,
A5ACE9452B4564F7002C94D2
/* YHHUDContainerView.swift in Sources */
,
045EEEFD2B9F171A0022A143
/* YHSheetPickerViewType.swift in Sources */
,
045EEEFD2B9F171A0022A143
/* YHSheetPickerViewType.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/V/YHFamilyMemberRiskWarningAlertView.swift
0 → 100644
View file @
7f8212b7
//
// YHFamilyMemberRiskWarningAlertView.swift
// galaxy
//
// Created by edy on 2024/8/16.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHFamilyMemberRiskWarningAlertView
:
UIView
{
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
alertMaskColor
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
()
->
YHFamilyMemberRiskWarningAlertView
{
let
view
=
YHFamilyMemberRiskWarningAlertView
(
frame
:
UIScreen
.
main
.
bounds
)
return
view
}
@objc
func
show
()
{
UIApplication
.
shared
.
yhKeyWindow
()?
.
addSubview
(
self
)
}
@objc
func
dismiss
()
{
self
.
removeFromSuperview
()
}
@objc
func
didConfirmBtnClicked
()
{
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
(
30
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
make
.
bottom
.
equalTo
(
-
21
)
make
.
height
.
equalTo
(
45
)
}
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
7f8212b7
...
@@ -337,6 +337,11 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
...
@@ -337,6 +337,11 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return
return
}
}
if
true
{
// test dy
YHFamilyMemberRiskWarningAlertView
.
alertView
()
.
show
()
return
}
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
switch
item
.
type
{
switch
item
.
type
{
case
.
myCard
:
//我的名片
case
.
myCard
:
//我的名片
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/Contents.json
0 → 100644
View file @
7f8212b7
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/cs_family_risk.imageset/Contents.json
0 → 100644
View file @
7f8212b7
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"fengxanyujing@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"fengxanyujing@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/cs_family_risk.imageset/fengxanyujing@2x.png
0 → 100644
View file @
7f8212b7
1.8 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/cs_family_risk.imageset/fengxanyujing@3x.png
0 → 100644
View file @
7f8212b7
2.65 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