This commit is contained in:
启星
2025-09-08 08:49:04 +08:00
parent ddeec09ea5
commit 349cab1499
290 changed files with 8627 additions and 760 deletions

View File

@@ -0,0 +1,38 @@
//
// QXMeetLotteryView.h
// QXLive
//
// Created by 启星 on 2025/9/2.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol QXMeetLotteryViewDelegate <NSObject>
- (void)lotteryWheelDidStopAtIndex:(NSInteger)index;
@end
@interface QXMeetLotteryView : UIView
@property (nonatomic, weak) id<QXMeetLotteryViewDelegate> delegate;
@property (nonatomic, strong) NSArray *prizes; // 奖品数据源
@property (nonatomic, assign) NSInteger finalPrizeIndex; // 最终奖品索引
- (void)startLotteryAnimation;
- (void)stopLotteryAnimation;
@end
@interface QXMeetLotterySubView : UIView
@property (nonatomic,strong)UIImageView *giftBgImageView;
@property (nonatomic,strong)UIImageView *giftImageView;
@property (nonatomic,strong)UIImageView *giftNameBgImageView;
@property (nonatomic,strong)UILabel *giftNameLabel;
@property (nonatomic,strong)UIButton *giftCoinBtn;
@property (nonatomic,strong)QXDrawGiftModel *model;
@end
NS_ASSUME_NONNULL_END