Commit a597ca522040c73c7141c204145556d3da28c7f0

Authored by yanglingyu
1 parent c4a6eb4f

no message

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.0.19' 11 + s.version = '0.0.20'
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/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
@@ -54,7 +54,6 @@ static const CGFloat animationHeight = 15; @@ -54,7 +54,6 @@ static const CGFloat animationHeight = 15;
54 @end 54 @end
55 55
56 @implementation CNLiveClassifySegmentController 56 @implementation CNLiveClassifySegmentController
57 -static CGFloat moveHeight = 50;  
58 - (void)viewDidLoad { 57 - (void)viewDidLoad {
59 [super viewDidLoad]; 58 [super viewDidLoad];
60 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(DSShopNavColorChange:) name:CNWjjDSShopNavColorChangeNotifiName object:nil]; 59 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(DSShopNavColorChange:) name:CNWjjDSShopNavColorChangeNotifiName object:nil];
@@ -197,7 +196,7 @@ static CGFloat moveHeight = 50; @@ -197,7 +196,7 @@ static CGFloat moveHeight = 50;
197 -(void)viewDidLayoutSubviews 196 -(void)viewDidLayoutSubviews
198 { 197 {
199 [super viewDidLayoutSubviews]; 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 if ([CNUserShareManager isLogin]) { 200 if ([CNUserShareManager isLogin]) {
202 self.myCategoryView.width = kScreenWidth - 45; 201 self.myCategoryView.width = kScreenWidth - 45;
203 self.customChannelsBtn.centerY = [self preferredCategoryViewHeight]/2 + kStatusHeight; 202 self.customChannelsBtn.centerY = [self preferredCategoryViewHeight]/2 + kStatusHeight;
@@ -643,7 +642,7 @@ static CGFloat moveHeight = 50; @@ -643,7 +642,7 @@ static CGFloat moveHeight = 50;
643 } 642 }
644 643
645 -(void)scrollViewUp{ 644 -(void)scrollViewUp{
646 - self.topBgImg.bottom -= moveHeight; 645 + self.topBgImg.bottom = kStatusHeight+50;
647 self.myCategoryView.collectionView.top = -50-kStatusHeight; 646 self.myCategoryView.collectionView.top = -50-kStatusHeight;
648 self.listContainerView.top = kStatusHeight; 647 self.listContainerView.top = kStatusHeight;
649 if ([CNUserShareManager isLogin]) { 648 if ([CNUserShareManager isLogin]) {