Browse Source

推送相关

Steven 3 months ago
parent
commit
d60aa7a28d

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

@@ -8216,7 +8216,6 @@
 					"$(inherited)",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/umcommonlog/umcommonlog_ios_2.0.0",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/apm/apm_ios_1.6.5",
-					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/thirdparties/thirdparties_ios_1.0.5",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/common/common_ios_7.3.7",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4/UMSocialUI",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4",
@@ -8391,7 +8390,6 @@
 					"$(inherited)",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/umcommonlog/umcommonlog_ios_2.0.0",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/apm/apm_ios_1.6.5",
-					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/thirdparties/thirdparties_ios_1.0.5",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/common/common_ios_7.3.7",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4/UMSocialUI",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4",
@@ -8712,7 +8710,6 @@
 					"$(inherited)",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/umcommonlog/umcommonlog_ios_2.0.0",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/apm/apm_ios_1.6.5",
-					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/thirdparties/thirdparties_ios_1.0.5",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/common/common_ios_7.3.7",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4/UMSocialUI",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4",
@@ -8991,7 +8988,6 @@
 					"$(inherited)",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/umcommonlog/umcommonlog_ios_2.0.0",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/apm/apm_ios_1.6.5",
-					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/thirdparties/thirdparties_ios_1.0.5",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/common/common_ios_7.3.7",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4/UMSocialUI",
 					"$(PROJECT_DIR)/KulexiuForStudent/Common/ThirdPart/UMSocialSDK/share/share_ios_6.10.4",

+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/Mine/minePage_course_introduce.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "minePage_course_introduce@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "minePage_course_introduce@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/Mine/minePage_course_introduce.imageset/minePage_course_introduce@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/Mine/minePage_course_introduce.imageset/minePage_course_introduce@3x.png


+ 7 - 2
KulexiuForStudent/KulexiuForStudent/Module/Course/AccompanyCourse/Controller/AccompanyDetailViewController.m

@@ -330,7 +330,12 @@
         case HOMEWORKACTION_HOMEWOEKPAGE:
         {
             
-            [self.submitAlertView configWithFileArray:self.fileArray];
+            if (!_submitAlertView) {
+                [self.submitAlertView configWithFileArray:self.fileArray];
+            }
+            else {
+                [self.submitAlertView configWithFileArray:self.submitAlertView.sourceArray];
+            }
             [self.submitAlertView showInView:self.view];
         }
         default:
@@ -463,7 +468,7 @@
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请先选择视频文件"];
         return;
     }
-    if (self.fileArray.count == 0) {
+    if (self.submitAlertView.sourceArray.count == 0) {
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请选择作业视频"];
         return;
     }

+ 7 - 2
KulexiuForStudent/KulexiuForStudent/Module/Course/MusicRoom/Controller/MusicRoomDetailViewController.m

@@ -252,7 +252,12 @@
             break;
         case HOMEWORKACTION_HOMEWOEKPAGE:
         {
-            [self.submitAlertView configWithFileArray:self.fileArray];
+            if (!_submitAlertView) {
+                [self.submitAlertView configWithFileArray:self.fileArray];
+            }
+            else {
+                [self.submitAlertView configWithFileArray:self.submitAlertView.sourceArray];
+            }
             [self.submitAlertView showInView:self.view];
         }
         default:
@@ -380,7 +385,7 @@
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请先选择视频文件"];
         return;
     }
