瀏覽代碼

删除不使用UI

Steven 5 月之前
父節點
當前提交
f83476a122
共有 20 個文件被更改,包括 21 次插入1416 次删除
  1. 0 46
      KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj
  2. 8 8
      KulexiuForStudent/KulexiuForStudent/Module/Course/AccompanyCourse/View/AccompanyCourseInfoCell.xib
  3. 6 6
      KulexiuForStudent/KulexiuForStudent/Module/Course/MusicRoom/View/MusicGroupStudenListCell.xib
  4. 2 2
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupNavView.xib
  5. 0 2
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/GroupCourseGroup/MyGroupCourseGroupListCell.m
  6. 5 3
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/GroupCourseGroup/MyGroupCourseGroupListCell.xib
  7. 0 40
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.h
  8. 0 98
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.m
  9. 0 192
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.xib
  10. 0 21
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.h
  11. 0 88
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.m
  12. 0 166
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.xib
  13. 0 22
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoCourseBodyView.h
  14. 0 299
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoCourseBodyView.m
  15. 0 26
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.h
  16. 0 56
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.m
  17. 0 59
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.xib
  18. 0 19
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.h
  19. 0 76
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.m
  20. 0 187
      KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.xib

+ 0 - 46
KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj

@@ -184,9 +184,6 @@
 		BC02381428685064005560CA /* KSLiveEndView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC02381028685063005560CA /* KSLiveEndView.m */; };
 		BC02381528685064005560CA /* KSLiveBadNetView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC02381228685064005560CA /* KSLiveBadNetView.m */; };
 		BC02381928685087005560CA /* LiveAnimationView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC02381728685087005560CA /* LiveAnimationView.m */; };
-		BC0D1F6D281013DF00C5D9E5 /* MyVideoCourseBodyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC0D1F6C281013DF00C5D9E5 /* MyVideoCourseBodyView.m */; };
-		BC0D1F71281015B000C5D9E5 /* VideoCourseCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC0D1F6E281015AF00C5D9E5 /* VideoCourseCell.m */; };
-		BC0D1F72281015B000C5D9E5 /* VideoCourseCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC0D1F6F281015AF00C5D9E5 /* VideoCourseCell.xib */; };
 		BC0D1F752810165500C5D9E5 /* VideoCourseModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC0D1F742810165400C5D9E5 /* VideoCourseModel.m */; };
 		BC0D95182AC280CA00E54D3F /* KSWebLoadRefreshView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC0D95162AC280CA00E54D3F /* KSWebLoadRefreshView.xib */; };
 		BC0D95192AC280CB00E54D3F /* KSWebLoadRefreshView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC0D95172AC280CA00E54D3F /* KSWebLoadRefreshView.m */; };
@@ -247,10 +244,6 @@
 		BC106C4D2A933E75000759A9 /* LiveRoomHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC106C4A2A933E74000759A9 /* LiveRoomHeadView.m */; };
 		BC106C502A9351DA000759A9 /* LiveModuleService.m in Sources */ = {isa = PBXBuildFile; fileRef = BC106C4F2A9351DA000759A9 /* LiveModuleService.m */; };
 		BC1191FF280ED64E00A716F7 /* MyCourseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BC1191FE280ED64E00A716F7 /* MyCourseViewController.m */; };
-		BC119215280ED6A900A716F7 /* MyLiveCourseCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC119203280ED6A700A716F7 /* MyLiveCourseCell.xib */; };
-		BC119216280ED6A900A716F7 /* MyLiveCourseCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC119204280ED6A700A716F7 /* MyLiveCourseCell.m */; };
-		BC119217280ED6A900A716F7 /* MyLessonSearchView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC119206280ED6A700A716F7 /* MyLessonSearchView.xib */; };
-		BC119218280ED6A900A716F7 /* MyLessonSearchView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC119209280ED6A800A716F7 /* MyLessonSearchView.m */; };
 		BC11921B280ED6A900A716F7 /* NewClassPopCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC11920F280ED6A900A716F7 /* NewClassPopCell.xib */; };
 		BC11921C280ED6A900A716F7 /* NewClassPopView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC119211280ED6A900A716F7 /* NewClassPopView.m */; };
 		BC11921D280ED6A900A716F7 /* NewClassPopCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC119212280ED6A900A716F7 /* NewClassPopCell.m */; };
@@ -615,8 +608,6 @@
 		BC7354952CEED2AE00C2B35C /* LiveLessonModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC7354912CEED2AE00C2B35C /* LiveLessonModel.m */; };
 		BC7354992CEED2EB00C2B35C /* MyCourseGroupNavView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC7354982CEED2EB00C2B35C /* MyCourseGroupNavView.xib */; };
 		BC73549A2CEED2EB00C2B35C /* MyCourseGroupNavView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC7354972CEED2EB00C2B35C /* MyCourseGroupNavView.m */; };
-		BC736A92288036E8004A9B0A /* MyVideoSearchView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC736A90288036E8004A9B0A /* MyVideoSearchView.m */; };
-		BC736A93288036E8004A9B0A /* MyVideoSearchView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC736A91288036E8004A9B0A /* MyVideoSearchView.xib */; };
 		BC7400E82CD1CB3D0056756A /* KSCloudPremissionAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC7400E52CD1CB3D0056756A /* KSCloudPremissionAlertView.m */; };
 		BC7400E92CD1CB3D0056756A /* KSCloudPremissionAlertView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC7400E62CD1CB3D0056756A /* KSCloudPremissionAlertView.xib */; };
 		BC7400F52CD1CB450056756A /* KSDelayCheckView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC7400F12CD1CB450056756A /* KSDelayCheckView.m */; };
@@ -1412,11 +1403,6 @@
 		BC02381328685064005560CA /* KSLiveBadNetView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSLiveBadNetView.h; sourceTree = "<group>"; };
 		BC02381728685087005560CA /* LiveAnimationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LiveAnimationView.m; sourceTree = "<group>"; };
 		BC02381828685087005560CA /* LiveAnimationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LiveAnimationView.h; sourceTree = "<group>"; };
-		BC0D1F6B281013DF00C5D9E5 /* MyVideoCourseBodyView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyVideoCourseBodyView.h; sourceTree = "<group>"; };
-		BC0D1F6C281013DF00C5D9E5 /* MyVideoCourseBodyView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyVideoCourseBodyView.m; sourceTree = "<group>"; };
-		BC0D1F6E281015AF00C5D9E5 /* VideoCourseCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoCourseCell.m; sourceTree = "<group>"; };
-		BC0D1F6F281015AF00C5D9E5 /* VideoCourseCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = VideoCourseCell.xib; sourceTree = "<group>"; };
-		BC0D1F70281015B000C5D9E5 /* VideoCourseCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VideoCourseCell.h; sourceTree = "<group>"; };
 		BC0D1F732810165400C5D9E5 /* VideoCourseModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VideoCourseModel.h; sourceTree = "<group>"; };
 		BC0D1F742810165400C5D9E5 /* VideoCourseModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoCourseModel.m; sourceTree = "<group>"; };
 		BC0D95152AC280CA00E54D3F /* KSWebLoadRefreshView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSWebLoadRefreshView.h; sourceTree = "<group>"; };
@@ -1529,12 +1515,6 @@
 		BC106C4F2A9351DA000759A9 /* LiveModuleService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LiveModuleService.m; sourceTree = "<group>"; };
 		BC1191FD280ED64E00A716F7 /* MyCourseViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyCourseViewController.h; sourceTree = "<group>"; };
 		BC1191FE280ED64E00A716F7 /* MyCourseViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyCourseViewController.m; sourceTree = "<group>"; };
-		BC119203280ED6A700A716F7 /* MyLiveCourseCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyLiveCourseCell.xib; sourceTree = "<group>"; };
-		BC119204280ED6A700A716F7 /* MyLiveCourseCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyLiveCourseCell.m; sourceTree = "<group>"; };
-		BC119205280ED6A700A716F7 /* MyLiveCourseCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyLiveCourseCell.h; sourceTree = "<group>"; };
-		BC119206280ED6A700A716F7 /* MyLessonSearchView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyLessonSearchView.xib; sourceTree = "<group>"; };
-		BC119208280ED6A800A716F7 /* MyLessonSearchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyLessonSearchView.h; sourceTree = "<group>"; };
-		BC119209280ED6A800A716F7 /* MyLessonSearchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyLessonSearchView.m; sourceTree = "<group>"; };
 		BC11920E280ED6A900A716F7 /* NewClassPopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewClassPopView.h; sourceTree = "<group>"; };
 		BC11920F280ED6A900A716F7 /* NewClassPopCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = NewClassPopCell.xib; sourceTree = "<group>"; };
 		BC119210280ED6A900A716F7 /* NewClassPopCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewClassPopCell.h; sourceTree = "<group>"; };
@@ -2096,9 +2076,6 @@
 		BC7354962CEED2EB00C2B35C /* MyCourseGroupNavView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyCourseGroupNavView.h; sourceTree = "<group>"; };
 		BC7354972CEED2EB00C2B35C /* MyCourseGroupNavView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyCourseGroupNavView.m; sourceTree = "<group>"; };
 		BC7354982CEED2EB00C2B35C /* MyCourseGroupNavView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyCourseGroupNavView.xib; sourceTree = "<group>"; };
-		BC736A8F288036E8004A9B0A /* MyVideoSearchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyVideoSearchView.h; sourceTree = "<group>"; };
-		BC736A90288036E8004A9B0A /* MyVideoSearchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyVideoSearchView.m; sourceTree = "<group>"; };
-		BC736A91288036E8004A9B0A /* MyVideoSearchView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MyVideoSearchView.xib; sourceTree = "<group>"; };
 		BC7400E42CD1CB3D0056756A /* KSCloudPremissionAlertView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KSCloudPremissionAlertView.h; sourceTree = "<group>"; };
 		BC7400E52CD1CB3D0056756A /* KSCloudPremissionAlertView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KSCloudPremissionAlertView.m; sourceTree = "<group>"; };
 		BC7400E62CD1CB3D0056756A /* KSCloudPremissionAlertView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KSCloudPremissionAlertView.xib; sourceTree = "<group>"; };
@@ -4133,21 +4110,7 @@
 				BC7354742CEED28000C2B35C /* MyCourseSortView */,
 				BC73547A2CEED28000C2B35C /* VideoCourseGroup */,
 				BC7354802CEED28000C2B35C /* VIPCourseGroup */,
