Browse Source

达人修改为老师

Steven 5 months ago
parent
commit
fba3553f5e
26 changed files with 239 additions and 66 deletions
  1. 10 0
      KulexiuForTeacher/KulexiuForTeacher.xcodeproj/project.pbxproj
  2. 1 2
      KulexiuForTeacher/KulexiuForTeacher/Common/Base/AuthDisplayView.xib
  3. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Home/Music/Controller/MyMusicViewController.m
  4. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Home/Music/View/MyMusicBodyView.m
  5. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.h
  6. 3 3
      KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.m
  7. 10 10
      KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.xib
  8. 4 4
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/Controller/MineViewController.m
  9. 20 4
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/MyStyleViewController.m
  10. 19 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.h
  11. 44 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.m
  12. 85 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.xib
  13. 7 7
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.xib
  14. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/LiveCourse/Controller/MyLiveCourseViewController.m
  15. 2 2
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/LiveCourse/View/MyLiveCourseBodyView.m
  16. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/Controller/MinePageViewController.m
  17. 3 0
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/Controller/MineVipProgramViewController.m
  18. 3 4
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineEmptyVideoCell.xib
  19. 4 4
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageCourseView.m
  20. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageLiveCourse/MinePageLiveCourseView.m
  21. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageVideoView.m
  22. 4 5
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.xib
  23. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/VideoCourse/Controller/VideoCourseViewController.m
  24. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/VideoCourse/View/VideoListBodyView.m
  25. 10 11
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/View/BadgeIntroduceView.xib
  26. 1 1
      KulexiuForTeacher/KulexiuForTeacher/Module/Mine/View/MineActionView.h

+ 10 - 0
KulexiuForTeacher/KulexiuForTeacher.xcodeproj/project.pbxproj

@@ -1181,6 +1181,8 @@
 		BCF7EB372C856C53006AA38C /* ScanLoginBodyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF7EB312C856C53006AA38C /* ScanLoginBodyView.xib */; };
 		BCF8A6192CF4844E00DA435B /* FansGroupEmptyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF8A6182CF4844E00DA435B /* FansGroupEmptyView.m */; };
 		BCF8A61B2CF4845400DA435B /* FansGroupEmptyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF8A61A2CF4845400DA435B /* FansGroupEmptyView.xib */; };
+		BCF8A61F2CF55FFD00DA435B /* MyStyleTimeSettingCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCF8A61E2CF55FFD00DA435B /* MyStyleTimeSettingCell.xib */; };
+		BCF8A6202CF55FFD00DA435B /* MyStyleTimeSettingCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCF8A61D2CF55FFD00DA435B /* MyStyleTimeSettingCell.m */; };
 		BCFA12732CF4296E005229AC /* MusicGroupStudenListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BCFA12712CF4296E005229AC /* MusicGroupStudenListCell.m */; };
 		BCFA12742CF4296E005229AC /* MusicGroupStudenListCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BCFA12722CF4296E005229AC /* MusicGroupStudenListCell.xib */; };
 		BCFA12772CF44C84005229AC /* GroupCourseStudentModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BCFA12762CF44C84005229AC /* GroupCourseStudentModel.m */; };
@@ -3161,6 +3163,9 @@
 		BCF8A6172CF4844E00DA435B /* FansGroupEmptyView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FansGroupEmptyView.h; sourceTree = "<group>"; };
 		BCF8A6182CF4844E00DA435B /* FansGroupEmptyView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FansGroupEmptyView.m; sourceTree = "<group>"; };
 		BCF8A61A2CF4845400DA435B /* FansGroupEmptyView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = FansGroupEmptyView.xib; sourceTree = "<group>"; };
+		BCF8A61C2CF55FFD00DA435B /* MyStyleTimeSettingCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyStyleTimeSettingCell.h; sourceTree = "<group>"; };
+		BCF8A61D2CF55FFD00DA435B /* MyStyleTimeSettingCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyStyleTimeSettingCell.m; sourceTree = "<group>"; };
+		BCF8A61E2CF55FFD00DA435B /* MyStyleTimeSettingCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyStyleTimeSettingCell.xib; sourceTree = "<group>"; };
 		BCFA12702CF4296E005229AC /* MusicGroupStudenListCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MusicGroupStudenListCell.h; sourceTree = "<group>"; };
 		BCFA12712CF4296E005229AC /* MusicGroupStudenListCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MusicGroupStudenListCell.m; sourceTree = "<group>"; };
 		BCFA12722CF4296E005229AC /* MusicGroupStudenListCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MusicGroupStudenListCell.xib; sourceTree = "<group>"; };
@@ -5915,6 +5920,9 @@
 				BC5EB5B82804083800B4A3B0 /* MyStyleIntroduceCell.h */,
 				BC5EB5B92804083800B4A3B0 /* MyStyleIntroduceCell.m */,
 				BC5EB5BA2804083800B4A3B0 /* MyStyleIntroduceCell.xib */,
