Files
midi_ios/QXLive/Tabbar/弹窗/QXGiftCell.h
2025-08-15 18:39:24 +08:00

44 lines
1.5 KiB
Objective-C

//
// QXGiftCell.h
// QXLive
//
// Created by 启星 on 2025/5/13.
//
#import <UIKit/UIKit.h>
#import "QXGiftModel.h"
#import "QXUserModel.h"
typedef NS_ENUM(NSInteger) {
/// 天降好礼
QXGiftCellTypeNiceGift = 0,
/// 背包
QXGiftCellTypeBackpack,
/// 直播间
QXGiftCellTypeLive,
/// 礼物墙
QXGiftCellTypeGiftWall,
}QXGiftCellType;
NS_ASSUME_NONNULL_BEGIN
@interface QXGiftCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UILabel *numberLabel;
@property (weak, nonatomic) IBOutlet UIImageView *gitfImageView;
@property (weak, nonatomic) IBOutlet UILabel *giftNameLabel;
@property (weak, nonatomic) IBOutlet UIButton *cornBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *numberHeightConstraint;
@property (weak, nonatomic) IBOutlet UIButton *selecteBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLabelHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *cornHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *numberWidthConstraint;
@property (weak, nonatomic) IBOutlet UIImageView *userHeaderView;
@property (weak, nonatomic) IBOutlet UIView *numberBgView;
@property (weak, nonatomic) IBOutlet UIImageView *grayCoverView;
@property (weak, nonatomic) IBOutlet UIImageView *giftNumBgImageView;
@property (strong, nonatomic) QXGiftModel *roomGiftModel;
@property (strong, nonatomic) QXUserGiftWallModel *giftWall;
@property (assign, nonatomic) QXGiftCellType cellType;
@end
NS_ASSUME_NONNULL_END