Commit 286db5d9fa13c5fbd8afc5a08c376e5a31336114
1 parent
d2f3e284
提交0.0.6
Showing
5 changed files
with
20 additions
and
14 deletions
CNLiveServiceCenterModule.podspec
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | Pod::Spec.new do |s| |
| 10 | 10 | s.name = 'CNLiveServiceCenterModule' |
| 11 | - s.version = '0.0.5' | |
| 11 | + s.version = '0.0.6' | |
| 12 | 12 | s.summary = '网家家企业端服务中心模块' |
| 13 | 13 | |
| 14 | 14 | # This description is used to generate tags and improve search results. |
| ... | ... | @@ -89,6 +89,8 @@ Pod::Spec.new do |s| |
| 89 | 89 | ######################################## |
| 90 | 90 | s.dependency 'CNLiveTripartiteManagement' |
| 91 | 91 | s.dependency 'CNLiveOrganizationValidationModule' |
| 92 | + s.dependency 'CNLiveBPersonalVerificationModule' | |
| 93 | + s.dependency 'CNLiveBPersonalVerificationModule' | |
| 92 | 94 | |
| 93 | 95 | |
| 94 | 96 | end | ... | ... |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m
| ... | ... | @@ -105,8 +105,10 @@ |
| 105 | 105 | self.headerView.clickUserNameLBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, UILabel * _Nonnull userNameL) { |
| 106 | 106 | NSLog(@"点击-用户名字"); |
| 107 | 107 | }; |
| 108 | + __weak typeof(self) weakSelf = self; | |
| 108 | 109 | self.headerView.clickEnterViewBlock = ^(CNLiveBServiceCenterHeaderView * _Nonnull view, CNLiveBCenterAuthEnterView * _Nonnull enterView) { |
| 109 | 110 | NSLog(@"点击-用户认证进入"); |
| 111 | + [weakSelf checkPersonCertification]; | |
| 110 | 112 | }; |
| 111 | 113 | |
| 112 | 114 | } |
| ... | ... | @@ -504,6 +506,7 @@ |
| 504 | 506 | - (UIView *)headerView { |
| 505 | 507 | if (!_headerView) { |
| 506 | 508 | _headerView = [[CNLiveBServiceCenterHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 135 * (KScreenHeight/667))]; |
| 509 | + | |
| 507 | 510 | } |
| 508 | 511 | return _headerView;; |
| 509 | 512 | } | ... | ... |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCenterHeaderView.m
| ... | ... | @@ -253,6 +253,7 @@ |
| 253 | 253 | // UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(platformImageViewAction:)]; |
| 254 | 254 | // [_bgHeaderImageV addGestureRecognizer:tap]; |
| 255 | 255 | _bgHeaderImageV.userInteractionEnabled = YES; |
| 256 | + | |
| 256 | 257 | |
| 257 | 258 | } |
| 258 | 259 | return _bgHeaderImageV; |
| ... | ... | @@ -265,6 +266,8 @@ |
| 265 | 266 | if (!_userImageV) { |
| 266 | 267 | _userImageV = [[UIImageView alloc]init]; |
| 267 | 268 | _userImageV.userInteractionEnabled = YES; |
| 269 | + _userImageV.layer.cornerRadius = 60 * KScreenWidth / 375/2; | |
| 270 | + _userImageV.layer.masksToBounds = YES; | |
| 268 | 271 | } |
| 269 | 272 | return _userImageV; |
| 270 | 273 | } | ... | ... |
Example/CNLiveServiceCenterModule.xcodeproj/project.pbxproj
| ... | ... | @@ -373,6 +373,7 @@ |
| 373 | 373 | inputPaths = ( |
| 374 | 374 | "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh", |
| 375 | 375 | "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", |
| 376 | + "${BUILT_PRODUCTS_DIR}/CNLiveBPersonalVerificationModule/CNLiveBPersonalVerificationModule.framework", | |
| 376 | 377 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", |
| 377 | 378 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", |
| 378 | 379 | "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework", |
| ... | ... | @@ -419,6 +420,7 @@ |
| 419 | 420 | name = "[CP] Embed Pods Frameworks"; |
| 420 | 421 | outputPaths = ( |
| 421 | 422 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", |
| 423 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBPersonalVerificationModule.framework", | |
| 422 | 424 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", |
| 423 | 425 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", |
| 424 | 426 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework", | ... | ... |
Example/CNLiveServiceCenterModule.xcodeproj/xcshareddata/xcschemes/CNLiveServiceCenterModule-Example.xcscheme
| ... | ... | @@ -27,6 +27,15 @@ |
| 27 | 27 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" |
| 28 | 28 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" |
| 29 | 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 | 39 | <Testables> |
| 31 | 40 | <TestableReference |
| 32 | 41 | skipped = "NO"> |
| ... | ... | @@ -39,17 +48,6 @@ |
| 39 | 48 | </BuildableReference> |
| 40 | 49 | </TestableReference> |
| 41 | 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 | 51 | </TestAction> |
| 54 | 52 | <LaunchAction |
| 55 | 53 | buildConfiguration = "Debug" |
| ... | ... | @@ -71,8 +69,6 @@ |
| 71 | 69 | ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj"> |
| 72 | 70 | </BuildableReference> |
| 73 | 71 | </BuildableProductRunnable> |
| 74 | - <AdditionalOptions> | |
| 75 | - </AdditionalOptions> | |
| 76 | 72 | </LaunchAction> |
| 77 | 73 | <ProfileAction |
| 78 | 74 | buildConfiguration = "Release" | ... | ... |