+				BCF8A61C2CF55FFD00DA435B /* MyStyleTimeSettingCell.h */,
+				BCF8A61D2CF55FFD00DA435B /* MyStyleTimeSettingCell.m */,
+				BCF8A61E2CF55FFD00DA435B /* MyStyleTimeSettingCell.xib */,
 				BCC03F8A280526B300461B7C /* MyStyleVideoChooseView.h */,
 				BCC03F8B280526B300461B7C /* MyStyleVideoChooseView.m */,
 				BCF61BE5280425DA0000ACFE /* InstrumentChooseCell.h */,
@@ -8351,6 +8359,7 @@
 				BC02BCE728B324C9005CB483 /* LiveDownSeatView.xib in Resources */,
 				BCD6D16728195A98009A773E /* WithdrawApplyBodyView.xib in Resources */,
 				BC5EB5BC2804083800B4A3B0 /* MyStyleIntroduceCell.xib in Resources */,
+				BCF8A61F2CF55FFD00DA435B /* MyStyleTimeSettingCell.xib in Resources */,
 				BC71D1FC2887FDD40010F14B /* img_25.png in Resources */,
 				BCD1607A2CED8EA700A78B43 /* MyProgramCourseGroupCell.xib in Resources */,
 			);
@@ -8512,6 +8521,7 @@
 				277D432827E9A48000107DB7 /* ModifyPhoneChangeController.m in Sources */,
 				275FA56227F31AE100EB6240 /* MinePageHeadView.m in Sources */,
 				BC4823D42C4F8FC0000E5401 /* KSAccompanyDraftViewController.m in Sources */,
+				BCF8A6202CF55FFD00DA435B /* MyStyleTimeSettingCell.m in Sources */,
 				BC76146D280D571B0080FD1F /* HomeworkVideoView.m in Sources */,
 				2755C07427EC905E007D9070 /* GroupMemberModel.m in Sources */,
 				BCECE2252B3D648700C0D555 /* CourseFileDisplayView.m in Sources */,

+ 1 - 2
KulexiuForTeacher/KulexiuForTeacher/Common/Base/AuthDisplayView.xib

@@ -2,7 +2,6 @@
 <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_12" 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>
@@ -20,7 +19,7 @@
                         <constraint firstAttribute="width" constant="260" id="ody-S9-lK6"/>
                     </constraints>
                 </imageView>
-                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您还没有完成达人认证,认证后才可设置趣纠课哦~" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ya2-qu-eeU">
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您还没有完成老师认证,认证后才可设置趣纠课哦~" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ya2-qu-eeU">
                     <rect key="frame" x="141" y="230" width="260" height="36"/>
                     <fontDescription key="fontDescription" type="system" pointSize="15"/>
                     <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Music/Controller/MyMusicViewController.m

@@ -227,7 +227,7 @@
 }
 
 - (void)refreshHeadView {
-    // 刷新达人认证和音乐人认证状态
+    // 刷新老师认证和音乐人认证状态
     [self refreshAuthStatus];
 }
 

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Music/View/MyMusicBodyView.m

@@ -358,7 +358,7 @@
         return @"您已提交认证申请,请耐心等待审核结果~";
     }
     else {
-        return @"您还没有完成达人认证,认证后才可上传曲谱哦~";
+        return @"您还没有完成老师认证,认证后才可上传曲谱哦~";
     }
 }
 

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.h

