Ver código fonte

添加客服

15555599100 5 anos atrás
pai
commit
b02209551d

+ 23 - 0
HappyJob/HappyJob/Assets.xcassets/Common/customerService_icon.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "悬浮 客服.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "悬浮 客服@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "悬浮 客服@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
HappyJob/HappyJob/Assets.xcassets/Common/customerService_icon.imageset/悬浮 客服.png


BIN
HappyJob/HappyJob/Assets.xcassets/Common/customerService_icon.imageset/悬浮 客服@2x.png


BIN
HappyJob/HappyJob/Assets.xcassets/Common/customerService_icon.imageset/悬浮 客服@3x.png


+ 77 - 27
HappyJob/HappyJob/CClass/Home_首页/HJHomeViewController.m

@@ -49,6 +49,7 @@ HJPageListViewDelegate
 @property (nonatomic, strong) HJHomeDataBox                *homeDataBox;
 @property (nonatomic, strong) AMapLocationManager          *locationManager;//高德定位
 @property (nonatomic, strong) HJCheckVersionAPIManager     *checkAPIManager;//版本更新
+@property (nonatomic, strong) UIButton                     *customerServiceBtn;//客服
 
 @end
 
@@ -73,7 +74,7 @@ HJPageListViewDelegate
     [super viewDidLoad];
     NAVI_BACK_TITLE;
     [self hj_setupNavBar];
-    [self addSubViews];
+    [self addSubviewsMakeConstraints];
     
     //检查更新
     self.checkAPIManager.version = APP_VERSION;
@@ -83,8 +84,47 @@ HJPageListViewDelegate
     [self.getBannerAPIManager start];
     
     //定位
-    HJCityPickerCity *locCity = [HJCityPickerCity locationCity];
+    [self positioningCity];
+    
+    //添加城市选择通知
+    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityPickerViewSelectCity:) name:HJCityPickerCitySelectedNotification object:nil];
+        
+}
+
+- (void)addSubviewsMakeConstraints {
+    
+    // 添加列表视图
+    [self.view addSubview:self.navBarView];
+    [self.view insertSubview:self.pageListView belowSubview:self.navBarView];
+    [self.view addSubview:self.customerServiceBtn];
+
+    [self.navBarView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.right.equalTo(self.view);
+        make.top.equalTo(self.view.mas_top).offset(0);
+        make.height.mas_equalTo(STATUS_H + 44);
+    }];
     
+    [self.pageListView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.top.equalTo(self.navBarView.mas_bottom).offset(0);
+        make.left.right.bottom.equalTo(self.view).offset(0);
+    }];
+    [self.headerView mas_makeConstraints:^(MASConstraintMaker *make) {
+        // 注意要加top
+        make.top.width.equalTo(self.pageListView.tableView);
+    }];
+    [self.customerServiceBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+       
+        make.right.equalTo(self.view.mas_right).offset(-10);
+        make.bottom.equalTo(self.view.mas_bottom).offset(-15);
+    }];
+    
+}
+/*
+ *定位
+ */
+- (void)positioningCity {
+    
+    HJCityPickerCity *locCity = [HJCityPickerCity locationCity];
     if (locCity == nil)
     {
         [self.locationManager requestLocationWithReGeocode:YES completionBlock:^(CLLocation *location, AMapLocationReGeocode *regeocode, NSError *error) {
@@ -108,30 +148,6 @@ HJPageListViewDelegate
         self.getHotPositionAPIManager.cityCode = locCity.adcode;
         [self.getHotPositionAPIManager start];
     }
-    
-    //添加城市选择通知
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityPickerViewSelectCity:) name:HJCityPickerCitySelectedNotification object:nil];
-        
-}
-
-- (void)addSubViews {
-    
-    [self.view addSubview:self.navBarView];
-    [self.navBarView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.right.equalTo(self.view);
-        make.top.equalTo(self.view.mas_top).offset(0);
-        make.height.mas_equalTo(STATUS_H + 44);
-    }];
-    // 添加列表视图
-    [self.view insertSubview:self.pageListView belowSubview:self.navBarView];
-    [self.pageListView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(self.navBarView.mas_bottom).offset(0);
-        make.left.right.bottom.equalTo(self.view).offset(0);
-    }];
-    [self.headerView mas_makeConstraints:^(MASConstraintMaker *make) {
-        // 注意要加top
-        make.top.width.equalTo(self.pageListView.tableView);
-    }];
 }
 
 #pragma mark - UITableViewDelegate
