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
4108251b
Commit
4108251b
authored
Aug 26, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 选择时段和地点控件UI
parent
140bdb01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
YHInfoItemSelectSheetView.swift
...ntCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
+3
-3
YHSelectApplicantGroupCell.swift
...tCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHInfoItemSelectSheetView.swift
View file @
4108251b
...
...
@@ -52,7 +52,7 @@ class YHInfoItemSelectSheetView: UIView {
// 显示placeHolder
detailLabel
.
text
=
self
.
placeHolder
detailLabel
.
textColor
=
.
placeHolderColor
detailLabel
.
textAlignment
=
.
righ
t
detailLabel
.
textAlignment
=
.
lef
t
return
}
detailLabel
.
text
=
detail
...
...
@@ -63,11 +63,11 @@ class YHInfoItemSelectSheetView: UIView {
var
isShowDetailOneline
:
Bool
=
false
{
didSet
{
detailLabel
.
textAlignment
=
isShowDetailOneline
?
.
right
:
.
left
detailLabel
.
textAlignment
=
.
left
detailLabel
.
numberOfLines
=
isShowDetailOneline
?
1
:
0
detailLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
isShowDetailOneline
?
-
10
:
0
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
0
)
make
.
right
.
equalTo
(
arrowImgView
.
snp
.
left
)
if
isShowDetailOneline
{
make
.
height
.
equalTo
(
20
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
View file @
4108251b
...
...
@@ -200,6 +200,7 @@ class YHSelectApplicantGroupCell: UITableViewCell {
lazy
var
locationSelectView
:
YHInfoItemSelectSheetView
=
{
let
view
=
YHInfoItemSelectSheetView
(
frame
:
.
zero
)
view
.
isShowDetailOneline
=
false
view
.
title
=
"港府办证地点"
view
.
placeHolder
=
"请选择"
view
.
errorTips
=
"请选择港府办证地点"
...
...
@@ -381,7 +382,7 @@ extension YHSelectApplicantGroupCell: UICollectionViewDelegate, UICollectionView
}
if
selectArr
.
count
==
1
,
member
.
isSelected
==
true
,
member
.
id
==
selectArr
[
0
]
.
id
{
// 分组中仅有一个选中用户 且点击的是该用户
YHHUD
.
flash
(
message
:
"
一个批次最少需要选中一个申请个人
"
)
YHHUD
.
flash
(
message
:
"
每一批赴港申请人不可为空,请确保每位申请人都在列
"
)
return
}
selectBlock
?(
member
,
!
member
.
isSelected
,
dataModel
.
itemIndex
)
...
...
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