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
d6791514
Commit
d6791514
authored
Apr 10, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整首页展示
parent
dbeb917f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
YHHomePageViewController.swift
...Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
+7
-9
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
View file @
d6791514
...
@@ -108,17 +108,15 @@ private extension YHHomePageViewController {
...
@@ -108,17 +108,15 @@ private extension YHHomePageViewController {
make
.
top
.
equalTo
(
searchView
.
snp
.
bottom
)
.
offset
(
6
)
make
.
top
.
equalTo
(
searchView
.
snp
.
bottom
)
.
offset
(
6
)
}
}
homeHeaderView
.
frame
=
CGRect
(
x
:
0
,
y
:
-
YHHomeHeadView
.
viewH
,
width
:
KScreenWidth
-
40
,
height
:
YHHomeHeadView
.
viewH
)
homeHeaderView
.
frame
=
CGRect
(
x
:
2
0
,
y
:
-
YHHomeHeadView
.
viewH
,
width
:
KScreenWidth
-
40
,
height
:
YHHomeHeadView
.
viewH
)
homeCollectView
.
addSubview
(
homeHeaderView
)
homeCollectView
.
addSubview
(
homeHeaderView
)
// homeCollectView.contentInset = UIEdgeInsets(top: YHHomeHeadView.viewH, left: 20, bottom: 20, right: 2
0)
homeCollectView
.
contentInset
=
UIEdgeInsets
(
top
:
YHHomeHeadView
.
viewH
,
left
:
0
,
bottom
:
0
,
right
:
0
)
homeCollectView
.
es
.
addInfiniteScrolling
{
// homeCollectView.es.addInfiniteScrolling {
self
.
loadFakeData
()
// self.loadFakeData()
}
// }
loadFirstItem
()
homeCollectView
.
reloadData
()
// loadFirstItem()
// homeCollectView.reloadData()
}
}
func
loadFirstItem
()
{
func
loadFirstItem
()
{
...
...
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