@@ -228,6 +244,28 @@ HJPageListViewDelegate
     vc.hidesBottomBarWhenPushed = YES;
     [self.navigationController pushViewController:vc animated:YES];
 }
+/*
+ *客服
+ */
+- (void)customerServiceClick:(UIButton *)btn {
+    
+    HJWebViewController *webView = [[HJWebViewController alloc] init];
+    webView.titleStr = @"客服";
+    webView.webUrl = kCustomerServiceURL;
+    webView.hidesBottomBarWhenPushed = YES;
+    [self.navigationController pushViewController:webView animated:YES];
+    
+}
+/*
+ *平移手势
+ */
+- (void)pan:(UIPanGestureRecognizer *)pan{
+    
+    UIButton * imageV = (UIButton *)pan.view ;
+    CGPoint point = [pan translationInView:imageV] ;
+    pan.view.transform =CGAffineTransformTranslate(pan.view.transform, point.x, point.y);
+    [pan setTranslation:CGPointZero inView:pan.view];
+}
 
 #pragma mark - HJBannerScrollViewDelegate
 
@@ -357,7 +395,7 @@ HJPageListViewDelegate
 
 #pragma mark - private methods
 
-#pragma mark - getters and setters
+#pragma mark - lazy
 
 - (HJCheckVersionAPIManager *)checkAPIManager {
     
@@ -473,5 +511,17 @@ HJPageListViewDelegate
     }
     return _navBarView;
 }
+- (UIButton *)customerServiceBtn {
+    
+    if (_customerServiceBtn == nil)
+    {
+        _customerServiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [_customerServiceBtn setImage:[UIImage imageNamed:@"customerService_icon"] forState:UIControlStateNormal];
+        [_customerServiceBtn addTarget:self action:@selector(customerServiceClick:) forControlEvents:UIControlEventTouchUpInside];
+        UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)] ;
+        [_customerServiceBtn addGestureRecognizer:pan] ;
+    }
+    return _customerServiceBtn;
+}
 
 @end

+ 5 - 1
HappyJob/HappyJob/CClass/JobList_工作列表信息/FullTime_全职工作/HJFullTimeDetailViewController.m

@@ -65,7 +65,11 @@ UIScrollViewDelegate
     [self.detailView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.top.left.right.bottom.equalTo(self.view);
     }];
-    
+    [self.detailView.customerServiceBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+       
+        make.right.equalTo(self.detailView).offset(-10);
+        make.bottom.equalTo(self.detailView.mas_bottomMargin).offset(-70);
+    }];
     self.detailAPIManager.positionID = self.detailView.positionID;
     self.detailAPIManager.positionType = self.detailView.positionType;
     [self.detailAPIManager start];

+ 1 - 0
HappyJob/HappyJob/CClass/JobList_工作列表信息/PositionDetail_岗位详情/View/HJPositionDetailView.h

@@ -28,6 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
 @property (nonatomic, strong) UIButton *favoriteButton;//收藏
 @property (nonatomic, strong) UIButton *shareButton;//分享
 @property (nonatomic, strong) UIButton *applyButton;//申请
+@property (nonatomic, strong) UIButton *customerServiceBtn;//客服
 @property (nonatomic, strong) FBScrollLayoutView      *scrollLayoutView;
 @property (nonatomic, weak)   FBBaseAPIManager        *APIManager;
 @property (nonatomic, weak)   id<FBAPIManagerDataBox> dataBox;

+ 58 - 34
HappyJob/HappyJob/CClass/JobList_工作列表信息/PositionDetail_岗位详情/View/HJPositionDetailView.m

@@ -21,6 +21,7 @@
 #import "WXApiObject.h"
 #import "WXApi.h"
 #import "HJPositionDetailShareView.h"
+#import "HJWebViewController.h"
 
 
 @interface HJPositionDetailView ()
