fixed: 1.我的金币页面导航显示修复
2.金币详情页兑换按钮不显示 3.实时动态页面调整 4.金币兑换页面调整
This commit is contained in:
+19
-9
@@ -17,6 +17,7 @@ const float ActivityPageSize = 20;
|
||||
@property (nonatomic,strong) UITableView *tableView;
|
||||
@property (nonatomic,strong) NSMutableArray *dataArr;
|
||||
@property (nonatomic,strong) NSMutableArray *activTypes;
|
||||
@property (nonatomic,strong) UIView *sectionHeaderView;
|
||||
@property (nonatomic) NSInteger firstResult;
|
||||
@property(nonatomic,copy) NSString* total;
|
||||
@property(nonatomic)BOOL isLoadMore;
|
||||
@@ -87,7 +88,7 @@ const float ActivityPageSize = 20;
|
||||
|
||||
-(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;
|
||||
@@ -127,18 +128,27 @@ const float ActivityPageSize = 20;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
if (section==0) {
|
||||
return 0.01;
|
||||
}else{
|
||||
|
||||
return 10;
|
||||
}
|
||||
return 10;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
|
||||
return self.sectionHeaderView;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.01;
|
||||
return CGFLOAT_MIN;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
|
||||
return nil;
|
||||
}
|
||||
|
||||
-(UIView *)sectionHeaderView{
|
||||
if (!_sectionHeaderView) {
|
||||
_sectionHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 10)];
|
||||
}
|
||||
return _sectionHeaderView;
|
||||
}
|
||||
|
||||
-(void)creatReatRefreshView{
|
||||
|
||||
Reference in New Issue
Block a user