Commit 45f4112d434b193027b1322290bc53ad94fbb2f6
1 parent
d955a739
0.2.2
Showing
2 changed files
with
3 additions
and
3 deletions
CNLiveCMineModule.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 = 'CNLiveCMineModule' | 10 | s.name = 'CNLiveCMineModule' |
| 11 | - s.version = '0.2.1' | 11 | + s.version = '0.2.2' |
| 12 | s.summary = '网家家C端个人中心' | 12 | s.summary = '网家家C端个人中心' |
| 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. |
CNLiveCMineModule/Classes/CNCMine/ViewController/CNLiveMineVC.m
| @@ -167,8 +167,8 @@ static NSString *const CNSobotNotification_NewMessage = @"CNSobotNotification_Ne | @@ -167,8 +167,8 @@ static NSString *const CNSobotNotification_NewMessage = @"CNSobotNotification_Ne | ||
| 167 | CGFloat contentOffetY = scrollView.offsetY + kStatusHeight; | 167 | CGFloat contentOffetY = scrollView.offsetY + kStatusHeight; |
| 168 | if (contentOffetY <= DS_adapt_length(35) && contentOffetY > 0) { | 168 | if (contentOffetY <= DS_adapt_length(35) && contentOffetY > 0) { |
| 169 | self.topSmallView.alpha = contentOffetY/DS_adapt_length(35) ; | 169 | self.topSmallView.alpha = contentOffetY/DS_adapt_length(35) ; |
| 170 | - [AppKeyWindow addSubview:self.topImageView.codesView]; | ||
| 171 | - [AppKeyWindow addSubview:self.topImageView.iconImage]; | 170 | + [self.view addSubview:self.topImageView.codesView]; |
| 171 | + [self.view addSubview:self.topImageView.iconImage]; | ||
| 172 | [self.topImageView.iconImage mas_remakeConstraints:^(MASConstraintMaker *make) { | 172 | [self.topImageView.iconImage mas_remakeConstraints:^(MASConstraintMaker *make) { |
| 173 | make.top.equalTo(self.view).offset(kStatusHeight+DS_adapt_length(35) - contentOffetY); | 173 | make.top.equalTo(self.view).offset(kStatusHeight+DS_adapt_length(35) - contentOffetY); |
| 174 | make.left.equalTo(self.view).offset(DS_adapt_length( 12)); | 174 | make.left.equalTo(self.view).offset(DS_adapt_length( 12)); |