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 | 204 | __strong typeof(weakSelf) strongSelf = weakSelf; |
| 205 | 205 | if(!strongSelf) return ; |
| 206 | 206 | strongSelf.pageNo = 1; |
| 207 | - [strongSelf loadData]; | |
| 207 | + [strongSelf loadMoreData]; | |
| 208 | 208 | }]; |
| 209 | 209 | _tableView.mj_header = header; |
| 210 | 210 | CNLiveRefreshFooter *footer = [CNLiveRefreshFooter footerWithRefreshingBlock:^{ |
| ... | ... | @@ -212,6 +212,7 @@ |
| 212 | 212 | if(!strongSelf) return ; |
| 213 | 213 | [strongSelf loadMoreData]; |
| 214 | 214 | }]; |
| 215 | + footer.hidden = YES; | |
| 215 | 216 | _tableView.mj_footer = footer; |
| 216 | 217 | } |
| 217 | 218 | return _tableView; | ... | ... |
CNLiveIntegralModule/Classes/View/CNLiveIntegralDetailsTableViewCell.h
| ... | ... | @@ -9,8 +9,7 @@ |
| 9 | 9 | #import <UIKit/UIKit.h> |
| 10 | 10 | |
| 11 | 11 | NS_ASSUME_NONNULL_BEGIN |
| 12 | - | |
| 13 | -#define kCNLiveIntegralDetailsTableViewCell @"CNLiveIntegralDetailsTableViewCell" | |
| 12 | +static NSString * const kCNLiveIntegralDetailsTableViewCell = @"CNLiveIntegralDetailsTableViewCell"; | |
| 14 | 13 | @class CNLiveScoreModel; |
| 15 | 14 | |
| 16 | 15 | @interface CNLiveIntegralDetailsTableViewCell : UITableViewCell | ... | ... |