Commit bac9f015a1bfb7fba6d2008480b3200bcd5e7bb0

Authored by zhangxiaowen
1 parent 5f0bbc57

no message

CNLiveSettingModule/Classes/AboutUs/CNLiveAboutUsController.m
... ... @@ -144,6 +144,7 @@ static const NSInteger timeValue = 1.5;
144 144 cell.selectionStyle = UITableViewCellSelectionStyleNone;
145 145 CNLiveSettingModel *model = self.data[indexPath.row];
146 146 cell.model = model;
  147 + cell.lineColor = [UIColor colorWithRed:242/255.0 green:242/255.0 blue:242/255.0 alpha:1.0];
147 148 return cell;
148 149 }
149 150  
... ...
CNLiveSettingModule/Classes/View/CNLiveSettingCell.h
... ... @@ -15,6 +15,7 @@ static NSString * const kCNLiveSettingCell = @"CNLiveSettingCell";
15 15 @interface CNLiveSettingCell : UITableViewCell
16 16  
17 17 @property (nonatomic, strong) CNLiveSettingModel *model;
  18 +@property (nonatomic, strong) UIColor *lineColor;
18 19  
19 20 @end
20 21  
... ...
CNLiveSettingModule/Classes/View/CNLiveSettingCell.m
... ... @@ -108,6 +108,10 @@ static const NSInteger margin = 12;
108 108 }
109 109  
110 110 }
  111 +- (void)setLineColor:(UIColor *)lineColor{
  112 + _lineColor = lineColor;
  113 + _line.backgroundColor = lineColor;
  114 +}
111 115 - (void)awakeFromNib {
112 116 [super awakeFromNib];
113 117 // Initialization code
... ...