Commit 135e0693b43520e9f5cd764baf734c3d3f94a499
1 parent
3476dc47
0.0.10
Showing
2 changed files
with
14 additions
and
2 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.9' | 11 | + s.version = '0.0.10' |
| 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
| @@ -23,6 +23,7 @@ | @@ -23,6 +23,7 @@ | ||
| 23 | #import <QMUIKit/QMUIKit.h> | 23 | #import <QMUIKit/QMUIKit.h> |
| 24 | #import <CNLiveBServices/CNLiveBPersonAuthentProtocol.h> | 24 | #import <CNLiveBServices/CNLiveBPersonAuthentProtocol.h> |
| 25 | #import <CNLiveBServices/CNLiveBMineServiceProtocol.h> | 25 | #import <CNLiveBServices/CNLiveBMineServiceProtocol.h> |
| 26 | +#import <CNLiveBServices/CNLiveLiveSetHomeProtocol.h> | ||
| 26 | #import "CNLiveBCreatorViewController.h" | 27 | #import "CNLiveBCreatorViewController.h" |
| 27 | 28 | ||
| 28 | #define CNLiveBGetServiceStatusUrl cn_API_OpenApi2(@"/user/readWJJBStatusById") | 29 | #define CNLiveBGetServiceStatusUrl cn_API_OpenApi2(@"/user/readWJJBStatusById") |
| @@ -132,7 +133,6 @@ | @@ -132,7 +133,6 @@ | ||
| 132 | 133 | ||
| 133 | self.tableView.tableHeaderView = self.headerView; | 134 | self.tableView.tableHeaderView = self.headerView; |
| 134 | 135 | ||
| 135 | -#pragma mark - TODO:获取用户信息显示 | ||
| 136 | 136 | ||
| 137 | [self.headerView configUIWithIsPerson:self.personStatus isEnterprise:self.institutionStatus]; | 137 | [self.headerView configUIWithIsPerson:self.personStatus isEnterprise:self.institutionStatus]; |
| 138 | __weak typeof(self) weakSelf = self; | 138 | __weak typeof(self) weakSelf = self; |
| @@ -207,6 +207,7 @@ | @@ -207,6 +207,7 @@ | ||
| 207 | CNLiveBServiceWorkCell *helpLearnCell = [tableView dequeueReusableCellWithIdentifier:kCNLiveBServiceWorkCell forIndexPath:indexPath]; | 207 | CNLiveBServiceWorkCell *helpLearnCell = [tableView dequeueReusableCellWithIdentifier:kCNLiveBServiceWorkCell forIndexPath:indexPath]; |
| 208 | helpLearnCell.clickItmButtonBlock = ^(CNLiveBServiceWorkCell * _Nonnull workCell, CNLiveBCenterItmButton * _Nonnull itemBtn) { | 208 | helpLearnCell.clickItmButtonBlock = ^(CNLiveBServiceWorkCell * _Nonnull workCell, CNLiveBCenterItmButton * _Nonnull itemBtn) { |
| 209 | NSLog(@"点击-工作台-item"); | 209 | NSLog(@"点击-工作台-item"); |
| 210 | + [self jumpLiveVC]; | ||
| 210 | }; | 211 | }; |
| 211 | return helpLearnCell; | 212 | return helpLearnCell; |
| 212 | }else { | 213 | }else { |
| @@ -328,6 +329,17 @@ | @@ -328,6 +329,17 @@ | ||
| 328 | [self.navigationController pushViewController:vc animated:YES]; | 329 | [self.navigationController pushViewController:vc animated:YES]; |
| 329 | } | 330 | } |
| 330 | 331 | ||
| 332 | +///跳转直播页 | ||
| 333 | +- (void)jumpLiveVC { | ||
| 334 | + /// 直播 | ||
| 335 | + id<CNLiveLiveSetHomeProtocol> organizationValidationProtocol = [[BeeHive shareInstance] createService:@protocol(CNLiveLiveSetHomeProtocol)]; | ||
| 336 | + UIViewController *vc = [organizationValidationProtocol pushLiveSettingWithHomeViewController]; | ||
| 337 | + vc.hidesBottomBarWhenPushed = YES; | ||
| 338 | + [self.navigationController pushViewController:vc animated:YES]; | ||
| 339 | + | ||
| 340 | + | ||
| 341 | +} | ||
| 342 | + | ||
| 331 | 343 | ||
| 332 | 344 | ||
| 333 | 345 |