|
@@ -194,6 +194,14 @@
|
|
|
make.left.right.bottom.mas_equalTo(self);
|
|
|
make.top.mas_equalTo(self.headView.mas_bottom);
|
|
|
}];
|
|
|
+
|
|
|
+ // 曲谱 sort
|
|
|
+ if (self.liveFlag == NO) {
|
|
|
+ [self showAuthView];
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ [self hideAuthView];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- (void)evaluateHeadView {
|
|
@@ -410,8 +418,10 @@
|
|
|
}
|
|
|
else {
|
|
|
[self addSubview:self.authView];
|
|
|
+ CGFloat settingHeight = [MineCourseSettingView getViewHeight];
|
|
|
[self.authView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.top.bottom.right.mas_equalTo(self);
|
|
|
+ make.left.bottom.right.mas_equalTo(self.collectionView);
|
|
|
+ make.top.mas_equalTo(self.collectionView.mas_top).offset(-settingHeight-12);
|
|
|
}];
|
|
|
}
|
|
|
}
|