@@ -10,7 +10,7 @@
 
 typedef NS_ENUM(NSInteger, HOMEHEADACTION) {
     HOMEHEADACTION_DESC,   // 勋章介绍
-    HOMEHEADACTION_AUTH,   // 达人认证
+    HOMEHEADACTION_AUTH,   // 老师认证
     HOMEHEADACTION_EDUCATION, // 学历认证
     HOMEHEADACTION_EDUCATIONFINISH, // 完成认证
     HOMEHEADACTION_SUBJECTCHOOSE, // 声部选择

+ 3 - 3
KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.m

@@ -118,14 +118,14 @@
     else if ([infoMessage.entryStatus isEqualToString:@"DOING"]) { // 认证审核中
         self.authView.backgroundColor = HexRGB(0xEFFBF9);
         [self.authIcon setImage:[UIImage imageNamed:@"authing_icon"]];
-        self.authTitle.text = @"达人审核中";
+        self.authTitle.text = @"老师审核中";
         self.authTitle.textColor = THEMECOLOR;
         [self.nextImage setImage:[UIImage imageNamed:@"auth_next_green"]];
     }
     else if ([infoMessage.entryStatus isEqualToString:@"UNPASS"]) { // 审核失败
         self.authView.backgroundColor = THEMECOLOR;
         [self.authIcon setImage:[UIImage imageNamed:@"auth_nomal_icon"]];
-        self.authTitle.text = @"达人认证";
+        self.authTitle.text = @"老师认证";
         self.authTitle.textColor = [UIColor whiteColor];
         self.failedView.hidden = NO;
         [self.nextImage setImage:[UIImage imageNamed:@"auth_next_white"]];
@@ -133,7 +133,7 @@
     else if ([infoMessage.entryStatus isEqualToString:@"UNPAALY"]) { // 未申请
         self.authView.backgroundColor = THEMECOLOR;
         [self.authIcon setImage:[UIImage imageNamed:@"auth_nomal_icon"]];
-        self.authTitle.text = @"达人认证";
+        self.authTitle.text = @"老师认证";
         self.authTitle.textColor = [UIColor whiteColor];
         [self.nextImage setImage:[UIImage imageNamed:@"auth_next_white"]];
     }

+ 10 - 10
KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeNewHeadView.xib

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<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="21679"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -58,34 +58,34 @@
                     </connections>
                 </view>
                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="勋章" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sUP-ZP-Dxs">
-                    <rect key="frame" x="145" y="5" width="29" height="17"/>
+                    <rect key="frame" x="145" y="5" width="28" height="17"/>
                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
                     <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
                     <nil key="highlightedColor"/>
                 </label>
                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/4" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GIJ-nK-Ul6">
-                    <rect key="frame" x="180" y="5" width="23" height="17"/>
+                    <rect key="frame" x="179" y="5" width="23" height="17"/>
                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
                     <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="Jce-l2-nVi">
-                    <rect key="frame" x="391" y="35" width="116" height="30"/>
+                    <rect key="frame" x="393" y="35" width="114" height="30"/>
                     <subviews>
                         <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="auth_nomal_icon" translatesAutoresizingMaskIntoConstraints="NO" id="l7x-is-S7Y">
                             <rect key="frame" x="9" y="5" width="20" height="20"/>
                         </imageView>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="达人认证" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H6Y-EP-j6O">
-                            <rect key="frame" x="33" y="6.5" width="58" 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="H6Y-EP-j6O">
+                            <rect key="frame" x="33" y="6.5" width="56" height="17"/>
                             <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
                             <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                             <nil key="highlightedColor"/>
                         </label>
                         <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="auth_next_white" translatesAutoresizingMaskIntoConstraints="NO" id="cln-Cb-asa">
-                            <rect key="frame" x="99" y="10.5" width="6" height="9"/>
+                            <rect key="frame" x="97" y="10.5" width="6" height="9"/>
                         </imageView>
                         <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZBc-68-Goe">
-                            <rect key="frame" x="0.0" y="0.0" width="116" height="30"/>
+                            <rect key="frame" x="0.0" y="0.0" width="114" height="30"/>
                             <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                             <connections>
                                 <action selector="authAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="zIJ-3f-QYu"/>
@@ -133,7 +133,7 @@
                     </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="nDP-6c-WeM">
-                    <rect key="frame" x="375" y="6" width="37" height="15"/>
+                    <rect key="frame" x="382" y="6" width="30" height="15"/>
                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
                     <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
                     <nil key="highlightedColor"/>

+ 4 - 4
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/Controller/MineViewController.m

@@ -312,7 +312,7 @@
 
 - (void)operationAction:(MINEVIEWTYPE)type {
     switch (type) {
-        case MINEVIEWTYPE_AUTH: // 达人认证
+        case MINEVIEWTYPE_AUTH: // 老师认证
         {
             KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
             webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
@@ -321,7 +321,7 @@
             break;
         case MINEVIEWTYPE_HOMEPAGE: // 我的主页
         {
-            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
+            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转老师认证
                 KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
                 webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
                 [self.navigationController pushViewController:webCtrl animated:YES];
@@ -341,7 +341,7 @@
             break;
         case MINEVIEWTYPE_MIEN: // 个人风采
         {
-            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
+            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转老师认证
                 KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
                 webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
                 [self.navigationController pushViewController:webCtrl animated:YES];
@@ -375,7 +375,7 @@
             break;
         case MINEVIEWTYPE_ACCOMPANY: // 趣纠课设置
         {
-            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
+            if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转老师认证
                 KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
                 webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
                 [self.navigationController pushViewController:webCtrl animated:YES];

+ 20 - 4
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/Controller/MyStyleViewController.m

@@ -25,6 +25,8 @@
 #import "UserAuthViewController.h"
 #import "ModifyNameViewController.h"
 #import "LiveRoomAlertView.h"
+#import "MyStyleTimeSettingCell.h"
+#import "KSBaseWKWebViewController.h"
 
 @interface MyStyleViewController ()<UITableViewDelegate,UITableViewDataSource,WMPlayerDelegate,RSKImageCropViewControllerDelegate,RSKImageCropViewControllerDataSource>
 {
@@ -56,8 +58,6 @@
 
 @property (nonatomic, assign) BOOL hasModifyVideoImage;
 
-@property (nonatomic, strong) NSMutableArray *fansGroupArray;
-
 @property (nonatomic, strong) UserInfo *mineInfo;
 
 @property (nonatomic, strong) MyStyleEditHeadView *infoHeadView;
@@ -69,6 +69,8 @@
 
 @property (nonatomic, assign) BOOL isModifyAvatal;
 
+@property (nonatomic, assign) BOOL hasSetting;
+
 @end
 
 @implementation MyStyleViewController
@@ -237,7 +239,7 @@
 
 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
 
-    return 3;
+    return 4;
 }
 
 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
@@ -272,6 +274,14 @@
         return cell;
     }
     else if (indexPath.row == 1) {
+        MyStyleTimeSettingCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleTimeSettingCell"];
+        MJWeakSelf;
+        [cell configWithSettingType:self.hasSetting callback:^{
+            [weakSelf showSettingWeb];
+        }];
+        return cell;
+    }
+    else if (indexPath.row == 2) {
         MyStyleIntroduceCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyStyleIntroduceCell"];
         MJWeakSelf;
         [cell configWithIntroduceMessage:self.content modifyCallback:^(NSString * _Nullable content) {
@@ -291,6 +301,11 @@
     }
 }
 
+- (void)showSettingWeb {
+//    KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
+//    [self.navigationController pushViewController:webCtrl animated:YES];
+}
+
 - (void)opreationVideoCell:(STYLEVIDEO)type container:(UIView *)container {
     switch (type) {
         case STYLEVIDEO_CHOOSEFILE:
@@ -601,7 +616,8 @@
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleInstrumentCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleInstrumentCell"];
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleIntroduceCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleIntroduceCell"];
         [_tableView registerNib:[UINib nibWithNibName:@"MyStyleVideoCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleVideoCell"];
-        [_tableView registerNib:[UINib nibWithNibName:@"MineFansGroupCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MineFansGroupCell"];
+        [_tableView registerNib:[UINib nibWithNibName:@"MyStyleTimeSettingCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"MyStyleTimeSettingCell"];
+        
         
     }
     return _tableView;

+ 19 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.h

@@ -0,0 +1,19 @@
+//
+//  MyStyleTimeSettingCell.h
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2024/11/26.
+//
+
+#import <UIKit/UIKit.h>
+
+typedef void(^ChooseTimeCallback)(void);
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MyStyleTimeSettingCell : UITableViewCell
+
+- (void)configWithSettingType:(BOOL)hasSetting callback:(ChooseTimeCallback)callback;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 44 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.m

@@ -0,0 +1,44 @@
+//
+//  MyStyleTimeSettingCell.m
+//  KulexiuForTeacher
+//
+//  Created by 王智 on 2024/11/26.
+//
+
+#import "MyStyleTimeSettingCell.h"
+
+@interface MyStyleTimeSettingCell ()
+
+@property (weak, nonatomic) IBOutlet UILabel *timeStatusLabel;
+
+@property (nonatomic, copy) ChooseTimeCallback callback;
+
+@end
+
+@implementation MyStyleTimeSettingCell
+
+- (void)awakeFromNib {
+    [super awakeFromNib];
+    // Initialization code
+    self.selectionStyle = UITableViewCellSelectionStyleNone;
+}
+
+- (void)configWithSettingType:(BOOL)hasSetting callback:(ChooseTimeCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+    if (hasSetting) {
+        self.timeStatusLabel.text = @"已设置";
+    }
+    else {
+        self.timeStatusLabel.text = @"未设置";
+    }
+}
+
+- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
+    [super setSelected:selected animated:animated];
+
+    // Configure the view for the selected state
+}
+
+@end

+ 85 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/MyStyleTimeSettingCell.xib

@@ -0,0 +1,85 @@
+<?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" useSafeAreas="YES" colorMatched="YES">
+    <device id="retina6_12" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.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="67" id="KGk-i7-Jjw" customClass="MyStyleTimeSettingCell">
+            <rect key="frame" x="0.0" y="0.0" width="375" height="69"/>
+            <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="375" height="69"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
+                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GCU-h5-JEn">
+                        <rect key="frame" x="14" y="0.0" width="347" height="57"/>
+                        <subviews>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="可约课时间段" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VQ0-Tg-gv9">
+                                <rect key="frame" x="13.999999999999993" y="16" width="107.33333333333331" height="25"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="25" id="5yk-pq-UJc"/>
+                                </constraints>
+                                <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
+                                <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                <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="KUl-wI-F45">
+                                <rect key="frame" x="257.33333333333331" y="18.666666666666668" width="47.666666666666686" height="20.000000000000004"/>
+                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                <color key="textColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                <nil key="highlightedColor"/>
+                            </label>
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="styleEdit_next" translatesAutoresizingMaskIntoConstraints="NO" id="gsj-ET-gAd">
+                                <rect key="frame" x="328" y="25" width="5" height="7"/>
+                            </imageView>
+                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wLT-Er-49O">
+                                <rect key="frame" x="257.33333333333331" y="0.0" width="89.666666666666686" height="57"/>
+                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                            </button>
+                        </subviews>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                        <constraints>
+                            <constraint firstAttribute="bottom" secondItem="wLT-Er-49O" secondAttribute="bottom" id="2FB-xu-bhL"/>
+                            <constraint firstItem="gsj-ET-gAd" firstAttribute="leading" secondItem="KUl-wI-F45" secondAttribute="trailing" constant="23" id="Crg-qj-owz"/>
+                            <constraint firstItem="gsj-ET-gAd" firstAttribute="centerY" secondItem="GCU-h5-JEn" secondAttribute="centerY" id="HSF-9C-cSl"/>
+                            <constraint firstItem="wLT-Er-49O" firstAttribute="top" secondItem="GCU-h5-JEn" secondAttribute="top" id="Hnk-rH-jmh"/>
+                            <constraint firstItem="gsj-ET-gAd" firstAttribute="centerY" secondItem="KUl-wI-F45" secondAttribute="centerY" id="Lax-G1-5kQ"/>
+                            <constraint firstItem="VQ0-Tg-gv9" firstAttribute="leading" secondItem="GCU-h5-JEn" secondAttribute="leading" constant="14" id="RPR-x7-rwP"/>
+                            <constraint firstItem="wLT-Er-49O" firstAttribute="leading" secondItem="KUl-wI-F45" secondAttribute="leading" id="eB5-ei-QHv"/>
+                            <constraint firstAttribute="bottom" secondItem="VQ0-Tg-gv9" secondAttribute="bottom" constant="16" id="fCU-YA-2ec"/>
+                            <constraint firstAttribute="trailing" secondItem="wLT-Er-49O" secondAttribute="trailing" id="j6z-9h-PxS"/>
+                            <constraint firstItem="VQ0-Tg-gv9" firstAttribute="top" secondItem="GCU-h5-JEn" secondAttribute="top" constant="16" id="kye-GH-GXd"/>
+                            <constraint firstAttribute="trailing" secondItem="gsj-ET-gAd" secondAttribute="trailing" constant="14" id="w5H-F9-o7e"/>
+                        </constraints>
+                        <userDefinedRuntimeAttributes>
+                            <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                <real key="value" value="10"/>
+                            </userDefinedRuntimeAttribute>
+                        </userDefinedRuntimeAttributes>
+                    </view>
+                </subviews>
+                <constraints>
+                    <constraint firstAttribute="bottom" secondItem="GCU-h5-JEn" secondAttribute="bottom" constant="12" id="0uU-jI-hTX"/>
+                    <constraint firstItem="GCU-h5-JEn" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="AAH-cc-yGr"/>
+                    <constraint firstAttribute="trailing" secondItem="GCU-h5-JEn" secondAttribute="trailing" constant="14" id="JwN-ft-UrZ"/>
+                    <constraint firstItem="GCU-h5-JEn" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="WgJ-kN-ZmM"/>
+                </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="timeStatusLabel" destination="KUl-wI-F45" id="crZ-r8-2gb"/>
+            </connections>
+            <point key="canvasLocation" x="84.732824427480907" y="27.816901408450704"/>
+        </tableViewCell>
+    </objects>
+    <resources>
+        <image name="styleEdit_next" width="5" height="7"/>
+    </resources>
+</document>

+ 7 - 7
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/CreateStyle/View/StyleVideo/MyStyleVideoCell.xib

@@ -1,9 +1,9 @@
 <?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" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="20020"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
         <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"/>
@@ -21,8 +21,8 @@
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hma-vR-10P">
                         <rect key="frame" x="14" y="0.0" width="292" height="252"/>
                         <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="达人风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vsk-ct-XNk">
-                                <rect key="frame" x="14" y="16" width="66" height="25"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="老师风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vsk-ct-XNk">
+                                <rect key="frame" x="14" y="16" width="64" height="25"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="25" id="ZtD-S1-QNK"/>
                                 </constraints>
@@ -45,16 +45,16 @@
                                 </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="jEI-Zs-HdO">
-                                <rect key="frame" x="242" y="18.5" width="33" height="20"/>
+                                <rect key="frame" x="243" y="18.5" width="32" height="20"/>
                                 <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                 <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="styleVideo_add" translatesAutoresizingMaskIntoConstraints="NO" id="6um-Mr-tcw">
-                                <rect key="frame" x="222" y="21.5" width="14" height="14"/>
+                                <rect key="frame" x="223" y="21.5" width="14" height="14"/>
                             </imageView>
                             <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Npg-OK-mig">
-                                <rect key="frame" x="222" y="11.5" width="53" height="34"/>
+                                <rect key="frame" x="223" y="11.5" width="52" height="34"/>
                                 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                 <connections>
                                     <action selector="chooseVideoAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="MC8-rp-vLj"/>

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/LiveCourse/Controller/MyLiveCourseViewController.m

@@ -103,7 +103,7 @@
         [self.navigationController pushViewController:webCtrl animated:YES];
     }
     else if (![self.teacherInfo.entryStatus isEqualToString:@"PASS"]) {
-        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"您还没有完成达人认证,认证后才可创建直播课哦~"];
+        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"您还没有完成老师认证,认证后才可创建直播课哦~"];
     }
     else if ([self.teacherInfo.entryStatus isEqualToString:@"PASS"] && [self.teacherInfo.liveFlag isEqualToString:@"0"]) {
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"您尚未开通直播服务 开通后即可设置直播课~"];

+ 2 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/LiveCourse/View/MyLiveCourseBodyView.m

@@ -450,10 +450,10 @@
         return @"您已提交认证申请,请耐心等待审核结果~";
     }
     else {
-        if ([self.teaherStatus isEqualToString:@"PASS"] && self.liveFlag == NO) { // 如果达人认证通过
+        if ([self.teaherStatus isEqualToString:@"PASS"] && self.liveFlag == NO) { // 如果老师认证通过
             return @"您尚未开通直播服务,开通后即可创建直播课程~";
         }
-        return @"您还没有完成达人认证,认证后才可创建直播课哦~";
+        return @"您还没有完成老师认证,认证后才可创建直播课哦~";
     }
 }
 

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/Controller/MinePageViewController.m

@@ -135,7 +135,7 @@
 
 - (void)refreshHeadView {
     [self.topView configSource:self.teacherInfo];
-    // 刷新达人认证和音乐人认证状态
+    // 刷新老师认证和音乐人认证状态
     [self refreshAuthStatus];
     [self.headView.bgView sd_setImageWithURL:[NSURL URLWithString:[self.teacherInfo.heardUrl getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:TEACHER_AVATAR]];
     [self.pagerView reloadData];

+ 3 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/Controller/MineVipProgramViewController.m

@@ -203,6 +203,9 @@
                 [self backAction];
             }];
         }
+        else {
+            [LOADING_MANAGER MBShowAUTOHidingInWindow:MESSAGEKEY];
+        }
     } faliure:^(NSError * _Nonnull error) {
         [LOADING_MANAGER removeHUD];
     }];

+ 3 - 4
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineEmptyVideoCell.xib

@@ -1,9 +1,8 @@
 <?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" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="20020"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
         <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"/>
@@ -21,7 +20,7 @@
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NPM-U1-Vpb">
                         <rect key="frame" x="14" y="0.0" width="360" height="241"/>
                         <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="达人风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bav-sT-Fl1">
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="老师风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bav-sT-Fl1">
                                 <rect key="frame" x="14" y="7" width="73.5" height="30"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="30" id="4TK-79-L2E"/>

+ 4 - 4
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageCourseView.m

@@ -668,7 +668,7 @@
             return @"您已提交认证申请,请耐心等待审核结果~";
         }
         else {
-            return @"您还没有完成达人认证,认证后才可设置趣纠课哦~";
+            return @"您还没有完成老师认证,认证后才可设置趣纠课哦~";
         }
     }
     else if (self.selectIndex == 2) { // 直播课
@@ -676,10 +676,10 @@
             return @"您已提交认证申请,请耐心等待审核结果~";
         }
         else {
-            if ([self.teaherStatus isEqualToString:@"PASS"] && self.liveFlag == NO) { // 如果达人认证通过
+            if ([self.teaherStatus isEqualToString:@"PASS"] && self.liveFlag == NO) { // 如果老师认证通过
                 return @"您尚未开通直播服务,开通后即可创建直播课程~";
             }
-            return @"您还没有完成达人认证,认证后才可创建直播课哦~";
+            return @"您还没有完成老师认证,认证后才可创建直播课哦~";
         }
     }
     else { // 曲谱
@@ -687,7 +687,7 @@
             return @"您已提交认证申请,请耐心等待审核结果~";
         }
         else {
-            return @"您还没有完成达人认证,认证后才可上传曲谱哦~";
+            return @"您还没有完成老师认证,认证后才可上传曲谱哦~";
         }
     }
 }

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageLiveCourse/MinePageLiveCourseView.m

@@ -433,7 +433,7 @@
 }
 
 - (NSString *)getAuthDisplayMessage {
-    if (self.liveFlag == NO) { // 如果达人认证通过
+    if (self.liveFlag == NO) { // 如果老师认证通过
         return @"您尚未开通直播服务,开通后即可创建直播课程~";
     }
     return @"";

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageVideoView.m

@@ -278,7 +278,7 @@
         return @"您已提交认证申请,请耐心等待审核结果~";
     }
     else {
-        return @"您还没有完成达人认证,认证后才可创建视频课哦~";
+        return @"您还没有完成老师认证,认证后才可创建视频课哦~";
     }
 }
 

