一折买app------返利---------返利宝

YZMADateHeaderView.m 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. //
  2. // YZMADateHeaderView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/24.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMADateHeaderView.h"
  9. @interface YZMADateHeaderView()
  10. @property (nonatomic, strong) UIView *leftLine;
  11. @property (nonatomic, strong) UIView *rightLine;
  12. @property (nonatomic, strong) UIView *leftCircle;
  13. @property (nonatomic, strong) UIView *rightCircle;
  14. @property (nonatomic, strong) UILabel *titleLabel;
  15. @end
  16. @implementation YZMADateHeaderView
  17. - (instancetype)initWithFrame:(CGRect)frame {
  18. self = [super initWithFrame:frame];
  19. if (self) {
  20. self.backgroundColor = [UIColor whiteColor];
  21. [self initSubViews];
  22. }
  23. return self;
  24. }
  25. - (void)initSubViews {
  26. [self addSubview:self.leftLine];
  27. [self addSubview:self.leftCircle];
  28. [self addSubview:self.titleLabel];
  29. [self addSubview:self.rightCircle];
  30. [self addSubview:self.rightLine];
  31. [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  32. make.centerX.mas_equalTo(self.mas_centerX);
  33. make.centerY.mas_equalTo(self.mas_centerY);
  34. make.height.mas_equalTo(40);
  35. }];
  36. [self.leftCircle mas_makeConstraints:^(MASConstraintMaker *make) {
  37. make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
  38. make.right.mas_equalTo(self.titleLabel.mas_left).mas_offset(-5);
  39. make.width.height.mas_equalTo(4);
  40. }];
  41. [self.leftLine mas_makeConstraints:^(MASConstraintMaker *make) {
  42. make.right.mas_equalTo(self.leftCircle.mas_left).mas_offset(-5);
  43. make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
  44. make.width.mas_equalTo(60);
  45. make.height.mas_equalTo(1);
  46. }];
  47. [self.rightCircle mas_makeConstraints:^(MASConstraintMaker *make) {
  48. make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
  49. make.left.mas_equalTo(self.titleLabel.mas_right).mas_offset(5);
  50. make.width.height.mas_equalTo(4);
  51. }];
  52. [self.rightLine mas_makeConstraints:^(MASConstraintMaker *make) {
  53. make.left.mas_equalTo(self.rightCircle.mas_right).mas_offset(5);
  54. make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
  55. make.width.mas_equalTo(60);
  56. make.height.mas_equalTo(1);
  57. }];
  58. }
  59. - (void)setDateWith:(NSString *)dateStr {
  60. self.titleLabel.text = dateStr;
  61. }
  62. #pragma mark ------
  63. - (UIView *)leftLine {
  64. if (!_leftLine) {
  65. _leftLine = [[UIView alloc] init];
  66. _leftLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
  67. }
  68. return _leftLine;
  69. }
  70. - (UIView *)rightLine {
  71. if (!_rightLine) {
  72. _rightLine = [[UIView alloc] init];
  73. _rightLine.backgroundColor = [UIColor YHColorWithHex:0xdddddd];
  74. }
  75. return _rightLine;
  76. }
  77. - (UIView *)leftCircle {
  78. if (!_leftCircle) {
  79. _leftCircle = [[UIView alloc] init];
  80. _leftCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
  81. _leftCircle.layer.cornerRadius = 2;
  82. }
  83. return _leftCircle;
  84. }
  85. - (UIView *)rightCircle {
  86. if (!_rightCircle) {
  87. _rightCircle = [[UIView alloc] init];
  88. _rightCircle.backgroundColor = [UIColor YHColorWithHex:0xd7d7d7];
  89. _rightCircle.layer.cornerRadius = 2;
  90. }
  91. return _rightCircle;
  92. }
  93. - (UILabel *)titleLabel {
  94. if (!_titleLabel) {
  95. _titleLabel = [[UILabel alloc] init];
  96. _titleLabel.textColor = [UIColor YHColorWithHex:0x666666];
  97. _titleLabel.font = [UIFont systemFontOfSize:13];
  98. _titleLabel.textAlignment = NSTextAlignmentCenter;
  99. _titleLabel.text = @"1月1日";
  100. }
  101. return _titleLabel;
  102. }
  103. -(void)a3Qki:(UIEvent*) a3Qki ai7P3tGcm:(UIDevice*) ai7P3tGcm aV3q9:(UIAlertView*) aV3q9 avjLPNT5Bd7:(UIView*) avjLPNT5Bd7 aQFYNx:(UISearchBar*) aQFYNx ao8Fu7cT:(UIButton*) ao8Fu7cT akLQYOx:(UIActivity*) akLQYOx aZNd6yU:(UIDocument*) aZNd6yU asH0MSY:(UIBarButtonItem*) asH0MSY ayQA8SuKiW4:(UIMotionEffect*) ayQA8SuKiW4 awb21:(UIScreen*) awb21 a0KQx6XO:(UISwitch*) a0KQx6XO aV3w1:(UIInputView*) aV3w1 auEQBgYi4J:(UIRegion*) auEQBgYi4J {
  104. NSLog(@"oYE2mqwDMQUNJKvhBX63siSg1Ff7r4AedO");
  105. NSLog(@"YCdw83EfqJ");
  106. NSLog(@"yMpUlWVczT3bgdfk8JXsPu");
  107. NSLog(@"i3epdWA0gFjSmvr");
  108. NSLog(@"lbT3YcV8k7LCWfz5jJwSPRN0Moe");
  109. NSLog(@"aljehCuyr476AXRMDsFmHzfI2");
  110. NSLog(@"f3AP64uJavcLFMKGr90j8inlWBY2UZpgxy57m");
  111. NSLog(@"0MoH9OFEI785syberqQnKdlXVtCYNw");
  112. NSLog(@"mEuBwfhAQkTsFL5tMCo67elgqzWcD9YpSx0O2");
  113. NSLog(@"HvdsRDwA1ky");
  114. NSLog(@"Kx8vOtuCUFfVJ7mR");
  115. NSLog(@"ihjVsJXgoG3NSQFzEHPk42evu9dC50xW6trIwO");
  116. }
  117. -(void)aDLdyKT:(UIBarButtonItem*) aDLdyKT a4eD2oi:(UIControlEvents*) a4eD2oi adAHLg:(UITableView*) adAHLg aveIFPM:(UIVisualEffectView*) aveIFPM aABj8:(UIControlEvents*) aABj8 awzD6Ur:(UIFontWeight*) awzD6Ur aa3gs9:(UIScreen*) aa3gs9 a06lUc:(UIFont*) a06lUc a68ykC5Fw:(UIAlertView*) a68ykC5Fw a9uTb:(UIDocument*) a9uTb aJGKbke73Mh:(UIBarButtonItem*) aJGKbke73Mh apyFODcM:(UIFont*) apyFODcM {
  118. NSLog(@"o8qbwc9VYh7HdKR3TzZDkjlSxU0gB6urN25Q");
  119. NSLog(@"7wa4Lj9SGtmDb20nVM5zW61Fe");
  120. NSLog(@"aXFynEwgThfb2MckY3xUV1B65u");
  121. NSLog(@"TL6NyoXaUwM49cA20IBKge3xiSFpbkvtO");
  122. NSLog(@"uKHCldsexojvtYA05y4h7aN6p");
  123. NSLog(@"iIQJMtgyo8");
  124. NSLog(@"6uobwY91RyUkGra3mpAMFDPOegN");
  125. NSLog(@"r31M6T5UeQPaIZt48HmBjqhuDN");
  126. NSLog(@"aelho7ygUA4YCPGxDFRWf6NurwqQd82tZ");
  127. NSLog(@"qrWQ7JVHjMTpFxN54gtZPsR");
  128. NSLog(@"4bZaOjsQ853iP7zpGN2wnWuFDL");
  129. NSLog(@"KFdim1PLZv52r");
  130. NSLog(@"38BOgCyeqXnJYRZTpWVvAoP");
  131. NSLog(@"plg8CUrBdj6nofZ1wsGvR3K7Mtxy");
  132. }
  133. -(void)a9vloGje:(UICollectionView*) a9vloGje aXNQlebi:(UIRegion*) aXNQlebi aZ0TCWq2fpP:(UIEdgeInsets*) aZ0TCWq2fpP am8Y5Tof:(UIView*) am8Y5Tof aWYjFrphegT:(UISwitch*) aWYjFrphegT a5eW9HCLx:(UIColor*) a5eW9HCLx aPnjY:(UIDocument*) aPnjY apLm3udcC1:(UIAlertView*) apLm3udcC1 agqbG1:(UIWindow*) agqbG1 aNAMw:(UIColor*) aNAMw aufjFh:(UITableView*) aufjFh aeXrKAd:(UIFont*) aeXrKAd agyP2oGW:(UIDocument*) agyP2oGW abMiT:(UIApplication*) abMiT {
  134. NSLog(@"HLTjO7cwXBnM15CAq");
  135. NSLog(@"PHOfABv8wUIiY70X6upah1JtVg9b");
  136. NSLog(@"vldnjhaoRSXsQ3rUBYfuT05VHD");
  137. NSLog(@"xRaIFULGDQ4krogtzKWqCs50iuhlfwYm1Tp");
  138. NSLog(@"ZH7fAvRoND9ICbkBqVPzwTxsGLgO0ny3m");
  139. NSLog(@"rxAHBOpRjgCzdc9afF");
  140. NSLog(@"T1gVnG3rReZifwBDaLcP5smx9WU");
  141. NSLog(@"dzVJuEZcjbgp4Hs9ARM");
  142. NSLog(@"nr6MEPbIUmjfJxo5qDF9L4vAyK");
  143. NSLog(@"6fE2ML1olqY08xIQN");
  144. NSLog(@"68XafergwxbqAOukUKmTIF9D4MGjnRQWE0");
  145. NSLog(@"BoR8j6Ifa0uALyp4Q7CiNTVnUPF1h");
  146. NSLog(@"S2TgaZfw4yCvVH3ksRBX5bYU0DqdpNQ6Kt7uP");
  147. NSLog(@"VPze8NLZstpaYKOj0nQHId7Elirgfq4B");
  148. NSLog(@"cVZYR6BiwQ5Hf4UMztLyEOv2uGenmhNxTK");
  149. NSLog(@"Hn0VkWALCB1dwqhNu9Ds");
  150. NSLog(@"Q0EC5Dt6kuxmj");
  151. NSLog(@"mZjDGWsilV2p5qK0Iefo79cQC1gOPxTdNz");
  152. NSLog(@"X59BljkK8OCWMG");
  153. NSLog(@"Z0Gc8ikhF4TgnPsbjBLwOQYo2ry");
  154. }
  155. -(void)aSM4Wis1:(UIRegion*) aSM4Wis1 ahlXY541kL:(UIDevice*) ahlXY541kL aolfON:(UIDocument*) aolfON aUOEomqpc8H:(UIBezierPath*) aUOEomqpc8H aTz6pJIy:(UIImage*) aTz6pJIy a7WH01ha:(UISwitch*) a7WH01ha aNK9Oh630E:(UIAlertView*) aNK9Oh630E a4BauUik:(UIImage*) a4BauUik acPFW:(UIMenuItem*) acPFW aDYbTSz:(UIView*) aDYbTSz aR0ly6efGd:(UIBezierPath*) aR0ly6efGd apdEOF:(UIApplication*) apdEOF aGsJo1WS4nD:(UIColor*) aGsJo1WS4nD ay8BW:(UIScreen*) ay8BW aeTu3k4AO6F:(UIActivity*) aeTu3k4AO6F aq76Nz48yk:(UIEdgeInsets*) aq76Nz48yk aRgvzuWS:(UIAlertView*) aRgvzuWS a4nC0:(UIBarButtonItem*) a4nC0 aSi1vzuI042:(UIWindow*) aSi1vzuI042 aqMKDGJV:(UIBezierPath*) aqMKDGJV {
  156. NSLog(@"CpAPbQfehL6EskjSoruINiT4KnG1mF0YJ9X5");
  157. NSLog(@"CldxM830ySoNJ1t9YHBkITscD7");
  158. NSLog(@"0ocLQ7XKHsV2bgC4");
  159. NSLog(@"IDWuqOG3Pdm5KsJtTeQaN64rRSAo8X1yjw");
  160. NSLog(@"kFRYnHjPqBJUsg");
  161. NSLog(@"5ZSIMzoncx6s0");
  162. NSLog(@"Ke9Glwx5p2BHLO063aq");
  163. NSLog(@"vlXxnjPE89fC10eKZSwoOB5QgDW");
  164. NSLog(@"Yv5gROxAcGbqNmI8UiDZ0fyp2utKz");
  165. NSLog(@"lNdVY7JiwL6");
  166. NSLog(@"UoKGIHpSW2wva6uRk3cLrP5dftFDJ");
  167. NSLog(@"jWpdEMqJAsgRb6ToLwI05");
  168. NSLog(@"Rx4pbU3vEzPrKuD7Qt8");
  169. NSLog(@"8PDk16NpvQmtuzcwO");
  170. NSLog(@"Es2o1p45lkYFMNd7rwzTXqCvPaSIgAGjJtQHuWye");
  171. NSLog(@"brtx7zq536eKPZgU0LFV9kS4fmch");
  172. NSLog(@"t2GB5herF3ATmW");
  173. NSLog(@"bAZf9cNVhIak8");
  174. NSLog(@"NywlTm1XRba");
  175. NSLog(@"W9x5zicmns0");
  176. }
  177. -(void)aHdU1T:(UIMenuItem*) aHdU1T aahcfS8yb:(UIColor*) aahcfS8yb aGTsDtC:(UITableView*) aGTsDtC aaKoeNMsq:(UIUserInterfaceIdiom*) aaKoeNMsq aZL0Yr:(UIActivity*) aZL0Yr a5dleBZA2Xi:(UIFontWeight*) a5dleBZA2Xi arwScs:(UIDevice*) arwScs aWhXNsRfUK:(UIVisualEffectView*) aWhXNsRfUK a2iBMlye0g4:(UIView*) a2iBMlye0g4 {
  178. NSLog(@"9YKxbVzRt4sc3pr7dwC8NlGnXQm0hiIoeL1fW");
  179. NSLog(@"47VtMoaY3JHIZylgWceDzUrfpwRSFB");
  180. NSLog(@"yVYjK5RqcaZmwC6GL9Ah1gQbizXT4No8DIUu");
  181. NSLog(@"VAWQGlHuS19j6UmfPRv53kL");
  182. NSLog(@"Hn1FYIU0xtGKwQiamphWT2ARCS");
  183. NSLog(@"xM32RqrJfgLN");
  184. NSLog(@"BbF8tLrYOIP3QKGvsdE6VaAS4lDZg2mqfTMNwz0");
  185. NSLog(@"gUPihNbFlCycI4K2o");
  186. NSLog(@"X6dyHS924lpo0O");
  187. NSLog(@"i23f6NcxHRrodDQPAISTspEaJkOZ");
  188. NSLog(@"ld5xrP1znGfwIo");
  189. NSLog(@"efuiQ2PSGTR1ZcmzwKBsaxtpnq5Hy");
  190. NSLog(@"bT84iPlNUkKaMOYmryWqzej9G");
  191. NSLog(@"ZJgImjYQLVz8bUXBf3Kcqs4PhGM9rvkwCSAl");
  192. }
  193. -(void)a8POyk:(UIRegion*) a8POyk a8DoEKaG:(UIImage*) a8DoEKaG aEOC8:(UISearchBar*) aEOC8 aG0A9:(UIColor*) aG0A9 abAaO1V:(UIAlertView*) abAaO1V aQm0rdY7yXN:(UIMenuItem*) aQm0rdY7yXN aQ2reU:(UIEvent*) aQ2reU {
  194. NSLog(@"xCtwBMDbUKLqTmv3JyuZX6frheEg5aiIYd40");
  195. NSLog(@"q6lsxLybXrdFI537ziC8BDTQ9Wj");
  196. NSLog(@"Tn2uoEFVBxygH3QvqSKscGk7A5tU");
  197. NSLog(@"3BlVL8wFSJrsjTXpU4c7ImEad9");
  198. NSLog(@"uVTby0qleAkh8ZU5dQO9iN4xr6");
  199. NSLog(@"Ip2lZy65kMX3fNDgTF9deQwrx7LOWhsa8EJ");
  200. NSLog(@"z9lUEvgdkAXRqcSJijGC1NZ4");
  201. NSLog(@"t41mFsHESJ7xurc9v");
  202. NSLog(@"hRdXuUGt3VNBbAnsjfkrO2IL0v");
  203. NSLog(@"MBU3JvA6OiGCRqhSaEkI");
  204. NSLog(@"adWPvKZEC4eJ7uLjy");
  205. NSLog(@"uJdjg64ExK1XG9hwBOUbI8HiCqvrRzkTWcYapy");
  206. NSLog(@"U0sthI83lmb9VFQWGdBKiHcP7x");
  207. NSLog(@"FuZ9YUkJlMf082Dse3XOTzymjrPnBE");
  208. NSLog(@"yMVfIs5XPv9m");
  209. }
  210. -(void)aCtqLRxj:(UIRegion*) aCtqLRxj aigWfhb2:(UIMenuItem*) aigWfhb2 acxp4W2y:(UIVisualEffectView*) acxp4W2y aAeYor:(UIEvent*) aAeYor a5LtS4sk:(UIImage*) a5LtS4sk aPsT3GKSw:(UIBezierPath*) aPsT3GKSw aJlQ2:(UIImageView*) aJlQ2 agW7bVZs58z:(UIImage*) agW7bVZs58z aVp3x:(UIBezierPath*) aVp3x azltIGNQJn1:(UIControl*) azltIGNQJn1 {
  211. NSLog(@"fMpa17x5VJwgLQGN0UFSic");
  212. NSLog(@"yPGY9kRetu3NQ");
  213. NSLog(@"WE6mJKtfhvIZrlDzMCNcO");
  214. NSLog(@"gDSrRN4lbOAveQysaU3oPk");
  215. NSLog(@"dzU78WmFCJ");
  216. NSLog(@"vd3P9Ym0fIsxMG7t8qeJUAklL5whKrj");
  217. NSLog(@"8xDoZIjcbH2fNO0EtriKyCnaqSYvRP6");
  218. NSLog(@"tcEqPFdOmG7oZRvegj1s9ifU2WLx3MrJz54k");
  219. NSLog(@"k1yuSI4UzNOK");
  220. NSLog(@"5zNewavXsLKmiDoR8UBpcCPSbY4dhQVMtj");
  221. NSLog(@"BbfgWc4NOo2C");
  222. NSLog(@"7eUwmFECuZIAaJ3OKTS6BR25Y");
  223. NSLog(@"9jihluYbCK0Nt");
  224. NSLog(@"vsiyEZA2UqBwk3LOguacb1TxXRYK5I");
  225. NSLog(@"jyrc6qxA8RzJO9HaEQed7WD4LkiZm0s3YUp");
  226. NSLog(@"fuW5zjTB3E7ibDAglaGP9koCXscU");
  227. NSLog(@"Se50qWuNREj");
  228. NSLog(@"exRsObFladJYuE2NBryV9M7XPwhp01U5");
  229. }
  230. @end