Commit 3e3230ded30b7c9fc98d5da329a442a657960f74
1 parent
bf1af607
直播列表cell大小
Showing
1 changed file
with
1 additions
and
1 deletions
LiveVideoCloud/LiveVideoCloud/Classes/Sections/homeSections/Controller/LVCUGCLiveListView.m
| @@ -97,7 +97,7 @@ static NSString *cellId = @"cellId"; | @@ -97,7 +97,7 @@ static NSString *cellId = @"cellId"; | ||
| 97 | UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; | 97 | UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; |
| 98 | layout.minimumLineSpacing = 10; | 98 | layout.minimumLineSpacing = 10; |
| 99 | layout.minimumInteritemSpacing = 0; | 99 | layout.minimumInteritemSpacing = 0; |
| 100 | - layout.itemSize = CGSizeMake(SCREEN_WIDTH, SCREEN_WIDTH + 70); | 100 | + layout.itemSize = CGSizeMake(SCREEN_WIDTH, SCREEN_WIDTH + 100); |
| 101 | _collectionView = [[UICollectionView alloc] initWithFrame:self.bounds collectionViewLayout:layout]; | 101 | _collectionView = [[UICollectionView alloc] initWithFrame:self.bounds collectionViewLayout:layout]; |
| 102 | _collectionView.backgroundColor = [UIColor lightGrayColor]; | 102 | _collectionView.backgroundColor = [UIColor lightGrayColor]; |
| 103 | _collectionView.showsHorizontalScrollIndicator = NO; | 103 | _collectionView.showsHorizontalScrollIndicator = NO; |