Commit d815a853d946e0af641a94e749bfd402821b4c79
1 parent
262da103
no message
Showing
2 changed files
with
3 additions
and
3 deletions
CNLiveIntegralModule/Classes/Controller/CNLiveIntegralDetailsController.m
| @@ -204,7 +204,7 @@ | @@ -204,7 +204,7 @@ | ||
| 204 | __strong typeof(weakSelf) strongSelf = weakSelf; | 204 | __strong typeof(weakSelf) strongSelf = weakSelf; |
| 205 | if(!strongSelf) return ; | 205 | if(!strongSelf) return ; |
| 206 | strongSelf.pageNo = 1; | 206 | strongSelf.pageNo = 1; |
| 207 | - [strongSelf loadData]; | 207 | + [strongSelf loadMoreData]; |
| 208 | }]; | 208 | }]; |
| 209 | _tableView.mj_header = header; | 209 | _tableView.mj_header = header; |
| 210 | CNLiveRefreshFooter *footer = [CNLiveRefreshFooter footerWithRefreshingBlock:^{ | 210 | CNLiveRefreshFooter *footer = [CNLiveRefreshFooter footerWithRefreshingBlock:^{ |
| @@ -212,6 +212,7 @@ | @@ -212,6 +212,7 @@ | ||
| 212 | if(!strongSelf) return ; | 212 | if(!strongSelf) return ; |
| 213 | [strongSelf loadMoreData]; | 213 | [strongSelf loadMoreData]; |
| 214 | }]; | 214 | }]; |
| 215 | + footer.hidden = YES; | ||
| 215 | _tableView.mj_footer = footer; | 216 | _tableView.mj_footer = footer; |
| 216 | } | 217 | } |
| 217 | return _tableView; | 218 | return _tableView; |
CNLiveIntegralModule/Classes/View/CNLiveIntegralDetailsTableViewCell.h
| @@ -9,8 +9,7 @@ | @@ -9,8 +9,7 @@ | ||
| 9 | #import <UIKit/UIKit.h> | 9 | #import <UIKit/UIKit.h> |
| 10 | 10 | ||
| 11 | NS_ASSUME_NONNULL_BEGIN | 11 | NS_ASSUME_NONNULL_BEGIN |
| 12 | - | ||
| 13 | -#define kCNLiveIntegralDetailsTableViewCell @"CNLiveIntegralDetailsTableViewCell" | 12 | +static NSString * const kCNLiveIntegralDetailsTableViewCell = @"CNLiveIntegralDetailsTableViewCell"; |
| 14 | @class CNLiveScoreModel; | 13 | @class CNLiveScoreModel; |
| 15 | 14 | ||
| 16 | @interface CNLiveIntegralDetailsTableViewCell : UITableViewCell | 15 | @interface CNLiveIntegralDetailsTableViewCell : UITableViewCell |