创建事件 create event UI

This commit is contained in:
edwinQQQ
2025-05-12 17:37:58 +08:00
parent ffdfa121f9
commit 2c5a1a289e
26 changed files with 1336 additions and 7 deletions

View File

@@ -127,7 +127,7 @@
_selectButton.userInteractionEnabled = YES;
_selectButton.layer.cornerRadius = 12;
_selectButton.layer.masksToBounds = YES;
[_selectButton setTitle:YMLocalizedString(@"XPAnchorPKTableViewCell3") forState:UIControlStateNormal];
[_selectButton setTitle:YMLocalizedString(@"XPAnchorPKTableViewCell2") forState:UIControlStateNormal];
_selectButton.titleLabel.font = [UIFont systemFontOfSize:12];
[_selectButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
}

View File

@@ -28,6 +28,7 @@ typedef NS_ENUM(NSUInteger, GiftType) {
GiftType_CP = 19, // CP
GiftType_Custom = 20, // 定制
GiftType_Bravo = 21, // 超级礼物
GiftType_Lucky25 = 25, // 超级礼物
};
//礼物类型

View File

@@ -49,6 +49,8 @@
@property (nonatomic,strong)XPGiftInfoView *countryVC;
/// 24
@property (nonatomic,strong)XPGiftInfoView *lucky24VC;
/// 25
@property (nonatomic,strong)XPGiftInfoView *lucky25VC;
/// cp
@property (nonatomic,strong)XPGiftInfoView *cpVC;
///
@@ -201,6 +203,10 @@
return self.superLuckyVC;
}
break;
case GiftType_Lucky25: {
return self.lucky25VC;
}
break;
case GiftType_Country:{
return self.countryVC;
}
@@ -231,7 +237,7 @@
return i;
} else if (tabGiftType == GiftType_Lucky && self.segmentType == GiftSegmentType_Lucky) {
return i;
} else if ((tabGiftType == GiftType_super || tabGiftType == GiftType_Lucky24) && self.segmentType == GiftSegmentType_SuperLucky) {
} else if ((tabGiftType == GiftType_super || tabGiftType == GiftType_Lucky24 || tabGiftType == GiftType_Lucky25) && self.segmentType == GiftSegmentType_SuperLucky) {
return i;
} else if (tabGiftType == GiftType_WeekStar && self.segmentType == GiftSegmentType_WeekStar) {
return i;
@@ -248,6 +254,9 @@
} else if (tabGiftType == GiftType_Bravo && self.segmentType == GiftSegmentType_Bravo) {
return i;
}
// else if (tabGiftType == GiftType_Bravo && self.segmentType == GiftSegmentType_Bravo) {
// return i;
// }
}
return 0;
@@ -533,6 +542,14 @@
}
return _superLuckyVC;
}
-(XPGiftInfoView *)lucky25VC{
if(!_lucky25VC){
_lucky25VC = [[XPGiftInfoView alloc]init];
_lucky25VC.delegate = self;
_lucky25VC.segmentType = GiftSegmentType_SuperLucky;
}
return _lucky25VC;
}
-(XPGiftInfoView *)countryVC{
if(!_countryVC){
_countryVC = [[XPGiftInfoView alloc]init];

View File

@@ -608,6 +608,7 @@ UIKIT_EXTERN NSString * kShowFirstRechargeView;
if (giftInfo.giftType != GiftType_Game &&
giftInfo.giftType != GiftType_super &&
giftInfo.giftType != GiftType_Lucky24 &&
giftInfo.giftType != GiftType_Lucky25 &&
giftInfo.giftType != GiftType_Bravo) {
[[GiftComboManager sharedManager] enableToCombo:NO];
return;