Selaa lähdekoodia

删除废弃UI样式

Steven 6 kuukautta sitten
vanhempi
commit
b2228cc9a1
34 muutettua tiedostoa jossa 29 lisäystä ja 563 poistoa
  1. 1 23
      KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj
  2. 1 1
      KulexiuForStudent/KulexiuForStudent.xcodeproj/xcshareddata/xcschemes/KulexiuForStudent.xcscheme
  3. 0 1
      KulexiuForStudent/KulexiuForStudent/Module/Course/MusicRoom/View/MusicRoomGroupHeadView.m
  4. 0 24
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.h
  5. 0 54
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.m
  6. 0 89
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.xib
  7. 0 24
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.h
  8. 0 166
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.m
  9. 0 157
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.xib
  10. 0 1
      KulexiuForStudent/KulexiuForStudent/Module/Course/VipCourse/View/ProgramCourseInfoView.m
  11. 4 0
      KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/View/CourseEvaluateAlertView.m
  12. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/View/HomeworkBodyView.m
  13. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/AFNetworking.xcscheme
  14. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Bugly.xcscheme
  15. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/CHIPageControl.xcscheme
  16. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/IQKeyboardManager.xcscheme
  17. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JCore.xcscheme
  18. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JPush.xcscheme
  19. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JXCategoryView.xcscheme
  20. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JXPagingView.xcscheme
  21. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MBProgressHUD.xcscheme
  22. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MJExtension.xcscheme
  23. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MJRefresh.xcscheme
  24. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Masonry.xcscheme
  25. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudent-KulexiuForStudentUITests.xcscheme
  26. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudent.xcscheme
  27. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudentTests.xcscheme
  28. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/RSKImageCropper.xcscheme
  29. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Reachability.xcscheme
  30. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SDWebImage.xcscheme
  31. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SSZipArchive.xcscheme
  32. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SocketRocket.xcscheme
  33. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Whiteboard-Whiteboard.xcscheme
  34. 1 1
      KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Whiteboard.xcscheme

+ 1 - 23
KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj

@@ -482,12 +482,8 @@
 		BC5A4B532CF40BF9008C2FDD /* VipCouseInfoCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B4C2CF40BF9008C2FDD /* VipCouseInfoCell.xib */; };
 		BC5A4B642CF40C35008C2FDD /* CourseGroupPlanDescView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B5E2CF40C35008C2FDD /* CourseGroupPlanDescView.m */; };
 		BC5A4B652CF40C35008C2FDD /* CourseGroupNavView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B552CF40C35008C2FDD /* CourseGroupNavView.m */; };
-		BC5A4B662CF40C35008C2FDD /* CourseGroupPlanAddView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B582CF40C35008C2FDD /* CourseGroupPlanAddView.m */; };
-		BC5A4B672CF40C35008C2FDD /* CourseGroupPlanAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B5B2CF40C35008C2FDD /* CourseGroupPlanAlertView.m */; };
 		BC5A4B682CF40C35008C2FDD /* GroupCourseSortView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B612CF40C35008C2FDD /* GroupCourseSortView.m */; };
-		BC5A4B692CF40C35008C2FDD /* CourseGroupPlanAlertView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B5C2CF40C35008C2FDD /* CourseGroupPlanAlertView.xib */; };
 		BC5A4B6A2CF40C35008C2FDD /* CourseGroupPlanDescView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B5F2CF40C35008C2FDD /* CourseGroupPlanDescView.xib */; };
-		BC5A4B6B2CF40C35008C2FDD /* CourseGroupPlanAddView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B592CF40C35008C2FDD /* CourseGroupPlanAddView.xib */; };
 		BC5A4B6C2CF40C35008C2FDD /* CourseGroupNavView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B562CF40C35008C2FDD /* CourseGroupNavView.xib */; };
 		BC5A4B6D2CF40C35008C2FDD /* GroupCourseSortView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5A4B622CF40C35008C2FDD /* GroupCourseSortView.xib */; };
 		BC5A4B882CF42104008C2FDD /* MusicRoomGroupHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5A4B842CF42104008C2FDD /* MusicRoomGroupHeadView.m */; };
