上线提交

This commit is contained in:
启星
2026-01-31 09:19:05 +08:00
parent 362df44bb3
commit 6fcb5759ca
4 changed files with 33 additions and 16 deletions

View File

@@ -174,18 +174,35 @@
MJWeakSelf
_collectionView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
weakSelf.page = 1;
weakSelf.page++;
BOOL isIn = NO;
if (weakSelf.type == 2) {
isIn = YES;
}else if(weakSelf.type == 3){
isIn = NO;
}
if (weakSelf.type == 0) {
[weakSelf getBagList];
}else if (weakSelf.type == 1){
[weakSelf getHotCardList];
}else{
[weakSelf getGiftRecordListIsIncome:self.type == 1];
[weakSelf getGiftRecordListIsIncome:isIn];
}
}];
_collectionView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
weakSelf.page++;
BOOL isIn = NO;
if (weakSelf.type == 2) {
isIn = YES;
}else if(weakSelf.type == 3){
isIn = NO;
}
if (weakSelf.type == 0) {
[weakSelf getBagList];
}else if (weakSelf.type == 1){
[weakSelf getHotCardList];
}else{
[weakSelf getGiftRecordListIsIncome:self.type == 1];
[weakSelf getGiftRecordListIsIncome:isIn];
}
}];
}