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
e4917586
Commit
e4917586
authored
Aug 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 展示选择人
parent
7350296a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
YHSelectApplicantGroupCell.swift
...tCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
+4
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHSelectApplicantGroupCell.swift
View file @
e4917586
...
@@ -94,8 +94,8 @@ class YHSelectApplicantGroupCell: UITableViewCell {
...
@@ -94,8 +94,8 @@ class YHSelectApplicantGroupCell: UITableViewCell {
lazy
var
collectionView
:
UICollectionView
=
{
lazy
var
collectionView
:
UICollectionView
=
{
let
layout
=
UICollectionViewFlowLayout
()
let
layout
=
UICollectionViewFlowLayout
()
layout
.
scrollDirection
=
.
vertical
layout
.
scrollDirection
=
.
vertical
layout
.
minimumInteritemSpacing
=
0
layout
.
minimumInteritemSpacing
=
0
.0
layout
.
minimumLineSpacing
=
16
layout
.
minimumLineSpacing
=
16
.0
let
collectView
=
UICollectionView
(
frame
:
.
zero
,
collectionViewLayout
:
layout
)
let
collectView
=
UICollectionView
(
frame
:
.
zero
,
collectionViewLayout
:
layout
)
collectView
.
delegate
=
self
collectView
.
delegate
=
self
...
@@ -265,7 +265,8 @@ extension YHSelectApplicantGroupCell: UICollectionViewDelegate, UICollectionView
...
@@ -265,7 +265,8 @@ extension YHSelectApplicantGroupCell: UICollectionViewDelegate, UICollectionView
// 返回每个单元格的大小
// 返回每个单元格的大小
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
func
collectionView
(
_
collectionView
:
UICollectionView
,
layout
collectionViewLayout
:
UICollectionViewLayout
,
sizeForItemAt
indexPath
:
IndexPath
)
->
CGSize
{
return
CGSize
(
width
:
floorl
(
collectionView
.
width
/
3.0
),
height
:
20
)
let
listWidth
=
KScreenWidth
-
(
14.0
+
18.0
+
16.0
)
*
2.0
return
CGSize
(
width
:
floorl
(
listWidth
/
3.0
),
height
:
20
)
}
}
// 返回自定义单元格
// 返回自定义单元格
...
...
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