巡乐会改为抽百次
This commit is contained in:
Binary file not shown.
@@ -19,6 +19,7 @@
|
||||
return self.view;
|
||||
}
|
||||
-(void)listWillAppear{
|
||||
self.page = 1;
|
||||
[self getRoomList];
|
||||
}
|
||||
-(UIScrollView *)listScrollView{
|
||||
@@ -54,15 +55,15 @@
|
||||
- (void)getRoomList {
|
||||
__weak typeof(self)weakSelf = self;
|
||||
[QXHomePageNetwork homeRoomListWithPage:self.page is_top:NO label_id:self.roomType.id successBlock:^(NSArray<QXRoomListModel *> * _Nonnull list, BOOL isAppStore) {
|
||||
if (self.page == 1) {
|
||||
if (weakSelf.page == 1) {
|
||||
[weakSelf.dataArray removeAllObjects];
|
||||
}
|
||||
[weakSelf.dataArray addObjectsFromArray:list];
|
||||
[self.collectionView reloadData];
|
||||
[weakSelf.collectionView reloadData];
|
||||
if (list.count == 0) {
|
||||
self.collectionView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||
weakSelf.collectionView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||
}else{
|
||||
[self.collectionView.mj_footer endRefreshing];
|
||||
[weakSelf.collectionView.mj_footer endRefreshing];
|
||||
}
|
||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||
[self.collectionView.mj_footer endRefreshing];
|
||||
|
||||
@@ -15,7 +15,7 @@ typedef NS_ENUM(NSInteger) {
|
||||
/// 抽10次
|
||||
QXMeetDrawBtnTypeTen = 10,
|
||||
/// 抽100次
|
||||
QXMeetDrawBtnTypeHundred = 20,
|
||||
QXMeetDrawBtnTypeHundred = 100,
|
||||
}QXMeetDrawBtnType;
|
||||
@interface QXMeetActivityView : UIView
|
||||
-(void)showInView:(UIView *)view;
|
||||
|
||||
@@ -795,7 +795,7 @@
|
||||
break;
|
||||
case QXMeetDrawBtnTypeHundred:
|
||||
{
|
||||
self.titleLabel.text = @"抽二十次";
|
||||
self.titleLabel.text = @"抽百次";
|
||||
[self.giftCoin setTitle:@"1000币一次" forState:(UIControlStateNormal)];
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user