@@ -1915,12 +1911,6 @@
 		BC5A4B542CF40C35008C2FDD /* CourseGroupNavView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CourseGroupNavView.h; sourceTree = "<group>"; };
 		BC5A4B552CF40C35008C2FDD /* CourseGroupNavView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CourseGroupNavView.m; sourceTree = "<group>"; };
 		BC5A4B562CF40C35008C2FDD /* CourseGroupNavView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CourseGroupNavView.xib; sourceTree = "<group>"; };
-		BC5A4B572CF40C35008C2FDD /* CourseGroupPlanAddView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CourseGroupPlanAddView.h; sourceTree = "<group>"; };
-		BC5A4B582CF40C35008C2FDD /* CourseGroupPlanAddView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CourseGroupPlanAddView.m; sourceTree = "<group>"; };
-		BC5A4B592CF40C35008C2FDD /* CourseGroupPlanAddView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CourseGroupPlanAddView.xib; sourceTree = "<group>"; };
-		BC5A4B5A2CF40C35008C2FDD /* CourseGroupPlanAlertView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CourseGroupPlanAlertView.h; sourceTree = "<group>"; };
-		BC5A4B5B2CF40C35008C2FDD /* CourseGroupPlanAlertView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CourseGroupPlanAlertView.m; sourceTree = "<group>"; };
-		BC5A4B5C2CF40C35008C2FDD /* CourseGroupPlanAlertView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CourseGroupPlanAlertView.xib; sourceTree = "<group>"; };
 		BC5A4B5D2CF40C35008C2FDD /* CourseGroupPlanDescView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CourseGroupPlanDescView.h; sourceTree = "<group>"; };
 		BC5A4B5E2CF40C35008C2FDD /* CourseGroupPlanDescView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CourseGroupPlanDescView.m; sourceTree = "<group>"; };
 		BC5A4B5F2CF40C35008C2FDD /* CourseGroupPlanDescView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CourseGroupPlanDescView.xib; sourceTree = "<group>"; };
@@ -5113,12 +5103,6 @@
 				BC5A4B542CF40C35008C2FDD /* CourseGroupNavView.h */,
 				BC5A4B552CF40C35008C2FDD /* CourseGroupNavView.m */,
 				BC5A4B562CF40C35008C2FDD /* CourseGroupNavView.xib */,
-				BC5A4B572CF40C35008C2FDD /* CourseGroupPlanAddView.h */,
-				BC5A4B582CF40C35008C2FDD /* CourseGroupPlanAddView.m */,
-				BC5A4B592CF40C35008C2FDD /* CourseGroupPlanAddView.xib */,
-				BC5A4B5A2CF40C35008C2FDD /* CourseGroupPlanAlertView.h */,
-				BC5A4B5B2CF40C35008C2FDD /* CourseGroupPlanAlertView.m */,
-				BC5A4B5C2CF40C35008C2FDD /* CourseGroupPlanAlertView.xib */,
 				BC5A4B5D2CF40C35008C2FDD /* CourseGroupPlanDescView.h */,
 				BC5A4B5E2CF40C35008C2FDD /* CourseGroupPlanDescView.m */,
 				BC5A4B5F2CF40C35008C2FDD /* CourseGroupPlanDescView.xib */,
