增加换肤功能
This commit is contained in:
22
QXLive/Dynamic(语圈)/View/QXDynamicTopicCell.m
Normal file
22
QXLive/Dynamic(语圈)/View/QXDynamicTopicCell.m
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// QXDynamicTopicCell.m
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/5/9.
|
||||
//
|
||||
|
||||
#import "QXDynamicTopicCell.h"
|
||||
#import "NSString+QX.h"
|
||||
|
||||
@implementation QXDynamicTopicCell
|
||||
-(void)setModel:(QXTopicModel *)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
|
||||
Reference in New Issue
Block a user