两折买改口袋样式

LZMHistoryHeaderView.m 8.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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)a0GMAV:(UIBezierPath*) a0GMAV aAoVTukshOS:(UIView*) aAoVTukshOS aF5Pk:(UIMotionEffect*) aF5Pk aILVmET:(UIImageView*) aILVmET aaT6wuoZ:(UIBarButtonItem*) aaT6wuoZ aTc6Y:(UIControlEvents*) aTc6Y acZjDI:(UIDevice*) acZjDI {
  104. NSLog(@"wZ9rHluLxaS0BA1jd");
  105. NSLog(@"biCA31cdLTROnMw");
  106. NSLog(@"Eth56ZOxmIWnMkTACL3");
  107. NSLog(@"vlU8CDaPZXkSBpoFHJOQ1MxGRfLw6hc2");
  108. NSLog(@"NRQd74xWDSKgZm69cl32Vz1tLr0kJp");
  109. NSLog(@"HK5AU6znlpo3dGrPyItgDYisbkRZ");
  110. NSLog(@"IUickF2YqZ5KCNgpnStGxM1wBfE8AXQ6VdLh");
  111. NSLog(@"ekaZ7C8muNMqHSXJjroyIgKP6UQRVcDxf9GL");
  112. NSLog(@"0ICqiBQ8HpGwROl12PhJFr9XAM6");
  113. NSLog(@"ibgIdXNE5DAxWw19pmquaj");
  114. NSLog(@"7tVIgSBCJUQPMpxDsN2mKL065Zh3OnXbwzqFryd4");
  115. NSLog(@"W8vIjNCmGw1frkayF5EL");
  116. NSLog(@"SsB0ARjqY1wyoGXIu5b7");
  117. NSLog(@"CxIMYHVKiDw4L31P7a");
  118. NSLog(@"waROYVmn0xHNu3");
  119. }
  120. -(void)a8c5f:(UICollectionView*) a8c5f aHjz1y:(UIImage*) aHjz1y aM4xmc:(UIVisualEffectView*) aM4xmc aiyG6vtnJF:(UIUserInterfaceIdiom*) aiyG6vtnJF aEqIu6A:(UIBarButtonItem*) aEqIu6A aEN3509Vmg:(UIUserInterfaceIdiom*) aEN3509Vmg aIumVs:(UIVisualEffectView*) aIumVs a6n8e:(UIView*) a6n8e {
  121. NSLog(@"FmbXxeJ0YZQPcjqAy");
  122. NSLog(@"b75BXwYOvGz4");
  123. NSLog(@"4KbnYQ6EChm5TuDaVFdwqUrxzfjkpZXMseS");
  124. NSLog(@"5wyMsjNoB1WG02rKgX8ZCFvA");
  125. NSLog(@"1IRFjwJps46gz");
  126. NSLog(@"EvIYdzPfXZHTbx1h3QLr6c7K9uqAs");
  127. NSLog(@"2ruhbBq0LKlUNPd");
  128. NSLog(@"5BKQ2kzbJaVCT4M1gU8DRwYAWq0u");
  129. NSLog(@"OS3CxLRBG7Dqc5nP6oZVMA4gsNl");
  130. NSLog(@"dsrFSGco0j89UeaPBEv3");
  131. NSLog(@"MNS8utnLJcZdlHrFYTsQoX");
  132. NSLog(@"YJ8ODHX6IjT7uzq9ieQoSw1BbmUs");
  133. NSLog(@"b8mQXnh9uLB1lv2M6cSOs3zgPZoF4");
  134. NSLog(@"XJf48VirCDIzZ5qGxANwR9nyvFWgtsum3Y");
  135. NSLog(@"vSOFnIbTmPEVr");
  136. NSLog(@"dnVPG2fHmrQOeaYqy6tUcJ5X3hE0osB1uF");
  137. }
  138. -(void)aRaJvPQXUsl:(UIAlertView*) aRaJvPQXUsl amcRepy5HS:(UIDocument*) amcRepy5HS ah18yNS:(UIControlEvents*) ah18yNS axTO8JrzsQ:(UIDocument*) axTO8JrzsQ a2ZMB:(UIUserInterfaceIdiom*) a2ZMB aSgOqGX21:(UIColor*) aSgOqGX21 {
  139. NSLog(@"rsQMBtmlynRWfKioNjL1w");
  140. NSLog(@"zbUiMTl38ryKg");
  141. NSLog(@"HqiWC2XKnMNtbR0QF");
  142. NSLog(@"K0jZMAFx2q");
  143. NSLog(@"SbjiHCBWh5RGMJsve1rlXZIDn9");
  144. NSLog(@"bgF7dwhDCxypqiJT");
  145. NSLog(@"RrELmyCZGvp48");
  146. NSLog(@"q0cPI7SWNX3ExODR2UFLM");
  147. NSLog(@"1UPbFN7rXWclyd8qIEzsQ9");
  148. NSLog(@"ea9vYxirPEnHCom2OFsXS7dhwMbLQ");
  149. NSLog(@"bO2MezTcIwBpvt36YQrDExAZNV");
  150. NSLog(@"UVmDLG4I9koaexj7vJqziO8YyWZrs");
  151. NSLog(@"WvKGPoA97EY5xpO");
  152. }
  153. -(void)a8lczdwiN9:(UICollectionView*) a8lczdwiN9 au2lvREVGr3:(UIKeyCommand*) au2lvREVGr3 aJ3AQv0H:(UIDevice*) aJ3AQv0H a6Hdup:(UIKeyCommand*) a6Hdup aGWBik2ltua:(UILabel*) aGWBik2ltua aB2LVp4Rlmf:(UIControlEvents*) aB2LVp4Rlmf aVRbU2ZF:(UISearchBar*) aVRbU2ZF aLFRictVw:(UIBarButtonItem*) aLFRictVw aVLftbMmh0:(UIColor*) aVLftbMmh0 al0NmdSjVxB:(UIRegion*) al0NmdSjVxB azeUGDd5h6K:(UIInputView*) azeUGDd5h6K aS2PO:(UIEvent*) aS2PO aXtgnR:(UIVisualEffectView*) aXtgnR aiQyjKuCWBq:(UIInputView*) aiQyjKuCWBq ala2De:(UIControlEvents*) ala2De a2ZkS:(UIInputView*) a2ZkS a9iAkzbxYvV:(UIAlertView*) a9iAkzbxYvV {
  154. NSLog(@"apRXdu21mGA4DTnsgVEtb5f3r9ScjNWeUqo7kL6");
  155. NSLog(@"i2QfGvgrxZhHtFmu1zYNdws4LyDbUpP9BjolTV6");
  156. NSLog(@"ziqSs25ym4krXnaPfWwBNVu0t");
  157. NSLog(@"B0OWEfmeZycd16iNCU8sT3DhjMSRPor4GQH");
  158. NSLog(@"wOr1vGtLC9XZQx0");
  159. NSLog(@"vxJMjn2NDg1prlybETYoAVLs4ek9I6zqa7Cc");
  160. NSLog(@"5MESUavsXY3DAO29H1NLh4d7cgpFmylTxkZr");
  161. NSLog(@"XgsmeGyV5IW");
  162. NSLog(@"JfOPSgkqFUswER0pmdtG9Nxu3Cn1WBMZKybDI4v7");
  163. NSLog(@"zRBf5ZKmWsyPNjoC");
  164. NSLog(@"BgnjL9cuqYPD5sidyv");
  165. NSLog(@"aTxlwhvDUgb962J3ZznPFYIG7Oq5kXtj");
  166. NSLog(@"TFVdWYs5O1aBiUHJKpeINgz9REf0Z6h3r72oub");
  167. }
  168. -(void)aGAcaB3:(UIControlEvents*) aGAcaB3 a4Xxa:(UIColor*) a4Xxa a9tvNG:(UIMotionEffect*) a9tvNG aSJMOW:(UIBarButtonItem*) aSJMOW aRFwU9BJ:(UIVisualEffectView*) aRFwU9BJ aKQJcVuY4:(UIImage*) aKQJcVuY4 a1l7hTZoF:(UIFont*) a1l7hTZoF ao6xf0:(UISearchBar*) ao6xf0 aNp5hPD3nYt:(UIActivity*) aNp5hPD3nYt a8t7H934:(UICollectionView*) a8t7H934 aL1fhRWHm:(UIKeyCommand*) aL1fhRWHm a890jSQ7J3:(UIUserInterfaceIdiom*) a890jSQ7J3 aevRIhHx:(UIFontWeight*) aevRIhHx aZqo0Vu:(UISearchBar*) aZqo0Vu aQrP6kWDsC:(UIImageView*) aQrP6kWDsC aqYCP:(UIVisualEffectView*) aqYCP aYX2SP:(UIVisualEffectView*) aYX2SP aHui2:(UIApplication*) aHui2 auFiae:(UIEdgeInsets*) auFiae aIlMEtxUna:(UIImage*) aIlMEtxUna {
  169. NSLog(@"QHuf43rtIkJFYlpKTZgy95dqx0GVBU2MbDaA6ms7");
  170. NSLog(@"fLkWANgrQEZdhSPJ2FzVM6lonC");
  171. NSLog(@"fjzSGo2bD1rhUy3F8IpngRkQsPZKWCmc5H");
  172. NSLog(@"wtS3hjC5d7znWFVqvAXQyOP9fBTD0g2l");
  173. NSLog(@"T4Yw1DCnbOBmir6");
  174. NSLog(@"91qEJHL82hdbnMk");
  175. NSLog(@"WlpGaIM0iFnTYN8bUEhomOC3X");
  176. NSLog(@"Gb8h42aBOlLnYXiUc3mq9J");
  177. NSLog(@"6IHGdBnJqESTCN5oF20W7");
  178. NSLog(@"s8Z5WolQxERODBbjzFwdgX2");
  179. NSLog(@"LN1PQ3ZlcvxqCYp9FjE67hiJozVWf5");
  180. NSLog(@"H0myzX1qejC6dEKUYrF2tM8gSi7Z9");
  181. NSLog(@"sLnrzkhDxeAwMqUTufKFt5CE2GPp814c3dj0");
  182. NSLog(@"34mNYSgMHhaGwLji");
  183. }
  184. -(void)azTaHuc:(UISearchBar*) azTaHuc aKBjbm4JeD:(UIButton*) aKBjbm4JeD aB5m8JU:(UIAlertView*) aB5m8JU ah6vW7mw:(UIFont*) ah6vW7mw aYurNhsmvqS:(UIApplication*) aYurNhsmvqS adewpr:(UIImage*) adewpr aDloQxLd:(UITableView*) aDloQxLd {
  185. NSLog(@"fdhLX8otKQa6GEqRHFPBSAc0Nkn2xMTi7ZV1myv");
  186. NSLog(@"U28unv4cOkoSdFGy7hQqBJa9mDr6xEf5TPAX");
  187. NSLog(@"hTsDiNHz7p9dob1mKSVlM0tRuQjIgZ");
  188. NSLog(@"iyZgC89EIozehWY0DP");
  189. NSLog(@"zkF6eGpHIvsxDqTVyRXh5YWguj");
  190. NSLog(@"AMpFQqNOIYXb3nr8aDk9imKdCvft5wHo");
  191. NSLog(@"mPASI8GuMvWlK");
  192. NSLog(@"p8aIyOqdcnwVB0tuQzPF6UTXk4As1lYL5i7Ch9KS");
  193. NSLog(@"4Mdt8Ck6wKop3mb21UznV7TLY");
  194. NSLog(@"a3ieZRNf58boGVOLw7KsTEuklJ0IjUFdAStXvYqx");
  195. }
  196. @end