@@ -6764,7 +6748,7 @@
 			isa = PBXProject;
 			attributes = {
 				BuildIndependentTargetsInParallel = 1;
-				LastUpgradeCheck = 1610;
+				LastUpgradeCheck = 1620;
 				TargetAttributes = {
 					275E8AA427E18F8800DD3F6E = {
 						CreatedOnToolsVersion = 13.2.1;
@@ -6877,9 +6861,7 @@
 				BCA0CB3D2D1A61B600488F8E /* GroupCourseGroupHeadView.xib in Resources */,
 				BCA0CB3E2D1A61B600488F8E /* GroupCourseGroupNavView.xib in Resources */,
 				BCA0CB3F2D1A61B600488F8E /* GroupCourseListCell.xib in Resources */,
-				BC5A4B692CF40C35008C2FDD /* CourseGroupPlanAlertView.xib in Resources */,
 				BC5A4B6A2CF40C35008C2FDD /* CourseGroupPlanDescView.xib in Resources */,
-				BC5A4B6B2CF40C35008C2FDD /* CourseGroupPlanAddView.xib in Resources */,
 				BC5A4B6C2CF40C35008C2FDD /* CourseGroupNavView.xib in Resources */,
 				BC5A4B6D2CF40C35008C2FDD /* GroupCourseSortView.xib in Resources */,
 				BCC0F65C2A8CD8F500C4EFA4 /* TxClassroomChatMineCell.xib in Resources */,
@@ -7158,7 +7140,6 @@
 				BCC5839228A9E8AF00BAB4CF /* AccompanyLoadingView.xib in Resources */,
 				BCB9FA37286D7C38005D766B /* GuideListView.xib in Resources */,
 				BC71D2882888083B0010F14B /* tabbar3.json in Resources */,
-				BC71D2882888083B0010F14B /* tabbar3.json in Resources */,
 				BC50171727FC0D8E00F8BCBC /* SubjectChooseBodyView.xib in Resources */,
 				BC71D26F288804CD0010F14B /* img_24.png in Resources */,
 				BCCE95E92AB057C400AB6385 /* MorePageSearchView.xib in Resources */,
@@ -7742,8 +7723,6 @@
 				BC5A4B642CF40C35008C2FDD /* CourseGroupPlanDescView.m in Sources */,
 				BC5A4B652CF40C35008C2FDD /* CourseGroupNavView.m in Sources */,
 				BC4AA2DD2D13F0CA00BD764B /* HomeworkListNavView.m in Sources */,
-				BC5A4B662CF40C35008C2FDD /* CourseGroupPlanAddView.m in Sources */,
-				BC5A4B672CF40C35008C2FDD /* CourseGroupPlanAlertView.m in Sources */,
 				BC5A4B682CF40C35008C2FDD /* GroupCourseSortView.m in Sources */,
 				BC98527C2BCCC56C008F0435 /* AlbumSwitchView.m in Sources */,
 				BC11926B280FAF5900A716F7 /* AccompanyAlertView.m in Sources */,
@@ -8568,7 +8547,6 @@
 			isa = XCBuildConfiguration;
 			baseConfigurationReference = D5D730A1D1EC18E5028F1AD7 /* Pods-KulexiuForStudent-KulexiuForStudentUITests.release.xcconfig */;
 			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
 				CODE_SIGN_STYLE = Automatic;
 				CURRENT_PROJECT_VERSION = 1;
 				DEVELOPMENT_TEAM = B2AP53HHTU;

+ 1 - 1
KulexiuForStudent/KulexiuForStudent.xcodeproj/xcshareddata/xcschemes/KulexiuForStudent.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 0 - 1
KulexiuForStudent/KulexiuForStudent/Module/Course/MusicRoom/View/MusicRoomGroupHeadView.m

@@ -6,7 +6,6 @@
 //
 
 #import "MusicRoomGroupHeadView.h"
-#import "CourseGroupPlanAddView.h"
 #import "CourseGroupPlanDescView.h"
 
 @interface MusicRoomGroupHeadView ()

+ 0 - 24
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.h

@@ -1,24 +0,0 @@
-//
-//  CourseGroupPlanAddView.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2024/11/22.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void(^AddGroupPlanCallback)(void);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface CourseGroupPlanAddView : UIView
-
-+ (instancetype)sharedInstance;
-
-- (void)addPlanAction:(AddGroupPlanCallback)callback;
-
-+ (CGFloat)getViewHeight;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 54
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.m

@@ -1,54 +0,0 @@
-//
-//  CourseGroupPlanAddView.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2024/11/22.
-//
-
-#import "CourseGroupPlanAddView.h"
-
-@interface CourseGroupPlanAddView ()
-
-@property (weak, nonatomic) IBOutlet UIView *colorBg;
-
-@property (nonatomic, copy) AddGroupPlanCallback callback;
-
-@end
-
-@implementation CourseGroupPlanAddView
-
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    CAGradientLayer *colorLayer = [UIView createGradientLayerFromColor:HexRGBAlpha(0x2DC7AA, 0.1f) startPoint:CGPointMake(0.54, 0) endColor:HexRGBAlpha(0x2DC7AA, 0.0f) endPoint:CGPointMake(0.54, 1) bounds:CGRectMake(0, 0, KPortraitWidth - 26, 36)];
-    [self.colorBg.layer addSublayer:colorLayer];
-}
-
-+ (instancetype)sharedInstance {
-    CourseGroupPlanAddView *view = [[[NSBundle mainBundle] loadNibNamed:@"CourseGroupPlanAddView" owner:nil options:nil] firstObject];
-    return view;
-}
-
-- (void)addPlanAction:(AddGroupPlanCallback)callback {
-    if (callback) {
-        self.callback = callback;
-    }
-}
-
-- (IBAction)buttonAction:(id)sender {
-    if (self.callback) {
-        self.callback();
-    }
-}
-
-+ (CGFloat)getViewHeight {
-    return 60.0f;
-}
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 89
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAddView.xib

@@ -1,89 +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" 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"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="CourseGroupPlanAddView">
-            <rect key="frame" x="0.0" y="0.0" width="393" height="60"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <subviews>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8Aa-kp-bYI">
-                    <rect key="frame" x="12" y="12" width="369" height="36"/>
-                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                    <userDefinedRuntimeAttributes>
-                        <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
-                            <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="0.40000000000000002" colorSpace="custom" customColorSpace="sRGB"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
-                            <real key="value" value="1"/>
-                        </userDefinedRuntimeAttribute>
-                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                            <real key="value" value="6"/>
-                        </userDefinedRuntimeAttribute>
-                    </userDefinedRuntimeAttributes>
-                </view>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hTw-6B-RQf">
-                    <rect key="frame" x="12" y="12" width="369" height="36"/>
-                    <subviews>
-                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="group_addPlan" translatesAutoresizingMaskIntoConstraints="NO" id="zZL-6i-GRC">
-                            <rect key="frame" x="127.66666666666666" y="8" width="22" 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="Wvq-0R-j6d">
-                            <rect key="frame" x="151.66666666666666" y="9" width="90" height="18"/>
-                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
-                            <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                            <nil key="highlightedColor"/>
-                        </label>
-                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c7A-Hr-wRT">
-                            <rect key="frame" x="0.0" y="0.0" width="369" height="36"/>
-                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                            <connections>
-                                <action selector="buttonAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="4JR-qG-yqX"/>
-                            </connections>
-                        </button>
-                    </subviews>
-                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                    <constraints>
-                        <constraint firstItem="c7A-Hr-wRT" firstAttribute="leading" secondItem="hTw-6B-RQf" secondAttribute="leading" id="G5B-Oy-WRC"/>
-                        <constraint firstItem="Wvq-0R-j6d" firstAttribute="centerY" secondItem="hTw-6B-RQf" secondAttribute="centerY" id="HQT-Yg-whk"/>
-                        <constraint firstItem="c7A-Hr-wRT" firstAttribute="top" secondItem="hTw-6B-RQf" secondAttribute="top" id="WAm-6h-1Bx"/>
-                        <constraint firstAttribute="bottom" secondItem="c7A-Hr-wRT" secondAttribute="bottom" id="lGw-Zm-vyN"/>
-                        <constraint firstItem="Wvq-0R-j6d" firstAttribute="centerX" secondItem="hTw-6B-RQf" secondAttribute="centerX" constant="12" id="lPb-wr-J1K"/>
-                        <constraint firstItem="Wvq-0R-j6d" firstAttribute="leading" secondItem="zZL-6i-GRC" secondAttribute="trailing" constant="2" id="wOB-7P-0VW"/>
-                        <constraint firstAttribute="trailing" secondItem="c7A-Hr-wRT" secondAttribute="trailing" id="xdD-8m-RPB"/>
-                        <constraint firstItem="Wvq-0R-j6d" firstAttribute="centerY" secondItem="zZL-6i-GRC" secondAttribute="centerY" id="zVc-rj-3ZG"/>
-                    </constraints>
-                </view>
-            </subviews>
-            <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-            <constraints>
-                <constraint firstItem="8Aa-kp-bYI" firstAttribute="bottom" secondItem="hTw-6B-RQf" secondAttribute="bottom" id="35i-G3-qUh"/>
-                <constraint firstItem="hTw-6B-RQf" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="12" id="4hF-Ht-R4Y"/>
-                <constraint firstItem="8Aa-kp-bYI" firstAttribute="trailing" secondItem="hTw-6B-RQf" secondAttribute="trailing" id="Nph-aE-9YU"/>
-                <constraint firstItem="hTw-6B-RQf" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="12" id="cC9-8l-Qeq"/>
-                <constraint firstItem="8Aa-kp-bYI" firstAttribute="leading" secondItem="hTw-6B-RQf" secondAttribute="leading" id="hGh-n2-ygv"/>
-                <constraint firstAttribute="bottom" secondItem="hTw-6B-RQf" secondAttribute="bottom" constant="12" id="j6u-AX-i9J"/>
-                <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="hTw-6B-RQf" secondAttribute="trailing" constant="12" id="pUv-Te-Kkt"/>
-                <constraint firstItem="8Aa-kp-bYI" firstAttribute="top" secondItem="hTw-6B-RQf" secondAttribute="top" id="zCo-UK-6DO"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="colorBg" destination="8Aa-kp-bYI" id="pCY-Y0-BxF"/>
-            </connections>
-            <point key="canvasLocation" x="41.984732824427482" y="-57.74647887323944"/>
-        </view>
-    </objects>
-    <resources>
-        <image name="group_addPlan" width="22" height="20"/>
-    </resources>
-</document>

+ 0 - 24
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.h

@@ -1,24 +0,0 @@
-//
-//  CourseGroupPlanAlertView.h
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2024/11/22.
-//
-
-#import <UIKit/UIKit.h>
-
-typedef void(^PlanModifyCallback)(NSString * _Nullable planString);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface CourseGroupPlanAlertView : UIView
-
-+ (instancetype)sharedInstance;
-
-- (void)configWithDesc:(NSString *)planString callback:(PlanModifyCallback)callback;
-
-- (void)showInView:(UIView *)displayView;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 166
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.m

@@ -1,166 +0,0 @@
-//
-//  CourseGroupPlanAlertView.m
-//  KulexiuForTeacher
-//
-//  Created by 王智 on 2024/11/22.
-//
-
-#import "CourseGroupPlanAlertView.h"
-
-@interface CourseGroupPlanAlertView ()<UITextViewDelegate>
-
-@property (weak, nonatomic) IBOutlet UIView *bgView;
-
-@property (weak, nonatomic) IBOutlet UITextView *textView;
-
-@property (weak, nonatomic) IBOutlet UILabel *tipsLabel;
-
-@property (weak, nonatomic) IBOutlet UILabel *countLabel;
-
-@property (nonatomic, copy) PlanModifyCallback callback;
-
-@end
-
-@implementation CourseGroupPlanAlertView
-- (void)awakeFromNib {
-    [super awakeFromNib];
-    self.textView.delegate = self;
-    self.textView.textContainer.lineFragmentPadding = 0;
-    self.textView.textContainerInset = UIEdgeInsetsZero;
-    self.bgView.layer.cornerRadius = 12.0f;
-    self.bgView.layer.maskedCorners = kCALayerMinXMinYCorner | kCALayerMaxXMinYCorner;
-}
-
-+ (instancetype)sharedInstance {
-    CourseGroupPlanAlertView *view = [[[NSBundle mainBundle] loadNibNamed:@"CourseGroupPlanAlertView" owner:nil options:nil] firstObject];
-    return view;
-}
-
-- (void)configWithDesc:(NSString *)planString callback:(PlanModifyCallback)callback {
-    if (callback) {
-        self.callback = callback;
-    }
-    self.countLabel.text = [NSString stringWithFormat:@"%zd/200",planString.length];
-    self.tipsLabel.hidden = [NSString isEmptyString:planString] ? NO : YES;
-    
-    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc]init];
-    paragraphStyle.lineSpacing = 4.0f;
-    UIFont *font = [UIFont systemFontOfSize:15 weight:UIFontWeightRegular];
-    
-    NSDictionary *attributes = @{NSFontAttributeName:font,NSParagraphStyleAttributeName:paragraphStyle,NSForegroundColorAttributeName:HexRGBAlpha(0x000000, 0.9)};
-    
-        self.textView.attributedText = [[NSAttributedString alloc] initWithString:planString attributes:attributes];
-}
-
-- (void)showInView:(UIView *)displayView {
-    if (!displayView) {
-        displayView = [NSObject getKeyWindow];
-    }
-    if (![displayView.subviews containsObject:self]) {
-        [displayView addSubview:self];
-        [self mas_makeConstraints:^(MASConstraintMaker *make) {
-            make.left.right.top.bottom.mas_equalTo(displayView);
-        }];
-    }
-}
-
-- (IBAction)cancelAction:(id)sender {
-    [self endEditing:YES];
-    [self removeFromSuperview];
-}
-
-- (IBAction)sureAction:(id)sender {
-    [self endEditing:YES];
-    [self removeFromSuperview];
-    if (self.callback) {
-        self.callback(self.textView.text);
-    }
-}
-
-#pragma mark   ---- delegate
-
-- (void)textViewDidBeginEditing:(UITextView *)textView {
-    
-    self.tipsLabel.hidden = YES;
-}
-
-
-- (void)textViewDidEndEditing:(UITextView *)textView {
-    if ([NSString isEmptyString:textView.text]) {
-        self.tipsLabel.hidden = NO;
-    }
-}
-
-- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {
-    UITextRange *markedTextRange = textView.markedTextRange;
-    if (markedTextRange) {
-        // 当前处于拼音输入状态,暂不更新 attributedText
-        return YES;
-    }
-    NSInteger limitCount = 200;
-
-    NSString *newText = [[textView text] stringByReplacingCharactersInRange:range withString:text];
-    if (newText.length > limitCount) {
-        newText = [newText substringWithRange:NSMakeRange(0, limitCount)];
-        textView.text = newText;
-    }
-    return YES;
-}
-
-- (void)updateTextViewLineHeight:(UITextView *)textView {
-    UITextRange *markedTextRange = textView.markedTextRange;
-    if (markedTextRange) {
-        // 当前处于拼音输入状态,暂不更新 attributedText
-        return;
-    }
-    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
-    paragraphStyle.lineSpacing = 4.0f;
-    UIFont *font = [UIFont systemFontOfSize:15 weight:UIFontWeightRegular];
-    [UIView setAnimationsEnabled:NO];
-    NSRange selectedRange = textView.selectedRange;
-    NSMutableAttributedString *attrs = [[NSMutableAttributedString alloc] initWithString:textView.text attributes:@{NSParagraphStyleAttributeName:paragraphStyle,NSFontAttributeName:font, NSForegroundColorAttributeName:HexRGBAlpha(0x000000, 0.9)}];
-    textView.attributedText = attrs;
-    textView.selectedRange = selectedRange;
-    [UIView setAnimationsEnabled:YES];
-}
-
-- (void)textViewDidChange:(UITextView *)textView {
-    // 获取当前高亮的部分(如果正在拼音输入状态)
-    UITextRange *selectedRange = [textView markedTextRange];
-    UITextPosition *position = [textView positionFromPosition:selectedRange.start offset:0];
-    
-    // 如果没有高亮选择的文本,说明不是拼音输入状态
-    if (!position) {
-        // 获取当前textView的内容
-        NSInteger limitCount = 200;
-        NSString *currentText = textView.text;
-        
-        // 如果文本超出最大长度,进行截取
-        if (currentText.length > limitCount) {
-            NSString *limitedText = [currentText substringToIndex:limitCount];
-            textView.text = limitedText;
-        }
-        
-        self.countLabel.text = [NSString stringWithFormat:@"%zd/200",textView.text.length];
-    }
-    [self updateTextViewLineHeight:textView];
-}
-
-- (BOOL)textViewShouldEndEditing:(UITextView *)textView {
-    [self endEditing:YES];
-    return YES;
-}
-
-- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
-    [self endEditing:YES];
-}
-
-/*
-// Only override drawRect: if you perform custom drawing.
-// An empty implementation adversely affects performance during animation.
-- (void)drawRect:(CGRect)rect {
-    // Drawing code
-}
-*/
-
-@end

