JXLocMapVC.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //
  2. // JXLocMapVC.h
  3. // shiku_im
  4. //
  5. // Created by Apple on 16/10/19.
  6. // Copyright © 2016年 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class JXLocPerImageVC;
  10. @interface JXLocMapVC : UIViewController<UIScrollViewDelegate>{
  11. ATMHud * _wait;
  12. }
  13. @property (nonatomic,assign) double locX;
  14. @property (nonatomic,assign) double locY;
  15. @property (nonatomic,strong) NSMutableArray * nearbyData;//数据源
  16. @property (nonatomic,strong) UIButton * resetLoca;
  17. @property (nonatomic,assign) int dataType;//依据VC获取不同的数据
  18. @property (nonatomic,assign) int currentDataType;//依据VC获取不同的数据
  19. @property (nonatomic,strong) NSMutableArray * allAnnotationView;
  20. @property (nonatomic,strong) UIScrollView * resumeScrolView;
  21. @property (nonatomic,strong) UIScrollView * topScrolView;
  22. @property (nonatomic,strong) UIView * topMinView;
  23. @property (nonatomic,strong) UIView * scrollBackground;
  24. @property (nonatomic,assign) int fnId;
  25. @property (nonatomic,assign) int cityId;
  26. @property (nonatomic,assign) int currentIndex;//当前显示ScrollView的index,点击后展示
  27. @property (nonatomic,assign) CGPoint lastContentSet;//旧的位置,用于判断ScrollView左划还是右划
  28. @property (nonatomic,assign) int direction;//ScrollView左划还是右划
  29. @property (nonatomic,strong) JXLocPerImageVC * lastAnnotationView;//上次被选择的大头针
  30. @property (nonatomic,strong) UIButton * lastButton;//上次被选择的按钮
  31. @property (nonatomic,strong) UIView * scaleView;//放大缩小按钮父视图
  32. //@property (nonatomic,strong) UIButton * enlargeButton;//放大按钮
  33. //@property (nonatomic,strong) UIButton * narrowButton;//缩小按钮
  34. //ScrollView里的控件
  35. @property (nonatomic,strong) UIView * jobDetailOne;
  36. @property (nonatomic,strong) UIView * jobDetailTwo;
  37. @property (nonatomic,strong) UIView * jobDetailThree;
  38. //标题
  39. @property (nonatomic,strong) UILabel * titleLabelOne;
  40. @property (nonatomic,strong) UILabel * titleLabelTwo;
  41. @property (nonatomic,strong) UILabel * titleLabelThree;
  42. //付费方式
  43. @property (nonatomic,strong) UILabel * payLabelOne;
  44. @property (nonatomic,strong) UILabel * payLabelTwo;
  45. @property (nonatomic,strong) UILabel * payLabelThree;
  46. //详情
  47. @property (nonatomic,strong) UILabel * detailLabelOne;
  48. @property (nonatomic,strong) UILabel * detailLabelTwo;
  49. @property (nonatomic,strong) UILabel * detailLabelThree;
  50. //头像
  51. @property (nonatomic,strong) UIImageView * headImageOne;
  52. @property (nonatomic,strong) UIImageView * headImageTwo;
  53. @property (nonatomic,strong) UIImageView * headImageThree;
  54. //昵称
  55. @property (nonatomic,strong) UILabel * nameLabelOne;
  56. @property (nonatomic,strong) UILabel * nameLabelTwo;
  57. @property (nonatomic,strong) UILabel * nameLabelThree;
  58. //认证
  59. @property (nonatomic,strong) UIImageView * identImageOne;
  60. @property (nonatomic,strong) UIImageView * identImageTwo;
  61. @property (nonatomic,strong) UIImageView * identImageThree;
  62. //信誉积分背景
  63. @property (nonatomic,strong) UIImageView * integralImageOne;
  64. @property (nonatomic,strong) UIImageView * integralImageTwo;
  65. @property (nonatomic,strong) UIImageView * integralImageThree;
  66. //信誉积分
  67. @property (nonatomic,strong) UILabel * integralLabelOne;
  68. @property (nonatomic,strong) UILabel * integralLabelTwo;
  69. @property (nonatomic,strong) UILabel * integralLabelThree;
  70. //距离
  71. @property (nonatomic,strong) UILabel * distanceLabelOne;
  72. @property (nonatomic,strong) UILabel * distanceLabelTwo;
  73. @property (nonatomic,strong) UILabel * distanceLabelThree;
  74. @property (nonatomic, strong) searchData *search;
  75. - (instancetype)initWithFrame:(CGRect)frame andType:(int)dataType;
  76. -(void)getDataByCurrentLocation;
  77. @end