Commit b09e315ef904d7cc264fd90846f9ec7c482f8d46
1 parent
9e2c8508
no message
Showing
2 changed files
with
5 additions
and
5 deletions
CNLiveIntegralModule/Classes/Controller/CNLiveIntegralDetailsController.m
| @@ -41,9 +41,9 @@ | @@ -41,9 +41,9 @@ | ||
| 41 | // NSDictionary *params = @{@"pageSize":@"10", | 41 | // NSDictionary *params = @{@"pageSize":@"10", |
| 42 | // @"pageNo":[NSString stringWithFormat:@"%ld",_pageNo], | 42 | // @"pageNo":[NSString stringWithFormat:@"%ld",_pageNo], |
| 43 | // @"sid":CNUserShareModel.uid}; | 43 | // @"sid":CNUserShareModel.uid}; |
| 44 | - NSDictionary *params = @{@"pageSize":@"10", | 44 | + NSDictionary *params = @{@"pageSize":@"15", |
| 45 | @"pageNo":[NSString stringWithFormat:@"%ld",_pageNo], | 45 | @"pageNo":[NSString stringWithFormat:@"%ld",_pageNo], |
| 46 | - @"sid":@"10514405"}; | 46 | + @"sid":@"10514405",@"appId":AppId}; |
| 47 | [CNLiveNetworking setAllowRequestDefaultArgument:YES]; | 47 | [CNLiveNetworking setAllowRequestDefaultArgument:YES]; |
| 48 | [CNLiveNetworking setupShowDataResult:NO]; | 48 | [CNLiveNetworking setupShowDataResult:NO]; |
| 49 | [QMUITips showLoadingInView:[UIApplication sharedApplication].keyWindow]; | 49 | [QMUITips showLoadingInView:[UIApplication sharedApplication].keyWindow]; |
CNLiveIntegralModule/Classes/Controller/CNLiveTaskListController.m
| @@ -372,11 +372,11 @@ | @@ -372,11 +372,11 @@ | ||
| 372 | return view; | 372 | return view; |
| 373 | } | 373 | } |
| 374 | - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{ | 374 | - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{ |
| 375 | - return 0.1; // 注意要设置为0.1,不能设置为0 | 375 | + return 0.000001; // 注意要设置为0.1,不能设置为0 |
| 376 | } | 376 | } |
| 377 | 377 | ||
| 378 | - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{ | 378 | - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{ |
| 379 | - return 45; // 注意要设置为0.1,不能设置为0 | 379 | + return 45.0; // 注意要设置为0.1,不能设置为0 |
| 380 | } | 380 | } |
| 381 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { | 381 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { |
| 382 | return 40+30; | 382 | return 40+30; |
| @@ -435,11 +435,11 @@ | @@ -435,11 +435,11 @@ | ||
| 435 | - (UIButton *)backButton { | 435 | - (UIButton *)backButton { |
| 436 | if (!_backButton) { | 436 | if (!_backButton) { |
| 437 | _backButton = [UIButton buttonWithType:UIButtonTypeCustom]; | 437 | _backButton = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 438 | + _backButton.adjustsImageWhenHighlighted = NO; | ||
| 438 | _backButton.frame = CGRectMake(15, StatusBarHeight, 44, 44); | 439 | _backButton.frame = CGRectMake(15, StatusBarHeight, 44, 44); |
| 439 | [_backButton setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft]; | 440 | [_backButton setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft]; |
| 440 | UIImage *image = [self xw_getImageName:@"mine_back_white_b" bundleName:@"CNLiveIntegralModule" targetClass:[self class]]; | 441 | UIImage *image = [self xw_getImageName:@"mine_back_white_b" bundleName:@"CNLiveIntegralModule" targetClass:[self class]]; |
| 441 | [_backButton setImage:image forState:UIControlStateNormal]; | 442 | [_backButton setImage:image forState:UIControlStateNormal]; |
| 442 | -// _backButton.touchAreaInsets = UIEdgeInsetsMake(15, 15, 15, 15); | ||
| 443 | [_backButton addTarget:self action:@selector(backAction:) forControlEvents:UIControlEventTouchUpInside]; | 443 | [_backButton addTarget:self action:@selector(backAction:) forControlEvents:UIControlEventTouchUpInside]; |
| 444 | } | 444 | } |
| 445 | return _backButton; | 445 | return _backButton; |