15555599100 5 vuotta sitten
vanhempi
commit
5e21c6869f
1 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 7 6
      HappyJob/HappyJob/CClass/Home_首页/HJHomeViewController.m

+ 7 - 6
HappyJob/HappyJob/CClass/Home_首页/HJHomeViewController.m

@@ -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,8 @@ HJPageListViewDelegate
         [self.navigationController pushViewController:userAgreementViewController animated:YES];
     };
 }
-/*定位*/
+
+/* 定位 */
 - (void)positioningCity {
     
     HJCityPickerCity *locCity = [HJCityPickerCity locationCity];
@@ -387,7 +388,7 @@ HJPageListViewDelegate
 
 /* 城市通知 */
 - (void)cityPickerViewSelectCity:(NSNotification *)notification {
-    //只有第一次的时候
+    //只有第一次的时候
     HJCityPickerCity *city = (HJCityPickerCity *)notification.object;
     self.navBarView.city = city.name;
     // 调用热门岗位API