+ 0 - 157
KulexiuForStudent/KulexiuForStudent/Module/Course/View/CourseGroupView/CourseGroupPlanAlertView.xib

@@ -1,157 +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_12" orientation="portrait" appearance="light"/>
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <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>
-    <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="CourseGroupPlanAlertView">
-            <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <subviews>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DQA-Yl-R8S">
-                    <rect key="frame" x="0.0" y="526" width="393" height="326"/>
-                    <subviews>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加课程规划" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1QL-rw-ewk">
-                            <rect key="frame" x="142.66666666666666" y="18" width="108" height="22"/>
-                            <constraints>
-                                <constraint firstAttribute="height" constant="22" id="hX4-6a-Zj4"/>
-                            </constraints>
-                            <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
-                            <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                            <nil key="highlightedColor"/>
-                        </label>
-                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="cancle_button" translatesAutoresizingMaskIntoConstraints="NO" id="Y1F-10-7UQ">
-                            <rect key="frame" x="365" y="22" width="16" height="16"/>
-                            <constraints>
-                                <constraint firstAttribute="width" constant="16" id="EG8-Ky-7Sd"/>
-                                <constraint firstAttribute="height" constant="16" id="FkL-Xu-D9p"/>
-                            </constraints>
-                        </imageView>
-                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zSN-d7-MKE">
-                            <rect key="frame" x="349" y="5" width="44" height="44"/>
-                            <constraints>
-                                <constraint firstAttribute="height" constant="44" id="9Jv-Jv-EAx"/>
-                                <constraint firstAttribute="width" constant="44" id="hMm-g7-FOv"/>
-                            </constraints>
-                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                            <connections>
-                                <action selector="cancelAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="fap-2U-u0a"/>
-                            </connections>
-                        </button>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KlC-4W-rhW">
-                            <rect key="frame" x="14" y="58" width="365" height="164"/>
-                            <subviews>
-                                <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="ozS-Ji-bWH">
-                                    <rect key="frame" x="12" y="13" width="341" height="117"/>
-                                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
-                                    <color key="textColor" systemColor="labelColor"/>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <textInputTraits key="textInputTraits" autocapitalizationType="sentences" smartInsertDeleteType="no"/>
-                                </textView>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/500" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="G0D-65-phx">
-                                    <rect key="frame" x="314" y="130" width="39" height="22"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="22" id="yPF-OZ-aOh"/>
-                                    </constraints>
-                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" 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="dyn-hF-Vp7">
-                                    <rect key="frame" x="12" y="12" width="134" height="22"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="22" id="SoL-Bj-P4o"/>
-                                    </constraints>
-                                    <fontDescription key="fontDescription" type="system" pointSize="15"/>
-                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <nil key="highlightedColor"/>
-                                </label>
-                            </subviews>
-                            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstAttribute="trailing" secondItem="G0D-65-phx" secondAttribute="trailing" constant="12" id="71Q-c4-eXa"/>
-                                <constraint firstAttribute="bottom" secondItem="G0D-65-phx" secondAttribute="bottom" constant="12" id="8Wg-1x-pHO"/>
-                                <constraint firstAttribute="trailing" secondItem="ozS-Ji-bWH" secondAttribute="trailing" constant="12" id="8e6-SR-s73"/>
-                                <constraint firstItem="G0D-65-phx" firstAttribute="top" secondItem="ozS-Ji-bWH" secondAttribute="bottom" id="Iso-mr-f0P"/>
-                                <constraint firstItem="ozS-Ji-bWH" firstAttribute="leading" secondItem="KlC-4W-rhW" secondAttribute="leading" constant="12" id="LZC-VX-mmd"/>
-                                <constraint firstItem="dyn-hF-Vp7" firstAttribute="top" secondItem="KlC-4W-rhW" secondAttribute="top" constant="12" id="MpQ-9w-EIp"/>
-                                <constraint firstAttribute="height" constant="164" id="cGh-hR-PH0"/>
-                                <constraint firstItem="dyn-hF-Vp7" firstAttribute="leading" secondItem="KlC-4W-rhW" secondAttribute="leading" constant="12" id="ds5-kN-W89"/>
-                                <constraint firstItem="ozS-Ji-bWH" firstAttribute="top" secondItem="KlC-4W-rhW" secondAttribute="top" constant="13" id="ndy-E0-arG"/>
-                            </constraints>
-                            <userDefinedRuntimeAttributes>
-                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                    <real key="value" value="10"/>
-                                </userDefinedRuntimeAttribute>
-                            </userDefinedRuntimeAttributes>
-                        </view>
-                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bSw-AS-d2f">
-                            <rect key="frame" x="28" y="252" width="337" height="44"/>
-                            <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                            <constraints>
-                                <constraint firstAttribute="height" constant="44" id="nZe-p3-TfW"/>
-                            </constraints>
-                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                            <state key="normal" title="确认"/>
-                            <userDefinedRuntimeAttributes>
-                                <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                    <real key="value" value="22"/>
-                                </userDefinedRuntimeAttribute>
-                            </userDefinedRuntimeAttributes>
-                            <connections>
-                                <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="9Fs-C3-Wg6"/>
-                            </connections>
-                        </button>
-                    </subviews>
-                    <color key="backgroundColor" red="0.97254901960784312" green="0.97647058823529409" blue="0.9882352941176471" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                    <constraints>
-                        <constraint firstAttribute="height" constant="326" id="624-Qs-q1U"/>
-                        <constraint firstAttribute="trailing" secondItem="zSN-d7-MKE" secondAttribute="trailing" id="Epz-qx-RsF"/>
-                        <constraint firstAttribute="trailing" secondItem="bSw-AS-d2f" secondAttribute="trailing" constant="28" id="MVV-Rp-CSe"/>
-                        <constraint firstItem="KlC-4W-rhW" firstAttribute="leading" secondItem="DQA-Yl-R8S" secondAttribute="leading" constant="14" id="Q3H-6K-oko"/>
-                        <constraint firstAttribute="trailing" secondItem="KlC-4W-rhW" secondAttribute="trailing" constant="14" id="WRg-YL-ErL"/>
-                        <constraint firstItem="KlC-4W-rhW" firstAttribute="top" secondItem="1QL-rw-ewk" secondAttribute="bottom" constant="18" id="Z2e-fu-vi5"/>
-                        <constraint firstItem="Y1F-10-7UQ" firstAttribute="top" secondItem="DQA-Yl-R8S" secondAttribute="top" constant="22" id="aG1-xd-gZH"/>
-                        <constraint firstAttribute="trailing" secondItem="Y1F-10-7UQ" secondAttribute="trailing" constant="12" id="kqU-8h-Js2"/>
-                        <constraint firstItem="1QL-rw-ewk" firstAttribute="centerX" secondItem="DQA-Yl-R8S" secondAttribute="centerX" id="luJ-zE-jqI"/>
-                        <constraint firstItem="bSw-AS-d2f" firstAttribute="leading" secondItem="DQA-Yl-R8S" secondAttribute="leading" constant="28" id="nZY-Dj-LfI"/>
-                        <constraint firstItem="zSN-d7-MKE" firstAttribute="top" secondItem="DQA-Yl-R8S" secondAttribute="top" constant="5" id="qAE-lY-A6C"/>
-                        <constraint firstItem="1QL-rw-ewk" firstAttribute="top" secondItem="DQA-Yl-R8S" secondAttribute="top" constant="18" id="qR3-ln-1dr"/>
-                        <constraint firstItem="bSw-AS-d2f" firstAttribute="top" secondItem="KlC-4W-rhW" secondAttribute="bottom" constant="30" id="vcv-8u-U0A"/>
-                    </constraints>
-                </view>
-            </subviews>
-            <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
-            <constraints>
-                <constraint firstAttribute="trailing" secondItem="DQA-Yl-R8S" secondAttribute="trailing" id="AKz-ei-ODR"/>
-                <constraint firstItem="DQA-Yl-R8S" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="atY-XB-bLV"/>
-                <constraint firstAttribute="bottom" secondItem="DQA-Yl-R8S" secondAttribute="bottom" id="ynd-t1-AZ3"/>
-            </constraints>
-            <nil key="simulatedTopBarMetrics"/>
-            <nil key="simulatedBottomBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="bgView" destination="DQA-Yl-R8S" id="f1A-iE-nz9"/>
-                <outlet property="countLabel" destination="G0D-65-phx" id="yDz-EG-MmP"/>
-                <outlet property="textView" destination="ozS-Ji-bWH" id="r4e-Xa-fMb"/>
-                <outlet property="tipsLabel" destination="dyn-hF-Vp7" id="lRV-me-VWS"/>
-            </connections>
-            <point key="canvasLocation" x="9.9236641221374047" y="19.718309859154932"/>
-        </view>
-    </objects>
-    <resources>
-        <image name="cancle_button" width="20" height="20"/>
-        <systemColor name="labelColor">
-            <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
-</document>