-				BC119208280ED6A800A716F7 /* MyLessonSearchView.h */,
-				BC119209280ED6A800A716F7 /* MyLessonSearchView.m */,
-				BC119206280ED6A700A716F7 /* MyLessonSearchView.xib */,
-				BC119205280ED6A700A716F7 /* MyLiveCourseCell.h */,
-				BC119204280ED6A700A716F7 /* MyLiveCourseCell.m */,
-				BC119203280ED6A700A716F7 /* MyLiveCourseCell.xib */,
-				BC0D1F70281015B000C5D9E5 /* VideoCourseCell.h */,
-				BC0D1F6E281015AF00C5D9E5 /* VideoCourseCell.m */,
-				BC0D1F6F281015AF00C5D9E5 /* VideoCourseCell.xib */,
 				BC11920D280ED6A900A716F7 /* PopView */,
-				BC0D1F6B281013DF00C5D9E5 /* MyVideoCourseBodyView.h */,
-				BC0D1F6C281013DF00C5D9E5 /* MyVideoCourseBodyView.m */,
-				BC736A8F288036E8004A9B0A /* MyVideoSearchView.h */,
-				BC736A90288036E8004A9B0A /* MyVideoSearchView.m */,
-				BC736A91288036E8004A9B0A /* MyVideoSearchView.xib */,
 			);
 			path = View;
 			sourceTree = "<group>";
@@ -7056,7 +7019,6 @@
 				27F9032D27E87C2E00C08A19 /* KSNetworkAlert.xib in Resources */,
 				BC71D260288804CD0010F14B /* img_44.png in Resources */,
 				BC71D26C288804CD0010F14B /* img_9.png in Resources */,
-				BC736A93288036E8004A9B0A /* MyVideoSearchView.xib in Resources */,
 				BC3332872CEC35B000649FF9 /* LiveCourseArrangeCell.xib in Resources */,
 				BCC583C528A9EC6400BAB4CF /* cloud_animation_17.png in Resources */,
 				BC0D953B2AC2AB1500E54D3F /* PasswordModifyBodyView.xib in Resources */,
@@ -7163,7 +7125,6 @@
 				BCC583B828A9EC6400BAB4CF /* cloud_animation_23.png in Resources */,
 				BC756CC328FE7DA900AA9ECB /* UserDetailNavView.xib in Resources */,
 				2723B66E27F15CFC00E0B90B /* PhoneCheckBodyView.xib in Resources */,
-				BC119217280ED6A900A716F7 /* MyLessonSearchView.xib in Resources */,
 				BCC583BD28A9EC6400BAB4CF /* cloud_animation_25.png in Resources */,
 				BCC583BC28A9EC6400BAB4CF /* cloud_animation_19.png in Resources */,
 				BC71D262288804CD0010F14B /* img_54.png in Resources */,
@@ -7192,7 +7153,6 @@
 				BC7401282CD25BD50056756A /* MergeTipsAlert.xib in Resources */,
 				BCF425DF2AB8665900BCD942 /* TenantHomeBannerView.xib in Resources */,
 				BC542E5528409EC900633781 /* InstrumentHeaderView.xib in Resources */,
-				BC119215280ED6A900A716F7 /* MyLiveCourseCell.xib in Resources */,
 				BCC0F6672A8CD8F500C4EFA4 /* TXDanBottomView.xib in Resources */,
 				BC71D2862888083B0010F14B /* tabbar1.json in Resources */,
 				BCC5839228A9E8AF00BAB4CF /* AccompanyLoadingView.xib in Resources */,
@@ -7211,7 +7171,6 @@
 				BC8A45C1283DDD7100094BBB /* synthgms.sf2 in Resources */,
 				BC71D24B288804CD0010F14B /* img_2.png in Resources */,
 				BCC17DEE2CEC5CC600808B60 /* HomeArrangeRankView.xib in Resources */,
-				BC0D1F72281015B000C5D9E5 /* VideoCourseCell.xib in Resources */,
 				BCECE24A2B3D670500C0D555 /* FeedbackSortView.xib in Resources */,
 				BCECE2492B3D670500C0D555 /* FeedbackNavView.xib in Resources */,
 				BCC409032AFCE6B500C60249 /* VideoCropImageViewCell.xib in Resources */,
@@ -7522,7 +7481,6 @@
 				2723B62727F157D500E0B90B /* GroupMemberViewController.m in Sources */,
 				BC38C3EE2AF893B400ABFCC2 /* KSPlayerSliderView.m in Sources */,
 				BC29AD332BFAFF3200D44848 /* KSLogManager.m in Sources */,
-				BC119216280ED6A900A716F7 /* MyLiveCourseCell.m in Sources */,
 				BC0D95392AC2AB0D00E54D3F /* PasswordModifyBodyView.m in Sources */,
 				275E8AB027E18F8800DD3F6E /* ViewController.m in Sources */,
 				277935B627E324A90010E277 /* FSCalendarCell.m in Sources */,
@@ -7612,7 +7570,6 @@
 				BC106BC52A9336F8000759A9 /* TXLiveRoomViewController.m in Sources */,
 				2779355627E324A70010E277 /* KSPremissionAlert.m in Sources */,
 				BCCE95E22AB053F800AB6385 /* MorePageNavView.m in Sources */,
-				BC736A92288036E8004A9B0A /* MyVideoSearchView.m in Sources */,
 				BC119230280ED8F900A716F7 /* TableCourseModel.m in Sources */,
 				BC542E3F284079E300633781 /* UserAuthBodyView.m in Sources */,
 				BCC5839028A9E8A800BAB4CF /* AccompanyLoadingView.m in Sources */,
@@ -7677,7 +7634,6 @@
 				275E8AAA27E18F8800DD3F6E /* AppDelegate.m in Sources */,
 				BC106C172A933829000759A9 /* TXLiveMessageRejectAllSeat.m in Sources */,
 				BC2DFF4B28BDFE740056105A /* HomeTeacherLiveModel.m in Sources */,
-				BC0D1F6D281013DF00C5D9E5 /* MyVideoCourseBodyView.m in Sources */,
 				BC106C002A933829000759A9 /* TXLiveMessageLike.m in Sources */,
 				2723B5CF27F157BE00E0B90B /* GroupMemberModel.m in Sources */,
 				2723B62A27F157D500E0B90B /* GroupSettingViewController.m in Sources */,
@@ -7693,7 +7649,6 @@
 				2723B62427F157D500E0B90B /* NoticeEditBodyView.m in Sources */,
 				BCFDA65F28BCAEC80022B497 /* HomeInformationBodyView.m in Sources */,
 				BC38C4532AFA095D00ABFCC2 /* UserMusicFormalModel.m in Sources */,
-				BC0D1F71281015B000C5D9E5 /* VideoCourseCell.m in Sources */,
 				BC43CACB2A88C9570011EB5D /* KSTXBaseChatViewController.m in Sources */,
 				BCB6F4612CF6AFE6000D8805 /* KSMemberView.m in Sources */,
 				BC542E612840A60E00633781 /* UseBodyView.m in Sources */,
@@ -7842,7 +7797,6 @@
 				2723B5BE27F157B100E0B90B /* ChatNavView.m in Sources */,
 				BC89AC192AB08FA100B077AF /* TenantMusicCollectionViewCell.m in Sources */,
 				BC02381528685064005560CA /* KSLiveBadNetView.m in Sources */,
-				BC119218280ED6A900A716F7 /* MyLessonSearchView.m in Sources */,
 				BC802DB228BC70370079E350 /* HomeHotTalentCell.m in Sources */,
 				BCFB9BA42CE58C0B00B66BC0 /* AccompanyCourseGroupViewController.m in Sources */,
 				BC38C4522AFA095D00ABFCC2 /* MineWorksViewController.m in Sources */,

+ 8 - 8
KulexiuForStudent/KulexiuForStudent/Module/Course/AccompanyCourse/View/AccompanyCourseInfoCell.xib

@@ -35,8 +35,8 @@
                                     <constraint firstAttribute="width" constant="16" id="kpa-Xw-v8k"/>
                                 </constraints>
                             </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2024-10-30 15:00~15:45" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dYZ-ZA-mKb">
-                                <rect key="frame" x="35" y="14" width="162" height="18"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dYZ-ZA-mKb">
+                                <rect key="frame" x="35" y="14" width="0.0" height="18"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="18" id="Cjh-qx-oBI"/>
                                 </constraints>
@@ -66,7 +66,7 @@
                                     </userDefinedRuntimeAttribute>
                                 </userDefinedRuntimeAttributes>
                             </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="长笛VIP定制课-第1课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mNS-6d-8wr">
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mNS-6d-8wr">
                                 <rect key="frame" x="62" y="58" width="265" height="21"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="21" id="CXE-YJ-Psv"/>
@@ -76,10 +76,10 @@
                                 <nil key="highlightedColor"/>
                             </label>
                             <view contentMode="scaleToFill" horizontalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="2RD-hr-hLB">
-                                <rect key="frame" x="106" y="83" width="30" height="17"/>
+                                <rect key="frame" x="67" y="83" width="10" height="17"/>
                                 <subviews>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="长笛" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g0Z-7O-ahT">
-                                        <rect key="frame" x="5" y="0.0" width="20" height="17"/>
+                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g0Z-7O-ahT">
+                                        <rect key="frame" x="5" y="0.0" width="0.0" height="17"/>
                                         <fontDescription key="fontDescription" type="system" pointSize="10"/>
                                         <color key="textColor" red="1" green="0.5490196078431373" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                         <nil key="highlightedColor"/>
@@ -99,8 +99,8 @@
                                     </userDefinedRuntimeAttribute>
                                 </userDefinedRuntimeAttributes>
                             </view>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张涵宇" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DjV-Sr-ksB">
-                                <rect key="frame" x="62" y="83" width="39" height="17"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DjV-Sr-ksB">
+                                <rect key="frame" x="62" y="83" width="0.0" height="17"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="17" id="cCb-zQ-uMq"/>
                                 </constraints>

+ 6 - 6
KulexiuForStudent/KulexiuForStudent/Module/Course/MusicRoom/View/MusicGroupStudenListCell.xib

@@ -33,8 +33,8 @@
                                     </userDefinedRuntimeAttribute>
                                 </userDefinedRuntimeAttributes>
                             </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="向冰冰" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u7Z-0Z-7wM">
-                                <rect key="frame" x="62" y="11" width="42" height="17"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u7Z-0Z-7wM">
+                                <rect key="frame" x="62" y="11" width="0.0" height="17"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="17" id="I1E-hY-TXQ"/>
                                 </constraints>
@@ -43,10 +43,10 @@
                                 <nil key="highlightedColor"/>
                             </label>
                             <view contentMode="scaleToFill" horizontalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="Ied-Eg-5IC">
-                                <rect key="frame" x="62" y="31" width="38" height="17"/>
+                                <rect key="frame" x="62" y="31" width="8" height="17"/>
                                 <subviews>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="单簧管" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TAr-Dy-ehb">
