Commit d82848a8 authored by David黄金龙's avatar David黄金龙

删除 不使用的代码

parent 121c2a34
...@@ -96,9 +96,8 @@ private extension YHHomePageViewController { ...@@ -96,9 +96,8 @@ private extension YHHomePageViewController {
homeCollectView.contentInset = UIEdgeInsets(top: YHHomeHeadView.viewH, left: 0, bottom: 20, right: 0) homeCollectView.contentInset = UIEdgeInsets(top: YHHomeHeadView.viewH, left: 0, bottom: 20, right: 0)
homeCollectView.es.addInfiniteScrolling { homeCollectView.es.addInfiniteScrolling {
// self.loadFakeData()
} }
loadFirstItem()
homeCollectView.reloadData() homeCollectView.reloadData()
} }
......
...@@ -131,6 +131,5 @@ class YHHomeCollectionViewCell: UICollectionViewCell { ...@@ -131,6 +131,5 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
} else { } else {
headImageView.image = UIImage(named: "home_grey_heart") headImageView.image = UIImage(named: "home_grey_heart")
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment