完成
This commit is contained in:
38
QXLive/活动/巡乐会/QXMeetLotteryView.h
Normal file
38
QXLive/活动/巡乐会/QXMeetLotteryView.h
Normal 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
|
||||
Reference in New Issue
Block a user