+ 4 - 5
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineVideoCell.xib

@@ -1,9 +1,8 @@
 <?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" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="20020"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
         <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"/>
@@ -21,8 +20,8 @@
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kbc-sU-aNo">
                         <rect key="frame" x="14" y="0.0" width="345" height="248"/>
                         <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="达人风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GKG-Y1-2TR">
-                                <rect key="frame" x="14" y="11" width="73.5" height="30"/>
+                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="老师风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GKG-Y1-2TR">
+                                <rect key="frame" x="14" y="11" width="71.5" height="30"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="30" id="gXX-Yw-50s"/>
                                 </constraints>

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/VideoCourse/Controller/VideoCourseViewController.m

@@ -105,7 +105,7 @@
         [self.navigationController pushViewController:webCtrl animated:YES];
     }
     else {
-        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"您还没有完成达人认证,认证后才可创建视频课哦~"];
+        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"您还没有完成老师认证,认证后才可创建视频课哦~"];
     }
     
 }

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/VideoCourse/View/VideoListBodyView.m

@@ -347,7 +347,7 @@
         return @"您已提交认证申请,请耐心等待审核结果~";
     }
     else {
-        return @"您还没有完成达人认证,认证后才可创建视频课哦~";
+        return @"您还没有完成老师认证,认证后才可创建视频课哦~";
     }
 }
 

