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
e40ea3cf
Commit
e40ea3cf
authored
Dec 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 修复咨询显示问题
parent
07ee5d51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
YHHomeInformationViewController.swift
.../Modules/Home(首页)/C/YHHomeInformationViewController.swift
+1
-1
YHHomeInfoSectionHeadView.swift
...lasses/Modules/Home(首页)/V/YHHomeInfoSectionHeadView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeInformationViewController.swift
View file @
e40ea3cf
...
@@ -150,7 +150,7 @@ extension YHHomeInformationViewController : CollectionViewWaterfallLayoutDelegat
...
@@ -150,7 +150,7 @@ extension YHHomeInformationViewController : CollectionViewWaterfallLayoutDelegat
return
0.0
return
0.0
}
}
var
row
=
self
.
sectionItems
.
count
/
3
var
row
=
self
.
sectionItems
.
count
/
3
if
row
%
3
!=
0
{
if
self
.
sectionItems
.
count
%
3
!=
0
{
row
=
row
+
1
row
=
row
+
1
}
}
let
listHeight
=
Float
(
Double
(
row
)
*
kHomeItemHeight
)
let
listHeight
=
Float
(
Double
(
row
)
*
kHomeItemHeight
)
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeInfoSectionHeadView.swift
View file @
e40ea3cf
...
@@ -20,7 +20,7 @@ class YHHomeInfoSectionHeadView: UICollectionReusableView {
...
@@ -20,7 +20,7 @@ class YHHomeInfoSectionHeadView: UICollectionReusableView {
didSet
{
didSet
{
self
.
collectView
.
reloadData
()
self
.
collectView
.
reloadData
()
var
row
=
items
.
count
/
3
var
row
=
items
.
count
/
3
if
row
%
3
!=
0
{
if
items
.
count
%
3
!=
0
{
row
=
row
+
1
row
=
row
+
1
}
}
let
totalHeight
=
Double
(
row
)
*
kHomeItemHeight
let
totalHeight
=
Double
(
row
)
*
kHomeItemHeight
...
...
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