30 lines
828 B
Objective-C
30 lines
828 B
Objective-C
//
|
|
// QXRedBagListView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/10/11.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface QXRedBagListView : UIView
|
|
@property (nonatomic,strong)NSArray <QXRedPacketModel*>*dataArray;
|
|
@property (nonatomic,copy)void(^didSelectedRedBlock)(QXRedPacketModel*model);
|
|
-(void)showInView:(UIView *)view;
|
|
-(void)hide;
|
|
-(void)updateRedpacketTimeWithIndex:(NSInteger)index time:(long)time;
|
|
@end
|
|
|
|
@interface QXRedBagListCell : UICollectionViewCell
|
|
@property (nonatomic,strong)QXRedPacketModel* redpacketModel;
|
|
@property (nonatomic,strong)UIImageView *redBagImageView;
|
|
@property (nonatomic,strong)UIImageView *pwdImageView;
|
|
@property (nonatomic,strong)UILabel *timeLabel;
|
|
@property (nonatomic,strong)UILabel *nameLabel;
|
|
@property (nonatomic,assign)long endTime;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|