@@ -41,20 +42,38 @@
     if (self = [super init])
     {
         _title = @"职位详情";
-        // 错误页面刷新事件
-        [self.errorView.refreshButton addTarget:self
-                                         action:@selector(refreshButtonClicked:)
-                               forControlEvents:UIControlEventTouchUpInside];
-        
-        [self addSubview:self.scrollLayoutView];
-        [self.scrollLayoutView mas_makeConstraints:^(MASConstraintMaker *make) {
-            
-            make.edges.equalTo(self);
-        }];
+        [self addSubviewsMakeConstraints];
     }
     return self;
 }
-
+- (void)addSubviewsMakeConstraints{
+    
+    // 错误页面刷新事件
+    [self.errorView.refreshButton addTarget:self
+                                     action:@selector(refreshButtonClicked:)
+                           forControlEvents:UIControlEventTouchUpInside];
+    
+    [self addSubview:self.scrollLayoutView];
+    [self addSubview:self.customerServiceBtn];
+    [self.scrollLayoutView mas_makeConstraints:^(MASConstraintMaker *make) {
+        
+        make.edges.equalTo(self);
+    }];
+    
+    [self.customerServiceBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+       
+        make.right.equalTo(self).offset(-10);
+        
+        if (@available(iOS 11.0, *))
+        {
+            make.bottom.equalTo(self.mas_safeAreaLayoutGuideBottom).offset(-65);
+        }
+        else
+        {
+            make.bottom.equalTo(self.mas_bottom).offset(-65);
+        }
+    }];
+}
 #pragma mark - FBAPIManagerInterceptor
 
 - (BOOL)manager:(FBBaseAPIManager *)manager shouldStartCallAPIWithParams:(NSDictionary *)params {
@@ -205,30 +224,24 @@
     HJPositionDetailShareView *shareView = [[HJPositionDetailShareView alloc]init];
     [shareView.shareImageView hJPositionDetailShareImageViewDict:self.detailDict];
     [self.saveTaskAPI start];
+}
+/* 客服 */
+- (void)customerServiceClick:(UIButton *)btn {
     
-//    self.shareImageData =  UIImageJPEGRepresentation([self getNormalImage:self] , 0.8);
-//    WXMiniProgramObject *object = [WXMiniProgramObject object];
-//    object.webpageUrl = @"https://www.baidu.com";//兼容低版本的网页链接
-//    object.userName = self.detailDict[kHJPositionDetailShareWXID];
-//    object.path = [NSString stringWithFormat:@"/pages/detail/index?cate=%@&hpPositionId=%@",self.detailDict[kHJDetailPositionCategory],self.detailDict[kHJDetailPositionID]];
-//    object.hdImageData = self.shareImageData;
-//    object.withShareTicket = YES;
-//    object.miniProgramType = WXMiniProgramTypeRelease;
-//
-//    WXMediaMessage *message = [WXMediaMessage message];
-//    message.title = @"开心工作入职有奖";
-//    message.description = @"开心工作入职有奖";
-//    message.thumbData = nil;  //兼容旧版本节点的图片,小于32KB,新版本优先
-//    //使用WXMiniProgramObject的hdImageData属性
-//    message.mediaObject = object;
-//
-//    SendMessageToWXReq *req = [[SendMessageToWXReq alloc] init];
-//    req.bText = NO;
-//    req.message = message;
-//    req.scene = WXSceneSession;  //目前只支持会话
-//    [WXApi sendReq:req];
+    HJWebViewController *webView = [[HJWebViewController alloc] init];
+    webView.titleStr = @"客服";
+    webView.webUrl = kCustomerServiceURL;
+    webView.hidesBottomBarWhenPushed = YES;
+    [[self viewController].navigationController pushViewController:webView animated:YES];
+}
+/*平移手势*/
+- (void)pan:(UIPanGestureRecognizer *)pan{
+    
+    UIButton * imageV = (UIButton *)pan.view ;
+    CGPoint point = [pan translationInView:imageV] ;
+    pan.view.transform =CGAffineTransformTranslate(pan.view.transform, point.x, point.y);
+    [pan setTranslation:CGPointZero inView:pan.view];
 }
-
 #pragma mark - 获得当前页面的截图
 
 - (UIImage *)getNormalImage:(UIView *)view {
@@ -360,5 +373,16 @@
     }
     return _applyButton;
 }
