// // YOUPAILZChatRoomNoticeContentCell.m // VQU // // Created by CY on 2021/10/28. // Copyright © 2021 MS. All rights reserved. // #import "YOUPAILZChatRoomNoticeContentCell.h" @implementation YOUPAILZChatRoomNoticeContentCell - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) { self.selectionStyle = UITableViewCellSelectionStyleNone; self.backgroundColor = [UIColor clearColor]; [self youpaifinitUI]; } return self; } - (void)youpaifinitUI{ UILabel *contentL = [[UILabel alloc] init]; contentL.textColor = [UIColor whiteColor]; contentL.font = LCFont(12.0f); contentL.numberOfLines = 0; [self.contentView addSubview:contentL]; self.youpaipcontentL = contentL; [contentL mas_makeConstraints:^(MASConstraintMaker *make) { make.left.offset(17.0f); make.top.offset(20.0f); make.right.offset(-17.0f); make.bottom.offset(-20.0f); }]; } @end