Commit 286db5d9fa13c5fbd8afc5a08c376e5a31336114

Authored by 梁星国
1 parent d2f3e284

提交0.0.6

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.5' 11 + s.version = '0.0.6'
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.
@@ -89,6 +89,8 @@ Pod::Spec.new do |s| @@ -89,6 +89,8 @@ Pod::Spec.new do |s|
89 ######################################## 89 ########################################
90 s.dependency 'CNLiveTripartiteManagement' 90 s.dependency 'CNLiveTripartiteManagement'
91 s.dependency 'CNLiveOrganizationValidationModule' 91 s.dependency 'CNLiveOrganizationValidationModule'
  92 + s.dependency 'CNLiveBPersonalVerificationModule'
  93 + s.dependency 'CNLiveBPersonalVerificationModule'
92 94
93 95
94 end 96 end
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m
@@ -105,8 +105,10 @@ @@ -105,8 +105,10 @@
105 self.headerView.clickUserNameLBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, UILabel * _Nonnull userNameL) { 105 self.headerView.clickUserNameLBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, UILabel * _Nonnull userNameL) {
106 NSLog(@"点击-用户名字"); 106 NSLog(@"点击-用户名字");
107 }; 107 };
  108 + __weak typeof(self) weakSelf = self;
108 self.headerView.clickEnterViewBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, CNLiveBCenterAuthEnterView * _Nonnull enterView) { 109 self.headerView.clickEnterViewBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, CNLiveBCenterAuthEnterView * _Nonnull enterView) {
109 NSLog(@"点击-用户认证进入"); 110 NSLog(@"点击-用户认证进入");
  111 + [weakSelf checkPersonCertification];
110 }; 112 };
111 113
112 } 114 }
@@ -504,6 +506,7 @@ @@ -504,6 +506,7 @@
504 - (UIView *)headerView { 506 - (UIView *)headerView {
505 if (!_headerView) { 507 if (!_headerView) {
506 _headerView = [[CNLiveBServiceCenterHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 135 * (KScreenHeight/667))]; 508 _headerView = [[CNLiveBServiceCenterHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 135 * (KScreenHeight/667))];
  509 +
507 } 510 }
508 return _headerView;; 511 return _headerView;;
509 } 512 }
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCenterHeaderView.m
@@ -253,6 +253,7 @@ @@ -253,6 +253,7 @@
253 // UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(platformImageViewAction:)]; 253 // UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(platformImageViewAction:)];
254 // [_bgHeaderImageV addGestureRecognizer:tap]; 254 // [_bgHeaderImageV addGestureRecognizer:tap];
255 _bgHeaderImageV.userInteractionEnabled = YES; 255 _bgHeaderImageV.userInteractionEnabled = YES;
  256 +
256 257
257 } 258 }
258 return _bgHeaderImageV; 259 return _bgHeaderImageV;
@@ -265,6 +266,8 @@ @@ -265,6 +266,8 @@
265 if (!_userImageV) { 266 if (!_userImageV) {
266 _userImageV = [[UIImageView alloc]init]; 267 _userImageV = [[UIImageView alloc]init];
267 _userImageV.userInteractionEnabled = YES; 268 _userImageV.userInteractionEnabled = YES;
  269 + _userImageV.layer.cornerRadius = 60 * KScreenWidth / 375/2;
  270 + _userImageV.layer.masksToBounds = YES;
268 } 271 }
269 return _userImageV; 272 return _userImageV;
270 } 273 }
Example/CNLiveServiceCenterModule.xcodeproj/project.pbxproj
@@ -373,6 +373,7 @@ @@ -373,6 +373,7 @@
373 inputPaths = ( 373 inputPaths = (
374 "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh", 374 "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh",
375 "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", 375 "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
  376 + "${BUILT_PRODUCTS_DIR}/CNLiveBPersonalVerificationModule/CNLiveBPersonalVerificationModule.framework",
376 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", 377 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
377 "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", 378 "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework",
378 "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework", 379 "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
@@ -419,6 +420,7 @@ @@ -419,6 +420,7 @@
419 name = "[CP] Embed Pods Frameworks"; 420 name = "[CP] Embed Pods Frameworks";
420 outputPaths = ( 421 outputPaths = (
421 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", 422 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
  423 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBPersonalVerificationModule.framework",
422 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", 424 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
423 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", 425 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework",
424 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework", 426 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
Example/CNLiveServiceCenterModule.xcodeproj/xcshareddata/xcschemes/CNLiveServiceCenterModule-Example.xcscheme
@@ -27,6 +27,15 @@ @@ -27,6 +27,15 @@
27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" 27 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" 28 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29 shouldUseLaunchSchemeArgsEnv = "YES"> 29 shouldUseLaunchSchemeArgsEnv = "YES">
  30 + <MacroExpansion>
  31 + <BuildableReference
  32 + BuildableIdentifier = "primary"
  33 + BlueprintIdentifier = "6003F589195388D20070C39A"
  34 + BuildableName = "CNLiveServiceCenterModule_Example.app"
  35 + BlueprintName = "CNLiveServiceCenterModule_Example"
  36 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  37 + </BuildableReference>
  38 + </MacroExpansion>
30 <Testables> 39 <Testables>
31 <TestableReference 40 <TestableReference
32 skipped = "NO"> 41 skipped = "NO">
@@ -39,17 +48,6 @@ @@ -39,17 +48,6 @@
39 </BuildableReference> 48 </BuildableReference>
40 </TestableReference> 49 </TestableReference>
41 </Testables> 50 </Testables>
42 - <MacroExpansion>  
43 - <BuildableReference  
44 - BuildableIdentifier = "primary"  
45 - BlueprintIdentifier = "6003F589195388D20070C39A"  
46 - BuildableName = "CNLiveServiceCenterModule_Example.app"  
47 - BlueprintName = "CNLiveServiceCenterModule_Example"  
48 - ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">  
49 - </BuildableReference>  
50 - </MacroExpansion>  
51 - <AdditionalOptions>  
52 - </AdditionalOptions>  
53 </TestAction> 51 </TestAction>
54 <LaunchAction 52 <LaunchAction
55 buildConfiguration = "Debug" 53 buildConfiguration = "Debug"
@@ -71,8 +69,6 @@ @@ -71,8 +69,6 @@
71 ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj"> 69 ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
72 </BuildableReference> 70 </BuildableReference>
73 </BuildableProductRunnable> 71 </BuildableProductRunnable>
74 - <AdditionalOptions>  
75 - </AdditionalOptions>  
76 </LaunchAction> 72 </LaunchAction>
77 <ProfileAction 73 <ProfileAction
78 buildConfiguration = "Release" 74 buildConfiguration = "Release"