Commit 587c60d243ee852a3df576a92bb9dd500a59d013
1 parent
b7286159
0.0.4 版本 隐藏测试入口, cell 激活 contentView
Showing
5 changed files
with
9 additions
and
9 deletions
CNLiveServiceCenterModule.podspec
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCertificationCell.m
| ... | ... | @@ -62,11 +62,11 @@ |
| 62 | 62 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 63 | 63 | |
| 64 | 64 | [self setBackgroundColor:[UIColor whiteColor]]; |
| 65 | - [self addSubview:self.cellBGimageV]; | |
| 66 | - [self addSubview:self.titleL]; | |
| 67 | - [self addSubview:self.contentL]; | |
| 68 | - [self addSubview:self.certificationBtn]; | |
| 69 | - [self addSubview:self.certificationLogImageV]; | |
| 65 | + [self.contentView addSubview:self.cellBGimageV]; | |
| 66 | + [self.contentView addSubview:self.titleL]; | |
| 67 | + [self.contentView addSubview:self.contentL]; | |
| 68 | + [self.contentView addSubview:self.certificationBtn]; | |
| 69 | + [self.contentView addSubview:self.certificationLogImageV]; | |
| 70 | 70 | |
| 71 | 71 | self.certificationLogImageV.frame = CGRectMake(KScreenWidth - 56 -22, 22, 56, 56); |
| 72 | 72 | ... | ... |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceHelpLearnCell.m
| ... | ... | @@ -47,7 +47,7 @@ |
| 47 | 47 | - (void)setupUI { |
| 48 | 48 | |
| 49 | 49 | [self setBackgroundColor:[UIColor whiteColor]]; |
| 50 | - [self addSubview:self.cellContentImageV]; | |
| 50 | + [self.contentView addSubview:self.cellContentImageV]; | |
| 51 | 51 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 52 | 52 | |
| 53 | 53 | } | ... | ... |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceWorkCell.m
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | |
| 49 | 49 | [self setBackgroundColor:[UIColor whiteColor]]; |
| 50 | 50 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 51 | - [self addSubview:self.workImageButton]; | |
| 51 | + [self.contentView addSubview:self.workImageButton]; | |
| 52 | 52 | |
| 53 | 53 | self.workImageButton.frame = CGRectMake(0, 5, 101.5, 116.5); |
| 54 | 54 | ... | ... |