-                                        <rect key="frame" x="4" y="2.6666666666666643" width="30" height="12"/>
+                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TAr-Dy-ehb">
+                                        <rect key="frame" x="4" y="8.6666666666666643" width="0.0" height="0.0"/>
                                         <fontDescription key="fontDescription" type="system" pointSize="10"/>
                                         <color key="textColor" red="1" green="0.54901960780000003" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                         <nil key="highlightedColor"/>
@@ -65,7 +65,7 @@
                                     </userDefinedRuntimeAttribute>
                                 </userDefinedRuntimeAttributes>
                             </view>
-                            <button hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ri9-ZU-k37">
+                            <button hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="752" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ri9-ZU-k37">
                                 <rect key="frame" x="248" y="9" width="44" height="44"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="44" id="Lf8-uH-Zjc"/>

+ 2 - 2
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupNavView.xib

@@ -29,8 +29,8 @@
                                 <action selector="backAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="BvX-eN-dun"/>
                             </connections>
                         </button>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="VIP定制课详情" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fok-Mj-6d9">
-                            <rect key="frame" x="136.66666666666666" y="11" width="119.99999999999997" height="22"/>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="课程组详情" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fok-Mj-6d9">
+                            <rect key="frame" x="152" y="11" width="89.333333333333314" height="22"/>
                             <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
                             <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
                             <nil key="highlightedColor"/>

+ 0 - 2
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/GroupCourseGroup/MyGroupCourseGroupListCell.m

@@ -84,7 +84,6 @@
     else if ([status isEqualToString:@"NOT_START"]) {
         self.courseStatus.text = @"未开课";
         self.courseStatus.textColor = HexRGB(0xFF802C);
-//        desc = [NSString stringWithFormat:@"剩余%zd个名额", model.maxStudentNum - model.studentCount];
     }
     else if ([status isEqualToString:@"COMPLETE"]) {
         self.courseStatus.text = @"已结课";
@@ -93,7 +92,6 @@
     else if ([status isEqualToString:@"CANCEL"]) {
         self.courseStatus.text = @"已取消";
         self.courseStatus.textColor = HexRGB(0x999999);
-//        desc = [NSString stringWithFormat:@"剩余%zd个名额", model.maxStudentNum - model.studentCount];
     }
     self.bookDesc.text = desc;
 }

+ 5 - 3
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/GroupCourseGroup/MyGroupCourseGroupListCell.xib

@@ -140,10 +140,10 @@
                                 <nil key="highlightedColor"/>
                             </label>
                             <view contentMode="scaleToFill" horizontalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="pU5-Uo-TdG">
-                                <rect key="frame" x="50" y="288.66666666666669" width="79" height="19"/>
+                                <rect key="frame" x="50" y="288.66666666666669" width="8" height="19"/>
                                 <subviews>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="剩余3个名额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z8Y-wD-cTT">
-                                        <rect key="frame" x="4" y="2" width="71" height="15"/>
+                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z8Y-wD-cTT">
+                                        <rect key="frame" x="4" y="0.0" width="0.0" height="19"/>
                                         <fontDescription key="fontDescription" type="system" pointSize="12"/>
                                         <color key="textColor" red="1" green="0.40784313729999999" blue="0.1529411765" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                         <nil key="highlightedColor"/>
@@ -151,10 +151,12 @@
                                 </subviews>
                                 <color key="backgroundColor" red="1" green="0.50196078430000002" blue="0.17254901959999999" alpha="0.070000000000000007" colorSpace="custom" customColorSpace="sRGB"/>
                                 <constraints>
+                                    <constraint firstAttribute="bottom" secondItem="z8Y-wD-cTT" secondAttribute="bottom" id="0qV-FE-Nqm"/>
                                     <constraint firstAttribute="height" constant="19" id="1t2-Rc-iUN"/>
                                     <constraint firstItem="z8Y-wD-cTT" firstAttribute="leading" secondItem="pU5-Uo-TdG" secondAttribute="leading" constant="4" id="8WF-Vg-ZEq"/>
                                     <constraint firstAttribute="trailing" secondItem="z8Y-wD-cTT" secondAttribute="trailing" constant="4" id="NJJ-nE-cnY"/>
                                     <constraint firstItem="z8Y-wD-cTT" firstAttribute="centerY" secondItem="pU5-Uo-TdG" secondAttribute="centerY" id="p2m-9e-1CE"/>
+                                    <constraint firstItem="z8Y-wD-cTT" firstAttribute="top" secondItem="pU5-Uo-TdG" secondAttribute="top" id="pel-bc-Tzm"/>
                                 </constraints>
                                 <userDefinedRuntimeAttributes>
                                     <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">

+ 0 - 40
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.h

@@ -1,40 +0,0 @@
-//
-//  MyLessonSearchView.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/12.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef NS_ENUM(NSInteger, SORT_TYPE) {
-    SORT_TYPE_TIME = 1,   // 课程时间
-    SORT_TYPE_STATUS = 2, // 课程状态
-    SORT_TYPE_SUBJECT = 3,  // 声部筛选
-    SORT_TYPE_HIDDEN = 4, // 隐藏
-};
-
-typedef void(^SortActionBlock)(SORT_TYPE type);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MyLessonSearchView : UIView
-
-@property (weak, nonatomic) IBOutlet UILabel *firstLabel;
-@property (weak, nonatomic) IBOutlet UILabel *secondLabel;
-@property (weak, nonatomic) IBOutlet UILabel *thirdLabel;
-
-@property (nonatomic, assign) BOOL firstArrowUp;
-
-@property (nonatomic, assign) BOOL secondArrowUp;
-
-@property (nonatomic, assign) BOOL thirdArrowUp;
-
-+ (instancetype)shareInstance;
-
-- (void)sortAction:(SortActionBlock)block;
-
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 98
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.m

