51 lines
1.8 KiB
Objective-C
Executable File
51 lines
1.8 KiB
Objective-C
Executable File
//
|
|
// QXDynamicListCell.h
|
|
// SweetParty
|
|
//
|
|
// Created by bj_szd on 2022/6/1.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "QXDynamicModel.h"
|
|
#import "QXSeatHeaderView.h"
|
|
typedef NS_ENUM(NSInteger) {
|
|
QXDynamicListCellDynamic = 0,
|
|
QXDynamicListCellDetail ,
|
|
QXDynamicListCellHomePage ,
|
|
}QXDynamicListCellType;
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface QXDynamicListCell : UITableViewCell
|
|
@property (weak, nonatomic) IBOutlet UIView *bgView;
|
|
|
|
@property (weak, nonatomic) IBOutlet QXSeatHeaderView *avatarImgV;
|
|
@property (weak, nonatomic) IBOutlet UILabel *nicknameLab;
|
|
@property (weak, nonatomic) IBOutlet UIImageView *sexImgV;
|
|
@property (weak, nonatomic) IBOutlet UILabel *timeLab;
|
|
@property (weak, nonatomic) IBOutlet UIButton *focusBtn;
|
|
@property (weak, nonatomic) IBOutlet UILabel *contentLab;
|
|
@property (weak, nonatomic) IBOutlet UIView *imgsBgView;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgsBgViewHeightCon;
|
|
@property (weak, nonatomic) IBOutlet UIButton *commentBtn;
|
|
@property (weak, nonatomic) IBOutlet UIButton *zanBtn;
|
|
@property (weak, nonatomic) IBOutlet UIButton *giveBtn;
|
|
@property (weak, nonatomic) IBOutlet UIImageView *sexImageView;
|
|
|
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *userImageView1;
|
|
@property (weak, nonatomic) IBOutlet UIImageView *userImageView2;
|
|
@property (weak, nonatomic) IBOutlet UIImageView *userImageView3;
|
|
@property (weak, nonatomic) IBOutlet UILabel *likeCountLabel;
|
|
@property (weak, nonatomic) IBOutlet UIButton *likeViewBtn;
|
|
|
|
@property (nonatomic, copy) void(^onDeleteBlock)(QXDynamicModel*model);
|
|
|
|
|
|
@property (nonatomic, strong) QXDynamicModel *model;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgLeftCon;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgRightCon;
|
|
@property (nonatomic, assign) QXDynamicListCellType cellType;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|