ソースを参照

曲目标记显示和隐藏

Steven 3 ヶ月 前
コミット
f7a468e030

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/ArrangeCourse/View/VideoCourseArrangeCell.m

@@ -73,6 +73,7 @@
     self.subjectLabel.text = [NSString returnNoNullStringWithString:model.lessonSubjectName];
     // 曲目
     if (model.musicNum > 0) {
+        self.musicView.hidden = NO;
         self.musicLabel.text = [NSString stringWithFormat:@"%zd首曲目", model.musicNum];
         self.musicRight.constant = 4.0f;
         self.musicLabelLeft.constant = 6.0f;

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseGroup/MyVideoGroupListCell.m

@@ -50,6 +50,7 @@
     
     // 曲目
     if (model.musicNum > 0) {
+        self.musicView.hidden = NO;
         self.musicLabel.text = [NSString stringWithFormat:@"%zd首曲目", model.musicNum];
         self.musicRight.constant = 4.0f;
         self.musicLabelLeft.constant = 6.0f;