Commit ec0ac3ab authored by Steven杜宇's avatar Steven杜宇

// 刷新异常处理

parent eadc6cf0
...@@ -97,12 +97,13 @@ class YHHomePageViewController: YHBaseViewController { ...@@ -97,12 +97,13 @@ class YHHomePageViewController: YHBaseViewController {
homeHeaderView.isNeedHideOrderTipsView = !show homeHeaderView.isNeedHideOrderTipsView = !show
homeCollectView.contentInset = UIEdgeInsets(top: homeHeaderViewHeight, left: 0, bottom: 0, right: 0) homeCollectView.contentInset = UIEdgeInsets(top: homeHeaderViewHeight, left: 0, bottom: 0, right: 0)
if let tmpHeadView = homeCollectView.header { let tmpHeadView = homeCollectView.es.addYHPullToRefresh {
self.getData()
}
var r = tmpHeadView.frame var r = tmpHeadView.frame
r.origin.y = r.origin.y - homeHeaderViewHeight r.origin.y = r.origin.y - homeHeaderViewHeight
tmpHeadView.frame = r tmpHeadView.frame = r
} }
}
} }
private extension YHHomePageViewController { private extension YHHomePageViewController {
......
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