完成
This commit is contained in:
64
QXLive/活动/岁月之城/QXAgePraizeView.h
Normal file
64
QXLive/活动/岁月之城/QXAgePraizeView.h
Normal file
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// QXAgePraizeView.h
|
||||
// QXLive 天空之镜
|
||||
//
|
||||
// Created by 启星 on 2025/8/16.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "QXGiftActivityModel.h"
|
||||
typedef NS_ENUM(NSInteger) {
|
||||
/// 抽一次
|
||||
QXAgeDrawBtnTypeOne = 1,
|
||||
/// 抽10次
|
||||
QXAgeDrawBtnTypeTen = 10,
|
||||
/// 抽100次
|
||||
QXAgeDrawBtnTypeHundred = 100,
|
||||
}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;
|
||||
@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;
|
||||
@property (nonatomic,assign)QXAgeDrawBtnType btnType;
|
||||
@end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user