Commit 587c60d243ee852a3df576a92bb9dd500a59d013
1 parent
b7286159
0.0.4 版本 隐藏测试入口, cell 激活 contentView
Showing
5 changed files
with
9 additions
and
9 deletions
CNLiveServiceCenterModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveServiceCenterModule' | 10 | s.name = 'CNLiveServiceCenterModule' |
| 11 | - s.version = '0.0.32' | 11 | + s.version = '0.0.4' |
| 12 | s.summary = '网家家企业端服务中心模块' | 12 | s.summary = '网家家企业端服务中心模块' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m
| @@ -280,7 +280,7 @@ | @@ -280,7 +280,7 @@ | ||
| 280 | __weak typeof(self) weakSelf = self; | 280 | __weak typeof(self) weakSelf = self; |
| 281 | headerView.clickTestViewBlock = ^(CNLiveBCenterHeaderFooterView * _Nonnull view) { | 281 | headerView.clickTestViewBlock = ^(CNLiveBCenterHeaderFooterView * _Nonnull view) { |
| 282 | NSLog(@"点击了头部"); | 282 | NSLog(@"点击了头部"); |
| 283 | - [self testLiveVC]; | 283 | +// [weakSelf testLiveVC]; |
| 284 | 284 | ||
| 285 | }; | 285 | }; |
| 286 | 286 |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCertificationCell.m
| @@ -62,11 +62,11 @@ | @@ -62,11 +62,11 @@ | ||
| 62 | self.selectionStyle = UITableViewCellSelectionStyleNone; | 62 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 63 | 63 | ||
| 64 | [self setBackgroundColor:[UIColor whiteColor]]; | 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 | self.certificationLogImageV.frame = CGRectMake(KScreenWidth - 56 -22, 22, 56, 56); | 71 | self.certificationLogImageV.frame = CGRectMake(KScreenWidth - 56 -22, 22, 56, 56); |
| 72 | 72 |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceHelpLearnCell.m
| @@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
| 47 | - (void)setupUI { | 47 | - (void)setupUI { |
| 48 | 48 | ||
| 49 | [self setBackgroundColor:[UIColor whiteColor]]; | 49 | [self setBackgroundColor:[UIColor whiteColor]]; |
| 50 | - [self addSubview:self.cellContentImageV]; | 50 | + [self.contentView addSubview:self.cellContentImageV]; |
| 51 | self.selectionStyle = UITableViewCellSelectionStyleNone; | 51 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 52 | 52 | ||
| 53 | } | 53 | } |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceWorkCell.m
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | 48 | ||
| 49 | [self setBackgroundColor:[UIColor whiteColor]]; | 49 | [self setBackgroundColor:[UIColor whiteColor]]; |
| 50 | self.selectionStyle = UITableViewCellSelectionStyleNone; | 50 | self.selectionStyle = UITableViewCellSelectionStyleNone; |
| 51 | - [self addSubview:self.workImageButton]; | 51 | + [self.contentView addSubview:self.workImageButton]; |
| 52 | 52 | ||
| 53 | self.workImageButton.frame = CGRectMake(0, 5, 101.5, 116.5); | 53 | self.workImageButton.frame = CGRectMake(0, 5, 101.5, 116.5); |
| 54 | 54 |