Browse Source

bug修改

15555599100 6 years ago
parent
commit
88d140115f

+ 1 - 1
HappyJob/HappyJob/API/FBNetworking/FBBaseAPIManager.m

@@ -26,7 +26,7 @@
     {
         _fetchedRawData = nil;
         self.delegate = self;
-        
+        // 是用来检查对象是否实现了指定协议类的方法(conformsToProtocol)
         if ([self conformsToProtocol:@protocol(FBAPIManagerProtocol)])
         {
             self.child = (id<FBAPIManagerProtocol, FBAPIManagerValidator>)self;

+ 3 - 3
HappyJob/HappyJob/AppDelegate.m

@@ -25,14 +25,12 @@
 #import "BReleaseSelectTypeView.h"
 #import "HJLoginViewController.h"//登录
 
-
 @interface AppDelegate () <HJWelcomeViewDelegate,UITabBarControllerDelegate>
 
 @property (nonatomic, strong) BMainViewController  *bTabBarC;//自发布
 @property (nonatomic, strong) HJMainViewController *CTabBarC;
 @property (nonatomic, assign) int                  lastIndex;//tabBar选中的上一个的视图索引
 
-
 @end
 
 @implementation AppDelegate
@@ -44,7 +42,7 @@
     [[HJAppUserType sharedInstance] loadUserType];
     
     //设置状态栏为白色的
-//    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
+    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
     
     //配置广告数据
     [self setupAd];
@@ -146,6 +144,7 @@
     
     HJLoginViewController *loginVC=[[HJLoginViewController alloc]init];
     UINavigationController *navi=[[UINavigationController alloc]initWithRootViewController:loginVC];
+    navi.modalTransitionStyle = UIModalPresentationFullScreen;
     [self.window.rootViewController presentViewController:navi animated:YES completion:nil];
 }
 /* 切换身份 */
@@ -190,6 +189,7 @@
                     BReleaseJobsViewController *certification=[[BReleaseJobsViewController alloc]init];
                     certification.positionType = category;
                     UINavigationController *navi=[[UINavigationController alloc]initWithRootViewController:certification];
+                    navi.modalTransitionStyle = UIModalPresentationFullScreen;
                     [self.window.rootViewController presentViewController:navi animated:YES completion:nil];
                 };
                 [[[[UIApplication sharedApplication] delegate] window] addSubview:view];

+ 6 - 3
HappyJob/HappyJob/CClass/Me_我/Resume_个人简历/工作经验/HJExperienceViewController.m

@@ -59,7 +59,7 @@ UIGestureRecognizerDelegate
 - (void)viewDidLoad {
     [super viewDidLoad];
     self.title = @"工作经验";
-    
+    self.view.backgroundColor = COLOR_GRAYFA5;
     [self.view addSubview:self.scrollLayoutView];
     [self.scrollLayoutView.contentView addSubview:self.previousNextView];
     [self.previousNextView addSubview:self.companyView];
@@ -291,6 +291,7 @@ UIGestureRecognizerDelegate
         _companyView.contentTextField.keyboardType = UIKeyboardTypeDefault;
         _companyView.contentTextField.text = self.experience[kHJResumeKeyWorkCompany];
         _companyView.contentTextField.maxLength = 100;
+        _companyView.backgroundColor = [UIColor whiteColor];
     }
     return _companyView;
 }
@@ -305,6 +306,7 @@ UIGestureRecognizerDelegate
         _postView.contentTextField.keyboardType = UIKeyboardTypeDefault;
         _postView.contentTextField.text = self.experience[kHJResumeKeyWorkPosition];
         _postView.contentTextField.maxLength = 50;
+        _postView.backgroundColor = [UIColor whiteColor];
     }
     return _postView;
 }
@@ -318,6 +320,7 @@ UIGestureRecognizerDelegate
         _startDateView.contentTextField.delegate = self;
         _startDateView.contentTextField.inputView = self.datePickerView;
         _startDateView.contentTextField.text = self.experience[kHJResumeKeyWorkStartDate];
+        _startDateView.backgroundColor = [UIColor whiteColor];
     }
     return _startDateView;
 }
@@ -331,6 +334,7 @@ UIGestureRecognizerDelegate
         _endDateView.contentTextField.placeholder = @"点击选择离职时间";
         _endDateView.contentTextField.inputView = self.datePickerView;
         _endDateView.contentTextField.text = self.experience[kHJResumeKeyWorkEndDate];
+        _endDateView.backgroundColor = [UIColor whiteColor];
     }
     return _endDateView;
 }
@@ -399,9 +403,8 @@ UIGestureRecognizerDelegate
     {
         _scrollLayoutView = [[FBScrollLayoutView alloc] init];
         _scrollLayoutView.delegate = self;
-        _scrollLayoutView.backgroundColor = COLOR_GRAYFA5;
+        _scrollLayoutView.scrollView.backgroundColor = COLOR_GRAYFA5;
         _scrollLayoutView.contentView.backgroundColor = COLOR_GRAYFA5;
-        
     }
     return _scrollLayoutView;
 }

+ 1 - 1
HappyJob/HappyJob/CClass/Me_我/Resume_个人简历/求职意向/HJExpectationViewController.m

