Commit 38f9bbe0b2275a3570614a6591ed8f6357dd242e

Authored by yanglingyu
1 parent ac92a256

0.6.4

CNLiveVideoClassifyKit.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 = 'CNLiveVideoClassifyKit' 10 s.name = 'CNLiveVideoClassifyKit'
11 - s.version = '0.6.3' 11 + s.version = '0.6.4'
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.
CNLiveVideoClassifyKit/Classes/SearchView/View/CNWitnessSearchVideoCell.m
@@ -94,7 +94,8 @@ @@ -94,7 +94,8 @@
94 NSDictionary *dic = @{ 94 NSDictionary *dic = @{
95 @"contentId":self.model.pid?self.model.pid:@"", 95 @"contentId":self.model.pid?self.model.pid:@"",
96 @"selected":self.model.tool.liked?@"true":@"false", 96 @"selected":self.model.tool.liked?@"true":@"false",
97 - @"model":self.model.model?self.model.model:@"" 97 + @"model":self.model.model?self.model.model:@"",
  98 + @"isCurrent":@(YES)
98 }; 99 };
99 [CNLiveClassifyJumpBridge requestWittnessLikeNotification:dic]; 100 [CNLiveClassifyJumpBridge requestWittnessLikeNotification:dic];
100 } 101 }
CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchDetailController.m
@@ -209,6 +209,9 @@ static NSString *const CNWitnessSearchPersonCellID = @"CNWitnessSearchPersonCell @@ -209,6 +209,9 @@ static NSString *const CNWitnessSearchPersonCellID = @"CNWitnessSearchPersonCell
209 } 209 }
210 } 210 }
211 - (void)videoChangeWithParam:(NSNotification *)noti{ 211 - (void)videoChangeWithParam:(NSNotification *)noti{
  212 + if ([noti.userInfo boolForKey:@"isCurrent"]) {
  213 + return;
  214 + }
212 NSString *pid = [noti.userInfo objectForKey:@"contentId"]; 215 NSString *pid = [noti.userInfo objectForKey:@"contentId"];
213 if ([self.videoIDArray containsObject:pid]) { 216 if ([self.videoIDArray containsObject:pid]) {
214 NSInteger index = [self.videoIDArray indexOfObject:pid]; 217 NSInteger index = [self.videoIDArray indexOfObject:pid];
Example/CNLiveVideoClassifyKit/CNLiveClassifyKitImpl.m
@@ -109,6 +109,6 @@ @@ -109,6 +109,6 @@
109 /// 点赞通知网页更新交互 109 /// 点赞通知网页更新交互
110 /// @param param 更新参数 110 /// @param param 更新参数
111 - (void)requestWittnessLikeNotification:(NSDictionary *)param{ 111 - (void)requestWittnessLikeNotification:(NSDictionary *)param{
112 - 112 + [[NSNotificationCenter defaultCenter] postNotificationName:@"WjjWitnessLikeStatusNotification" object:nil userInfo:param];
113 } 113 }
114 @end 114 @end