35 lines
767 B
Objective-C
35 lines
767 B
Objective-C
//
|
|
// NotiCenterJumpLinkTableViewCell.m
|
|
// ShenQi
|
|
//
|
|
// Created by twotutoo on 2025/1/11.
|
|
//
|
|
|
|
#import "NotiCenterJumpLinkTableViewCell.h"
|
|
#import "MacroDefine.h"
|
|
|
|
@implementation NotiCenterJumpLinkTableViewCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
|
|
[self setSelectionStyle:(UITableViewCellSelectionStyleNone)];
|
|
self.contentView.backgroundColor = UIColorFromRGB(0xFAFAFA);
|
|
}
|
|
|
|
-(void)setList:(PushRecordList *)list
|
|
{
|
|
_list = list;
|
|
|
|
self.contentLabel.text = self.list.content;
|
|
[self.linkBtn setTitle:self.list.jumpUrl forState:(UIControlStateNormal)];
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|