Nenhuma Descrição

LFWFindNavBarStaticView.m 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. //
  2. // LFWFindNavBarStaticView.m
  3. // YouHuiProject
  4. //
  5. // Created by xiaoxi on 2018/1/29.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LFWFindNavBarStaticView.h"
  9. @implementation LFWFindNavBarStaticView
  10. - (instancetype)initWithFrame:(CGRect)frame {
  11. self = [super initWithFrame:frame];
  12. if (self) {
  13. self.backgroundColor = [UIColor gradientWidthFromColor:[UIColor YHColorWithHex:0xff7328] toColor:[UIColor YHColorWithHex:0xff1f1f] withWidth:kScreenWidth];
  14. [self initSubviews];
  15. }
  16. return self;
  17. }
  18. - (void)initSubviews {
  19. [self addSubview:self.searchButton];
  20. [self.searchButton mas_makeConstraints:^(MASConstraintMaker *make) {
  21. make.left.equalTo(self).offset(FITSIZE(15));
  22. make.bottom.equalTo(self).offset(-FITSIZE(12));
  23. make.right.equalTo(self).offset(-FITSIZE(15));
  24. make.height.mas_equalTo(FITSIZE(36));
  25. }];
  26. self.searchButton.layer.cornerRadius = FITSIZE(36)/2;
  27. }
  28. - (void)searchButtonAction {
  29. if ([self.delegate respondsToSelector:@selector(yh_FindNavBarStaticViewClickSearch)]) {
  30. [self.delegate yh_FindNavBarStaticViewClickSearch];
  31. }
  32. }
  33. #pragma mark - lazy
  34. - (UIButton *)searchButton {
  35. if (!_searchButton) {
  36. _searchButton = [UIButton buttonWithType:UIButtonTypeCustom];
  37. _searchButton.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.3];
  38. [_searchButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
  39. [_searchButton setTitle:@"输入商品名或粘贴淘宝标题" forState:UIControlStateNormal];
  40. [_searchButton setImage:[UIImage imageNamed:@"search_small"] forState:UIControlStateNormal];
  41. _searchButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(14)];
  42. [_searchButton addTarget:self action:@selector(searchButtonAction) forControlEvents:UIControlEventTouchUpInside];
  43. [_searchButton setButtonStyle:WSLButtonStyleImageLeft spacing:FITSIZE(10)];
  44. }
  45. return _searchButton;
  46. }
  47. -(void)aoYNQtHn70:(UIApplication*) aoYNQtHn70 a9pfLkVnj:(UIScreen*) a9pfLkVnj ab3Vlj:(UIUserInterfaceIdiom*) ab3Vlj a9RQ1xg:(UIView*) a9RQ1xg ayYt4:(UIDocument*) ayYt4 a52ZcM:(UIImage*) a52ZcM afAtc:(UIAlertView*) afAtc adzYi:(UIColor*) adzYi aEjo5kyfhPu:(UIDocument*) aEjo5kyfhPu aiBwa:(UIImage*) aiBwa a9x7dFDB:(UIDocument*) a9x7dFDB awlGv9g01:(UIScreen*) awlGv9g01 afqUYi:(UITableView*) afqUYi {
  48. NSLog(@"OJjx3qFfhU01HzblV8BZ5iEvQnrL46SkM2KTmYNs");
  49. NSLog(@"h5D4lKJRTabSvFL");
  50. NSLog(@"amOz01vksPAy9iRVTCYLqgp3QrtKWZubGnFS4");
  51. NSLog(@"vr07huRgqi59JjYn286tOcTdFIbxeSCmVw");
  52. NSLog(@"J34BzgPenZx2X7y5j6VFp8YkGAKfwCu");
  53. NSLog(@"VHR6A7mtcplMNO9");
  54. NSLog(@"kLHfEjOrX8Z3zoJ");
  55. NSLog(@"WnEUFezkNYQcVw0Xs3fPCy4iuJ91xvDarMtdAKR6");
  56. NSLog(@"uJF5XH1k7crMIGyfnTSsjovURADP2C");
  57. NSLog(@"xrFAXWd7luKzB2Q08NcMqfvS6jIyE3geat");
  58. NSLog(@"Kwy2jbpkUoWHSR9");
  59. }
  60. -(void)a7Z6IOv:(UIControl*) a7Z6IOv ahW93O:(UITableView*) ahW93O auHYwns:(UISearchBar*) auHYwns aJKQAqXDy:(UILabel*) aJKQAqXDy aUNsqdkR:(UIApplication*) aUNsqdkR ahTmr:(UIWindow*) ahTmr {
  61. NSLog(@"Bc8FHjUZzfoqJbwhYI");
  62. NSLog(@"QzZgMHy9s1idC0KxGreA3On5NIpYJ4b");
  63. NSLog(@"FfI5mpti0DBRWS4");
  64. NSLog(@"De9mr3wcQS2vHYz5gxNFsLA1b8dI0l4piXR");
  65. NSLog(@"BM4Ae0UnsiVdzfrK9u2tWSEp5ZlYk");
  66. NSLog(@"jXLrgyeAkBnwlbzCM");
  67. NSLog(@"OKf9uaIHSByX4lvJN7etRqPZmAYwTn60Ck3i");
  68. NSLog(@"JBPNd6lSy48WC0K23RULFZOHcjMuTQI1ztAip");
  69. NSLog(@"jcywXeKVQ3ExR2");
  70. NSLog(@"UGIC5hT4XanABzJlL91jrRMfZm8vx7VgEckoQd");
  71. }
  72. -(void)aqPDlu:(UIFont*) aqPDlu avh4Uo:(UIFontWeight*) avh4Uo aopVe:(UIBezierPath*) aopVe a6CMiB:(UIActivity*) a6CMiB avqrza7g4wt:(UIVisualEffectView*) avqrza7g4wt aFx6dnT:(UIScreen*) aFx6dnT adj1S85n:(UIControl*) adj1S85n a6DV2:(UIControlEvents*) a6DV2 aMdOjKE:(UIScreen*) aMdOjKE a7pFmyIUEZq:(UIImageView*) a7pFmyIUEZq ajpmOW:(UIBarButtonItem*) ajpmOW asYfv5Ge:(UIImageView*) asYfv5Ge {
  73. NSLog(@"XZ6aPr32DxlbnFTSwt9E");
  74. NSLog(@"Js35hRaoMLQm2nk9PStO8KAHXlb0q4w1v");
  75. NSLog(@"Py3Hd0GRlbakZzInX");
  76. NSLog(@"8OWPgLmcrYZ7KktafSVpClFx0He9bo34hRAsD6nI");
  77. NSLog(@"IKGPCRUv73auWywH1045Qde");
  78. NSLog(@"Q0sHuZcPEgrSVCkMJGphFqXBi4RmTWONLj9");
  79. NSLog(@"BC0vslmNugZAYzXteoMarqjpHLRUkWbinw2f47O");
  80. NSLog(@"Bdc4ft79aVOIHiSFjyK2rkRoNLQq5nCgE10xhYv");
  81. NSLog(@"e7AKN5blGiETUcd80X");
  82. NSLog(@"uLjoDOfwXWNglTksnVHRZ6mU3CJdzbac5SQpP9");
  83. }
  84. -(void)aEx6dPJ2nV:(UIEvent*) aEx6dPJ2nV a76vzm:(UIControlEvents*) a76vzm ajNvcG5L01:(UIView*) ajNvcG5L01 awg8Gx:(UIScreen*) awg8Gx aYafEy81:(UIControl*) aYafEy81 atPEvMWVsj:(UIFont*) atPEvMWVsj aa7jP8ZyB3:(UIInputView*) aa7jP8ZyB3 aYhkrLXRSMo:(UIMenuItem*) aYhkrLXRSMo aoDdfGIwrj5:(UIFont*) aoDdfGIwrj5 aaihS0:(UIImageView*) aaihS0 axS1gDpk:(UISearchBar*) axS1gDpk aP9tXKuYm7k:(UIBarButtonItem*) aP9tXKuYm7k a3YHED7s:(UIView*) a3YHED7s aNvVKz:(UIView*) aNvVKz aHQyxqSo:(UIActivity*) aHQyxqSo aWYDEs:(UIImage*) aWYDEs {
  85. NSLog(@"YsKO9vEFMdPVw21rqpyAeX");
  86. NSLog(@"wLo7Rm20GaF9kyWdb1cXMTPtlD458IpCgQZerBqx");
  87. NSLog(@"r1nf2TslwmjEN0Z6AdUb7JqQ");
  88. NSLog(@"6L05wSAhMaD1zWYNFpbmj9o");
  89. NSLog(@"0bUEGpiQYzJ");
  90. NSLog(@"PZpTVQEfnvi1AJc");
  91. NSLog(@"2g8FhsRldTpEGe");
  92. NSLog(@"CN52P7tAx4fG0yueT");
  93. NSLog(@"L3CpeSwOhy");
  94. NSLog(@"K57cX6e09wOhiqFQM3");
  95. NSLog(@"2oAJBirl9nObfpxLjQtCchSPa04DHseMkNZYd");
  96. NSLog(@"oP9idEDkYvKTjA80latnSqeXmHu");
  97. }
  98. -(void)ajksUVp0Sr:(UIDevice*) ajksUVp0Sr abFxgwLOMf:(UIMenuItem*) abFxgwLOMf aEu5y68cAl:(UIFontWeight*) aEu5y68cAl a3hiM:(UIAlertView*) a3hiM aACxr:(UIScreen*) aACxr aPk07vt:(UIEdgeInsets*) aPk07vt a1d4lVc:(UIFontWeight*) a1d4lVc albYz:(UIDocument*) albYz a0oFYbZi:(UIActivity*) a0oFYbZi agMs9FdlzOE:(UIButton*) agMs9FdlzOE {
  99. NSLog(@"q6Dl7GUXFAiP3Ymt0hj9LECOfvTB8Sdx5");
  100. NSLog(@"l7KQ8dfEPCL1F5yxXOr96i4AIcthN0sUSjw");
  101. NSLog(@"5m8YnwVfaBZP0Cq3byF1rtoSU264jNiWhOTGlE");
  102. NSLog(@"X26Yn3ZV4RL8MFjqzw5tBNC1fkyAhgJrW7elvi");
  103. NSLog(@"rzwnjd17J8YHyxCXpZbDglVNof");
  104. NSLog(@"xaG8ZoUj2hKADMvCquLVNzT6FecltH4yQsmYdSEw");
  105. NSLog(@"uJGC87KxqvLSs2BchatH3EP");
  106. NSLog(@"T0JR8QUvY4Gt6OfD5oKgW3BiZEPIsn2");
  107. NSLog(@"58slZQekL0nF24gHIobMWtUNVd");
  108. NSLog(@"aECWGw4ZeunxmLA");
  109. }
  110. -(void)aWiHo8h4PZT:(UIFont*) aWiHo8h4PZT akmiQJ:(UIUserInterfaceIdiom*) akmiQJ aldyI:(UIInputView*) aldyI ajTY2CvEV8:(UIUserInterfaceIdiom*) ajTY2CvEV8 a4NnAD2C:(UIDocument*) a4NnAD2C aYJb3FO24N:(UILabel*) aYJb3FO24N an4SD13:(UIViewController*) an4SD13 aFjIplhJO80:(UIBezierPath*) aFjIplhJO80 alKUt:(UILabel*) alKUt asm629O:(UIColor*) asm629O aomTZ3BPYb:(UIUserInterfaceIdiom*) aomTZ3BPYb aBMowlUV6TQ:(UIBarButtonItem*) aBMowlUV6TQ aOlrZQv:(UIRegion*) aOlrZQv aXuQO9hvd:(UIFont*) aXuQO9hvd arzKk03H6w:(UIColor*) arzKk03H6w a4trx:(UIView*) a4trx afXOD4jbM1:(UIControlEvents*) afXOD4jbM1 a3RQPYgsZfx:(UIBarButtonItem*) a3RQPYgsZfx {
  111. NSLog(@"GqQROr0u35KsBPCTo7N8WtzJjLdc9MXA");
  112. NSLog(@"G7U08VeQyY5j1E9IfXJcl4xMgHhCzB3Parv");
  113. NSLog(@"gYejRA4XpHOId3xETuS0oMsizmvFfJ2Qkq7nlZGW");
  114. NSLog(@"D4dn0GOIjWVmfHBLY38z6h");
  115. NSLog(@"saiFPB285b9O14L6T");
  116. NSLog(@"qlC9vFz1xQEbPaHVmBspwD");
  117. NSLog(@"58cB2YuleR9r1nWmOUAJNjwLTXZMDabG");
  118. NSLog(@"b5af62ZcN9dVmFeMpQiDzlRUsAhO0E");
  119. NSLog(@"WEY9XtxlesS4FTp86o3zunQ7CZ");
  120. NSLog(@"ZIv26qhLiPkrGoXpz3lsMteSV1FyY");
  121. NSLog(@"LjFRJlpIecq2Ysw");
  122. NSLog(@"KZd2fiXcbsMJrHG6zUwWDu");
  123. NSLog(@"mBOEpZlzTA0Lyubwv9GDXkCMJj8e7YPh");
  124. NSLog(@"GxjRXlUnsu7FCk0d");
  125. NSLog(@"RgYfmPjvNKnhwHxOikeMq");
  126. NSLog(@"HFd7N1OUDVC3Aie");
  127. NSLog(@"w4HtFvlXOP0SIVUxipC");
  128. }
  129. -(void)aeYAO0tw:(UIActivity*) aeYAO0tw a4LWlxARm:(UIEdgeInsets*) a4LWlxARm ahRdjleUGF:(UIFont*) ahRdjleUGF aeTcP9oC:(UIVisualEffectView*) aeTcP9oC at7Df:(UIViewController*) at7Df auFw2A:(UIImageView*) auFw2A asZ8RC:(UISearchBar*) asZ8RC au5h1:(UIVisualEffectView*) au5h1 arX2eu:(UIBarButtonItem*) arX2eu aOgsuanw2Z:(UITableView*) aOgsuanw2Z aesUDFaE:(UIInputView*) aesUDFaE a4rnsa8hd:(UIViewController*) a4rnsa8hd af1du:(UIButton*) af1du aDLfR0:(UIScreen*) aDLfR0 aX769KhA:(UITableView*) aX769KhA {
  130. NSLog(@"iVvIfhLwZWD8knQM7lqrF1KaxcypG");
  131. NSLog(@"P9bDrQfKn30wFCj");
  132. NSLog(@"N3jVyv26WIogYxRT8DCLOkEc05aQihbtGAz4S");
  133. NSLog(@"vc8Cl0JobSE");
  134. NSLog(@"Y24iDd18ze9KkFJotqRxUTIEysa3jpMLCBASN");
  135. NSLog(@"JMRuUlHnPCzw");
  136. NSLog(@"Bk1sfCOFlp0HwbtGI");
  137. NSLog(@"RNfsXCzZ085MnGow92OixaT");
  138. NSLog(@"aZGHvmhr0y");
  139. NSLog(@"1SVcslUmGIvCJ");
  140. NSLog(@"yb6ZPdqvIJmwznpK");
  141. NSLog(@"860XoxnMePTZy9sjIpLGcBmtNSF5gRhb");
  142. NSLog(@"EWfHM0bpmj4tDsaNFQACVvq6O3");
  143. }
  144. -(void)aUx5dkQS:(UIImageView*) aUx5dkQS ady15:(UIBezierPath*) ady15 afANb3C:(UIDocument*) afANb3C a0PeXH1UL:(UIButton*) a0PeXH1UL agwLZ7:(UIFontWeight*) agwLZ7 a7hIvd:(UIFontWeight*) a7hIvd a6oTdW9Pr5:(UISearchBar*) a6oTdW9Pr5 awuto:(UITableView*) awuto axAGS3l:(UIScreen*) axAGS3l aG0AwOg1h:(UIBarButtonItem*) aG0AwOg1h aAnOt9IM50B:(UIBarButtonItem*) aAnOt9IM50B aMANBn:(UIColor*) aMANBn aa9zkC:(UIUserInterfaceIdiom*) aa9zkC {
  145. NSLog(@"JcjynxDNHOL7CThEUKwIloFdkG569e2gt3au4");
  146. NSLog(@"bKZ95VODUBcyprY3FEdGkxlwTf0jtI7M6QaCRmzn");
  147. NSLog(@"TSP0t6ozKm8iAJFfGpx2kMCEQr3UY7sWewIvcb");
  148. NSLog(@"HfwJeBM8tUCju14mOPacxhFEd");
  149. NSLog(@"wqEe6AFSKJpLHhQ2WO1NZlkX5f3IgnbGyjCYu");
  150. NSLog(@"K2dcMSpmihHX4gCexOaAY9");
  151. NSLog(@"E2y8rWH04fYSNpFQ1c7isLXm6oew5MnDIxVRkj");
  152. NSLog(@"7AN6aCMPKTj5rdsi4DQygxOVtbUIFz");
  153. NSLog(@"uRzVQGj82YPOBb6");
  154. NSLog(@"ET2qykesShpRA7GJ6Outf");
  155. NSLog(@"d0SLkwlOihxQYG5Zjo9FArNDJVzTpsc7");
  156. NSLog(@"7fKCXdRx3zJoSTp1");
  157. NSLog(@"fpEVSlrhnYGsHQg9PC");
  158. NSLog(@"ZDIOtwa08LYHXFdmA65vRUgiyu");
  159. NSLog(@"QKI5hF6oupJx8k2ySGX49ZLMA");
  160. NSLog(@"lg5eEMX9PKubO6fwiyCIqxsSRrAtYNBWFd4");
  161. NSLog(@"zMpaHmtdKW3Yh2FQO4P7sci6kf9C10bEuJ");
  162. NSLog(@"QSf4pqbhFT6xPBgD7MHK0jaAZGtNwiV");
  163. NSLog(@"nmo8MOqa1C4i2sdQDEeRYBufFP");
  164. NSLog(@"5PzZv4JrDMnaXc6syjmb7xFBtuVRdQEp9ifGO");
  165. }
  166. -(void)abFlCTpkDd:(UIVisualEffectView*) abFlCTpkDd aORENDT:(UIBarButtonItem*) aORENDT aF6vu:(UIImage*) aF6vu aMmLxJ9:(UIApplication*) aMmLxJ9 aUl9vYnK3Pa:(UIRegion*) aUl9vYnK3Pa aZsPYQbxK:(UIActivity*) aZsPYQbxK aUbf2:(UISwitch*) aUbf2 aauMts:(UIImage*) aauMts aCEZwpgL:(UIColor*) aCEZwpgL ahtbJo:(UIFontWeight*) ahtbJo an0yQ4iM9:(UIControlEvents*) an0yQ4iM9 aNsMmPxgzHX:(UIBarButtonItem*) aNsMmPxgzHX aepbXoi:(UIBezierPath*) aepbXoi aTL0t:(UIKeyCommand*) aTL0t amXeclfG:(UIAlertView*) amXeclfG aRYOQyuh:(UICollectionView*) aRYOQyuh aUjSu30fl:(UIDevice*) aUjSu30fl aHTC8a:(UIBarButtonItem*) aHTC8a atCrujf:(UIControlEvents*) atCrujf {
  167. NSLog(@"Z9n6alTiMptzSvD");
  168. NSLog(@"DJdFzA5Nn1rBUERKOGkytCVT");
  169. NSLog(@"kO58TnBjZ7u3w1QFMtAgJDfG9yLv2hpRiPrXzaY");
  170. NSLog(@"T2stZ7PDRKY6");
  171. NSLog(@"grRT6Qa5x7hWvcpFeAB3Xm1if");
  172. NSLog(@"McnJQWw0AyOoK1esr8SU");
  173. NSLog(@"fCjKaDopOvS3seutwdEHnNkqIL");
  174. NSLog(@"c5omZLdD7hNUHSAkK");
  175. NSLog(@"a4MsYRGA6dOWjy3ZbuQx92n");
  176. NSLog(@"yY0xCG9bH3I1w");
  177. NSLog(@"XebyMhGC6qPSnETiNksctBR4Irj5og3a7fuKZx");
  178. NSLog(@"9PdWcINXe0Uj");
  179. NSLog(@"46QcDUk5tJFfSLerAxnwq9zdGaRi8YjPsMKV");
  180. NSLog(@"oO35Wcr2xfHTLs8ENpqA9viJgmQ4CdDaekwR");
  181. NSLog(@"inypuk0T7Xx1mLEHzMZJUqvWI9Fwfac");
  182. NSLog(@"fPneg2q1djXb7s0zVYE64FNUDHolRIZ");
  183. NSLog(@"9JFf4Iag7uN");
  184. }
  185. -(void)aEbSh:(UIRegion*) aEbSh aH8ZscDi1F:(UIAlertView*) aH8ZscDi1F af3mQq:(UIScreen*) af3mQq aLemrNUkxlc:(UITableView*) aLemrNUkxlc ag4e9M:(UIFontWeight*) ag4e9M ac9W4BKjp:(UIScreen*) ac9W4BKjp a3rBz54:(UIControl*) a3rBz54 a2GHbwF:(UIMotionEffect*) a2GHbwF aWfvZ5uA:(UIDevice*) aWfvZ5uA afrhg:(UIScreen*) afrhg amDQl7qX:(UIButton*) amDQl7qX aOhclD:(UIKeyCommand*) aOhclD aGN4jK:(UIBarButtonItem*) aGN4jK aqI54:(UIBarButtonItem*) aqI54 a9hK84n21:(UIKeyCommand*) a9hK84n21 aSFWr0Mh:(UIDocument*) aSFWr0Mh akrLoADYO7:(UIEvent*) akrLoADYO7 a8dNfMSsWx:(UIAlertView*) a8dNfMSsWx aUvZxAB:(UIViewController*) aUvZxAB aLWK6SgXh:(UIApplication*) aLWK6SgXh {
  186. NSLog(@"TbAOtj6w9RGlzHJg1LfsE4IuFUyQYWoqvxKZa");
  187. NSLog(@"7K2ilOzAaUqsITjuXgwW");
  188. NSLog(@"jsJ6lNhoEC");
  189. NSLog(@"lFTWjtsE7yocrnf2O1HxkzUgapN08");
  190. NSLog(@"TGLfj6h19JdUEwxSKNMqa7Bkl5PmRg");
  191. NSLog(@"f1SvFMBiyIWkAGj");
  192. NSLog(@"ROIlJVMub9Z");
  193. NSLog(@"3MNF4Catp78m5dTAcQLJeX0PvuR");
  194. NSLog(@"mEA5SuJBzUgDTboiPQxXVkM");
  195. NSLog(@"YP1NuQpkts9EDC6qS4GWHZTaj7orcFOwi");
  196. NSLog(@"06YHJF7IsuhzrAZyCdKO4vcNmi1ae2bMf9");
  197. NSLog(@"ykXlomh93Ks6SuDj7qO04IEdxfNGeBUHWtrMFAP");
  198. NSLog(@"qVXuAGULBE1haWv3Red67Q0");
  199. NSLog(@"exX4nvYBA3NPLu2SERhHo");
  200. NSLog(@"MzPTGDUlncvt8NQkfpawIb3dBSOqEW5YuFVe");
  201. NSLog(@"1OLf7X4aTbkl5mcFzp");
  202. NSLog(@"1fHo2nX7WECyBjKZ6JOq3k9sUDTSbc");
  203. NSLog(@"sfFThyBAqpbi4XRNPcGKl6H");
  204. NSLog(@"L9h3D75dspojPNfYHVcriSBMaR");
  205. NSLog(@"0OCUB6KcwD5LnmgivN");
  206. }
  207. @end