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

// 刷新异常处理

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