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
d65c5eca
Commit
d65c5eca
authored
Oct 10, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 递交预约
parent
f0345297
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
115 additions
and
0 deletions
+115
-0
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHResignAppointTimeCell.swift
...)/ResignHKAppoint(在港递交预约)/V/YHResignAppointTimeCell.swift
+14
-0
YHResignLeaveHKSwitchItemView.swift
...gnHKAppoint(在港递交预约)/V/YHResignLeaveHKSwitchItemView.swift
+97
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
d65c5eca
...
...
@@ -465,6 +465,7 @@
04912F702CB765FE00CC3105
/* YHResignAppointTimeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F6F2CB765FE00CC3105
/* YHResignAppointTimeViewController.swift */
;
};
04912F722CB7714300CC3105
/* YHResignAppointTimeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F712CB7714300CC3105
/* YHResignAppointTimeCell.swift */
;
};
04912F742CB7743900CC3105
/* YHResignAppointTimeItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F732CB7743900CC3105
/* YHResignAppointTimeItemView.swift */
;
};
04912F762CB77F4500CC3105
/* YHResignLeaveHKSwitchItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04912F752CB77F4500CC3105
/* YHResignLeaveHKSwitchItemView.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 */
;
};
...
...
@@ -1331,6 +1332,7 @@
04912F6F2CB765FE00CC3105
/* YHResignAppointTimeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignAppointTimeViewController.swift
;
sourceTree
=
"<group>"
;
};
04912F712CB7714300CC3105
/* YHResignAppointTimeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignAppointTimeCell.swift
;
sourceTree
=
"<group>"
;
};
04912F732CB7743900CC3105
/* YHResignAppointTimeItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignAppointTimeItemView.swift
;
sourceTree
=
"<group>"
;
};
04912F752CB77F4500CC3105
/* YHResignLeaveHKSwitchItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHResignLeaveHKSwitchItemView.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>"
;
};
...
...
@@ -3386,6 +3388,7 @@
children
=
(
04912F6D2CB6A64700CC3105
/* YHResignAppointTipsView.swift */
,
04912F732CB7743900CC3105
/* YHResignAppointTimeItemView.swift */
,
04912F752CB77F4500CC3105
/* YHResignLeaveHKSwitchItemView.swift */
,
04912F712CB7714300CC3105
/* YHResignAppointTimeCell.swift */
,
);
path
=
V
;
...
...
@@ -5611,6 +5614,7 @@
045EEE952B9F171A0022A143
/* YHPreviewInfoCertificateInformationItemsView.swift in Sources */
,
044D0C042C2180B700C5CF5E
/* YHInformationAuthorizationStepTwoViewController.swift in Sources */
,
045EEEBB2B9F171A0022A143
/* YHWorkIntroductionTableViewCell.swift in Sources */
,
04912F762CB77F4500CC3105
/* YHResignLeaveHKSwitchItemView.swift in Sources */
,
044EE2382C92BBC500A2FE3A
/* YHResignCertificateListTableViewCell.swift in Sources */
,
045EEEED2B9F171A0022A143
/* YHParentInfoVC.swift in Sources */
,
04A7BC912B6B7B89000E8D47
/* YHTwoOptionAlertView.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignAppointTimeCell.swift
View file @
d65c5eca
...
...
@@ -58,6 +58,12 @@ class YHResignAppointTimeCell: UITableViewCell {
return
view
}()
lazy
var
leaveHKSwithView
:
YHResignLeaveHKSwitchItemView
=
{
let
view
=
YHResignLeaveHKSwitchItemView
()
view
.
title
=
"暂不离港"
return
view
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
...
...
@@ -77,6 +83,8 @@ class YHResignAppointTimeCell: UITableViewCell {
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
submitTimeItemView
)
whiteContentView
.
addSubview
(
leaveTimeItemView
)
whiteContentView
.
addSubview
(
leaveHKSwithView
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
equalToSuperview
()
...
...
@@ -100,6 +108,12 @@ class YHResignAppointTimeCell: UITableViewCell {
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
make
.
top
.
equalTo
(
submitTimeItemView
.
snp
.
bottom
)
}
leaveHKSwithView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
make
.
top
.
equalTo
(
leaveTimeItemView
.
snp
.
bottom
)
make
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignLeaveHKSwitchItemView.swift
0 → 100644
View file @
d65c5eca
//
// YHResignLeaveHKSwitchItemView.swift
// galaxy
//
// Created by edy on 2024/10/10.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHResignLeaveHKSwitchItemView
:
UIView
{
var
title
:
String
=
""
{
didSet
{
titleLabel
.
text
=
title
}
}
lazy
var
lineView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
separatorColor
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
.
mainTextColor
return
label
}()
lazy
var
switchBtn
:
UISwitch
=
{
let
switchBtn
=
UISwitch
()
switchBtn
.
onTintColor
=
UIColor
.
brandMainColor
switchBtn
.
addTarget
(
self
,
action
:
#selector(
switchViewChange
)
,
for
:
.
valueChanged
)
switchBtn
.
tintColor
=
.
brandMainColor
switchBtn
.
isOn
=
getVideoPlaySilentSettings
()
return
switchBtn
}()
lazy
var
btnView
:
UIView
=
{
let
btnView
=
UIView
()
btnView
.
addSubview
(
switchBtn
)
return
btnView
}()
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
(
btnView
)
self
.
addSubview
(
lineView
)
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
0
)
make
.
right
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
make
.
height
.
equalTo
(
0.5
)
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
0
)
make
.
width
.
equalTo
(
112
)
make
.
height
.
equalTo
(
52
)
}
btnView
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
0
)
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
22
)
make
.
width
.
equalTo
(
40
)
}
}
@objc
func
switchViewChange
()
{
// switchBtn.isOn
}
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
switchBtn
.
transform
=
CGAffineTransform
(
scaleX
:
0.70
,
y
:
0.70
)
switchBtn
.
snp
.
updateConstraints
{
make
in
make
.
left
.
equalTo
(
-
7
)
make
.
centerY
.
equalToSuperview
()
}
}
}
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