@@ -448,7 +448,7 @@ UIGestureRecognizerDelegate
     {
         _scrollLayoutView = [[FBScrollLayoutView alloc] init];
         _scrollLayoutView.delegate = self;
-        _scrollLayoutView.backgroundColor = COLOR_GRAYFA5;
+        _scrollLayoutView.scrollView.backgroundColor = [UIColor whiteColor];
         _scrollLayoutView.contentView.backgroundColor = COLOR_GRAYFA5;
     }
     return _scrollLayoutView;

+ 2 - 3
HappyJob/HappyJob/CClass/Me_我/Salary_薪资查询/HJSalaryViewController.m

@@ -110,8 +110,6 @@ FBAPIManagerDelegate
     [self.queryButton mas_makeConstraints:^(MASConstraintMaker *make) {
         make.edges.equalTo(footerView).with.insets(UIEdgeInsetsMake(20, 15, 20, 15));
     }];
-    self.queryButton.layer.cornerRadius = 25;
-    self.queryButton.layer.masksToBounds = YES;
 }
 
 #pragma mark - HJLoginFieldViewDelegate
@@ -300,7 +298,6 @@ FBAPIManagerDelegate
     return _salaryFieldView;
 }
 
-
 - (UIButton *)queryButton {
     
     if (_queryButton == nil)
@@ -308,6 +305,8 @@ FBAPIManagerDelegate
         _queryButton = [UIButton buttonWithType:UIButtonTypeCustom];
         [_queryButton setTitle:@"开始查询" forState:UIControlStateNormal];
         _queryButton.titleLabel.font = [UIFont systemFontOfSize:18];
+        _queryButton.layer.cornerRadius = 5;
+        _queryButton.layer.masksToBounds = YES;
         [_queryButton addTarget:self action:@selector(queryButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
         [_queryButton az_setGradientBackgroundWithColors:@[COLOR_GRADIENT_START, COLOR_GRADIENT_END]
                                                locations:@[@(0.0),@(1.0f)]

+ 2 - 1
HappyJob/HappyJob/Custom/Components/FBKit/FBLayout/FBScrollLayoutView.m

@@ -79,7 +79,8 @@
     {
         
         [self.footerView mas_makeConstraints:^(MASConstraintMaker *make) {
-            make.left.bottom.right.equalTo(self);
+            make.left.right.bottom.equalTo(self);
+//            make.bottom.equalTo(self.mas_bottomMargin).offset(0);
         }];
         [self.delegate subviewsMakeConstraintsInScrollLayoutView:self footerView:self.footerView];
     }

+ 0 - 1
HappyJob/HappyJob/Main_标签栏控制器/BMainViewController.m

@@ -25,7 +25,6 @@
     [super viewDidLoad];
     // Do any additional setup after loading the view.
 
-    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
     self.imageArray = [NSMutableArray array];
     [self createTabBar];
     

+ 0 - 1
HappyJob/HappyJob/Main_标签栏控制器/HJMainViewController.m

@@ -28,7 +28,6 @@
 - (void)viewDidLoad {
     [super viewDidLoad];
     
-    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
     [self addChildViewController:self.homeViewController title:@"首页" image:@"main_home" selectedImage:@"main_home_selected" tag:0];
     [self addChildViewController:self.moneyViewController title:@"拼工" image:@"main_join" selectedImage:@"main_join_selected" tag:1];
     [self addChildViewController:self.messageViewController title:@"消息" image:@"main_message" selectedImage:@"main_message_selected" tag:2];

+ 8 - 9
HappyJob/HappyJob/Support/HJConfig.h

@@ -29,17 +29,16 @@
 
 
 /******** 测试服接口地址 ********/
-//static NSString * const kHJBaseURL = @"https://kf.hap-job.com/happyjob/f/api/";
-//static NSString * const kBuglyAppID = @"d3e4636207";
-//static NSString * const kWeiXinAPIKey = @"wx9c053f7126db0b28";
-
+static NSString * const kHJBaseURL = @"https://kf.hap-job.com/happyjob/f/api/";
+static NSString * const kBuglyAppID = @"d3e4636207";
+static NSString * const kWeiXinAPIKey = @"wx9c053f7126db0b28";
 
 /******** 正式服接口地址 ********/
-static NSString * const kHJBaseURL = @"https://web.hap-job.com/happyjob/f/api/";
- /* Bugly开放平台AppID,注册地址:https://bugly.qq.com */
-static NSString * const kBuglyAppID = @"b532795704";
-/* 微信开放平台AppID,注册地址:https:open.weixin.qq.com */
-static NSString * const kWeiXinAPIKey = @"wxeb8c2418a8ace030";
+//static NSString * const kHJBaseURL = @"https://web.hap-job.com/happyjob/f/api/";
+// /* Bugly开放平台AppID,注册地址:https://bugly.qq.com */
+//static NSString * const kBuglyAppID = @"b532795704";
+///* 微信开放平台AppID,注册地址:https:open.weixin.qq.com */
+//static NSString * const kWeiXinAPIKey = @"wxeb8c2418a8ace030";
 
 
 /* 使用高德地图API,请注册Key,注册地址:http://lbs.amap.com/dev/#/ */