fixed: 1.我的金币页面导航显示修复
2.金币详情页兑换按钮不显示 3.实时动态页面调整 4.金币兑换页面调整
This commit is contained in:
+19
-5
@@ -15,6 +15,7 @@
|
||||
@property(nonatomic,strong)UITableView *tableView;
|
||||
@property(nonatomic,strong)NSMutableArray *dataArr;
|
||||
@property (nonatomic) NSIndexPath *selectIndexPath;
|
||||
@property(nonatomic,strong) UIView *sectionHeaderView;
|
||||
@property (nonatomic) BOOL isChage;
|
||||
@end
|
||||
|
||||
@@ -57,7 +58,7 @@
|
||||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStylePlain];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.scrollEnabled = YES;
|
||||
@@ -99,13 +100,26 @@
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
return CGFLOAT_MIN;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
|
||||
return nil;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
|
||||
return 10;
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
|
||||
return self.sectionHeaderView;
|
||||
}
|
||||
|
||||
-(UIView *)sectionHeaderView {
|
||||
if (!_sectionHeaderView) {
|
||||
_sectionHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 10)];
|
||||
}
|
||||
return _sectionHeaderView;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
Reference in New Issue
Block a user