Commit 56b670681250fe1166727c3dea4cf3697881a4ef
1 parent
f8e80c8b
no message
Showing
1 changed file
with
4 additions
and
1 deletions
CNLiveCServiceModule/Classes/View/CNLiveServiceEpiCell.m
| ... | ... | @@ -89,11 +89,14 @@ static NSString *CNServiceOrLookID = @"CNLiveServiceOrLookCell"; |
| 89 | 89 | } |
| 90 | 90 | #pragma mark - UICollectionViewDelegateFlowLayout |
| 91 | 91 | - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath{ |
| 92 | - return CGSizeMake(collectionView.width, (collectionView.height -20)/3); | |
| 92 | + return CGSizeMake(collectionView.width, (collectionView.height )/3); | |
| 93 | 93 | } |
| 94 | 94 | - (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{ |
| 95 | 95 | return UIEdgeInsetsMake(0, 0, 0, 0); |
| 96 | 96 | } |
| 97 | +- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section{ | |
| 98 | + return 0; | |
| 99 | +} | |
| 97 | 100 | #pragma mark - Setting&&Getting |
| 98 | 101 | - (void)setModel:(CNliveServicePageModel *)model |
| 99 | 102 | { | ... | ... |