Commit bb7106cb26c8fa092fcf28bd5d99197e4f405ef6
1 parent
a4287355
0.7.2修复bug
Showing
4 changed files
with
8 additions
and
2 deletions
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.7.1' | 11 | + s.version = '0.7.2' |
| 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/CNGenesis/View/SubView/CNType1SubBannerView.m
| @@ -137,7 +137,7 @@ | @@ -137,7 +137,7 @@ | ||
| 137 | }else{ | 137 | }else{ |
| 138 | self.rightTopView.hidden = YES; | 138 | self.rightTopView.hidden = YES; |
| 139 | } | 139 | } |
| 140 | - if ([model.model isEqualToString:@"1"] || [model.model isEqualToString:@"2"] || [model.model isEqualToString:@"67"] || [model.model isEqualToString:@"album_video"]) { | 140 | + if ([model.model isEqualToString:@"1"] || [model.model isEqualToString:@"2"] || [model.model isEqualToString:@"67"] || [model.model isEqualToString:@"album_video"] || [model.model isEqualToString:@"album_ugc"]) { |
| 141 | //左上角付费标签 | 141 | //左上角付费标签 |
| 142 | if ([model.product.productType isEqualToString:@"2"] || [model.aproduct.productType isEqualToString:@"2"]) { | 142 | if ([model.product.productType isEqualToString:@"2"] || [model.aproduct.productType isEqualToString:@"2"]) { |
| 143 | self.leftTopView.hidden = NO; | 143 | self.leftTopView.hidden = NO; |
CNLiveVideoClassifyKit/Classes/SearchView/View/CNWitnessSearchPersonCell.m
| @@ -105,6 +105,11 @@ | @@ -105,6 +105,11 @@ | ||
| 105 | _logoImage.userInteractionEnabled = YES; | 105 | _logoImage.userInteractionEnabled = YES; |
| 106 | weakself | 106 | weakself |
| 107 | UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithActionBlock:^(id _Nonnull sender) { | 107 | UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithActionBlock:^(id _Nonnull sender) { |
| 108 | + if (![CNUserShareManager isLogin]) { | ||
| 109 | + #pragma mark -- TODO grp | ||
| 110 | + [CNLiveClassifyJumpBridge showLoginViewWithString:@""]; | ||
| 111 | + return; | ||
| 112 | + } | ||
| 108 | if (weakSelf.selectPersonBlock) { | 113 | if (weakSelf.selectPersonBlock) { |
| 109 | weakSelf.selectPersonBlock([weakSelf.model mj_keyValues]); | 114 | weakSelf.selectPersonBlock([weakSelf.model mj_keyValues]); |
| 110 | } | 115 | } |
CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchViewController.m
| @@ -82,6 +82,7 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView | @@ -82,6 +82,7 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView | ||
| 82 | self.listVC.tagId = self.tagId; | 82 | self.listVC.tagId = self.tagId; |
| 83 | self.topView.searchStr = self.searchStr; | 83 | self.topView.searchStr = self.searchStr; |
| 84 | [self historyArrayValueChange:self.searchStr]; | 84 | [self historyArrayValueChange:self.searchStr]; |
| 85 | + self.searchStr = nil; | ||
| 85 | } | 86 | } |
| 86 | } | 87 | } |
| 87 | 88 |