优化提交
This commit is contained in:
@@ -15,7 +15,7 @@ typedef NS_ENUM(NSInteger) {
|
||||
/// 抽10次
|
||||
QXMeetDrawBtnTypeTen = 10,
|
||||
/// 抽100次
|
||||
QXMeetDrawBtnTypeHundred = 100,
|
||||
QXMeetDrawBtnTypeHundred = 20,
|
||||
}QXMeetDrawBtnType;
|
||||
@interface QXMeetActivityView : UIView
|
||||
-(void)showInView:(UIView *)view;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user