// // YOUPAIBigCastSettingCell.m // MSYOUPAI // // Created by CY on 2022/3/9. // Copyright © 2022 MS. All rights reserved. // #import "YOUPAIBigCastSettingCell.h" @implementation YOUPAIBigCastSettingCell - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) { self.selectionStyle = UITableViewCellSelectionStyleNone; [self youpaifinitUI]; } return self; } - (void)youpaifinitUI{ UIImageView *youpaipimgV = [[UIImageView alloc] init]; [self.contentView addSubview:youpaipimgV]; self.youpaipimgV = youpaipimgV; [youpaipimgV mas_makeConstraints:^(MASConstraintMaker *make) { make.left.offset(12.0f); make.centerY.equalTo(self.contentView); make.size.mas_offset(CGSizeMake(32.0f, 32.0f)); }]; UILabel *youpaiptitleL = [[UILabel alloc] init]; youpaiptitleL.font = LCFont14; youpaiptitleL.textColor = LZ273145Color; [self.contentView addSubview:youpaiptitleL]; self.youpaiptitleL = youpaiptitleL; [youpaiptitleL mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(youpaipimgV.mas_right).offset(12.0f); make.centerY.equalTo(self.contentView); }]; UIImageView *arrowImgV = [[UIImageView alloc] init]; arrowImgV.image = [UIImage imageNamed:@"vqu_images_D_profile_item_arrow1"]; [self.contentView addSubview:arrowImgV]; [arrowImgV mas_makeConstraints:^(MASConstraintMaker *make) { make.right.offset(-12.0f); make.centerY.equalTo(self.contentView); make.size.mas_offset(CGSizeMake(10.0f, 10.0f)); }]; [self.contentView addLineWithColor:LZF5F4F7Color lineRect:CGRectMake(20.0f, 69.5f, KScreenWidth - 40.0f, 0.5f)]; } @end