+ 0 - 1
KulexiuForStudent/KulexiuForStudent/Module/Course/VipCourse/View/ProgramCourseInfoView.m

@@ -6,7 +6,6 @@
 //
 
 #import "ProgramCourseInfoView.h"
-#import "CourseGroupPlanAddView.h"
 #import "CourseGroupPlanDescView.h"
 
 @interface ProgramCourseInfoView ()

+ 4 - 0
KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/View/CourseEvaluateAlertView.m

@@ -102,6 +102,10 @@
 
 - (IBAction)sureAction:(id)sender {
     [self endEditing:YES];
+    if ([NSString isEmptyString:self.textView.text]) {
+        [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请输入评价内容"];
+        return;
+    }
     [self removeFromSuperview];
     self.starNum = self.starView.rate * 5;
     if (self.callback) {

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/View/HomeworkBodyView.m

@@ -336,7 +336,7 @@
         preDate = [self.dateFormatter dateFromString:self.chooseDate];
     }
     self.sortView.arrowUp = YES;
-    KSFullDatePicker *picker = [[KSFullDatePicker alloc] initWithTitle:@"" date:[NSDate date] pickMode:KSDATEPICKER_MODE_YEAR_MONTH sureButtonColor:THEMECOLOR selectDateBlock:^(NSString *date) {
+    KSFullDatePicker *picker = [[KSFullDatePicker alloc] initWithTitle:@"" date:preDate pickMode:KSDATEPICKER_MODE_YEAR_MONTH sureButtonColor:THEMECOLOR selectDateBlock:^(NSString *date) {
 
         self.chooseDate = date;
         NSString *displayTime = [self getTimeDisplay:date];

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/AFNetworking.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Bugly.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/CHIPageControl.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/IQKeyboardManager.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JCore.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JPush.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JXCategoryView.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/JXPagingView.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MBProgressHUD.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MJExtension.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/MJRefresh.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Masonry.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudent-KulexiuForStudentUITests.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudent.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Pods-KulexiuForStudentTests.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/RSKImageCropper.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Reachability.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SDWebImage.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SSZipArchive.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/SocketRocket.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Whiteboard-Whiteboard.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"

+ 1 - 1
KulexiuForStudent/Pods/Pods.xcodeproj/xcuserdata/wangzhi.xcuserdatad/xcschemes/Whiteboard.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "1610"
+   LastUpgradeVersion = "1620"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"