优化提交

This commit is contained in:
启星
2025-09-19 11:38:43 +08:00
parent a3a7bfdf22
commit 231d3d8625
153 changed files with 20460 additions and 11929 deletions

View File

@@ -110,7 +110,7 @@
layout.minimumLineSpacing = 23;
layout.minimumInteritemSpacing = 23;
layout.sectionInset = UIEdgeInsetsMake(0, 17, 0, 17);
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2)/3, ScaleWidth(128));
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2-1)/3, ScaleWidth(128));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.ruleImageView.bottom+10, SCREEN_WIDTH, self.bgView.height-self.ruleImageView.bottom) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -221,7 +221,7 @@
layout.minimumLineSpacing = 16;
layout.minimumInteritemSpacing = 16;
layout.sectionInset = UIEdgeInsetsMake(0, 12, 0, 12);
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2)/3, ScaleWidth(123));
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2-1)/3, ScaleWidth(123));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.myRecordBtn.bottom+10, self.bgCoverView.width, self.bgCoverView.height-self.myRecordBtn.bottom-5) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -473,7 +473,7 @@ static NSInteger toSlowCount = 4;
return;
}
if (self.isDrawing) {
showToast(@"正在抽奖中");
// showToast(@"正在抽奖中");
return;
}
[self resetViews];

View File

@@ -110,7 +110,7 @@
layout.minimumLineSpacing = 23;
layout.minimumInteritemSpacing = 23;
layout.sectionInset = UIEdgeInsetsMake(0, 17, 0, 17);
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2)/3, ScaleWidth(128));
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2-1)/3, ScaleWidth(128));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.ruleImageView.bottom+10, SCREEN_WIDTH, self.bgView.height-self.ruleImageView.bottom) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -221,7 +221,7 @@
layout.minimumLineSpacing = 16;
layout.minimumInteritemSpacing = 16;
layout.sectionInset = UIEdgeInsetsMake(0, 12, 0, 12);
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2)/3, ScaleWidth(123));
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2-1)/3, ScaleWidth(123));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.myRecordBtn.bottom+10, self.bgCoverView.width, self.bgCoverView.height-self.myRecordBtn.bottom-5) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -505,7 +505,7 @@ static NSInteger toSlowCount = 4;
return;
}
if (self.isDrawing) {
showToast(@"正在抽奖中");
// showToast(@"正在抽奖中");
return;
}
[self resetViews];

View File

@@ -15,7 +15,7 @@ typedef NS_ENUM(NSInteger) {
/// 抽10次
QXMeetDrawBtnTypeTen = 10,
/// 抽100次
QXMeetDrawBtnTypeHundred = 100,
QXMeetDrawBtnTypeHundred = 20,
}QXMeetDrawBtnType;
@interface QXMeetActivityView : UIView
-(void)showInView:(UIView *)view;

View File

@@ -388,7 +388,7 @@
}
-(void)drawGiftWithNum:(NSString*)num{
if (self.isDrawing) {
showToast(@"正在抽奖中");
// showToast(@"正在抽奖中");
return;
}
NSDictionary *parameters = @{
@@ -571,6 +571,7 @@
_resultView = [[QXMeetActivityResultView alloc] init];
MJWeakSelf
_resultView.againBlock = ^(NSString * _Nonnull times) {
// weakSelf.jumpAnimateBtn.selected = YES;
[weakSelf drawGiftWithNum:times];
};
}
@@ -794,7 +795,7 @@
break;
case QXMeetDrawBtnTypeHundred:
{
self.titleLabel.text = @"抽次";
self.titleLabel.text = @"抽二十次";
[self.giftCoin setTitle:@"1000币一次" forState:(UIControlStateNormal)];
}
break;

View File

@@ -110,7 +110,7 @@
layout.minimumLineSpacing = 23;
layout.minimumInteritemSpacing = 23;
layout.sectionInset = UIEdgeInsetsMake(0, 17, 0, 17);
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2)/3, ScaleWidth(128));
layout.itemSize = CGSizeMake((SCREEN_WIDTH-17*2-23*2-1)/3, ScaleWidth(128));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.ruleImageView.bottom+10, SCREEN_WIDTH, self.bgView.height-self.ruleImageView.bottom) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -221,7 +221,7 @@
layout.minimumLineSpacing = 16;
layout.minimumInteritemSpacing = 16;
layout.sectionInset = UIEdgeInsetsMake(0, 12, 0, 12);
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2)/3, ScaleWidth(123));
layout.itemSize = CGSizeMake((self.bgCoverView.width-12*2-16*2-1)/3, ScaleWidth(123));
_collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, self.myRecordBtn.bottom+10, self.bgCoverView.width, self.bgCoverView.height-self.myRecordBtn.bottom-5) collectionViewLayout:layout];
_collectionView.delegate = self;
_collectionView.dataSource = self;

View File

@@ -506,7 +506,7 @@ static NSInteger toSlowCount = 4;
return;
}
if (self.isDrawing) {
showToast(@"正在抽奖中");
// showToast(@"正在抽奖中");
return;
}
[self resetViews];