-    if (self.fileArray.count == 0) {
+    if (self.submitAlertView.sourceArray.count == 0) {
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请选择作业视频"];
         return;
     }

+ 2 - 1
KulexiuForStudent/KulexiuForStudent/Module/Course/MyGroupCourse/View/GroupCourseGroupHeadView.m

@@ -40,7 +40,8 @@
 - (void)configWithSource:(GroupCourseGroupInfoModel *)model {
     [self.coverImage sd_setImageWithURL:[NSURL URLWithString:[model.backgroundPic getUrlEndcodeString]] placeholderImage:[UIImage imageNamed:@"video_placeholder"]];
     self.courseName.text = [NSString returnNoNullStringWithString:model.courseGroupName];
-    self.orderUser.text = [NSString stringWithFormat:@"剩余%.0f个名额", model.maxStudentNum - model.studentCount];
+//    self.orderUser.text = [NSString stringWithFormat:@"剩余%.0f个名额", model.maxStudentNum - model.studentCount];
+    self.orderUser.text = [NSString stringWithFormat:@"%.0f人学习",model.studentCount];
     // time
     NSDateFormatter *formatter = [NSObject getDateformatter];
     [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];

+ 15 - 13
KulexiuForStudent/KulexiuForStudent/Module/Course/MyGroupCourse/View/GroupCourseGroupHeadView.xib

@@ -50,7 +50,7 @@
                                 </userDefinedRuntimeAttribute>
                             </userDefinedRuntimeAttributes>
                         </view>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="著名大号大师严琦带你去走近音乐的异想世界" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xNR-qb-bSK">
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xNR-qb-bSK">
                             <rect key="frame" x="14" y="229" width="365" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="Mq4-2p-Jrc"/>
@@ -60,7 +60,7 @@
                             <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="cWt-tT-seb">
-                            <rect key="frame" x="347" y="312" width="0.0" height="24"/>
+                            <rect key="frame" x="352.33333333333331" y="312" width="0.0" height="24"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="24" id="KVO-pT-iPI"/>
                             </constraints>
@@ -68,8 +68,8 @@
                             <color key="textColor" red="0.95686274510000002" green="0.27058823529999998" blue="0.25490196079999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             <nil key="highlightedColor"/>
                         </label>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="/1课时" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C6q-FO-iK4">
-                            <rect key="frame" x="349" y="317" width="32" 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="C6q-FO-iK4">
+                            <rect key="frame" x="354.33333333333331" y="317" width="26.666666666666686" height="17"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="17" id="rlG-mJ-N7P"/>
                             </constraints>
@@ -78,7 +78,7 @@
                             <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="9s2-dK-o6k">
-                            <rect key="frame" x="338" y="318" width="7" height="16"/>
+                            <rect key="frame" x="343.33333333333331" y="318" width="7" height="16"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="16" id="hEL-qQ-c3g"/>
                             </constraints>
@@ -102,8 +102,8 @@
                             <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             <nil key="highlightedColor"/>
                         </label>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="2024-11-16 09:30" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tI3-dq-1Qx">
-                            <rect key="frame" x="103.66666666666669" y="261" width="117.33333333333331" height="20"/>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tI3-dq-1Qx">
+                            <rect key="frame" x="103.66666666666667" y="261" width="0.0" height="20"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="20" id="lT0-gl-akp"/>
                             </constraints>
@@ -119,10 +119,10 @@
                             </constraints>
                         </view>
                         <view contentMode="scaleToFill" horizontalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="HX4-58-7dZ">
-                            <rect key="frame" x="301" y="261.66666666666669" width="78" height="19"/>
+                            <rect key="frame" x="371" y="261.66666666666669" width="8" height="19"/>
                             <subviews>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="剩余2个名额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cfo-DH-vsM">
-                                    <rect key="frame" x="4" y="2.3333333333333153" width="70" height="14.333333333333336"/>
+                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cfo-DH-vsM">
+                                    <rect key="frame" x="4" y="0.0" width="0.0" height="19"/>
                                     <fontDescription key="fontDescription" type="system" pointSize="12"/>
                                     <color key="textColor" red="1" green="0.40784313729999999" blue="0.1529411765" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                     <nil key="highlightedColor"/>
@@ -132,8 +132,10 @@
                             <constraints>
                                 <constraint firstItem="cfo-DH-vsM" firstAttribute="leading" secondItem="HX4-58-7dZ" secondAttribute="leading" constant="4" id="2Ye-FI-s79"/>
                                 <constraint firstAttribute="trailing" secondItem="cfo-DH-vsM" secondAttribute="trailing" constant="4" id="NVN-YV-cAP"/>
+                                <constraint firstItem="cfo-DH-vsM" firstAttribute="top" secondItem="HX4-58-7dZ" secondAttribute="top" id="U8v-O7-TBH"/>
                                 <constraint firstAttribute="height" constant="19" id="k5A-YY-pam"/>
                                 <constraint firstItem="cfo-DH-vsM" firstAttribute="centerY" secondItem="HX4-58-7dZ" secondAttribute="centerY" id="qgL-Jz-iko"/>
+                                <constraint firstAttribute="bottom" secondItem="cfo-DH-vsM" secondAttribute="bottom" id="sVx-pS-74l"/>
                             </constraints>
                             <userDefinedRuntimeAttributes>
                                 <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
@@ -141,8 +143,8 @@
                                 </userDefinedRuntimeAttribute>
                             </userDefinedRuntimeAttributes>
                         </view>
-                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="严琦" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YTe-Wh-9ux">
-                            <rect key="frame" x="62" y="304" width="30" 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="YTe-Wh-9ux">
+                            <rect key="frame" x="62" y="304" width="0.0" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="VS0-J4-wTr"/>
                             </constraints>
@@ -241,7 +243,7 @@
                             <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="VIP定制课是客制化的1v1线上课程。老师根据您的学习需求和希望达到的成果定制教学内容。为了提高您的上课体验,约课前请与老师充分沟通,达成一致后课根据老师的空闲时间约定上课时间。" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hIr-WK-MPf">
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hIr-WK-MPf">
                             <rect key="frame" x="12" y="55" width="341" height="70"/>
                             <fontDescription key="fontDescription" type="system" pointSize="13"/>
                             <color key="textColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

+ 3 - 0
KulexiuForStudent/KulexiuForStudent/Module/Course/MyGroupCourse/View/GroupCourseListCell.xib

@@ -138,6 +138,9 @@
                                                 <real key="value" value="11"/>
                                             </userDefinedRuntimeAttribute>
                                         </userDefinedRuntimeAttributes>
+                                        <connections>
+                                            <action selector="enterClassRoom:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="APg-iD-6cU"/>
+                                        </connections>
                                     </button>
                                 </subviews>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>

+ 7 - 2
KulexiuForStudent/KulexiuForStudent/Module/Course/VipCourse/Controller/VipCouseDetailViewController.m

@@ -334,7 +334,12 @@
             break;
         case HOMEWORKACTION_HOMEWOEKPAGE:
         {
-            [self.submitAlertView configWithFileArray:self.fileArray];
+            if (!_submitAlertView) {
+                [self.submitAlertView configWithFileArray:self.fileArray];
+            }
+            else {
+                [self.submitAlertView configWithFileArray:self.submitAlertView.sourceArray];
+            }
             [self.submitAlertView showInView:self.view];
         }
             break;
@@ -467,7 +472,7 @@
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请先选择视频文件"];
         return;
     }
-    if (self.fileArray.count == 0) {
+    if (self.submitAlertView.sourceArray.count == 0) {
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请选择作业视频"];
         return;
     }

+ 14 - 4
KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/Controller/HomeworkDetailViewController.m

@@ -204,7 +204,12 @@
             break;
         case HOMEWORKACTION_HOMEWOEKPAGE:
         {
-            [self.alertView configWithFileArray:self.fileArray];
+            if (!_alertView) {
+                [self.alertView configWithFileArray:self.fileArray];
+            }
+            else {
+                [self.alertView configWithFileArray:self.alertView.sourceArray];
+            }
             [self.alertView showInView:self.view];
         }
             break;
@@ -232,14 +237,19 @@
         self.isModify = YES;
         // 删除文件
         [self removeVideoWithPath:videoUrl];
-        [self.fileArray addObject:fileUrl];
-        [self.alertView configWithFileArray:self.fileArray];
+        // 刷新弹窗
+        [self evaluateSubmitViewWithSource:fileUrl];
     } faliure:^(NSError * _Nullable error, NSString * _Nullable descMessaeg) {
         [LOADING_MANAGER removeCustomLoading];
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"上传失败,请重试"];
     }];
 }
 
