30 lines
806 B
Objective-C
30 lines
806 B
Objective-C
//
|
|
// QXRedPacketDriftView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/10/15.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class QXRedPacketDriftModel;
|
|
@interface QXRedPacketDriftView : UIView
|
|
@property (nonatomic,strong)UIImageView *bgImageView;
|
|
@property (nonatomic,strong)UILabel *titleLabel;
|
|
@property (nonatomic,strong)QXRedPacketDriftModel *model;
|
|
@property (nonatomic,strong)NSMutableArray *dataArray;
|
|
-(void)addRedpacketModel:(QXRedPacketDriftModel*)model;
|
|
-(void)drifPopIsClose:(BOOL)isClose;
|
|
+(instancetype)shareView;
|
|
@end
|
|
|
|
@interface QXRedPacketDriftModel : NSObject
|
|
@property (nonatomic,strong)NSString *room_id;
|
|
@property (nonatomic,strong)NSString *nickname;
|
|
@property (nonatomic,strong)NSString *room_name;
|
|
@property (nonatomic,strong)NSString *text;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|