瀏覽代碼

修复了bug

南鑫林 5 年之前
父節點
當前提交
79d8a785de

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/AliyunVideo/AlivcShortVideo/ShortVideoFile/VideoCrop/Controller/AliyunCropViewController.m

@@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, AliyunCropPlayerStatus) {
         self.progressView = [[AliyunCycleProgressView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
         self.progressView.backgroundColor = [UIColor clearColor];
         self.progressView.center = self.view.center;
-        self.progressView.progressColor = [UIColor colorWithHexString:@"#62CC74"];
+        self.progressView.progressColor = [UIColor colorWithHexString:@"#25E0CD"];
         self.progressView.progressBackgroundColor = RGBToColor(160, 168, 183);
         [self.view addSubview:self.progressView];
     }

+ 2 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/AliyunVideo/AlivcShortVideo/ShortVideoFile/VideoEdit/Controller/AliyunEditViewController.m

@@ -218,6 +218,7 @@ AliyunIExporterCallback, AliyunIPlayerCallback>
  添加各种视图
  */
 - (void)addSubviews {
+    
     self.view.backgroundColor = [UIColor blackColor];
     //播放视图
     CGFloat factor = _outputSize.height / _outputSize.width;
@@ -306,7 +307,7 @@ AliyunIExporterCallback, AliyunIPlayerCallback>
     self.progressView = [[AliyunCycleProgressView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
     self.progressView.backgroundColor = [UIColor clearColor];
     self.progressView.center = self.view.center;
-    self.progressView.progressColor = [UIColor colorWithHexString:@"#62CC74"];
+    self.progressView.progressColor = [UIColor colorWithHexString:@"#25E0CD"];
     self.progressView.progressBackgroundColor = RGBToColor(160, 168, 183);
     [self.view addSubview:self.progressView];
     

+ 5 - 2
RainbowPlanet/RainbowPlanet/Modules/PublishModule/AliyunVideo/AlivcShortVideo/ShortVideoFile/VideoRecord/Controller/AliyunMagicCameraViewController.m

@@ -220,11 +220,14 @@
     
     
     [self.dbHelper openResourceDBSuccess:nil failure:nil];
-    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;
-    
 
 }
 
+- (UIStatusBarStyle)preferredStatusBarStyle {
+    return UIStatusBarStyleLightContent;
+}
+
+
 /**
  设置UI
  */

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMusicAbout/PublishRecommendMusicController.swift

@@ -184,7 +184,7 @@ extension PublishRecommendMusicController {
         let userName = UserModel.shared().getModel()?.username ?? ""
         let uid = UserModel.shared().getModel()?.uid ?? 0
         
-        SwiftMoyaNetWorkServiceCommunity.shared().communityUploadMusicApi(name: name, username: userName, url: url, uid: uid) {[weak self] (data) -> (Void) in
+        SwiftMoyaNetWorkServiceCommunity.shared().communityUploadMusicApi(name: name.trimmingCharacters(in: .whitespaces), username: userName, url: url, uid: uid) {[weak self] (data) -> (Void) in
             // 上传成功,返回
             SwiftProgressHUD.shared().showText("提交成功")
             self?.navigationController?.popViewController(animated: true)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Tools/WRNavigationBar/WRNavigationBar.swift

@@ -489,7 +489,7 @@ extension UINavigationController: UINavigationBarDelegate
 //=============================================================================
 // MARK: - store navigationBar barTintColor and tintColor every viewController
 //=============================================================================
-extension UIViewController: WRAwakeProtocol
+@objc extension UIViewController: WRAwakeProtocol
 {
     fileprivate struct AssociatedKeys
     {