+- (void)evaluateSubmitViewWithSource:(NSString *)fileUrl {
+    [self.alertView.sourceArray addObject:fileUrl];
+    [self.alertView configWithFileArray:self.alertView.sourceArray];
+}
+
 - (void)removeVideoWithPath:(NSString *)videoUrl {
     NSFileManager *fileMamager = [NSFileManager defaultManager];
     if ([fileMamager fileExistsAtPath:videoUrl]) {
@@ -325,7 +335,7 @@
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请先选择视频文件"];
         return;
     }
-    if (self.fileArray.count == 0) {
+    if (self.alertView.sourceArray.count == 0) {
         [LOADING_MANAGER MBShowAUTOHidingInWindow:@"请选择作业视频"];
         return;
     }

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

@@ -18,7 +18,6 @@
 
 @property (weak, nonatomic) IBOutlet UIView *buttonContainer;
 
-
 @property (nonatomic, copy) HomeSubmitAlertCallback callback;
 
 @end
@@ -29,6 +28,7 @@
     [super awakeFromNib];
      self.bgView.layer.cornerRadius = 12.0f;
     self.bgView.layer.maskedCorners = kCALayerMinXMinYCorner | kCALayerMaxXMinYCorner;
+    self.emptyView.frame = CGRectMake(0, 0, KPortraitWidth - 28, 108);
     [self.emptyView drawBoardDottedLine:1.0f length:4 space:4 cornerRadius:8.0f lineColor:HexRGB(0xD9D9D9)];
 }
 

+ 12 - 12
KulexiuForStudent/KulexiuForStudent/Module/Mine/Homework/View/HomeworkSubmitAlertView.xib

@@ -11,14 +11,14 @@
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
         <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeworkSubmitAlertView">
-            <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
+            <rect key="frame" x="0.0" y="0.0" width="375" height="852"/>
             <autoresizingMask key="autoresizingMask"/>
             <subviews>
                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dzw-rR-csa">
-                    <rect key="frame" x="0.0" y="582" width="393" height="270"/>
+                    <rect key="frame" x="0.0" y="582" width="375" height="270"/>
                     <subviews>
                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提交作业" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hsk-Rb-q0v">
-                            <rect key="frame" x="160.66666666666666" y="18" width="71.666666666666657" height="22"/>
+                            <rect key="frame" x="151.66666666666666" y="18" width="71.666666666666657" height="22"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="22" id="eUB-fH-EYS"/>
                             </constraints>
@@ -27,14 +27,14 @@
                             <nil key="highlightedColor"/>
                         </label>
                         <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="cancle_button" translatesAutoresizingMaskIntoConstraints="NO" id="vtm-bM-U1r">
-                            <rect key="frame" x="365" y="22" width="16" height="16"/>
+                            <rect key="frame" x="347" y="22" width="16" height="16"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="16" id="WMq-cF-RDt"/>
                                 <constraint firstAttribute="width" constant="16" id="uvB-y6-dsM"/>
                             </constraints>
                         </imageView>
                         <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fbG-9O-Hva">
-                            <rect key="frame" x="349" y="5" width="44" height="44"/>
+                            <rect key="frame" x="331" y="5" width="44" height="44"/>
                             <constraints>
                                 <constraint firstAttribute="width" constant="44" id="7m8-lK-UuN"/>
                                 <constraint firstAttribute="height" constant="44" id="wES-QG-iPO"/>
@@ -45,13 +45,13 @@
                             </connections>
                         </button>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="R84-m2-opW">
-                            <rect key="frame" x="14" y="58" width="365" height="108"/>
+                            <rect key="frame" x="14" y="58" width="347" height="108"/>
                             <subviews>
                                 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="homework_upload_bg" translatesAutoresizingMaskIntoConstraints="NO" id="9QQ-a4-HHB">
-                                    <rect key="frame" x="164.66666666666666" y="14" width="36" height="36"/>
+                                    <rect key="frame" x="155.66666666666666" y="14" width="36" height="36"/>
                                 </imageView>
                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传视频" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NGZ-hp-45Z">
-                                    <rect key="frame" x="154.66666666666666" y="55" width="56" height="20"/>
+                                    <rect key="frame" x="145.66666666666666" y="55" width="56" height="20"/>
                                     <constraints>
                                         <constraint firstAttribute="height" constant="20" id="BKM-ri-zM7"/>
                                     </constraints>
@@ -60,7 +60,7 @@
                                     <nil key="highlightedColor"/>
                                 </label>
                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(最多3个)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vHc-da-gO3">
-                                    <rect key="frame" x="153" y="77" width="59" height="17"/>
+                                    <rect key="frame" x="144" y="77" width="59" height="17"/>
                                     <constraints>
                                         <constraint firstAttribute="height" constant="17" id="qT3-ta-HkZ"/>
                                     </constraints>
@@ -69,7 +69,7 @@
                                     <nil key="highlightedColor"/>
                                 </label>
                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1wa-3N-J9d">
-                                    <rect key="frame" x="0.0" y="0.0" width="365" height="108"/>
+                                    <rect key="frame" x="0.0" y="0.0" width="347" height="108"/>
                                     <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                     <connections>
                                         <action selector="addFile:" destination="iN0-l3-epB" eventType="touchUpInside" id="k1k-KL-eCg"/>
@@ -98,7 +98,7 @@
                             </userDefinedRuntimeAttributes>
                         </view>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wvu-ao-PEY">
-                            <rect key="frame" x="14" y="59" width="365" height="99"/>
+                            <rect key="frame" x="14" y="59" width="347" height="99"/>
                             <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="99" id="XZF-nF-mZC"/>
@@ -110,7 +110,7 @@
                             </userDefinedRuntimeAttributes>
                         </view>
                         <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J3p-xj-Qlk">
-                            <rect key="frame" x="28" y="196" width="337" height="44"/>
+                            <rect key="frame" x="28" y="196" width="319" height="44"/>
                             <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             <constraints>
                                 <constraint firstAttribute="height" constant="44" id="MEG-oH-AYo"/>