Files
featherVoice/QXLive/Room(房间)/View/点唱/QXSingerSongListCell.h
2025-11-21 16:17:05 +08:00

42 lines
1.4 KiB
Objective-C

//
// QXSingerSongListCell.h
// QXLive
//
// Created by 启星 on 2025/11/14.
//
#import <UIKit/UIKit.h>
#import "QXUserSongListModel.h"
NS_ASSUME_NONNULL_BEGIN
@protocol QXSingerSongListCellDelegate <NSObject>
@optional
-(void)updateSongList;
@end
@interface QXSingerSongListCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *songNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *singerNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *bossLabel;
@property (weak, nonatomic) IBOutlet UIImageView *giftImageView;
@property (weak, nonatomic) IBOutlet UILabel *giftInfoLabel;
@property (weak, nonatomic) IBOutlet UILabel *giftPriceLabel;
@property (weak, nonatomic) IBOutlet UIButton *requestBtn;
@property (weak, nonatomic) IBOutlet UILabel *playingLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *songNameTopConstraint;
@property (weak, nonatomic) IBOutlet UIImageView *giftCoinImageView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *singerNameTopConstraint;
/// 0 点歌 1 已点歌曲 2 历史记录
@property (nonatomic,assign)NSInteger type;
@property (nonatomic,assign)BOOL isCompere;
@property (nonatomic,strong)NSString* roomId;
@property (nonatomic,assign)NSInteger index;
@property (nonatomic,strong)QXUserSongListModel *model;
@property (nonatomic,weak)id<QXSingerSongListCellDelegate>delegate;
+(instancetype)cellWithTableView:(UITableView *)tableView;
@end
NS_ASSUME_NONNULL_END