BGReadPackTableViewCell.m 810 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // BGReadPackTableViewCell.m
  3. // BuguLive
  4. //
  5. // Created by 志刚杨 on 2021/12/24.
  6. // Copyright © 2021 xfg. All rights reserved.
  7. //
  8. #import "BGReadPackTableViewCell.h"
  9. @implementation BGReadPackTableViewCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. ViewRadius(self.avatar, 22);
  13. UIView *line = [[UIView alloc] init];
  14. [self addSubview:line];
  15. line.backgroundColor = [UIColor colorWithHexString:@"#E1E1E1"];
  16. [line mas_makeConstraints:^(MASConstraintMaker *make) {
  17. make.left.and.right.and.bottom.equalTo(self);
  18. make.height.mas_equalTo(0.7);
  19. }];
  20. // Initialization code
  21. }
  22. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  23. [super setSelected:selected animated:animated];
  24. // Configure the view for the selected state
  25. }
  26. @end