Commit a597ca522040c73c7141c204145556d3da28c7f0

Authored by yanglingyu
1 parent c4a6eb4f

no message

CNLiveVideoClassifyKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveVideoClassifyKit'
11   - s.version = '0.0.19'
  11 + s.version = '0.0.20'
12 12 s.summary = '视讯头部一二级菜单组件'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
... ... @@ -54,7 +54,6 @@ static const CGFloat animationHeight = 15;
54 54 @end
55 55  
56 56 @implementation CNLiveClassifySegmentController
57   -static CGFloat moveHeight = 50;
58 57 - (void)viewDidLoad {
59 58 [super viewDidLoad];
60 59 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(DSShopNavColorChange:) name:CNWjjDSShopNavColorChangeNotifiName object:nil];
... ... @@ -197,7 +196,7 @@ static CGFloat moveHeight = 50;
197 196 -(void)viewDidLayoutSubviews
198 197 {
199 198 [super viewDidLayoutSubviews];
200   - self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom+ moveHeight);
  199 + self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom+ 50);
201 200 if ([CNUserShareManager isLogin]) {
202 201 self.myCategoryView.width = kScreenWidth - 45;
203 202 self.customChannelsBtn.centerY = [self preferredCategoryViewHeight]/2 + kStatusHeight;
... ... @@ -643,7 +642,7 @@ static CGFloat moveHeight = 50;
643 642 }
644 643  
645 644 -(void)scrollViewUp{
646   - self.topBgImg.bottom -= moveHeight;
  645 + self.topBgImg.bottom = kStatusHeight+50;
647 646 self.myCategoryView.collectionView.top = -50-kStatusHeight;
648 647 self.listContainerView.top = kStatusHeight;
649 648 if ([CNUserShareManager isLogin]) {
... ...