Ver código fonte

修改总课时颜色

Steven 3 meses atrás
pai
commit
a7a1d43f10

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Course/MusicRoom/View/MusicRoomGroupHeadView.m

@@ -84,7 +84,7 @@
     
     NSAttributedString *totalDescAttr = [[NSAttributedString alloc] initWithString:@" /总课时 " attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightRegular],NSForegroundColorAttributeName:HexRGB(0x999999)}];
     [attrs appendAttributedString:totalDescAttr];
-    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:THEMECOLOR}];
+    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:HexRGB(0x333333)}];
     [attrs appendAttributedString:totalNumAttr];
     self.courseDesc.attributedText = attrs;
 }

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Course/VIPCourse/View/ProgramCourseInfoView.m

@@ -86,7 +86,7 @@
     
     NSAttributedString *totalDescAttr = [[NSAttributedString alloc] initWithString:@" /总课时 " attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightRegular],NSForegroundColorAttributeName:HexRGB(0x999999)}];
     [attrs appendAttributedString:totalDescAttr];
-    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:THEMECOLOR}];
+    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:HexRGB(0x333333)}];
     [attrs appendAttributedString:totalNumAttr];
     self.courseDesc.attributedText = attrs;
 }

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Income/Controller/FreezeListViewController.m

@@ -286,7 +286,7 @@
     if (!_sortArray) {
         _sortArray = [NSMutableArray array];
         [_sortArray addObject:@{@"name" : @"全部类型", @"bizType": @""}];
-        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP"}];
+        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP_COURSE"}];
         [_sortArray addObject:@{@"name" : @"趣纠课", @"bizType": @"PRACTICE"}];
         [_sortArray addObject:@{@"name" : @"直播课", @"bizType": @"LIVE"}];
         [_sortArray addObject:@{@"name" : @"视频课", @"bizType": @"VIDEO"}];

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Income/Controller/MyIncomeViewController.m

@@ -326,7 +326,7 @@
     if (!_sortArray) {
         _sortArray = [NSMutableArray array];
         [_sortArray addObject:@{@"name" : @"全部收入", @"bizType": @""}];
-        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP"}];
+        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP_COURSE"}];
         [_sortArray addObject:@{@"name" : @"趣纠课", @"bizType": @"PRACTICE"}];
         [_sortArray addObject:@{@"name" : @"直播课", @"bizType": @"LIVE"}];
         [_sortArray addObject:@{@"name" : @"视频课", @"bizType": @"VIDEO"}];

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Income/Controller/NoRecordViewController.m

@@ -285,7 +285,7 @@
     if (!_sortArray) {
         _sortArray = [NSMutableArray array];
         [_sortArray addObject:@{@"name" : @"全部类型", @"bizType": @""}];
-        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP"}];
+        [_sortArray addObject:@{@"name" : @"VIP定制课", @"bizType": @"VIP_COURSE"}];
         [_sortArray addObject:@{@"name" : @"趣纠课", @"bizType": @"PRACTICE"}];
         [_sortArray addObject:@{@"name" : @"直播课", @"bizType": @"LIVE"}];
         [_sortArray addObject:@{@"name" : @"视频课", @"bizType": @"VIDEO"}];

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Income/View/MyIncomeListCell.m

@@ -68,7 +68,7 @@
         NSString *createTime = [NSString returnNoNullStringWithString:[dateFormatter stringFromDate:createDate]];
         self.courseTime.text = createTime;
     }
-    else if ([sourceModel.bizType isEqualToString:@"VIP"]) { // VIP定制
+    else if ([sourceModel.bizType isEqualToString:@"VIP_COURSE"]) { // VIP定制
         [self.courseTypeImage setImage:[UIImage imageNamed:@"income_vip"]];
     }
     else if ([sourceModel.bizType isEqualToString:@"PRACTICE"]) { // 其他

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/MyCourse/View/MusicRoomCourseGroup/MyMusicGroupListCell.m

@@ -46,7 +46,7 @@
     
     NSAttributedString *totalDescAttr = [[NSAttributedString alloc] initWithString:@" /总课时 " attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightRegular],NSForegroundColorAttributeName:HexRGB(0x999999)}];
     [attrs appendAttributedString:totalDescAttr];
-    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:THEMECOLOR}];
+    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:HexRGB(0x333333)}];
     [attrs appendAttributedString:totalNumAttr];
     self.courseDesc.attributedText = attrs;
 }

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/MyCourse/View/VIPCourseGroup/MyProgramCourseGroupCell.m

@@ -52,7 +52,7 @@
     
     NSAttributedString *totalDescAttr = [[NSAttributedString alloc] initWithString:@" /总课时 " attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightRegular],NSForegroundColorAttributeName:HexRGB(0x999999)}];
     [attrs appendAttributedString:totalDescAttr];
-    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:THEMECOLOR}];
+    NSAttributedString *totalNumAttr = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"%.0f", model.courseNum] attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12.0f weight:UIFontWeightSemibold],NSForegroundColorAttributeName:HexRGB(0x333333)}];
     [attrs appendAttributedString:totalNumAttr];
     self.courseDesc.attributedText = attrs;
 }