2025-08-08 10:49:36 +08:00
|
|
|
//
|
|
|
|
|
// 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;
|
2025-10-20 09:43:10 +08:00
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *giftNumBgImageView;
|
|
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *activityImageView;
|
2025-08-08 10:49:36 +08:00
|
|
|
|
|
|
|
|
@property (strong, nonatomic) QXGiftModel *roomGiftModel;
|
2025-10-20 09:43:10 +08:00
|
|
|
|
|
|
|
|
@property (strong, nonatomic) QXGiftModel *niceGiftModel;
|
2025-08-08 10:49:36 +08:00
|
|
|
@property (strong, nonatomic) QXUserGiftWallModel *giftWall;
|
|
|
|
|
@property (assign, nonatomic) QXGiftCellType cellType;
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|