|
@@ -33,7 +33,7 @@ class TSAIRintoneVC: TSBaseVC {
|
|
|
layout.itemSize = CGSize(width: k_ScreenWidth-32, height: 74)
|
|
|
layout.minimumInteritemSpacing = 10.0
|
|
|
layout.minimumLineSpacing = 18.0
|
|
|
- layout.headerReferenceSize = CGSizeMake(k_ScreenWidth, 62)
|
|
|
+ layout.headerReferenceSize = CGSizeMake(k_ScreenWidth, 48)
|
|
|
layout.footerReferenceSize = CGSizeMake(k_ScreenWidth, 48)
|
|
|
return layout
|
|
|
}()
|
|
@@ -225,7 +225,9 @@ extension TSAIRintoneVC: UICollectionViewDataSource ,UICollectionViewDelegate,UI
|
|
|
return .zero
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets {
|
|
|
+ return UIEdgeInsets(top: 0, left: 0, bottom: 12, right: 0)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
extension TSAIRintoneVC: SwipeCollectionViewCellDelegate {
|