1
This commit is contained in:
@@ -334,9 +334,8 @@ static NSString * const kKBSvipBenefitHeaderId = @"kKBSvipBenefitHeaderId";
|
||||
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
|
||||
CGFloat screenW = KB_SCREEN_WIDTH;
|
||||
if (indexPath.section == 0) {
|
||||
// 订阅选项:横向三等分
|
||||
CGFloat itemW = (screenW - 32 - 20) / 3.0; // 左右各16,间距10*2
|
||||
return CGSizeMake(itemW, 90);
|
||||
// 订阅选项:尺寸 105 * 124
|
||||
return CGSizeMake(105, 124);
|
||||
} else {
|
||||
// 权益项
|
||||
return CGSizeMake(screenW - 32, 56);
|
||||
|
||||
Reference in New Issue
Block a user