Commit 2a2948fd6e9056883826f9bc5ef47365fa1c5216
1 parent
d2841db3
no message
Showing
3 changed files
with
36 additions
and
40 deletions
CNLiveMineModule/Classes/Controller/CNLiveMineController.m
| @@ -23,13 +23,6 @@ | @@ -23,13 +23,6 @@ | ||
| 23 | #import "CNLiveMineModel.h" | 23 | #import "CNLiveMineModel.h" |
| 24 | #import "CNLiveUserInfoController.h" | 24 | #import "CNLiveUserInfoController.h" |
| 25 | 25 | ||
| 26 | -#import "CNLiveMyQrCodeController.h" | ||
| 27 | -#import "CNLiveSettingController.h" | ||
| 28 | - | ||
| 29 | -// 积分 | ||
| 30 | -#import "CNLiveTaskListController.h" | ||
| 31 | -#import "CNLiveSignInView.h" | ||
| 32 | - | ||
| 33 | @interface CNLiveMineController()<UITableViewDelegate, UITableViewDataSource, CNLiveMineHeaderViewDelegate, CNLiveMineCellDelegate> | 26 | @interface CNLiveMineController()<UITableViewDelegate, UITableViewDataSource, CNLiveMineHeaderViewDelegate, CNLiveMineCellDelegate> |
| 34 | @property (nonatomic, strong) UITableView *tableView; | 27 | @property (nonatomic, strong) UITableView *tableView; |
| 35 | @property (nonatomic, weak) CNLiveMineHeaderView *headerView; | 28 | @property (nonatomic, weak) CNLiveMineHeaderView *headerView; |
| @@ -253,6 +246,8 @@ static const CGFloat timeValue = 1.5; | @@ -253,6 +246,8 @@ static const CGFloat timeValue = 1.5; | ||
| 253 | { | 246 | { |
| 254 | if(tag-10000 == 4){ | 247 | if(tag-10000 == 4){ |
| 255 | //售后 | 248 | //售后 |
| 249 | + id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveOrderServiceProtocol)]; | ||
| 250 | + [service pushToRefundViewController:0]; | ||
| 256 | 251 | ||
| 257 | }else{ | 252 | }else{ |
| 258 | id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveOrderServiceProtocol)]; | 253 | id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveOrderServiceProtocol)]; |
| @@ -316,6 +311,12 @@ static const CGFloat timeValue = 1.5; | @@ -316,6 +311,12 @@ static const CGFloat timeValue = 1.5; | ||
| 316 | 311 | ||
| 317 | } | 312 | } |
| 318 | 313 | ||
| 314 | +#pragma mark - 响应方法 | ||
| 315 | +- (void)soccerDidClicked:(UIButton *)btn{ | ||
| 316 | + id<CNLiveIntegralServiceProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveIntegralServiceProtocol)]; | ||
| 317 | + [service pushToTaskListViewController]; | ||
| 318 | +} | ||
| 319 | + | ||
| 319 | #pragma mark - 状态栏 | 320 | #pragma mark - 状态栏 |
| 320 | /** | 321 | /** |
| 321 | * 状态栏的颜色 | 322 | * 状态栏的颜色 |
| @@ -373,10 +374,4 @@ static const CGFloat timeValue = 1.5; | @@ -373,10 +374,4 @@ static const CGFloat timeValue = 1.5; | ||
| 373 | return _soccerBtn; | 374 | return _soccerBtn; |
| 374 | } | 375 | } |
| 375 | 376 | ||
| 376 | -#pragma mark - 响应方法 | ||
| 377 | -- (void)soccerDidClicked:(UIButton *)btn{ | ||
| 378 | - id<CNLiveIntegralServiceProtocol> service = [[BeeHive shareInstance] createService:@protocol(CNLiveIntegralServiceProtocol)]; | ||
| 379 | - [service pushToTaskListViewController]; | ||
| 380 | -} | ||
| 381 | - | ||
| 382 | @end | 377 | @end |
CNLiveMineModule/Classes/View/CNLiveMineCell.m
| @@ -10,6 +10,7 @@ | @@ -10,6 +10,7 @@ | ||
| 10 | #import <Masonry/Masonry.h> | 10 | #import <Masonry/Masonry.h> |
| 11 | #import "QMUIKit.h" | 11 | #import "QMUIKit.h" |
| 12 | #import "CNLiveCategory.h" | 12 | #import "CNLiveCategory.h" |
| 13 | +#import "CNLiveBaseKit.h" | ||
| 13 | 14 | ||
| 14 | @interface CNLiveMineCell() | 15 | @interface CNLiveMineCell() |
| 15 | @property (nonatomic, strong) UIView *bgView; | 16 | @property (nonatomic, strong) UIView *bgView; |
Example/CNLiveMineModule.xcodeproj/project.pbxproj
| @@ -234,8 +234,8 @@ | @@ -234,8 +234,8 @@ | ||
| 234 | 6003F586195388D20070C39A /* Sources */, | 234 | 6003F586195388D20070C39A /* Sources */, |
| 235 | 6003F587195388D20070C39A /* Frameworks */, | 235 | 6003F587195388D20070C39A /* Frameworks */, |
| 236 | 6003F588195388D20070C39A /* Resources */, | 236 | 6003F588195388D20070C39A /* Resources */, |
| 237 | - 6F29CADAA3D57AE5E75D49B9 /* [CP] Embed Pods Frameworks */, | ||
| 238 | - 4A1C888253535AB722F2627B /* [CP] Copy Pods Resources */, | 237 | + 21827A7B36794555195C96EE /* [CP] Embed Pods Frameworks */, |
| 238 | + 4FE3061A9B5E875D3E1CEA15 /* [CP] Copy Pods Resources */, | ||
| 239 | ); | 239 | ); |
| 240 | buildRules = ( | 240 | buildRules = ( |
| 241 | ); | 241 | ); |
| @@ -326,31 +326,7 @@ | @@ -326,31 +326,7 @@ | ||
| 326 | /* End PBXResourcesBuildPhase section */ | 326 | /* End PBXResourcesBuildPhase section */ |
| 327 | 327 | ||
| 328 | /* Begin PBXShellScriptBuildPhase section */ | 328 | /* Begin PBXShellScriptBuildPhase section */ |
| 329 | - 4A1C888253535AB722F2627B /* [CP] Copy Pods Resources */ = { | ||
| 330 | - isa = PBXShellScriptBuildPhase; | ||
| 331 | - buildActionMask = 2147483647; | ||
| 332 | - files = ( | ||
| 333 | - ); | ||
| 334 | - inputPaths = ( | ||
| 335 | - "${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-resources.sh", | ||
| 336 | - "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveMineModule/CNLiveMineModule.bundle", | ||
| 337 | - "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveMyOrderModule/CNLiveMyOrderModule.bundle", | ||
| 338 | - "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveQrCodeModule/CNLiveQrCodeModule.bundle", | ||
| 339 | - "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveSettingModule/CNLiveSettingModule.bundle", | ||
| 340 | - ); | ||
| 341 | - name = "[CP] Copy Pods Resources"; | ||
| 342 | - outputPaths = ( | ||
| 343 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveMineModule.bundle", | ||
| 344 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveMyOrderModule.bundle", | ||
| 345 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveQrCodeModule.bundle", | ||
| 346 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveSettingModule.bundle", | ||
| 347 | - ); | ||
| 348 | - runOnlyForDeploymentPostprocessing = 0; | ||
| 349 | - shellPath = /bin/sh; | ||
| 350 | - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-resources.sh\"\n"; | ||
| 351 | - showEnvVarsInLog = 0; | ||
| 352 | - }; | ||
| 353 | - 6F29CADAA3D57AE5E75D49B9 /* [CP] Embed Pods Frameworks */ = { | 329 | + 21827A7B36794555195C96EE /* [CP] Embed Pods Frameworks */ = { |
| 354 | isa = PBXShellScriptBuildPhase; | 330 | isa = PBXShellScriptBuildPhase; |
| 355 | buildActionMask = 2147483647; | 331 | buildActionMask = 2147483647; |
| 356 | files = ( | 332 | files = ( |
| @@ -454,6 +430,30 @@ | @@ -454,6 +430,30 @@ | ||
| 454 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-frameworks.sh\"\n"; | 430 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-frameworks.sh\"\n"; |
| 455 | showEnvVarsInLog = 0; | 431 | showEnvVarsInLog = 0; |
| 456 | }; | 432 | }; |
| 433 | + 4FE3061A9B5E875D3E1CEA15 /* [CP] Copy Pods Resources */ = { | ||
| 434 | + isa = PBXShellScriptBuildPhase; | ||
| 435 | + buildActionMask = 2147483647; | ||
| 436 | + files = ( | ||
| 437 | + ); | ||
| 438 | + inputPaths = ( | ||
| 439 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-resources.sh", | ||
| 440 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveMineModule/CNLiveMineModule.bundle", | ||
| 441 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveMyOrderModule/CNLiveMyOrderModule.bundle", | ||
| 442 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveQrCodeModule/CNLiveQrCodeModule.bundle", | ||
| 443 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveSettingModule/CNLiveSettingModule.bundle", | ||
| 444 | + ); | ||
| 445 | + name = "[CP] Copy Pods Resources"; | ||
| 446 | + outputPaths = ( | ||
| 447 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveMineModule.bundle", | ||
| 448 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveMyOrderModule.bundle", | ||
| 449 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveQrCodeModule.bundle", | ||
| 450 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveSettingModule.bundle", | ||
| 451 | + ); | ||
| 452 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 453 | + shellPath = /bin/sh; | ||
| 454 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveMineModule_Example/Pods-CNLiveMineModule_Example-resources.sh\"\n"; | ||
| 455 | + showEnvVarsInLog = 0; | ||
| 456 | + }; | ||
| 457 | A9B5D0EFC5B6FCA241FAE929 /* [CP] Check Pods Manifest.lock */ = { | 457 | A9B5D0EFC5B6FCA241FAE929 /* [CP] Check Pods Manifest.lock */ = { |
| 458 | isa = PBXShellScriptBuildPhase; | 458 | isa = PBXShellScriptBuildPhase; |
| 459 | buildActionMask = 2147483647; | 459 | buildActionMask = 2147483647; |