Commit b415bbd3d02303858de3fa395ed1f7b2d1ae320d
1 parent
b0ec0825
no message
Showing
1 changed file
with
3 additions
and
5 deletions
CNLiveIntegralModule/Classes/Module/CNLiveIntegralService.m
| @@ -41,13 +41,13 @@ | @@ -41,13 +41,13 @@ | ||
| 41 | 41 | ||
| 42 | - (void)pushToTaskListViewController { | 42 | - (void)pushToTaskListViewController { |
| 43 | CNLiveTaskListController *vc = [[CNLiveTaskListController alloc]init]; | 43 | CNLiveTaskListController *vc = [[CNLiveTaskListController alloc]init]; |
| 44 | - [CNLivePageJumpManager pushViewController:vc]; | 44 | + [CNLivePageJumpManager jumpViewController:vc]; |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | - (void)pushToTaskListViewController:(NSString *)isFrom{ | 47 | - (void)pushToTaskListViewController:(NSString *)isFrom{ |
| 48 | CNLiveTaskListController *vc = [[CNLiveTaskListController alloc]init]; | 48 | CNLiveTaskListController *vc = [[CNLiveTaskListController alloc]init]; |
| 49 | vc.isFrom = isFrom; | 49 | vc.isFrom = isFrom; |
| 50 | - [CNLivePageJumpManager pushViewController:vc]; | 50 | + [CNLivePageJumpManager jumpViewController:vc]; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | #pragma mark - 增加积分 | 53 | #pragma mark - 增加积分 |
| @@ -91,13 +91,11 @@ | @@ -91,13 +91,11 @@ | ||
| 91 | - (void)showGoldWhereaboutsViewWithDic:(NSDictionary *)dic{ | 91 | - (void)showGoldWhereaboutsViewWithDic:(NSDictionary *)dic{ |
| 92 | CNLiveScoreModel * model = [CNLiveScoreModel mj_objectWithKeyValues:dic]; | 92 | CNLiveScoreModel * model = [CNLiveScoreModel mj_objectWithKeyValues:dic]; |
| 93 | [CNLiveGoldWhereaboutsView showWithModel:model]; | 93 | [CNLiveGoldWhereaboutsView showWithModel:model]; |
| 94 | - | ||
| 95 | } | 94 | } |
| 96 | 95 | ||
| 97 | // 默认展示添加积分视图 | 96 | // 默认展示添加积分视图 |
| 98 | - (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score{ | 97 | - (void)showGoldWhereaboutsViewWithDesc:(NSString *)desc score:(NSString *)score{ |
| 99 | [CNLiveGoldWhereaboutsView showWithDesc:desc score:score]; | 98 | [CNLiveGoldWhereaboutsView showWithDesc:desc score:score]; |
| 100 | - | ||
| 101 | } | 99 | } |
| 102 | 100 | ||
| 103 | // 游客模式浏览加积分 | 101 | // 游客模式浏览加积分 |
| @@ -111,7 +109,7 @@ | @@ -111,7 +109,7 @@ | ||
| 111 | 109 | ||
| 112 | #pragma mark - 签到 | 110 | #pragma mark - 签到 |
| 113 | - (void)showSignInViewWithDic:(NSDictionary *)dic { | 111 | - (void)showSignInViewWithDic:(NSDictionary *)dic { |
| 114 | - CNLiveScoreModel * model = [CNLiveScoreModel mj_objectWithKeyValues:dic]; | 112 | + CNLiveScoreModel *model = [CNLiveScoreModel mj_objectWithKeyValues:dic]; |
| 115 | [CNLiveSignInView showWithScore:model.score scores:model.scores.count>0?model.scores[0]:@"1000,2000,3000,4000,5000,6000,7000" day:model.times url:model.url]; | 113 | [CNLiveSignInView showWithScore:model.score scores:model.scores.count>0?model.scores[0]:@"1000,2000,3000,4000,5000,6000,7000" day:model.times url:model.url]; |
| 116 | } | 114 | } |
| 117 | 115 |