Files
featherVoice/QXLive/Room(房间)/View/酒吧房/QXRoomBarSetGiftCell.h
2026-01-08 18:31:27 +08:00

41 lines
1.2 KiB
Objective-C

//
// QXRoomBarSetGiftCell.h
// QXLive
//
// Created by 启星 on 2026/1/4.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger) {
/// 设置礼物
QXRoomBarSetGiftCellTypeSet = 0,
/// 赠送
QXRoomBarSetGiftCellTypeSend = 1,
/// 没有底部操作
QXRoomBarSetGiftCellTypeNoOption = 2,
}QXRoomBarSetGiftCellType;
@protocol QXRoomBarSetGiftCellDelegate <NSObject>
@optional
-(void)setShowTimeGiftModel:(QXGiftModel*)giftModel;
@end
@interface QXRoomBarSetGiftCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIButton *bgBtn;
@property (weak, nonatomic) IBOutlet UIImageView *giftImageView;
@property (weak, nonatomic) IBOutlet UILabel *giftNameLabel;
@property (weak, nonatomic) IBOutlet UIButton *coinBtn;
@property (weak, nonatomic) IBOutlet UILabel *remarkLabel;
@property (weak, nonatomic) IBOutlet UIButton *setBtn;
/// 是否为心愿礼物
@property (nonatomic,assign)QXRoomBarSetGiftCellType cellType;
@property (nonatomic,strong)QXGiftModel *model;
@property (nonatomic,weak)id<QXRoomBarSetGiftCellDelegate>delegate;
@end
NS_ASSUME_NONNULL_END