@@ -1,98 +0,0 @@
-//
-//  MyLessonSearchView.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/12.
-//
-
-#import "MyLessonSearchView.h"
-
-@interface MyLessonSearchView ()
-
-@property (nonatomic, copy) SortActionBlock block;
-@property (weak, nonatomic) IBOutlet UIImageView *firstArrow;
-@property (weak, nonatomic) IBOutlet UIImageView *secondArrow;
-@property (weak, nonatomic) IBOutlet UIImageView *thirdArrow;
-
-@end
-
-
-@implementation MyLessonSearchView
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    self.firstArrowUp = NO;
-    self.secondArrowUp = NO;
-    self.thirdArrowUp = NO;
-}
-
-+ (instancetype)shareInstance {
-    MyLessonSearchView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyLessonSearchView" owner:nil options:nil] firstObject];
-    return view;
-}
-
-- (void)sortAction:(SortActionBlock)block {
-    if (block) {
-        self.block = block;
-    }
-}
-
-- (IBAction)buttonClickAction:(UIButton *)sender {
-    NSInteger index = sender.tag - 1000;
-    BOOL isHidden;
-    if (index == 1) {
-        self.firstArrowUp = !self.firstArrowUp;
-        self.secondArrowUp = NO;
-        self.thirdArrowUp = NO;
-        isHidden = !self.firstArrowUp;
-    }
-    else if (index == 2) {
-        self.secondArrowUp = !self.secondArrowUp;
-        self.firstArrowUp = NO;
-        self.thirdArrowUp = NO;
-        isHidden = !self.secondArrowUp;
-    }
-    else {
-        self.thirdArrowUp = !self.thirdArrowUp;
-        self.firstArrowUp = NO;
-        self.secondArrowUp = NO;
-        isHidden = !self.thirdArrowUp;
-    }
-    
-    if (self.block) {
-        if (isHidden) {
-            index = 4;
-        }
-        self.block(index);
-    }
-}
-
-- (void)setFirstArrowUp:(BOOL)firstArrowUp {
-    _firstArrowUp = firstArrowUp;
-    NSString *imageName = firstArrowUp ? @"sort_up" : @"sort_down";
-    [_firstArrow setImage:[UIImage imageNamed:imageName]];
-}
-
-- (void)setSecondArrowUp:(BOOL)secondArrowUp {
-    _secondArrowUp = secondArrowUp;
-    NSString *imageName = secondArrowUp ? @"sort_up" : @"sort_down";
-    [_secondArrow setImage:[UIImage imageNamed:imageName]];
-
-
-}
-
-- (void)setThirdArrowUp:(BOOL)thirdArrowUp {
-    _thirdArrowUp = thirdArrowUp;
-    NSString *imageName = thirdArrowUp ? @"sort_up" : @"sort_down";
-    [_thirdArrow setImage:[UIImage imageNamed:imageName]];
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 192
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLessonSearchView.xib

@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyLessonSearchView">
-            <rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <subviews>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LpR-2y-gXZ">
-                    <rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
-                    <subviews>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sav-8B-TD3">
-                            <rect key="frame" x="0.0" y="0.0" width="131.5" height="50"/>
-                            <subviews>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="XXXX年XX月" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SZF-Nh-GLK">
-                                    <rect key="frame" x="16.5" y="16.5" width="90" height="17"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
-                                    <nil key="highlightedColor"/>
-                                </label>
-                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down" translatesAutoresizingMaskIntoConstraints="NO" id="vSU-NS-Qou">
-                                    <rect key="frame" x="112.5" y="22" width="8" height="6"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="6" id="L0G-Nt-hlU"/>
-                                        <constraint firstAttribute="width" constant="8" id="nhm-Fv-ewC"/>
-                                    </constraints>
-                                </imageView>
-                                <button opaque="NO" tag="1001" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CSP-VE-Q55">
-                                    <rect key="frame" x="0.0" y="0.0" width="131.5" height="50"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <state key="normal">
-                                        <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
-                                    </state>
-                                    <connections>
-                                        <action selector="buttonClickAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="TaJ-ah-38O"/>
-                                    </connections>
-                                </button>
-                            </subviews>
-                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstAttribute="trailing" secondItem="CSP-VE-Q55" secondAttribute="trailing" id="0bd-hm-rCy"/>
-                                <constraint firstAttribute="bottom" secondItem="CSP-VE-Q55" secondAttribute="bottom" id="5ye-zJ-qJd"/>
-                                <constraint firstItem="SZF-Nh-GLK" firstAttribute="centerX" secondItem="sav-8B-TD3" secondAttribute="centerX" constant="-4" id="Alx-tT-2ei"/>
-                                <constraint firstItem="vSU-NS-Qou" firstAttribute="leading" secondItem="SZF-Nh-GLK" secondAttribute="trailing" constant="6" id="gzf-kV-Yq4"/>
-                                <constraint firstItem="CSP-VE-Q55" firstAttribute="top" secondItem="sav-8B-TD3" secondAttribute="top" id="lqg-EV-zPD"/>
-                                <constraint firstItem="SZF-Nh-GLK" firstAttribute="centerY" secondItem="sav-8B-TD3" secondAttribute="centerY" id="nyN-Qr-ZM8"/>
-                                <constraint firstItem="vSU-NS-Qou" firstAttribute="centerY" secondItem="sav-8B-TD3" secondAttribute="centerY" id="vSN-3Z-GaR"/>
-                                <constraint firstItem="CSP-VE-Q55" firstAttribute="leading" secondItem="sav-8B-TD3" secondAttribute="leading" id="zIY-Ko-K7m"/>
-                            </constraints>
-                        </view>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EXN-FR-v0M">
-                            <rect key="frame" x="141.5" y="0.0" width="131" height="50"/>
-                            <subviews>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="课程状态" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6ns-hS-Kd7">
-                                    <rect key="frame" x="33.5" y="16.5" width="56" height="17"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
-                                    <nil key="highlightedColor"/>
-                                </label>
-                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down" translatesAutoresizingMaskIntoConstraints="NO" id="OTv-DP-LWv">
-                                    <rect key="frame" x="95.5" y="22" width="8" height="6"/>
-                                    <constraints>
-                                        <constraint firstAttribute="width" constant="8" id="5Xg-pv-7Nq"/>
-                                        <constraint firstAttribute="height" constant="6" id="z2o-1V-B1s"/>
-                                    </constraints>
-                                </imageView>
-                                <button opaque="NO" tag="1002" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4ob-Ur-wiA">
-                                    <rect key="frame" x="0.0" y="0.0" width="131" height="50"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <state key="normal">
-                                        <color key="titleColor" red="0.1019607843" green="0.1019607843" blue="0.1019607843" alpha="1" colorSpace="calibratedRGB"/>
-                                    </state>
-                                    <connections>
-                                        <action selector="buttonClickAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="dy9-XT-PTc"/>
-                                    </connections>
-                                </button>
-                            </subviews>
-                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstItem="6ns-hS-Kd7" firstAttribute="centerY" secondItem="EXN-FR-v0M" secondAttribute="centerY" id="AzD-bE-066"/>
-                                <constraint firstItem="4ob-Ur-wiA" firstAttribute="leading" secondItem="EXN-FR-v0M" secondAttribute="leading" id="GtX-9e-ehq"/>
-                                <constraint firstItem="OTv-DP-LWv" firstAttribute="leading" secondItem="6ns-hS-Kd7" secondAttribute="trailing" constant="6" id="I7T-xV-JF7"/>
-                                <constraint firstAttribute="trailing" secondItem="4ob-Ur-wiA" secondAttribute="trailing" id="YNZ-vD-gf4"/>
-                                <constraint firstItem="6ns-hS-Kd7" firstAttribute="centerX" secondItem="EXN-FR-v0M" secondAttribute="centerX" constant="-4" id="YbI-hY-Ult"/>
-                                <constraint firstItem="OTv-DP-LWv" firstAttribute="centerY" secondItem="EXN-FR-v0M" secondAttribute="centerY" id="b3Z-oq-v2w"/>
-                                <constraint firstAttribute="bottom" secondItem="4ob-Ur-wiA" secondAttribute="bottom" id="jwa-36-Cbd"/>
-                                <constraint firstItem="4ob-Ur-wiA" firstAttribute="top" secondItem="EXN-FR-v0M" secondAttribute="top" id="ljE-Zk-4Wc"/>
-                            </constraints>
-                        </view>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tfS-Rc-iEN">
-                            <rect key="frame" x="282.5" y="0.0" width="131.5" height="50"/>
-                            <subviews>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全部声部" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o6O-VM-5uU">
-                                    <rect key="frame" x="34" y="16.5" width="56" height="17"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
-                                    <nil key="highlightedColor"/>
-                                </label>
-                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down" translatesAutoresizingMaskIntoConstraints="NO" id="2nN-nP-Pcx">
-                                    <rect key="frame" x="96" y="22" width="8" height="6"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="6" id="Hqu-N6-YGq"/>
-                                        <constraint firstAttribute="width" constant="8" id="RHc-EF-HM2"/>
-                                    </constraints>
-                                </imageView>
-                                <button opaque="NO" tag="1003" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cgC-dL-lRH">
-                                    <rect key="frame" x="0.0" y="0.0" width="131.5" height="50"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <state key="normal">
-                                        <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
-                                    </state>
-                                    <connections>
-                                        <action selector="buttonClickAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="nuc-JZ-JJe"/>
-                                    </connections>
-                                </button>
-                            </subviews>
-                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstItem="2nN-nP-Pcx" firstAttribute="leading" secondItem="o6O-VM-5uU" secondAttribute="trailing" constant="6" id="0n4-YK-n4D"/>
-                                <constraint firstItem="2nN-nP-Pcx" firstAttribute="centerY" secondItem="tfS-Rc-iEN" secondAttribute="centerY" id="5EQ-2B-7AS"/>
-                                <constraint firstAttribute="trailing" secondItem="cgC-dL-lRH" secondAttribute="trailing" id="736-JC-2Pv"/>
-                                <constraint firstItem="o6O-VM-5uU" firstAttribute="centerX" secondItem="tfS-Rc-iEN" secondAttribute="centerX" constant="-4" id="7M7-x1-FfN"/>
-                                <constraint firstItem="o6O-VM-5uU" firstAttribute="centerY" secondItem="tfS-Rc-iEN" secondAttribute="centerY" id="FMB-rn-9RF"/>
-                                <constraint firstItem="cgC-dL-lRH" firstAttribute="top" secondItem="tfS-Rc-iEN" secondAttribute="top" id="Jda-N3-CeP"/>
-                                <constraint firstAttribute="bottom" secondItem="cgC-dL-lRH" secondAttribute="bottom" id="i38-qz-i66"/>
-                                <constraint firstItem="cgC-dL-lRH" firstAttribute="leading" secondItem="tfS-Rc-iEN" secondAttribute="leading" id="zXE-H5-6j1"/>
-                            </constraints>
-                        </view>
-                    </subviews>
-                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                    <constraints>
-                        <constraint firstItem="tfS-Rc-iEN" firstAttribute="leading" secondItem="EXN-FR-v0M" secondAttribute="trailing" constant="10" id="4dx-rG-JsD"/>
-                        <constraint firstItem="EXN-FR-v0M" firstAttribute="bottom" secondItem="sav-8B-TD3" secondAttribute="bottom" id="9F3-pd-MYs"/>
-                        <constraint firstItem="tfS-Rc-iEN" firstAttribute="width" secondItem="sav-8B-TD3" secondAttribute="width" id="CLF-fI-pzs"/>
-                        <constraint firstItem="EXN-FR-v0M" firstAttribute="top" secondItem="sav-8B-TD3" secondAttribute="top" id="FLx-ZH-cjQ"/>
-                        <constraint firstItem="tfS-Rc-iEN" firstAttribute="top" secondItem="sav-8B-TD3" secondAttribute="top" id="Hbw-pi-fCh"/>
-                        <constraint firstItem="sav-8B-TD3" firstAttribute="top" secondItem="LpR-2y-gXZ" secondAttribute="top" id="Ihc-cJ-1Oh"/>
-                        <constraint firstItem="tfS-Rc-iEN" firstAttribute="bottom" secondItem="sav-8B-TD3" secondAttribute="bottom" id="Xfd-4u-1IF"/>
-                        <constraint firstAttribute="bottom" secondItem="sav-8B-TD3" secondAttribute="bottom" id="bu2-X6-Yg6"/>
-                        <constraint firstItem="EXN-FR-v0M" firstAttribute="width" secondItem="sav-8B-TD3" secondAttribute="width" id="fPc-ee-c1N"/>
-                        <constraint firstAttribute="trailing" secondItem="tfS-Rc-iEN" secondAttribute="trailing" id="u1e-Ax-BTi"/>
-                        <constraint firstItem="sav-8B-TD3" firstAttribute="leading" secondItem="LpR-2y-gXZ" secondAttribute="leading" id="uCG-Vn-Bi5"/>
-                        <constraint firstItem="EXN-FR-v0M" firstAttribute="leading" secondItem="sav-8B-TD3" secondAttribute="trailing" constant="10" id="vlA-mz-du1"/>
-                    </constraints>
-                    <userDefinedRuntimeAttributes>
-                        <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
-                            <size key="value" width="0.0" height="2"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
-                            <real key="value" value="1"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
-                            <real key="value" value="7"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
-                            <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.070000000000000007" colorSpace="calibratedRGB"/>
-                        </userDefinedRuntimeAttribute>
-                    </userDefinedRuntimeAttributes>
-                </view>
-            </subviews>
-            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <constraints>
-                <constraint firstAttribute="trailing" secondItem="LpR-2y-gXZ" secondAttribute="trailing" id="TJN-ui-GfD"/>
-                <constraint firstItem="LpR-2y-gXZ" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="cRb-QE-c94"/>
-                <constraint firstItem="LpR-2y-gXZ" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="jZD-EQ-305"/>
-                <constraint firstAttribute="bottom" secondItem="LpR-2y-gXZ" secondAttribute="bottom" id="mqe-U8-IPW"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="firstArrow" destination="vSU-NS-Qou" id="Kv5-mp-IhS"/>
-                <outlet property="firstLabel" destination="SZF-Nh-GLK" id="tEx-TG-3F3"/>
-                <outlet property="secondArrow" destination="OTv-DP-LWv" id="t4Z-hT-MB6"/>
-                <outlet property="secondLabel" destination="6ns-hS-Kd7" id="5aW-zc-XWs"/>
-                <outlet property="thirdArrow" destination="2nN-nP-Pcx" id="VyH-DI-YOp"/>
-                <outlet property="thirdLabel" destination="o6O-VM-5uU" id="4Qy-Qr-D3o"/>
-            </connections>
-            <point key="canvasLocation" x="131.8840579710145" y="-33.482142857142854"/>
-        </view>
-    </objects>
-    <resources>
-        <image name="sort_down" width="8" height="6"/>
-    </resources>
-</document>

+ 0 - 21
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.h

@@ -1,21 +0,0 @@
-//
-//  MyLiveCourseCell.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/12.
-//
-
-#import <UIKit/UIKit.h>
-#import "LiveLessonModel.h"
-
-typedef void(^LiveLessonChatAction)(NSString * _Nonnull targetId);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MyLiveCourseCell : UITableViewCell
-
-- (void)configCellWithSource:(LiveLessonModel *)model callback:(LiveLessonChatAction)callback;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 88
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.m

@@ -1,88 +0,0 @@
-//
-//  MyLiveCourseCell.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/12.
-//
-
-#import "MyLiveCourseCell.h"
-
-@interface MyLiveCourseCell ()
-
-@property (weak, nonatomic) IBOutlet UIImageView *courseCoverImage;
-
-@property (weak, nonatomic) IBOutlet UILabel *courseNameLabel;
-
-@property (weak, nonatomic) IBOutlet UILabel *subjectName;
-
-@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
-
-@property (weak, nonatomic) IBOutlet UILabel *statusLabel;
-
-@property (nonatomic, strong) NSString *targetId;
-
-@property (nonatomic, copy) LiveLessonChatAction callback;
-@end
-
-@implementation MyLiveCourseCell
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    // Initialization code
-    self.selectionStyle = UITableViewCellSelectionStyleNone;
-}
-
-- (void)configCellWithSource:(LiveLessonModel *)model callback:(LiveLessonChatAction)callback {
-    if (callback) {
-        self.callback = callback;
-    }
-    [self.courseCoverImage sd_setImageWithURL:[NSURL URLWithString:[model.cover getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:@"video_placeholder"]];
-    
-    self.courseNameLabel.text = [NSString returnNoNullStringWithString:model.courseName];
-    self.subjectName.text = [NSString returnNoNullStringWithString:model.subjectName];
-    self.targetId = model.imGroupId;
-    // time
-    NSDateFormatter *formatter = [NSObject getDateformatter];
-    [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
-    NSDate *startDate = [formatter dateFromString:model.startTime];
-    NSDate *endDate = [formatter dateFromString:model.endTime];
-    
-    [formatter setDateFormat:@"yyyy-MM-dd HH:mm"];
-    NSString *courseBegin = [formatter stringFromDate:startDate];
-    [formatter setDateFormat:@"HH:mm"];
-    NSString *endTime = [formatter stringFromDate:endDate];
-    self.timeLabel.text = [NSString stringWithFormat:@"%@~%@",[NSString returnNoNullStringWithString:courseBegin], [NSString returnNoNullStringWithString:endTime]];
-    
-    //  课程状态
-    [self evaluateStatus:model.status];
-}
-
-- (void)evaluateStatus:(NSString *)status {
-    if ([status isEqualToString:@"ING"]) { // 进行中
-        self.statusLabel.text = @"进行中";
-        self.statusLabel.textColor = THEMECOLOR;
-    }
-    else if ([status isEqualToString:@"NOT_START"]) { // 为开始
-        self.statusLabel.text = @"未开始";
-        self.statusLabel.textColor = HexRGB(0xff802c);
-    }
-    else if ([status isEqualToString:@"COMPLETE"]) { // 已结束
-        self.statusLabel.text = @"已结束";
-        self.statusLabel.textColor = HexRGB(0x999999);
-    }
-}
-
-- (IBAction)chatAction:(id)sender {
-    if (self.callback) {
-        self.callback(self.targetId);
-    }
-}
-
-
-- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
-    [super setSelected:selected animated:animated];
-
-    // Configure the view for the selected state
-}
-
-@end

+ 0 - 166
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyLiveCourseCell.xib

@@ -1,166 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="164" id="KGk-i7-Jjw" customClass="MyLiveCourseCell">
-            <rect key="frame" x="0.0" y="0.0" width="396" height="164"/>
-            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="396" height="164"/>
-                <autoresizingMask key="autoresizingMask"/>
-                <subviews>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Mv-FD-03n">
-                        <rect key="frame" x="14" y="0.0" width="368" height="152"/>
-                        <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="video_placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="NWN-u6-1To">
-                                <rect key="frame" x="11" y="16" width="105" height="71"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="105" id="FfC-qz-2vt"/>
-                                    <constraint firstAttribute="height" constant="71" id="I46-Vb-KPv"/>
-                                </constraints>
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                        <real key="value" value="4"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                            </imageView>
-                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Z3n-pP-QqQ">
-                                <rect key="frame" x="10" y="102" width="348" height="1"/>
-                                <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="1" id="h6v-qm-9HE"/>
-                                </constraints>
-                            </view>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9C1-zD-NKp">
-                                <rect key="frame" x="128" y="17" width="0.0" height="20"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="20" id="jZt-hb-zgs"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
-                                <color key="textColor" red="0.1019607843" green="0.1019607843" blue="0.1019607843" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VrX-Hy-enc">
-                                <rect key="frame" x="357" y="111" width="0.0" height="20"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="20" id="nme-QD-dNX"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
-                                <color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="course_time" translatesAutoresizingMaskIntoConstraints="NO" id="zwg-bj-X8b">
-                                <rect key="frame" x="11" y="114" width="16" height="16"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="16" id="D2y-TK-hj5"/>
-                                    <constraint firstAttribute="width" constant="16" id="jJm-KX-qcy"/>
-                                </constraints>
-                            </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QUH-rb-n4x">
-                                <rect key="frame" x="34" y="122" width="0.0" height="0.0"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="13"/>
-                                <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8e5-WE-PwG">
-                                <rect key="frame" x="130" y="70" width="8" height="16"/>
-                                <subviews>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GLH-rY-bmS">
-                                        <rect key="frame" x="4" y="1" width="0.0" height="13"/>
-                                        <fontDescription key="fontDescription" type="system" pointSize="11"/>
-                                        <color key="textColor" red="1" green="0.5490196078431373" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
-                                        <nil key="highlightedColor"/>
-                                    </label>
-                                </subviews>
-                                <color key="backgroundColor" red="1" green="0.94509803921568625" blue="0.87058823529411766" alpha="1" colorSpace="calibratedRGB"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="16" id="2kj-oi-wkU"/>
-                                    <constraint firstAttribute="bottom" secondItem="GLH-rY-bmS" secondAttribute="bottom" constant="2" id="Qwe-R2-kYB"/>
-                                    <constraint firstItem="GLH-rY-bmS" firstAttribute="top" secondItem="8e5-WE-PwG" secondAttribute="top" constant="1" id="aJC-lf-Zrs"/>
-                                    <constraint firstAttribute="trailing" secondItem="GLH-rY-bmS" secondAttribute="trailing" constant="4" id="liw-dJ-aUw"/>
-                                    <constraint firstItem="GLH-rY-bmS" firstAttribute="leading" secondItem="8e5-WE-PwG" secondAttribute="leading" constant="4" id="vuP-BL-Lp9"/>
-                                </constraints>
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                        <real key="value" value="4"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                            </view>
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2Kh-s4-xZJ">
-                                <rect key="frame" x="133" y="7" width="40" height="40"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="40" id="G8p-eG-zeE"/>
-                                    <constraint firstAttribute="width" constant="40" id="W6r-uH-v7W"/>
-                                </constraints>
-                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                                <state key="normal" image="chat_chat"/>
-                                <connections>
-                                    <action selector="chatAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="sIl-Bo-eWo"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                        <constraints>
-                            <constraint firstItem="9C1-zD-NKp" firstAttribute="leading" secondItem="NWN-u6-1To" secondAttribute="trailing" constant="12" id="9xV-WZ-Jeb"/>
-                            <constraint firstItem="zwg-bj-X8b" firstAttribute="leading" secondItem="9Mv-FD-03n" secondAttribute="leading" constant="11" id="Eg4-fY-s6L"/>
-                            <constraint firstItem="VrX-Hy-enc" firstAttribute="top" secondItem="Z3n-pP-QqQ" secondAttribute="bottom" constant="8" id="HJr-KG-LRz"/>
-                            <constraint firstItem="Z3n-pP-QqQ" firstAttribute="top" secondItem="NWN-u6-1To" secondAttribute="bottom" constant="15" id="HWE-Lc-PGR"/>
-                            <constraint firstAttribute="trailing" secondItem="VrX-Hy-enc" secondAttribute="trailing" constant="11" id="IuH-hK-LDm"/>
-                            <constraint firstItem="QUH-rb-n4x" firstAttribute="leading" secondItem="zwg-bj-X8b" secondAttribute="trailing" constant="7" id="Kv8-pd-LT7"/>
-                            <constraint firstItem="2Kh-s4-xZJ" firstAttribute="leading" secondItem="9C1-zD-NKp" secondAttribute="trailing" constant="5" id="Wf6-Mf-Upf"/>
-                            <constraint firstItem="zwg-bj-X8b" firstAttribute="top" secondItem="Z3n-pP-QqQ" secondAttribute="bottom" constant="11" id="YNp-yH-cDb"/>
-                            <constraint firstItem="NWN-u6-1To" firstAttribute="top" secondItem="9Mv-FD-03n" secondAttribute="top" constant="16" id="cGY-p8-lN7"/>
-                            <constraint firstItem="NWN-u6-1To" firstAttribute="leading" secondItem="9Mv-FD-03n" secondAttribute="leading" constant="11" id="cfe-2g-SQh"/>
-                            <constraint firstItem="8e5-WE-PwG" firstAttribute="leading" secondItem="NWN-u6-1To" secondAttribute="trailing" constant="14" id="gct-Bj-cAn"/>
-                            <constraint firstItem="Z3n-pP-QqQ" firstAttribute="leading" secondItem="9Mv-FD-03n" secondAttribute="leading" constant="10" id="hry-ZU-tVs"/>
-                            <constraint firstItem="9C1-zD-NKp" firstAttribute="top" secondItem="NWN-u6-1To" secondAttribute="top" constant="1" id="jfN-JM-ITb"/>
-                            <constraint firstItem="2Kh-s4-xZJ" firstAttribute="centerY" secondItem="9C1-zD-NKp" secondAttribute="centerY" id="mRw-yl-KmV"/>
-                            <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="2Kh-s4-xZJ" secondAttribute="trailing" id="nNd-mX-E6C"/>
-                            <constraint firstAttribute="trailing" secondItem="Z3n-pP-QqQ" secondAttribute="trailing" constant="10" id="oVA-kc-t3T"/>
-                            <constraint firstItem="8e5-WE-PwG" firstAttribute="bottom" secondItem="NWN-u6-1To" secondAttribute="bottom" constant="-1" id="r3t-nW-e8s"/>
-                            <constraint firstItem="QUH-rb-n4x" firstAttribute="centerY" secondItem="zwg-bj-X8b" secondAttribute="centerY" id="uBT-wz-dHP"/>
-                        </constraints>
-                        <userDefinedRuntimeAttributes>
-                            <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                <real key="value" value="10"/>
-                            </userDefinedRuntimeAttribute>
-                        </userDefinedRuntimeAttributes>
-                    </view>
-                </subviews>
-                <constraints>
-                    <constraint firstItem="9Mv-FD-03n" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="AO0-g2-drH"/>
-                    <constraint firstAttribute="bottom" secondItem="9Mv-FD-03n" secondAttribute="bottom" constant="12" id="VYf-HS-AeG"/>
-                    <constraint firstItem="9Mv-FD-03n" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="ZcW-pC-Pdu"/>
-                    <constraint firstAttribute="trailing" secondItem="9Mv-FD-03n" secondAttribute="trailing" constant="14" id="zxh-ku-GLf"/>
-                </constraints>
-            </tableViewCellContentView>
-            <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <connections>
-                <outlet property="courseCoverImage" destination="NWN-u6-1To" id="5H2-Pf-5WA"/>
-                <outlet property="courseNameLabel" destination="9C1-zD-NKp" id="dMl-ob-iwk"/>
-                <outlet property="statusLabel" destination="VrX-Hy-enc" id="6M9-tY-aZT"/>
-                <outlet property="subjectName" destination="GLH-rY-bmS" id="CtN-f5-rMC"/>
-                <outlet property="timeLabel" destination="QUH-rb-n4x" id="RV0-zl-r5M"/>
-            </connections>
-            <point key="canvasLocation" x="186.95652173913044" y="118.52678571428571"/>
-        </tableViewCell>
-    </objects>
-    <resources>
-        <image name="chat_chat" width="19" height="18"/>
-        <image name="course_time" width="16" height="16"/>
-        <image name="video_placeholder" width="103" height="72"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
-</document>

+ 0 - 22
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoCourseBodyView.h

@@ -1,22 +0,0 @@
-//
-//  MyVideoCourseBodyView.h
-//  KulexiuForStudent
-//
-//  Created by 王智 on 2022/4/20.
-//
-
-#import <kSJXCollectionView.h>
-#import "StateView.h"
-#import "Reachability.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MyVideoCourseBodyView : kSJXCollectionView
-
-@property (nonatomic, strong) NSString *teaherStatus;
-
-@property (nonatomic, strong) NSMutableArray *subjectList;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 299
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoCourseBodyView.m

@@ -1,299 +0,0 @@
-//
-//  MyVideoCourseBodyView.m
-//  KulexiuForStudent
-//
-//  Created by 王智 on 2022/4/20.
-//
-
-#import "MyVideoCourseBodyView.h"
-#import "VideoCourseCell.h"
-#import "VideoCourseModel.h"
-#import "KSBaseWKWebViewController.h"
-#import <KSChoosePicker.h>
-#import "MyVideoSearchView.h"
-
-@interface MyVideoCourseBodyView ()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
-
-@property (nonatomic, strong) NSMutableArray *dataArray;
-
-@property (nonatomic, strong) StateView *promptView;
-@property (nonatomic, strong) UIView *promptPlaceView;
-
-@property (nonatomic, assign) BOOL networkAvaiable; // 网络是否可用
-
-@property (nonatomic, assign) BOOL isLoadMore;
-@property (nonatomic, assign) NSInteger rows;
-@property (nonatomic, assign) NSInteger pages;
-
-@property (nonatomic, strong) NSString *subjectId;
-
-@property (nonatomic, strong) NSString *search;
-
-@property (nonatomic, copy) MyVideoSearchView *sortView;
-
-@end
-
-@implementation MyVideoCourseBodyView
-
-- (instancetype)initWithFrame:(CGRect)frame {
-    self = [super initWithFrame:frame];
-    if (self) {
-        self.backgroundColor = HexRGB(0xf6f8f9);
-        UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
-        layout.sectionInset = UIEdgeInsetsMake(0, 14, 12, 14);
-        
-        self.collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height) collectionViewLayout:layout];
-        self.collectionView.backgroundColor = HexRGB(0xf6f8f9);
-        self.collectionView.delegate = self;
-        self.collectionView.dataSource = self;
-        self.collectionView.showsVerticalScrollIndicator = NO;
-        self.collectionView.showsHorizontalScrollIndicator = NO;
-        [self.collectionView registerNib:[UINib nibWithNibName:@"VideoCourseCell" bundle:[NSBundle mainBundle]] forCellWithReuseIdentifier:@"VideoCourseCell"];
-        [self addSubview:self.collectionView];
-        MJWeakSelf;
-        self.collectionView.mj_header = [KSGifRefreshHeader headerWithRefreshingBlock:^{
-            [weakSelf resetParamenter];
-            [weakSelf requestData];
-        }];
-        self.collectionView.mj_footer = [KSGifRefreshFooter footerWithRefreshingBlock:^{
-            if (weakSelf.isLoadMore) {
-                weakSelf.pages += 1;
-                [weakSelf requestData];
-            }
-            else {
-                [weakSelf.collectionView.mj_footer endRefreshingWithNoMoreData];
-            }
-        }];
-    }
-    return self;
-}
-
-- (void)endRefresh {
-    [self.collectionView.mj_header endRefreshing];
-    [self.collectionView.mj_footer endRefreshing];
-}
-
-- (void)refreshAndRequestData {
-    [self resetParamenter];
-    [self requestData];
-}
-
-- (void)resetParamenter {
-    self.isLoadMore = YES;
-    self.pages = 1;
-    self.rows = 10;
-    self.dataArray = [NSMutableArray array];
-    [self.collectionView.mj_footer resetNoMoreData];
-    [self setPromptString:@"暂无课程" imageName:@"empty_course" inView:self.collectionView];
-    [self.collectionView reloadData];
-}
-
-- (void)requestData {
-    
-    [KSNetworkingManager videoLessonGroupRequest:KS_POST lessonSubject:self.subjectId search:self.search page:self.pages rows:self.rows success:^(NSDictionary * _Nonnull dic) {
-        [self endRefresh];
-        if ([dic ks_integerValueForKey:@"code"] == 200 && [dic ks_boolValueForKey:@"status"]) {
-            NSArray *sourceArray = [[dic ks_dictionaryValueForKey:@"data"] ks_arrayValueForKey:@"rows"];
-            for (NSDictionary *parm in sourceArray) {
-                VideoCourseModel *model = [[VideoCourseModel alloc] initWithDictionary:parm];
-                [self.dataArray addObject:model];
-            }
-            
-            if (sourceArray.count < self.rows) {
-                self.isLoadMore = NO;
-            }
-        }
-        else {
-            [LOADING_MANAGER MBShowAUTOHidingInWindow:MESSAGEKEY];
-        }
-        [self.collectionView reloadData];
-        [self changePromptLabelStateWithArray:self.dataArray];
-    } faliure:^(NSError * _Nonnull error) {
-        [self endRefresh];
-        if (self.networkAvaiable == NO) {
-            [self setPromptString:@"暂无网络" imageName:@"no_networking" inView:self.collectionView];
-        }
-        [self.dataArray removeAllObjects];
-        [self.collectionView reloadData];
-        [self changePromptLabelStateWithArray:self.dataArray];
-    }];
-}
-
-- (void)beginRefreshImmediately {
-    [self.collectionView.mj_header beginRefreshing];
-}
-
-- (void)selectCellAtIndexPath:(NSIndexPath *)indexPath {
-    
-    if (self.lastSelectedIndexPath == indexPath) {
-        return;
-    }
-    if (self.lastSelectedIndexPath != nil) {
-        UICollectionViewCell *cell = [self.collectionView cellForItemAtIndexPath:self.lastSelectedIndexPath];
-        [cell setSelected:NO];
-    }
-    UICollectionViewCell *cell = [self.collectionView cellForItemAtIndexPath:indexPath];
-    [cell setSelected:YES];
-    self.lastSelectedIndexPath = indexPath;
-}
-
-- (void)layoutSubviews {
-    [super layoutSubviews];
-    CGFloat topHeight = 50.0f;
-    self.collectionView.frame = CGRectMake(0, topHeight, self.bounds.size.width, self.bounds.size.height - topHeight);
-    if (!_sortView) {
-        _sortView = [MyVideoSearchView shareInstance];
-        _sortView.frame = CGRectMake(0, 0, KPortraitWidth, 50);
-        MJWeakSelf;
-        [_sortView sortAction:^{
-            [weakSelf showSortView];
-        }];
-
-        [self addSubview:self.sortView];
-    }
-}
-
-- (void)showSortView {
-    if (self.subjectList.count) {
-        NSMutableArray *nameArray = [NSMutableArray array];
-        [nameArray addObject:@"全部"];
-        for (NSDictionary *parm in self.subjectList) {
-            [nameArray addObject:[parm ks_stringValueForKey:@"subjectName"]];
-        }
-        MJWeakSelf;
-        KSChoosePicker *picker = [[KSChoosePicker alloc] initWithTitle:@"声部筛选" sourceData:nameArray lastChooseIndex:0 sureButtonColor:CLIENT_THEMECOLOR chooseReturnWithBlock:^(NSString * _Nonnull returnValue, NSInteger chooseIndex) {
-            if (chooseIndex == 0) {
-                weakSelf.sortView.sortTitleLabel.text = @"全部声部";
-                weakSelf.subjectId = nil;
-            }
-            else {
-                weakSelf.sortView.sortTitleLabel.text = returnValue;
-                NSDictionary *parm = self.subjectList[chooseIndex-1];
-                weakSelf.subjectId = [parm ks_stringValueForKey:@"subjectId"];
-            }
-            self.sortView.arrowUp = NO;
-            [weakSelf refreshAndRequestData];
-        } cancel:^{
-            self.sortView.arrowUp = NO;
-        }];
-        [picker showPicker];
-    }
-    else {
-        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"无声部信息"];
-        self.sortView.arrowUp = NO;
-    }
-}
-
-- (void)beginFirstRefresh {
-    if (!self.isHeaderRefreshed) {
-        [self beginRefreshImmediately];
-    }
-}
-#pragma mark ----- collection view
-- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
-    return 1;
-}
-- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
-    return self.dataArray.count;
-}
-
-- (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
-    VideoCourseCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"VideoCourseCell" forIndexPath:indexPath];
-    
-    VideoCourseModel *model = [self.dataArray objectAtIndex:indexPath.row];
-    [cell configSourceModel:model isInCheck:NO];
-    return cell;
-}
-
-- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
-    VideoCourseModel *model = [self.dataArray objectAtIndex:indexPath.row];
-    NSString *url = [NSString stringWithFormat:@"%@%@%@", WEBHOST, @"/#/videoDetail?groupId=",model.internalBaseClassIdentifier];
-    KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
-    ctrl.url = url;
-    [self.naviController pushViewController:ctrl animated:YES];
-}
-
-- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
-    return CGSizeMake((NSInteger)(KPortraitWidth - 28 - 11) / 2, 200);
-}
-/**
- 设置没有数据时的显示
- 
- @param promptString 提示语
- @param imgName 图片名称
- @param view 显示在什么地方
- */
-- (void)setPromptString:(NSString *)promptString imageName:(NSString *)imgName inView:(UIView *)view {
-    if (self.promptView != nil) {
-        [self.promptView removeFromSuperview];
-    }
-    else {
-        self.promptView = [[StateView alloc]init];
-        self.promptView.frame = CGRectMake(0, 0, KPortraitWidth, KPortraitHeight - 300);
-    }
-    _promptPlaceView = view;
-    //当请求不到数据时 ,自定义提示view 将会出现;
-    self.promptView.imageName = imgName;
-    self.promptView.alpha = 0.0f;
-    [self.promptView setText:promptString];
-    [view addSubview:self.promptView];
-}
-
-// 结束刷新后调用方法
-- (void)changePromptLabelStateWithArray:(NSMutableArray *)array {
-    NSInteger count;
-    if (array.count) {
-        count = array.count;
-    } else {
-        count = 0;
-    }
-    
-    [UIView animateWithDuration:0.1 animations:^{
-        [[self promptView] setAlpha:count ? 0.0f :1.0f ] ;
-        
-    }] ;
-    
-}
-
-- (BOOL)networkAvaiable {
-    return [self checkNetworkAvaiable];
-}
-
-- (BOOL)checkNetworkAvaiable {
-    BOOL isExistenceNetwork = YES;
-    Reachability *reach = [Reachability reachabilityWithHostName:@"www.apple.com"];
-    switch ([reach currentReachabilityStatus]) {
-        case NotReachable:
-            isExistenceNetwork = NO;
-            //NSLog(@"notReachable");
-            break;
-        case ReachableViaWiFi:
-            isExistenceNetwork = YES;
-            //NSLog(@"WIFI");
-            break;
-        case ReachableViaWWAN:
-            isExistenceNetwork = YES;
-            //NSLog(@"3G");
-            break;
-    }
-    return isExistenceNetwork;
-}
-
-
-
-- (NSMutableArray *)dataArray {
-    if (!_dataArray) {
-        _dataArray = [NSMutableArray array];
-    }
-    return _dataArray;
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 26
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.h

@@ -1,26 +0,0 @@
-//
-//  MyVideoSearchView.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/18.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void(^VideoSearchCallback)(void);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface MyVideoSearchView : UIView
-
-@property (weak, nonatomic) IBOutlet UILabel *sortTitleLabel;
-
-@property (nonatomic, assign) BOOL arrowUp;
-
-+ (instancetype)shareInstance;
-
-- (void)sortAction:(VideoSearchCallback)callback;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 56
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.m

@@ -1,56 +0,0 @@
-//
-//  MyVideoSearchView.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2022/4/18.
-//
-
-#import "MyVideoSearchView.h"
-
-@interface MyVideoSearchView ()
-
-@property (weak, nonatomic) IBOutlet UIImageView *arrowImage;
-
-@property (nonatomic, copy) VideoSearchCallback callback;
-
-@end
-
-@implementation MyVideoSearchView
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    self.arrowUp = NO;
-}
-
-+ (instancetype)shareInstance {
-    MyVideoSearchView *view = [[[NSBundle mainBundle] loadNibNamed:@"MyVideoSearchView" owner:nil options:nil] firstObject];
-    return view;
-}
-
-- (void)sortAction:(VideoSearchCallback)callback {
-    if (callback) {
-        self.callback = callback;
-    }
-}
-
-- (void)setArrowUp:(BOOL)arrowUp {
-    _arrowUp = arrowUp;
-    NSString *imageName = arrowUp ? @"sort_up" : @"sort_down";
-    [_arrowImage setImage:[UIImage imageNamed:imageName]];
-}
-
-- (IBAction)buttonClickAction:(id)sender {
-    if (self.callback) {
-        self.callback();
-    }
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 59
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/MyVideoSearchView.xib

@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MyVideoSearchView">
-            <rect key="frame" x="0.0" y="0.0" width="414" height="68"/>
-            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-            <subviews>
-                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全部声部" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="83Y-CJ-rl9">
-                    <rect key="frame" x="14" y="24" width="57.5" height="20"/>
-                    <constraints>
-                        <constraint firstAttribute="height" constant="20" id="jz6-Eh-bv8"/>
-                    </constraints>
-                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
-                    <nil key="highlightedColor"/>
-                </label>
-                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down" translatesAutoresizingMaskIntoConstraints="NO" id="Qnv-gf-35O">
-                    <rect key="frame" x="77.5" y="31" width="8" height="6"/>
-                </imageView>
-                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RSG-G5-NY6">
-                    <rect key="frame" x="14" y="17" width="71.5" height="34"/>
-                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                    <connections>
-                        <action selector="buttonClickAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="UD9-7X-fvK"/>
-                    </connections>
-                </button>
-            </subviews>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <constraints>
-                <constraint firstItem="83Y-CJ-rl9" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="2Qn-zI-ggO"/>
-                <constraint firstItem="Qnv-gf-35O" firstAttribute="centerY" secondItem="RSG-G5-NY6" secondAttribute="centerY" id="40q-wN-1Mw"/>
-                <constraint firstItem="Qnv-gf-35O" firstAttribute="leading" secondItem="83Y-CJ-rl9" secondAttribute="trailing" constant="6" id="4jV-hI-8XX"/>
-                <constraint firstItem="Qnv-gf-35O" firstAttribute="centerY" secondItem="83Y-CJ-rl9" secondAttribute="centerY" id="6Hz-mC-791"/>
-                <constraint firstItem="83Y-CJ-rl9" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="DwU-ME-nbE"/>
-                <constraint firstItem="Qnv-gf-35O" firstAttribute="trailing" secondItem="RSG-G5-NY6" secondAttribute="trailing" id="Ssn-xe-f1k"/>
-                <constraint firstItem="83Y-CJ-rl9" firstAttribute="leading" secondItem="RSG-G5-NY6" secondAttribute="leading" id="aAw-eb-8kF"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="arrowImage" destination="Qnv-gf-35O" id="daH-V6-SNb"/>
-                <outlet property="sortTitleLabel" destination="83Y-CJ-rl9" id="d1k-0Z-mv0"/>
-            </connections>
-            <point key="canvasLocation" x="131.8840579710145" y="-108.48214285714285"/>
-        </view>
-    </objects>
-    <resources>
-        <image name="sort_down" width="8" height="6"/>
-    </resources>
-</document>

+ 0 - 19
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.h

@@ -1,19 +0,0 @@
-//
-//  VideoCourseCell.h
-//  KulexiuForTeacher
-//
-//  Created by Kyle on 2022/3/29.
-//
-
-#import <UIKit/UIKit.h>
-#import "VideoCourseModel.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface VideoCourseCell : UICollectionViewCell
-
-- (void)configSourceModel:(VideoCourseModel *)model isInCheck:(BOOL)isCheck;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 76
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.m

@@ -1,76 +0,0 @@
-//
-//  VideoCourseCell.m
-//  KulexiuForTeacher
-//
-//  Created by Kyle on 2022/3/29.
-//
-
-#import "VideoCourseCell.h"
-
-@interface VideoCourseCell ()
-
-@property (weak, nonatomic) IBOutlet UIImageView *coverImage;
-
-@property (weak, nonatomic) IBOutlet UILabel *courseTitle;
-
-@property (weak, nonatomic) IBOutlet UIImageView *teacherAvatar;
-
-@property (weak, nonatomic) IBOutlet UILabel *teacherName;
-
-@property (weak, nonatomic) IBOutlet UILabel *courseMessage;
-
-@property (weak, nonatomic) IBOutlet UIView *descView;
-@property (weak, nonatomic) IBOutlet UILabel *descLabel;
-@property (weak, nonatomic) IBOutlet UILabel *subjectLabel;
-@property (weak, nonatomic) IBOutlet UILabel *courseCount;
-
-@end
-
-@implementation VideoCourseCell
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    // Initialization code
-}
-
-- (void)configSourceModel:(VideoCourseModel *)model isInCheck:(BOOL)isCheck {
-    [self.coverImage sd_setImageWithURL:[NSURL URLWithString:[model.lessonCoverUrl getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:@"video_placeholder"]];
-    self.courseTitle.text = [NSString returnNoNullStringWithString:model.lessonName];
-    [self.teacherAvatar sd_setImageWithURL:[NSURL URLWithString:[model.avatar getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:TEACHER_AVATAR]];
-    if ([NSString isEmptyString:model.userName]) {
-        self.teacherName.text = [NSString stringWithFormat:@"游客%.0f",model.teacherId];
-    }
-    else {
-        self.teacherName.text = model.userName;
-    }
-    
-   
-    self.subjectLabel.text = [NSString returnNoNullStringWithString:model.lessonSubjectName];
-    
-    if ([model.payType isEqualToString:@"VIP"]) {
-        self.courseMessage.text = @"会员";
-        self.courseMessage.textColor = HexRGB(0xC76E21);
-    }
-    else if ([model.payType isEqualToString:@"PAY"]) {
-        if (model.lessonPrice > 0) {
-            self.courseMessage.textColor = HexRGB(0xFF0000);
-            NSString *text = [NSString  stringWithFormat:@"¥%.2f",model.lessonPrice];
-            NSMutableAttributedString *attrs = [[NSMutableAttributedString alloc] initWithString:text attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:18.0f weight:UIFontWeightMedium],NSForegroundColorAttributeName:HexRGB(0xFF0000)}];
-            [attrs addAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14.0f weight:UIFontWeightMedium]} range:[text rangeOfString:@"¥"]];
-            self.courseMessage.attributedText = attrs;
-        }
-        else {
-            self.courseMessage.text = @"免费";
-            self.courseMessage.textColor = HexRGB(0x20BEA0);
-        }
-    }
-    else {
-        self.courseMessage.text = @"";
-    }
-    
-    self.courseCount.text = [NSString stringWithFormat:@"/ %.0f课时",model.lessonCount];
-    self.descLabel.text = [NSString stringWithFormat:@"%.0f人学习",model.countStudent];
-
-}
-
-@end