-
+- (UIButton *)customerServiceBtn {
+    
+    if (_customerServiceBtn == nil)
+    {
+        _customerServiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [_customerServiceBtn setImage:[UIImage imageNamed:@"customerService_icon"] forState:UIControlStateNormal];
+        [_customerServiceBtn addTarget:self action:@selector(customerServiceClick:) forControlEvents:UIControlEventTouchUpInside];
+        UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)] ;
+        [_customerServiceBtn addGestureRecognizer:pan] ;
+    }
+    return _customerServiceBtn;
+}
 @end

+ 1 - 1
HappyJob/HappyJob/CClass/Join_拼工/HJJoinDetailHeaderView.m

@@ -209,7 +209,7 @@
     
 }
 
-#pragma mark - setter & getter
+#pragma mark - lazy
 
 - (UIView *)bgView {
     

+ 52 - 8
HappyJob/HappyJob/CClass/Join_拼工/HJJoinDetailViewController.m

@@ -24,7 +24,7 @@
 #import "HJPositionDetailModel.h"
 #import "HJJoinDetailDataBox.h"
 #import "HJPositionDetailShareView.h"//分享
-
+#import "HJWebViewController.h"
 
 @interface HJJoinDetailViewController ()
 <
@@ -57,6 +57,8 @@ FBAPIManagerDelegate
 @property (nonatomic, assign) NSUInteger                      myGroupID;
 
 @property (nonatomic, strong) UIButton *shareButton;//分享
+@property (nonatomic, strong) UIButton *customerServiceBtn;//客服
+
 
 @end
 
@@ -83,9 +85,7 @@ FBAPIManagerDelegate
     
     self.title = @"拼工详情";
     [self hj_setupNavBar];
-    // 错误页面刷新事件
-    [self.view.errorView.refreshButton addTarget:self action:@selector(refreshButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
-    [self.view addSubview:self.scrollLayoutView];
+    [self makeConstraints];
     
     //调用拼团详情接口
     self.detailAPIManager.positionID = self.positionID;
@@ -97,10 +97,23 @@ FBAPIManagerDelegate
     
     //添加登录刷新通知
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginRefresh:) name:HJLoginRefreshNotification object:nil];
+}
+
+- (void)makeConstraints {
     
+    [self.view addSubview:self.scrollLayoutView];
+    [self.view addSubview:self.customerServiceBtn];
     [self fb_setupNavBarRightButtonItems:@[self.shareButton]];
+    [self.customerServiceBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+       
+        make.right.equalTo(self.view.mas_right).offset(-10);
+        make.bottom.equalTo(self.view.mas_bottomMargin).offset(-65);
+    }];
+    // 错误页面刷新事件
+    [self.view.errorView.refreshButton addTarget:self action:@selector(refreshButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
+    
+    
 }
-
 #pragma mark - FBScrollLayoutViewDelegate
 
 - (void)scrollLayoutViewMakeConstraints:(FBScrollLayoutView *)scrollLayoutView {
@@ -232,7 +245,6 @@ FBAPIManagerDelegate
     allJoinPanel.delegate = self;
     allJoinPanel.dataBox = self.detailDataBox;
     [self.navigationController pushViewController:allJoinPanel animated:YES];
-
 }
 
 #pragma mark - HJJoinAllJoinPanelDelegate
@@ -410,7 +422,6 @@ FBAPIManagerDelegate
         [appDelegate pushLoginViewController];
         return;
     }
-    
     self.saveFavoriteAPIManager.positionID = self.positionID;
     self.saveFavoriteAPIManager.positionType = self.positionType;
     self.saveFavoriteAPIManager.favorite = !sender.selected;
@@ -448,7 +459,28 @@ FBAPIManagerDelegate
         }
     }
 }
