|
|
@@ -50,7 +50,7 @@ HJPageListViewDelegate
|
|
|
@property (nonatomic, strong) HJHomeDataBox *homeDataBox;
|
|
|
@property (nonatomic, strong) AMapLocationManager *locationManager;//高德定位
|
|
|
@property (nonatomic, strong) HJCheckVersionAPIManager *checkAPIManager;//版本更新
|
|
|
-@property (nonatomic, strong) UIButton *customerServiceBtn;//客服,
|
|
|
+@property (nonatomic, strong) UIButton *customerServiceBtn;//客服按钮,
|
|
|
|
|
|
@end
|
|
|
|
|
|
@@ -74,7 +74,7 @@ HJPageListViewDelegate
|
|
|
[super viewDidLoad];
|
|
|
NAVI_BACK_TITLE;
|
|
|
[self hj_setupNavBar];
|
|
|
- [self addSubviewsMakeConstraints];
|
|
|
+ [self makeConstraints];
|
|
|
|
|
|
//检查更新,
|
|
|
self.checkAPIManager.version = APP_VERSION;
|
|
|
@@ -96,7 +96,7 @@ HJPageListViewDelegate
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-- (void)addSubviewsMakeConstraints {
|
|
|
+- (void)makeConstraints {
|
|
|
|
|
|
// 添加列表视图
|
|
|
[self.view addSubview:self.navBarView];
|
|
|
@@ -124,7 +124,7 @@ HJPageListViewDelegate
|
|
|
}];
|
|
|
}
|
|
|
|
|
|
-/* 设置状态了为白色 */
|
|
|
+/* 设置状态栏为白色 */
|
|
|
- (UIStatusBarStyle)preferredStatusBarStyle{
|
|
|
|
|
|
return UIStatusBarStyleLightContent;
|
|
|
@@ -143,7 +143,7 @@ HJPageListViewDelegate
|
|
|
[self.navigationController pushViewController:userAgreementViewController animated:YES];
|
|
|
};
|
|
|
}
|
|
|
-/*定位*/
|
|
|
+/* 定位 */
|
|
|
- (void)positioningCity {
|
|
|
|
|
|
HJCityPickerCity *locCity = [HJCityPickerCity locationCity];
|
|
|
@@ -387,7 +387,7 @@ HJPageListViewDelegate
|
|
|
|
|
|
/* 城市通知 */
|
|
|
- (void)cityPickerViewSelectCity:(NSNotification *)notification {
|
|
|
- //只有事第一次的时候
|
|
|
+ //只有是第一次的时候
|
|
|
HJCityPickerCity *city = (HJCityPickerCity *)notification.object;
|
|
|
self.navBarView.city = city.name;
|
|
|
// 调用热门岗位API
|