+ 0 - 187
KulexiuForStudent/KulexiuForStudent/Module/Mine/MineCourse/View/VideoCourseCell.xib

@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="VideoCourseCell">
-            <rect key="frame" x="0.0" y="0.0" width="168" height="200"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
-                <rect key="frame" x="0.0" y="0.0" width="168" height="200"/>
-                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-                <subviews>
-                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZgA-i1-RHm">
-                        <rect key="frame" x="0.0" y="0.0" width="168" height="200"/>
-                        <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="video_placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="G9V-fH-gog">
-                                <rect key="frame" x="0.0" y="0.0" width="168" height="111"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="111" id="6CZ-fO-O3c"/>
-                                </constraints>
-                            </imageView>
-                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pzA-yf-E6E">
-                                <rect key="frame" x="8" y="6" width="6" height="13"/>
-                                <subviews>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZMN-zF-fWY">
-                                        <rect key="frame" x="3" y="0.0" width="0.0" height="13"/>
-                                        <constraints>
-                                            <constraint firstAttribute="height" constant="13" id="Sgn-de-gJc"/>
-                                        </constraints>
-                                        <fontDescription key="fontDescription" type="system" pointSize="9"/>
-                                        <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                                        <nil key="highlightedColor"/>
-                                    </label>
-                                </subviews>
-                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="calibratedRGB"/>
-                                <constraints>
-                                    <constraint firstItem="ZMN-zF-fWY" firstAttribute="top" secondItem="pzA-yf-E6E" secondAttribute="top" id="Ksn-cA-LA3"/>
-                                    <constraint firstAttribute="bottom" secondItem="ZMN-zF-fWY" secondAttribute="bottom" id="VAu-HY-MS4"/>
-                                    <constraint firstItem="ZMN-zF-fWY" firstAttribute="leading" secondItem="pzA-yf-E6E" secondAttribute="leading" constant="3" id="ZTK-ri-GhB"/>
-                                    <constraint firstAttribute="trailing" secondItem="ZMN-zF-fWY" secondAttribute="trailing" constant="3" id="tXk-6b-oAm"/>
-                                </constraints>
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                        <real key="value" value="1"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                            </view>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yCS-l4-WAt">
-                                <rect key="frame" x="11" y="117" width="146" height="0.0"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yib-mA-6Ou">
-                                <rect key="frame" x="9" y="151" width="0.0" height="20"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="20" id="fo4-3I-tde"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
-                                <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="teacher_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="3il-XM-fqj">
-                                <rect key="frame" x="11" y="122" width="20" height="20"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="20" id="1af-AW-k6Y"/>
-                                    <constraint firstAttribute="height" constant="20" id="Y9m-cV-JYR"/>
-                                </constraints>
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                        <real key="value" value="10"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                            </imageView>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wbK-Jo-ZbH">
-                                <rect key="frame" x="36" y="132" width="0.0" height="0.0"/>
-                                <fontDescription key="fontDescription" type="system" pointSize="12"/>
-                                <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bIp-3Q-l9m">
-                                <rect key="frame" x="42" y="122" width="116" height="20"/>
-                                <subviews>
-                                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="00e-da-LHX">
-                                        <rect key="frame" x="0.0" y="4.5" width="1" height="11"/>
-                                        <color key="backgroundColor" red="0.82745098039215681" green="0.82745098039215681" blue="0.82745098039215681" alpha="1" colorSpace="calibratedRGB"/>
-                                        <constraints>
-                                            <constraint firstAttribute="width" constant="1" id="DB4-3O-ysi"/>
-                                            <constraint firstAttribute="height" constant="11" id="WC2-EJ-sEy"/>
-                                        </constraints>
-                                    </view>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Spj-bd-Syo">
-                                        <rect key="frame" x="7" y="10" width="0.0" height="0.0"/>
-                                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
-                                        <color key="textColor" red="1" green="0.50196078431372548" blue="0.17254901960784313" alpha="1" colorSpace="calibratedRGB"/>
-                                        <nil key="highlightedColor"/>
-                                    </label>
-                                </subviews>
-                                <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                                <constraints>
-                                    <constraint firstItem="Spj-bd-Syo" firstAttribute="leading" secondItem="00e-da-LHX" secondAttribute="trailing" constant="6" id="DcA-GQ-uex"/>
-                                    <constraint firstItem="00e-da-LHX" firstAttribute="leading" secondItem="bIp-3Q-l9m" secondAttribute="leading" id="PAd-8V-fS6"/>
-                                    <constraint firstItem="Spj-bd-Syo" firstAttribute="centerY" secondItem="bIp-3Q-l9m" secondAttribute="centerY" id="bcy-rr-kIP"/>
-                                    <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Spj-bd-Syo" secondAttribute="trailing" constant="2" id="eRd-Ja-Uy9"/>
-                                    <constraint firstAttribute="height" constant="20" id="hgn-YW-c4O"/>
-                                    <constraint firstItem="00e-da-LHX" firstAttribute="centerY" secondItem="bIp-3Q-l9m" secondAttribute="centerY" id="sCN-Nb-Z2j"/>
-                                </constraints>
-                            </view>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="/ 4课时" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fbm-h3-8Sk">
-                                <rect key="frame" x="13" y="151" width="47.5" height="20"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="20" id="K5n-OH-ZXE"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                        </subviews>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                        <constraints>
-                            <constraint firstItem="yCS-l4-WAt" firstAttribute="leading" secondItem="ZgA-i1-RHm" secondAttribute="leading" constant="11" id="1Ls-Wb-fRT"/>
-                            <constraint firstItem="pzA-yf-E6E" firstAttribute="top" secondItem="G9V-fH-gog" secondAttribute="top" constant="6" id="3jk-XG-svu"/>
-                            <constraint firstItem="G9V-fH-gog" firstAttribute="top" secondItem="ZgA-i1-RHm" secondAttribute="top" id="5ix-vd-TUM"/>
-                            <constraint firstItem="Yib-mA-6Ou" firstAttribute="leading" secondItem="ZgA-i1-RHm" secondAttribute="leading" constant="9" id="74G-dg-JPA"/>
-                            <constraint firstItem="G9V-fH-gog" firstAttribute="leading" secondItem="ZgA-i1-RHm" secondAttribute="leading" id="9e1-eo-OKH"/>
-                            <constraint firstItem="pzA-yf-E6E" firstAttribute="leading" secondItem="G9V-fH-gog" secondAttribute="leading" constant="8" id="9vy-mp-5yR"/>
-                            <constraint firstItem="yCS-l4-WAt" firstAttribute="top" secondItem="G9V-fH-gog" secondAttribute="bottom" constant="6" id="EOx-Xx-BzN"/>
-                            <constraint firstItem="3il-XM-fqj" firstAttribute="top" secondItem="yCS-l4-WAt" secondAttribute="bottom" constant="5" id="Jjh-pl-Duz"/>
-                            <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="fbm-h3-8Sk" secondAttribute="trailing" constant="12" id="Knq-Oz-gVT"/>
-                            <constraint firstAttribute="trailing" secondItem="yCS-l4-WAt" secondAttribute="trailing" constant="11" id="N8r-qo-ZmS"/>
-                            <constraint firstItem="3il-XM-fqj" firstAttribute="leading" secondItem="ZgA-i1-RHm" secondAttribute="leading" constant="11" id="P7e-LF-pGN"/>
-                            <constraint firstItem="wbK-Jo-ZbH" firstAttribute="centerY" secondItem="3il-XM-fqj" secondAttribute="centerY" id="TWM-PS-Pnk"/>
-                            <constraint firstItem="Yib-mA-6Ou" firstAttribute="top" secondItem="3il-XM-fqj" secondAttribute="bottom" constant="9" id="TeL-Vw-ZDm"/>
-                            <constraint firstItem="fbm-h3-8Sk" firstAttribute="centerY" secondItem="Yib-mA-6Ou" secondAttribute="centerY" id="cJD-TO-yuZ"/>
-                            <constraint firstItem="fbm-h3-8Sk" firstAttribute="leading" secondItem="Yib-mA-6Ou" secondAttribute="trailing" constant="4" id="g3a-ek-Gz7"/>
-                            <constraint firstItem="wbK-Jo-ZbH" firstAttribute="leading" secondItem="3il-XM-fqj" secondAttribute="trailing" constant="5" id="gE4-f5-Im6"/>
-                            <constraint firstItem="bIp-3Q-l9m" firstAttribute="leading" secondItem="wbK-Jo-ZbH" secondAttribute="trailing" constant="6" id="ort-Rw-FuH"/>
-                            <constraint firstAttribute="trailing" secondItem="bIp-3Q-l9m" secondAttribute="trailing" constant="10" id="rAH-2L-iRc"/>
-                            <constraint firstAttribute="trailing" secondItem="G9V-fH-gog" secondAttribute="trailing" id="sWA-Zo-Iyz"/>
-                            <constraint firstItem="bIp-3Q-l9m" firstAttribute="centerY" secondItem="wbK-Jo-ZbH" secondAttribute="centerY" id="yTm-Tw-5qJ"/>
-                        </constraints>
-                    </view>
-                </subviews>
-            </view>
-            <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
-            <constraints>
-                <constraint firstItem="ZgA-i1-RHm" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="NcT-mF-toU"/>
-                <constraint firstAttribute="bottom" secondItem="ZgA-i1-RHm" secondAttribute="bottom" id="TwI-2v-j0t"/>
-                <constraint firstItem="ZgA-i1-RHm" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="iHB-AW-C7d"/>
-                <constraint firstAttribute="trailing" secondItem="ZgA-i1-RHm" secondAttribute="trailing" id="jjA-3j-GiE"/>
-            </constraints>
-            <size key="customSize" width="229" height="243"/>
-            <userDefinedRuntimeAttributes>
-                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                    <real key="value" value="5"/>
-                </userDefinedRuntimeAttribute>
-            </userDefinedRuntimeAttributes>
-            <connections>
-                <outlet property="courseCount" destination="fbm-h3-8Sk" id="WQf-du-Enu"/>
-                <outlet property="courseMessage" destination="Yib-mA-6Ou" id="hPM-ZS-6ZL"/>
-                <outlet property="courseTitle" destination="yCS-l4-WAt" id="1Wb-8W-iHt"/>
-                <outlet property="coverImage" destination="G9V-fH-gog" id="8HX-tu-M6Z"/>
-                <outlet property="descLabel" destination="Spj-bd-Syo" id="nNb-i0-kTJ"/>
-                <outlet property="descView" destination="bIp-3Q-l9m" id="dqb-bI-PbZ"/>
-                <outlet property="subjectLabel" destination="ZMN-zF-fWY" id="dJ2-fu-kOV"/>
-                <outlet property="teacherAvatar" destination="3il-XM-fqj" id="cCU-eN-inL"/>
-                <outlet property="teacherName" destination="wbK-Jo-ZbH" id="hq7-Jt-Ikb"/>
-            </connections>
-            <point key="canvasLocation" x="260.86956521739131" y="22.098214285714285"/>
-        </collectionViewCell>
-    </objects>
-    <resources>
-        <image name="teacher_avatar" width="150" height="150"/>
-        <image name="video_placeholder" width="103" height="72"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
-</document>