-
+/*
+ 客服
+ */
+- (void)customerServiceClick:(UIButton *)btn {
+    
+    HJWebViewController *webView = [[HJWebViewController alloc] init];
+    webView.titleStr = @"客服";
+    webView.webUrl = kCustomerServiceURL;
+    webView.hidesBottomBarWhenPushed = YES;
+    [self.navigationController pushViewController:webView animated:YES];
+    
+}
+/*
+ *平移手势
+ */
+- (void)pan:(UIPanGestureRecognizer *)pan{
+    
+    UIButton * imageV = (UIButton *)pan.view ;
+    CGPoint point = [pan translationInView:imageV] ;
+    pan.view.transform =CGAffineTransformTranslate(pan.view.transform, point.x, point.y);
+    [pan setTranslation:CGPointZero inView:pan.view];
+}
 #pragma mark - private methods
 
 /*
@@ -685,5 +717,17 @@ FBAPIManagerDelegate
     }
     return _shareButton;
 }
+- (UIButton *)customerServiceBtn {
+    
+    if (_customerServiceBtn == nil)
+    {
+        _customerServiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [_customerServiceBtn setImage:[UIImage imageNamed:@"customerService_icon"] forState:UIControlStateNormal];
+        [_customerServiceBtn addTarget:self action:@selector(customerServiceClick:) forControlEvents:UIControlEventTouchUpInside];
+        UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)] ;
+        [_customerServiceBtn addGestureRecognizer:pan];
+    }
+    return _customerServiceBtn;
+}
 
 @end

+ 1 - 1
HappyJob/HappyJob/CClass/Join_拼工/HJJoinTableViewCell.m

@@ -157,7 +157,7 @@
     
     self.openBlock();
 }
-#pragma mark - getters and setters
+#pragma mark - lazy
 
 - (void)setWelfareTagArray:(NSArray *)welfareTagArray {
     

+ 45 - 4
HappyJob/HappyJob/CClass/Join_拼工/HJJoinViewController.m

@@ -12,6 +12,7 @@
 #import "HJPositionDataBox.h"
 #import "HJGetGroupPositionAPIManager.h"
 #import "HJJoinAgreementViewController.h"
+#import "HJWebViewController.h"
 #import "HJCityPickerCity.h"
 #import "CountDown.h"
 #import "XHDate.h"
@@ -25,6 +26,7 @@
 @property (nonatomic, strong) HJGetGroupPositionAPIManager *getGroupPositionAPIManager;
 @property (nonatomic, strong) CountDown                    *countDown;
 @property (nonatomic, assign) NSTimeInterval               startTimeInterval;
+@property (nonatomic, strong) UIButton                     *customerServiceBtn;//客服
 
 
 @end
@@ -42,8 +44,6 @@
     
     [super viewDidLoad];
     [self hj_setupNavBar];
-    [self fb_setupNavBarRightButtonItems:@[self.agreementButton]];
-    [self.view addSubview:self.pageListView];
     [self makeConstraints];
     self.getGroupPositionAPIManager.cityCode = [HJCityPickerCity locationCity].adcode;
     [self.getGroupPositionAPIManager start];
@@ -58,15 +58,23 @@
     
     //添加城市选择通知
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityPickerViewSelectCity:) name:HJCityPickerCitySelectedNotification object:nil];
-    
 }
 
 - (void)makeConstraints {
     
+    [self.view addSubview:self.pageListView];
+    [self.view addSubview:self.customerServiceBtn];
+    [self fb_setupNavBarRightButtonItems:@[self.agreementButton]];
     [self.pageListView mas_makeConstraints:^(MASConstraintMaker *make) {
         
         make.edges.equalTo(self.view);
     }];
+    [self.customerServiceBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+       
+        make.right.equalTo(self.view.mas_right).offset(-10);
+        make.bottom.equalTo(self.view.mas_bottom).offset(-15);
+    }];
+    
 }
 
 #pragma mark - UITableViewDelegate
@@ -94,7 +102,28 @@
     self.getGroupPositionAPIManager.cityCode = city.adcode;
     [self.getGroupPositionAPIManager start];
 }
-
+/*
+ 客服
+ */
+- (void)customerServiceClick:(UIButton *)btn {
+    
+    HJWebViewController *webView = [[HJWebViewController alloc] init];
+    webView.titleStr = @"客服";
+    webView.webUrl = kCustomerServiceURL;
+    webView.hidesBottomBarWhenPushed = YES;
+    [self.navigationController pushViewController:webView animated:YES];
+    
+}
+/*
+ *平移手势
+ */
+- (void)pan:(UIPanGestureRecognizer *)pan{
+    
+    UIButton * imageV = (UIButton *)pan.view ;
+    CGPoint point = [pan translationInView:imageV] ;
+    pan.view.transform =CGAffineTransformTranslate(pan.view.transform, point.x, point.y);
+    [pan setTranslation:CGPointZero inView:pan.view];
+}
 #pragma mark - private methods
 
 - (void)updateTimeInVisibleCells {
@@ -223,5 +252,17 @@
     }
     return _countDown;
 }
