Steven 8 месяцев назад
Родитель
Сommit
bd35127320

+ 3 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/MyCourse/Controller/MyCourseViewController.h

@@ -8,8 +8,10 @@
 #import "KSBaseViewController.h"
 #import "JXCategoryView.h"
 #import "JXPagerView.h"
+
 typedef NS_ENUM(NSInteger, DISPLAY_INDEX) {
-    DISPLAY_INDEX_FIRST = 0,  // 陪练课
+    DISPLAY_INDEX_VIP = 0,    // VIP定制
+    DISPLAY_INDEX_FIRST,      // 陪练课
     DISPLAY_INDEX_LIVE,       // 直播课
     DISPLAY_INDEX_VIEO,       // 视频课
     DISPLAY_INDEX_MUSIC,      // 琴房课

+ 0 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Home/MyCourse/View/MyMusicRoomBodyView.m

@@ -232,13 +232,11 @@
                 self.sortView.thirdArrowUp = NO;
                 [weakSelf refreshAndRequestData];
             } cancel:^{
-                [LOADING_MANAGER MBShowAUTOHidingInWindow:@"无声部信息"];
                 self.sortView.thirdArrowUp = NO;
             }];
             [picker showPicker];
         }
         else {
-            [LOADING_MANAGER MBShowAUTOHidingInWindow:@"无声部信息"];
             self.sortView.thirdArrowUp = NO;
         }
 

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineMusic/MinePageMusicView.m

@@ -264,7 +264,7 @@
 - (void)searchSubject {
     if (self.subjectList.count) {
         NSMutableArray *nameArray = [NSMutableArray array];
-        [nameArray addObject:@"全部"];
+        [nameArray addObject:@"全部声部"];
         for (NSDictionary *parm in self.subjectList) {
             [nameArray addObject:[parm ks_stringValueForKey:@"subjectName"]];
         }

+ 6 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageLiveCourse/MineLiveCourseGroupCell.m

@@ -50,14 +50,18 @@
     }
     
     if (model.coursePrice > 0) {
-        self.priceLabel.text = [NSString  stringWithFormat:@"¥%.2f",model.coursePrice];
+        NSString *mountMsg = [NSString formatDoubleNum:model.coursePrice];
+        NSString *descMsg = [NSString stringWithFormat:@"¥%@",mountMsg];
         
+        NSMutableAttributedString *attr = [[NSMutableAttributedString alloc] initWithString:descMsg attributes:@{NSFontAttributeName:[UIFont fontWithName:@"DIN Alternate Bold" size:14.0f],NSForegroundColorAttributeName:HexRGB(0xF44541)}];
+        [attr addAttributes:@{NSFontAttributeName:[UIFont fontWithName:@"DIN Alternate Bold" size:18.0f]} range:[descMsg rangeOfString:mountMsg]];
+        self.priceLabel.attributedText = attr;
     }
     else {
         self.priceLabel.text = [NSString  stringWithFormat:@"免费"];
     }
     
-    self.courseCount.text = [NSString stringWithFormat:@"/ %.0f课时",model.courseNum];
+    self.courseCount.text = [NSString stringWithFormat:@"/%.0f课时",model.courseNum];
     // time
     NSDateFormatter *formatter = [NSObject getDateformatter];
     [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/VIPProgramCreate/MineVipProgramMainView.m

@@ -156,7 +156,7 @@
 }
 
 - (void)settingCallback:(ProgramSettingCallback)callback {
-    if (self.callback) {
+    if (callback) {
         self.callback = callback;
     }
 }