24 lines
600 B
Objective-C
24 lines
600 B
Objective-C
//
|
|
// QXDynamicTopicCell.m
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/5/9.
|
|
//
|
|
|
|
#import "QXDynamicTopicCell.h"
|
|
#import "NSString+QX.h"
|
|
|
|
@implementation QXDynamicTopicCell
|
|
-(void)setModel:(QXTopicModel *)model{
|
|
_model = model;
|
|
[self.topicImageView sd_setImageWithURL:[NSURL URLWithString:model.pic] placeholderImage:nil];
|
|
self.titleLabel.text = model.title;
|
|
self.countLabel.text = [NSString localizedStringWithFormat:QXText(@"%@条动态"),[NSString qx_showHotCountNum:model.count.longLongValue]];
|
|
}
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
}
|
|
|
|
@end
|