+- (UIButton *)customerServiceBtn {
+    
+    if (_customerServiceBtn == nil)
+    {
+        _customerServiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+        [_customerServiceBtn setImage:[UIImage imageNamed:@"customerService_icon"] forState:UIControlStateNormal];
+        [_customerServiceBtn addTarget:self action:@selector(customerServiceClick:) forControlEvents:UIControlEventTouchUpInside];
+        UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)] ;
+        [_customerServiceBtn addGestureRecognizer:pan] ;
+    }
+    return _customerServiceBtn;
+}
 
 @end

+ 2 - 17
HappyJob/HappyJob/Main_标签栏控制器/AppDelegate.m

@@ -14,7 +14,6 @@
 #import <IQKeyboardManager/IQKeyboardManager.h>
 #import <AMapFoundationKit/AMapFoundationKit.h>
 #import "HJLoginPhoneViewController.h"//登录
-
 #import "HJMainViewController.h"//C端的
 #import "BMainViewController.h"//自发布的
 #import "HJWelcomeViewController.h"//引导页
@@ -189,13 +188,6 @@
     }
 }
 
-#pragma mark - event response
-
-- (void)launchStartButtonClicked:(UIButton *)sender {
-    
-    [XHLaunchAd removeAndAnimated:YES];
-}
-
 #pragma mark - private methods
 
 /* 设置展示哪个端(C端和自发布端) */
@@ -244,14 +236,7 @@
     
     //设置你工程的启动页使用的是:LaunchImage 还是 LaunchScreen.storyboard(不设置默认:LaunchImage)
     [XHLaunchAd setLaunchSourceType:SourceTypeLaunchScreen];
-    
-    CGFloat width = HJHorizontalScale(180);
-    CGFloat height = 42;
-    UIButton *launchStartButton = [UIButton hj_createGradientButtonWithTitle:@"开启加薪之旅"];
-    launchStartButton.titleLabel.font = [UIFont systemFontOfSize:HJHorizontalScale(16)];
-    launchStartButton.frame = CGRectMake((SCREEN_WIDTH-width)/2, (SCREEN_HEIGHT-height-90), width, height);
-    [launchStartButton addTarget:self action:@selector(launchStartButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
-    
+
     UILabel *launchVersionLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, (SCREEN_HEIGHT-45), SCREEN_WIDTH, 20)];
     launchVersionLabel.text = [NSString stringWithFormat:@"v%@", [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]];
     launchVersionLabel.textColor = [UIColor colorWithRed:102/255.0 green:102/255.0 blue:102/255.0 alpha:1.0];
@@ -260,7 +245,7 @@
     
     XHLaunchImageAdConfiguration *imageAdconfiguration = [XHLaunchImageAdConfiguration defaultConfiguration];
     imageAdconfiguration.duration = 1;
-    imageAdconfiguration.subViews = @[launchVersionLabel, launchStartButton];
+    imageAdconfiguration.subViews = @[launchVersionLabel];
     imageAdconfiguration.skipButtonType = SkipTypeNone;
     imageAdconfiguration.showFinishAnimate = ShowFinishAnimateLite;
     [XHLaunchAd imageAdWithImageAdConfiguration:imageAdconfiguration delegate:self];

+ 3 - 0
HappyJob/HappyJob/Support/HJConfig.h

@@ -27,6 +27,9 @@ static NSString * const kuniversalLink = @"https://kf.hap-job.com/";
 /* 使用高德地图API,请注册Key,注册地址:http://lbs.amap.com/dev/#/ */
 static NSString * const kGAODEAPIKey = @"ec6c542ecc7faeaac443d9c2a0b74d67";
 
+static NSString * const kCustomerServiceURL = @"http://s.zhimakf.com/s/15421ibrr";
+
+
 
 
 #endif /* HJConfig_h */