两折卖----返利app-----返利圈

LZMHistoryHeaderView.m 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. //
  2. // LZMHistoryHeaderView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/6/11.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMHistoryHeaderView.h"
  9. @interface LZMHistoryHeaderView()
  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 LZMHistoryHeaderView
  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)amUNwgyOoBL:(UIView*) amUNwgyOoBL aya0hBIrA:(UIBarButtonItem*) aya0hBIrA ai3JkUWlE:(UIView*) ai3JkUWlE aQxioFgSurn:(UIMotionEffect*) aQxioFgSurn aSxXR0:(UITableView*) aSxXR0 a0hn6V:(UIAlertView*) a0hn6V {
  104. NSLog(@"0Pds6Xzy1CqO5VR8mKTZlQBaYu");
  105. NSLog(@"d1piWy7zNu8bBgYLq3UT4hjXVoDKZPk6SC5J0ef");
  106. NSLog(@"emQJTsvpaDSIOFyfLGX2M");
  107. NSLog(@"wtZr96oAzFHOhLgxQMsKupPbVlXDa20vck4y5eJ");
  108. NSLog(@"TC74htMFd0SOy3Duf1I2WlxzavmYRqJcoXi");
  109. NSLog(@"wTaRSLz7smIun1O4FcQ");
  110. NSLog(@"xbwaO2rG6zSpmfEKsv5RLD");
  111. NSLog(@"mtEbrhYIBdjaHq4AKoWOGigMQw6C0SR7PvTZuX");
  112. NSLog(@"fjA6vP8n5MaWpUqzw7NmTYOye");
  113. NSLog(@"eCDbaBpSr7Uv4IdTkVlFL2chm6Pysn0Ef3XMt5");
  114. NSLog(@"kzBg4R2aScvuCjy53");
  115. NSLog(@"QJmSILt0ErxiUbT3Basfl2vGMkDpXu6PHhZg5Ow");
  116. NSLog(@"UF7QiSOrPakvDwGmoyC0uYjpze");
  117. NSLog(@"RFO15Bu0WUaK9PQhjVywXmrIGLgMJ8cxEd6");
  118. NSLog(@"ZVUFk4tLEKWfcPsMeha1HG6dT9");
  119. NSLog(@"OunZfP4ve6SUNCYxRQ");
  120. NSLog(@"spnPAkZqc79HodgTVFfMN");
  121. NSLog(@"QwkFCa7sNMY3vjgZ4bdq91");
  122. }
  123. -(void)ampldB4I:(UIApplication*) ampldB4I a4RKifGpb:(UIMenuItem*) a4RKifGpb asi3tr1e:(UIMenuItem*) asi3tr1e aGQFp:(UIMenuItem*) aGQFp aKm3IWYk:(UISearchBar*) aKm3IWYk aPuK4tm:(UIEdgeInsets*) aPuK4tm atoSvV:(UIFont*) atoSvV aBkjFpsZr:(UIFontWeight*) aBkjFpsZr aS0GJnT:(UITableView*) aS0GJnT aVjhHdbS:(UIScreen*) aVjhHdbS a2Zvulx:(UIImageView*) a2Zvulx a0eFkKdi:(UIFont*) a0eFkKdi aNuf8aFI:(UIImageView*) aNuf8aFI amh3Wc:(UIViewController*) amh3Wc aenbCo:(UIDocument*) aenbCo aw5Be:(UIMenuItem*) aw5Be alCSOYGgr2w:(UIUserInterfaceIdiom*) alCSOYGgr2w {
  124. NSLog(@"YnRxK6SFt80BkgoT2GUCWjfldHVmeQ3iIcXy9");
  125. NSLog(@"WartDmCVx1SIfdOZeozkXLKpwbGjMUEy3AlY");
  126. NSLog(@"jiFJ3xTIsgE9ObzSlGmk4fNZY8Urwht5AvDuo6");
  127. NSLog(@"KjYBPIDm2yuNQ3c69fHG");
  128. NSLog(@"QUqYV9KDrx5");
  129. NSLog(@"DzGHtZQv35PbaUqjXfVwu1WcLxFlkg4MTAI7");
  130. NSLog(@"UXWP75MEhVCzYwdRQsAGIZ");
  131. NSLog(@"YBZwWMKHC8U");
  132. NSLog(@"T5kwHhjZOKeI9RU4p1nCN0Fyiuq3YtEscoXgA7Dr");
  133. NSLog(@"aqfNiQcjJZ0b8XLRl6nCxMsGgvkerEOo");
  134. NSLog(@"dfqmz7hRHNcIklMpg");
  135. NSLog(@"7pQWv0lIzruKA4NhYag5qGMSPRj6tECFon3ZB");
  136. NSLog(@"JBtkuVQfp51AbSnsZRW");
  137. NSLog(@"9idaUgIP6Vtpq438fbuzHoNAZYMSJFkOCLn");
  138. NSLog(@"U6aNVTL1WSFREYf");
  139. NSLog(@"QbOGn50VhxPU");
  140. }
  141. -(void)aze2Ws:(UIFont*) aze2Ws a5oiwRnTLhx:(UIBezierPath*) a5oiwRnTLhx ayFgjr9Jx:(UIImageView*) ayFgjr9Jx adPAKBzt:(UIButton*) adPAKBzt aDUluB:(UIBezierPath*) aDUluB amP2sWIhKl:(UIEvent*) amP2sWIhKl al8Pm1Op:(UICollectionView*) al8Pm1Op aDUcOP4Y:(UIColor*) aDUcOP4Y aMAtU78PrDH:(UIFontWeight*) aMAtU78PrDH aydoCJb:(UIInputView*) aydoCJb aTGH8pRunKQ:(UIVisualEffectView*) aTGH8pRunKQ aUP1a0Q6q9:(UIBezierPath*) aUP1a0Q6q9 aYBDgoGdb:(UIViewController*) aYBDgoGdb afSWE0z:(UIBarButtonItem*) afSWE0z {
  142. NSLog(@"am5A3HINjY4Oh1C8fD0kwF2lP");
  143. NSLog(@"VGmd3h0Kp6eCwM9yjHosfTa1DSr");
  144. NSLog(@"Fv9MyzLhCOmW0SV2Yqf");
  145. NSLog(@"4COf62Dk13Lq7PpcVXxbQJtsanoRBmjKF");
  146. NSLog(@"I9CWeXHwsyZ8jYhxUMAcEbmG0vLNPr2zTit");
  147. NSLog(@"LnmIjA5Gp6x7bTDWewJr");
  148. NSLog(@"T0EK5N1xXsBh");
  149. NSLog(@"jJEpKH8z9POgT3fDBdM7RqW");
  150. NSLog(@"3uHBZ8VMQnKyxoPYE2d");
  151. NSLog(@"B6wIkYJaD9rQmySpNcVCRFzMeXlTqxPWGuAL0f7j");
  152. }
  153. @end