Commit f218130a7430eb0ff95fbdc14db1fb64bab5c4a6

Authored by zhangxiaowen
1 parent e56684ef

no message

CNLiveSettingModule/Classes/Privacy/CNLiveNotSeeCell.m
... ... @@ -84,13 +84,11 @@ static const NSInteger margin = 15;
84 84 make.centerX.mas_equalTo(self.contentView);
85 85 make.size.mas_equalTo(CGSizeMake(45, 45));
86 86 }];
87   -
88 87 [self.delButton mas_makeConstraints:^(MASConstraintMaker *make) {
89 88 make.top.mas_equalTo(self.contentView).offset(3);;
90 89 make.right.mas_equalTo(self.avatarImage.mas_left).offset(12.5);
91 90 make.size.mas_equalTo(CGSizeMake(20, 20));
92 91 }];
93   -
94 92 [self.nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
95 93 make.centerX.mas_equalTo(self.contentView);
96 94 make.bottom.mas_equalTo(self.contentView).offset(-margin);
... ... @@ -106,7 +104,6 @@ static const NSInteger margin = 15;
106 104 [_delButton setBackgroundImage:image forState:UIControlStateNormal];
107 105 [_delButton addTarget:self action:@selector(delButtonDidClicked:) forControlEvents:UIControlEventTouchUpInside];
108 106 [_delButton setHidden:YES];
109   -
110 107 }
111 108 return _delButton;
112 109 }
... ...
CNLiveSettingModule/Classes/Privacy/CNLiveNotSeeController.m
... ... @@ -129,6 +129,7 @@ static const NSInteger SectionHeight = 50;
129 129 }
130 130 - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
131 131 CNLiveNotSeeCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:kCNLiveNotSeeCell forIndexPath:indexPath];
  132 +// cell.backgroundColor = [UIColor redColor];
132 133 cell.model = self.afterData[indexPath.row];
133 134 cell.delegate = self;
134 135 return cell;
... ...