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
b1596fa7
Commit
b1596fa7
authored
Aug 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 选择地点
parent
ccf179f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
YHInfoItemSelectSheetView.swift
...ntCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
+2
-3
YHSelectApplicantGroupCell.swift
...tCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
+2
-3
YHSelectHKPlaceListView.swift
...ointCertificate(3 赴港办证预约)/V/YHSelectHKPlaceListView.swift
+10
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
View file @
b1596fa7
...
@@ -40,16 +40,15 @@ class YHInfoItemSelectSheetView: UIView {
...
@@ -40,16 +40,15 @@ class YHInfoItemSelectSheetView: UIView {
var
isShowDetailOneline
:
Bool
=
false
{
var
isShowDetailOneline
:
Bool
=
false
{
didSet
{
didSet
{
detailLabel
.
textAlignment
=
isShowDetailOneline
?
.
right
:
.
left
//
detailLabel.textAlignment = isShowDetailOneline ? .right : .left
detailLabel
.
numberOfLines
=
isShowDetailOneline
?
1
:
0
detailLabel
.
numberOfLines
=
isShowDetailOneline
?
1
:
0
detailLabel
.
snp
.
remakeConstraints
{
make
in
detailLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
make
.
top
.
equalTo
(
16
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
make
.
right
.
equalTo
(
arrowImgView
.
snp
.
left
)
make
.
right
.
equalTo
(
arrowImgView
.
snp
.
left
)
make
.
bottom
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
-
16
)
if
isShowDetailOneline
{
if
isShowDetailOneline
{
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
}
else
{
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
}
}
}
}
self
.
setNeedsLayout
()
self
.
setNeedsLayout
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
View file @
b1596fa7
...
@@ -304,9 +304,8 @@ private extension YHSelectApplicantGroupCell {
...
@@ -304,9 +304,8 @@ private extension YHSelectApplicantGroupCell {
titleLabel
.
attributed
.
text
=
a
+
b
titleLabel
.
attributed
.
text
=
a
+
b
collectionView
.
reloadData
()
collectionView
.
reloadData
()
collectionView
.
snp
.
updateConstraints
{
make
in
let
isShowSelectList
=
self
.
isShowSelectUserView
make
.
height
.
equalTo
(
self
.
getCollectionViewHeight
())
self
.
isShowSelectUserView
=
isShowSelectList
}
// 时间选择UI更新
// 时间选择UI更新
optionsView
.
selectIndex
=
0
optionsView
.
selectIndex
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHSelectHKPlaceListView.swift
View file @
b1596fa7
...
@@ -15,6 +15,7 @@ class YHSelectHKPlaceListView: UIView {
...
@@ -15,6 +15,7 @@ class YHSelectHKPlaceListView: UIView {
return
view
return
view
}
}
var
selectModel
:
YHMakeCertificatePlaceModel
?
=
nil
var
selectBlock
:
((
YHMakeCertificatePlaceModel
)
->
())?
var
selectBlock
:
((
YHMakeCertificatePlaceModel
)
->
())?
var
listArr
:[
YHMakeCertificatePlaceModel
]
=
[]
{
var
listArr
:[
YHMakeCertificatePlaceModel
]
=
[]
{
...
@@ -70,7 +71,6 @@ class YHSelectHKPlaceListView: UIView {
...
@@ -70,7 +71,6 @@ class YHSelectHKPlaceListView: UIView {
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -80,7 +80,6 @@ class YHSelectHKPlaceListView: UIView {
...
@@ -80,7 +80,6 @@ class YHSelectHKPlaceListView: UIView {
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"确定"
,
for
:
.
normal
)
button
.
setTitle
(
"确定"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
sure
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -99,7 +98,10 @@ class YHSelectHKPlaceListView: UIView {
...
@@ -99,7 +98,10 @@ class YHSelectHKPlaceListView: UIView {
}
}
@objc
func
sure
()
{
@objc
func
sure
()
{
if
let
model
=
self
.
selectModel
{
selectBlock
?(
model
)
}
self
.
dismiss
()
}
}
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
...
@@ -120,6 +122,10 @@ class YHSelectHKPlaceListView: UIView {
...
@@ -120,6 +122,10 @@ class YHSelectHKPlaceListView: UIView {
whiteContentView
.
addSubview
(
lineView
)
whiteContentView
.
addSubview
(
lineView
)
whiteContentView
.
addSubview
(
tableView
)
whiteContentView
.
addSubview
(
tableView
)
cancelBtn
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
confirmBtn
.
addTarget
(
self
,
action
:
#selector(
sure
)
,
for
:
.
touchUpInside
)
blackMaskView
.
snp
.
makeConstraints
{
make
in
blackMaskView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
make
.
edges
.
equalToSuperview
()
}
}
...
@@ -190,6 +196,7 @@ extension YHSelectHKPlaceListView: UITableViewDelegate, UITableViewDataSource {
...
@@ -190,6 +196,7 @@ extension YHSelectHKPlaceListView: UITableViewDelegate, UITableViewDataSource {
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
listArr
.
count
{
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
listArr
.
count
{
let
model
=
listArr
[
indexPath
.
row
]
let
model
=
listArr
[
indexPath
.
row
]
selectModel
=
model
for
item
in
listArr
{
for
item
in
listArr
{
item
.
isSelect
=
(
model
.
id
==
item
.
id
)
item
.
isSelect
=
(
model
.
id
==
item
.
id
)
}
}
...
...
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