Files
midi_ios/QXLive/活动/岁月之城/QXAgePraizeView.h

68 lines
1.8 KiB
C
Raw Normal View History

2025-09-08 08:49:04 +08:00
//
// QXAgePraizeView.h
// QXLive 天空之镜
//
// Created by 启星 on 2025/8/16.
//
#import <UIKit/UIKit.h>
#import "QXGiftActivityModel.h"
typedef NS_ENUM(NSInteger) {
/// 抽一次
QXAgeDrawBtnTypeOne = 1,
/// 抽10次
2025-09-11 18:25:41 +08:00
QXAgeDrawBtnTypeTen = 6,
2025-09-08 08:49:04 +08:00
/// 抽100次
2025-09-11 18:25:41 +08:00
QXAgeDrawBtnTypeHundred = 9,
2025-09-08 08:49:04 +08:00
}QXAgeDrawBtnType;
NS_ASSUME_NONNULL_BEGIN
@interface QXAgePraizeView : UIView
@property (nonatomic,strong)NSString *roomId;
@property (nonatomic,strong)QXGiftModel *giftModel;
@property (nonatomic,strong)QXGiftActivityModel *model;
@property (nonatomic,strong)NSString* userIds;
2025-09-11 18:25:41 +08:00
@property (nonatomic,strong)NSString* heartId;
2025-10-04 18:31:00 +08:00
@property (nonatomic,strong)NSString* auctionId;
2025-09-08 08:49:04 +08:00
@property (nonatomic,copy)void(^startBlock)(void);
-(void)showInView:(UIView *)view;
-(void)hide;
-(void)updateProgress:(QXXLHModel*)model;
-(void)destroyViews;
@end
@interface QXAgePraizeSubView :UIView
@property (nonatomic,strong)UIView *bgView;
@property (nonatomic,strong)UIImageView *bgImageView;
@property (nonatomic,strong)UIImageView *giftImageView;
@property (nonatomic,strong)UILabel *titleLabel;
@property (nonatomic,strong)UIView *resultView;
@property (nonatomic,strong)UIImageView *resultBgImageView;
@property (nonatomic,strong)UILabel *countLabel;
@property (nonatomic,strong)UIButton *giftCoin;
@property (nonatomic,strong)QXDrawGiftModel *giftModel;
@property (nonatomic,assign)BOOL isSelected;
@property (nonatomic,strong)NSString *count;
- (void)startPulseAnimationWithLayer;
// 停止动画
- (void)stopPulseAnimationWithLayer;
@end
@interface QXAgeDrawBtn : UIControl
@property (nonatomic,strong)UIImageView *bgImageView;
@property (nonatomic,strong)UILabel *titleLabel;
@property (nonatomic,strong)UIButton *giftCoin;
2025-09-11 18:25:41 +08:00
@property (nonatomic,assign)BOOL isDisable;
2025-09-08 08:49:04 +08:00
@property (nonatomic,assign)QXAgeDrawBtnType btnType;
@end
NS_ASSUME_NONNULL_END