11
This commit is contained in:
34
ShenQi/NotiCenterJumpLinkTableViewCell.m
Normal file
34
ShenQi/NotiCenterJumpLinkTableViewCell.m
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user