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
003180f4
Commit
003180f4
authored
Oct 19, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在港记录代码优化
parent
e2499cc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
YHHKRecordsContentVC.swift
...ngImmigrationRecords(在港记录管理)/C/YHHKRecordsContentVC.swift
+2
-0
YHHKRecordsStayingPersonnelCell.swift
...onRecords(在港记录管理)/V/YHHKRecordsStayingPersonnelCell.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/HongKongImmigrationRecords(在港记录管理)/C/YHHKRecordsContentVC.swift
View file @
003180f4
...
...
@@ -145,6 +145,8 @@ extension YHHKRecordsContentVC {
}
guard
sections
.
count
>
0
else
{
noDataView
.
isHidden
=
false
datas
=
sections
tableView
.
reloadData
()
return
}
datas
=
sections
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/HongKongImmigrationRecords(在港记录管理)/V/YHHKRecordsStayingPersonnelCell.swift
View file @
003180f4
...
...
@@ -220,7 +220,7 @@ extension YHHKRecordsStayingPersonnelCell: UICollectionViewDelegate, UICollectio
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
didSelectItemAt
indexPath
:
IndexPath
)
{
if
collectionData
.
count
>
indexPath
.
item
,
let
cell
=
collectionView
.
cellForItem
(
at
:
indexPath
)
as?
YHHKRecordsPersonnelSelectCell
{
if
collectionData
.
count
>
indexPath
.
item
{
let
data
=
collectionData
[
indexPath
.
item
]
data
.
isSelected
=
true
selectItemAction
?(
data
)
...
...
@@ -228,7 +228,7 @@ extension YHHKRecordsStayingPersonnelCell: UICollectionViewDelegate, UICollectio
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
didDeselectItemAt
indexPath
:
IndexPath
)
{
if
collectionData
.
count
>
indexPath
.
item
,
let
cell
=
collectionView
.
cellForItem
(
at
:
indexPath
)
as?
YHHKRecordsPersonnelSelectCell
{
if
collectionData
.
count
>
indexPath
.
item
{
let
data
=
collectionData
[
indexPath
.
item
]
data
.
isSelected
=
false
deselectItemAction
?(
data
)
...
...
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