+ 10 - 11
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/View/BadgeIntroduceView.xib

@@ -1,9 +1,8 @@
 <?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">
+<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="20020"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
         <capability name="System colors in document resources" minToolsVersion="11.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -24,8 +23,8 @@
                                 <constraint firstAttribute="width" constant="23" id="eZS-iZ-X2i"/>
                             </constraints>
                         </imageView>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="演奏Mlog达人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="49K-u1-2Vl">
-                            <rect key="frame" x="54" y="68" width="102.5" height="22"/>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="演奏Mlog老师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="49K-u1-2Vl">
+                            <rect key="frame" x="54" y="68" width="104.5" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="xcr-Ez-Rn3"/>
                             </constraints>
@@ -49,8 +48,8 @@
                                 <constraint firstAttribute="height" constant="23" id="rCa-NT-t9g"/>
                             </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="EQ1-IH-zif">
-                            <rect key="frame" x="54" y="134" width="98" 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="EQ1-IH-zif">
+                            <rect key="frame" x="54" y="134" width="95.5" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="6lz-Fl-3hP"/>
                             </constraints>
@@ -74,8 +73,8 @@
                                 <constraint firstAttribute="width" constant="23" id="3so-fK-I9q"/>
                             </constraints>
                         </imageView>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播up达人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xja-US-kIU">
-                            <rect key="frame" x="54" y="200" width="84.5" height="22"/>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播up老师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xja-US-kIU">
+                            <rect key="frame" x="54" y="200" width="86.5" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="kuU-XQ-c9G"/>
                             </constraints>
@@ -99,8 +98,8 @@
                                 <constraint firstAttribute="height" constant="23" id="Kce-67-tcA"/>
                             </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="le8-lq-J1Z">
-                            <rect key="frame" x="54" y="264" width="98" 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="le8-lq-J1Z">
+                            <rect key="frame" x="54" y="264" width="95.5" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="awu-RT-3FQ"/>
                             </constraints>

+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/View/MineActionView.h

@@ -8,7 +8,7 @@
 #import <UIKit/UIKit.h>
 
 typedef NS_ENUM(NSInteger, MINEVIEWTYPE) {
-    MINEVIEWTYPE_AUTH = 1001, //  认证达人
+    MINEVIEWTYPE_AUTH = 1001, //  认证老师
     MINEVIEWTYPE_HOMEPAGE, // 我的主页
     MINEVIEWTYPE_MIEN,     // 个人风采
     MINEVIEWTYPE_STARTBOARDCAST, // 开启直播