75 lines
2.1 KiB
Objective-C
75 lines
2.1 KiB
Objective-C
//
|
|
// QXMeetActivityView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/8/29.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "QXTimer.h"
|
|
#import "GKCycleScrollView.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
typedef NS_ENUM(NSInteger) {
|
|
/// 抽一次
|
|
QXMeetDrawBtnTypeOne = 1,
|
|
/// 抽10次
|
|
QXMeetDrawBtnTypeTen = 10,
|
|
/// 抽100次
|
|
QXMeetDrawBtnTypeHundred = 100,
|
|
}QXMeetDrawBtnType;
|
|
|
|
@protocol QXMeetActivityViewDelegate <NSObject>
|
|
|
|
@optional
|
|
-(void)timeDownDidFinished;
|
|
|
|
@end
|
|
@interface QXMeetActivityView : UIView
|
|
-(void)showInView:(UIView *)view;
|
|
@property (nonatomic,strong)NSString *roomId;
|
|
@property (nonatomic,strong)QXGiftModel *giftModel;
|
|
|
|
-(void)updateUserAndGiftInfoWithModel:(QXRoomChatListModel*)model;
|
|
@end
|
|
|
|
@interface QXMeetTimeDownView :UIView
|
|
@property (nonatomic,strong)UIImageView *timeBgView1;
|
|
@property (nonatomic,strong)UIImageView *timeBgView2;
|
|
@property (nonatomic,strong)UIImageView *timeBgView3;
|
|
@property (nonatomic,strong)UIImageView *timeBgView4;
|
|
|
|
@property (nonatomic,strong)UILabel *centerLabel;
|
|
|
|
@property (nonatomic,strong)UILabel *timeLabel1;
|
|
@property (nonatomic,strong)UILabel *timeLabel2;
|
|
@property (nonatomic,strong)UILabel *timeLabel3;
|
|
@property (nonatomic,strong)UILabel *timeLabel4;
|
|
|
|
@property (nonatomic,assign)long long endTime;
|
|
@property (nonatomic,assign)long long startTime;
|
|
|
|
@property (nonatomic,strong)QXTimer *timer;
|
|
|
|
@property (nonatomic,weak)id<QXMeetActivityViewDelegate>delegate;
|
|
@end
|
|
|
|
|
|
@interface QXMeetDrawBtn : UIControl
|
|
@property (nonatomic,strong)UIImageView *bgImageView;
|
|
@property (nonatomic,strong)UILabel *titleLabel;
|
|
@property (nonatomic,strong)UIButton *giftCoin;
|
|
@property (nonatomic,assign)BOOL isDisable;
|
|
@property (nonatomic,assign)QXMeetDrawBtnType btnType;
|
|
@end
|
|
|
|
|
|
//@interface QXMeetGiftCell : GKCycleScrollViewCell
|
|
//@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
|