// // QXMeetLotteryView.h // QXLive // // Created by 启星 on 2025/9/2. // #import NS_ASSUME_NONNULL_BEGIN @protocol QXMeetLotteryViewDelegate - (void)lotteryWheelDidStopAtIndex:(NSInteger)index; @end @interface QXMeetLotteryView : UIView @property (nonatomic, weak) id 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