1
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
#import "KBShopHeadView.h"
|
||||
#import "KBJfPay.h"
|
||||
|
||||
@interface KBShopHeadView ()
|
||||
|
||||
@@ -173,7 +174,9 @@
|
||||
|
||||
#pragma mark - Actions
|
||||
- (void)onRechargeTappedAction {
|
||||
if (self.onRechargeTapped) { self.onRechargeTapped(); }
|
||||
// if (self.onRechargeTapped) { self.onRechargeTapped(); }
|
||||
KBJfPay *vc = [[KBJfPay alloc] init];
|
||||
[KB_CURRENT_NAV pushViewController:vc animated:true];
|
||||
}
|
||||
|
||||
#pragma mark - Lazy UI
|
||||
|
||||
@@ -97,8 +97,8 @@
|
||||
CGFloat spacing = 12.0;
|
||||
CGFloat contentW = collectionView.bounds.size.width - insetLR * 2;
|
||||
CGFloat itemW = floor((contentW - spacing) / 2.0);
|
||||
CGFloat itemH = itemW * 0.75 + 56; // KBSkinCardCell 内部高度估算
|
||||
return CGSizeMake(itemW, itemH);
|
||||
// CGFloat itemH = itemW * 0.75 + 56; // KBSkinCardCell 内部高度估算
|
||||
return CGSizeMake(itemW, KBFit(197));
|
||||
}
|
||||
|
||||
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout insetForSectionAtIndex:(NSInteger)section {
|
||||
|
||||
Reference in New Issue
Block a user