Geen omschrijving

LFWSearchNoDataView.m 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. //
  2. // LFWSearchNoDataView.m
  3. // YouHuiProject
  4. //
  5. // Created by xiaoxi on 2018/2/5.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LFWSearchNoDataView.h"
  9. @implementation LFWSearchNoDataView
  10. - (instancetype)initWithFrame:(CGRect)frame {
  11. self = [super initWithFrame:frame];
  12. if (self) {
  13. self.backgroundColor = [UIColor whiteColor];
  14. [self initSubviews];
  15. }
  16. return self;
  17. }
  18. - (void)initSubviews {
  19. UIImageView *topImageView = [[UIImageView alloc] init];
  20. topImageView.backgroundColor = [UIColor clearColor];
  21. topImageView.image = [UIImage imageNamed:@"search_no_data"];
  22. [self addSubview:topImageView];
  23. UILabel *topLabel = [[UILabel alloc] init];
  24. topLabel.backgroundColor = [UIColor clearColor];
  25. topLabel.textColor = [UIColor YHColorWithHex:0x333333];
  26. topLabel.font = [UIFont systemFontOfSize:FITSIZE(14)];
  27. topLabel.text = @"没有找到相关结果";
  28. [self addSubview:topLabel];
  29. UILabel *middleLabel = [[UILabel alloc] init];
  30. middleLabel.backgroundColor = [UIColor clearColor];
  31. middleLabel.textColor = [UIColor YHColorWithHex:0x888888];
  32. middleLabel.font = [UIFont systemFontOfSize:FITSIZE(14)];
  33. middleLabel.text = @"试试其他搜索词";
  34. [self addSubview:middleLabel];
  35. UIButton *bottomButton = [UIButton buttonWithType:UIButtonTypeCustom];
  36. bottomButton.backgroundColor = [UIColor clearColor];
  37. [bottomButton setTitleColor:[UIColor YHColorWithHex:0x666666] forState:UIControlStateNormal];
  38. bottomButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(15)];
  39. [bottomButton setTitle:@"刷新" forState:UIControlStateNormal];
  40. bottomButton.layer.borderWidth = 1.0f;
  41. bottomButton.layer.borderColor = [UIColor YHColorWithHex:0xb3b3b3].CGColor;
  42. bottomButton.layer.cornerRadius = 3.0f;
  43. [bottomButton addTarget:self action:@selector(refreshButtonAction) forControlEvents:UIControlEventTouchUpInside];
  44. [self addSubview:bottomButton];
  45. [topImageView mas_makeConstraints:^(MASConstraintMaker *make) {
  46. make.centerX.equalTo(self);
  47. make.top.equalTo(self).offset(FITSIZE(30));
  48. }];
  49. [topLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  50. make.centerX.equalTo(self);
  51. make.top.equalTo(topImageView.mas_bottom).offset(FITSIZE(22));
  52. }];
  53. [middleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
  54. make.centerX.equalTo(self);
  55. make.top.equalTo(topLabel.mas_bottom).offset(FITSIZE(6));
  56. }];
  57. [bottomButton mas_makeConstraints:^(MASConstraintMaker *make) {
  58. make.centerX.equalTo(self);
  59. make.top.equalTo(middleLabel.mas_bottom).offset(FITSIZE(20));
  60. make.width.mas_equalTo(FITSIZE(102));
  61. make.height.mas_equalTo(FITSIZE(30));
  62. }];
  63. }
  64. - (void)refreshButtonAction {
  65. if ([self.delegate respondsToSelector:@selector(yh_SearchNoDataViewDidRefresh)]) {
  66. [self.delegate yh_SearchNoDataViewDidRefresh];
  67. }
  68. }
  69. -(void)aleD3QnhW:(UIFontWeight*) aleD3QnhW ad9meOT:(UIMenuItem*) ad9meOT a5upkh:(UIScreen*) a5upkh adF9ZPgub:(UIInputView*) adF9ZPgub afyJ2:(UIImageView*) afyJ2 agJrXF:(UICollectionView*) agJrXF aM1zsl:(UICollectionView*) aM1zsl abtCAzJqE:(UIViewController*) abtCAzJqE a4nIfK:(UIControl*) a4nIfK aGmq2w:(UIButton*) aGmq2w aRBSUdsPT6M:(UIAlertView*) aRBSUdsPT6M aPWITdt9Fq:(UIDocument*) aPWITdt9Fq a3HQ0FN:(UIAlertView*) a3HQ0FN azb2Q6:(UISearchBar*) azb2Q6 {
  70. NSLog(@"QPcuEflLnx1TGw72qgb3k5FaIytVSivUWoz8Ae");
  71. NSLog(@"0KtmNbCYRgvWq3VX2j59nsBJ");
  72. NSLog(@"oNOUwjigMkbYWfCpZ9PlShv7mELtrGHA3zQqxJF");
  73. NSLog(@"Obf6zAjBXW3SaNFRgCTkDpPcv5Kn2Vx8Z");
  74. NSLog(@"y8qK40NtjelnpCgRb2aIEk35Gvdo9BHVf1");
  75. NSLog(@"3sAaebKSzFL1GN0X5cuj9ZOmirpVBUknv7YEMgtC");
  76. NSLog(@"ywNJ0orDjWVqSOaPtipTgn4EG3YFLZd9cAv2");
  77. NSLog(@"GAVKtLkR2v");
  78. NSLog(@"OE2vRtwbm5HTeYifBKdlWJa34pMQZCn6V");
  79. NSLog(@"XBFOp7xl1QvcPLenVSUfztmTRY8DW6IbhKJMNA");
  80. NSLog(@"Il7kQS5uiweOvxUZfjE3");
  81. NSLog(@"jD0l3VoGO4B8xge5unt");
  82. NSLog(@"yaYGvB01P5Z");
  83. }
  84. -(void)ayYsAWaOu:(UISearchBar*) ayYsAWaOu ayx2z1Bb:(UISwitch*) ayx2z1Bb aFIZ37n:(UIViewController*) aFIZ37n a0jqm4TVO:(UIFont*) a0jqm4TVO aZ59kMS:(UIVisualEffectView*) aZ59kMS a10Au:(UISwitch*) a10Au aQ1Ni8t:(UIBarButtonItem*) aQ1Ni8t a8709Q:(UITableView*) a8709Q a4E1yx3:(UITableView*) a4E1yx3 aYapDZ:(UIDocument*) aYapDZ aSB9fyi:(UITableView*) aSB9fyi alFyjB5C6Ux:(UIVisualEffectView*) alFyjB5C6Ux a1nzPMY:(UIRegion*) a1nzPMY akSXv63Yx:(UIDevice*) akSXv63Yx alR4f:(UIEvent*) alR4f {
  85. NSLog(@"76uzbty9MiKNFHXSG28DRATrxJfjhOBZdYov");
  86. NSLog(@"SblMW4uHNA8qv0QyaVXJxUeFPkOot");
  87. NSLog(@"7zIcMpvu2XsTZiFRD0LHwClGUhAxyWot4fYrk83");
  88. NSLog(@"54x8yEcztsTWXegHZriPJM0pVYSwK7O2qfCNhUD1");
  89. NSLog(@"By5JOjxvEhsUHgDo3nTuwrpFL");
  90. NSLog(@"crdQsheXwpZ7ikAjFH4C");
  91. NSLog(@"9jtVsogTwR8LhN4ZmekfpFPCdK3W");
  92. NSLog(@"aYC1dvBopXelmk0jA8JIE9yic");
  93. NSLog(@"IOZpXhN8PlzUtvK5CxM40TJBVLSmFsceWQ");
  94. NSLog(@"7Wmbwg253cdNlY");
  95. }
  96. -(void)aI8AU:(UIRegion*) aI8AU aBQn7gsvSw:(UIMenuItem*) aBQn7gsvSw agT6MX:(UISwitch*) agT6MX aVcYAD:(UIImage*) aVcYAD aUyF5oVgPG:(UIBarButtonItem*) aUyF5oVgPG ar3XAg:(UIDevice*) ar3XAg asWHP8:(UIFont*) asWHP8 aO5XcCyArWV:(UIBarButtonItem*) aO5XcCyArWV afc0b4ql:(UIControlEvents*) afc0b4ql aAJcsP:(UICollectionView*) aAJcsP {
  97. NSLog(@"VzDdhaOWNmTMyHJk6oubtU7wFR3");
  98. NSLog(@"olGZxYWXEJjp72i3rghtO4uVyI8zsRBcLNH");
  99. NSLog(@"2WelrNLoiGQ94qSapy");
  100. NSLog(@"0BmipLCAl5KUEP1x");
  101. NSLog(@"XV0qnoY1dPc5UHyZGr9ASQhutp68BmT");
  102. NSLog(@"g5E6yOSfodhMGBT9iaDkN8urQnjeAL2cYXl");
  103. NSLog(@"dYIbaV74uySxfH3w9FG2n1PLzgvXeK");
  104. NSLog(@"GIzTqyhJbSYxj9c8nFi2Ela");
  105. NSLog(@"qd8SaBuNR6WyhkG0iVjftmEFngJHzOK9brM");
  106. NSLog(@"t8cIlhRpUvGOVKeu61YrxTJo9");
  107. NSLog(@"I6FM8RieO03DJZBavmptNqEk4jPwQ7ThV");
  108. NSLog(@"xmBArDyQcH69GqjEkdO3");
  109. NSLog(@"pDbFlYXIdqzN9");
  110. }
  111. -(void)alKUgkY9Q:(UIUserInterfaceIdiom*) alKUgkY9Q aPBg8:(UIWindow*) aPBg8 aqbxPUlJN:(UIInputView*) aqbxPUlJN aRzG4B3pN:(UIControlEvents*) aRzG4B3pN auz94tkG:(UIFontWeight*) auz94tkG {
  112. NSLog(@"cfzlxGOoi1E49K37WSIBqV0QCULXmNM8y5");
  113. NSLog(@"XeRhVfqCKi4xMA");
  114. NSLog(@"lQpmzR9F0y7GwJuk3sqVX");
  115. NSLog(@"BSPVJeT10xo3b6AH8fi");
  116. NSLog(@"GsuQRYJXwqA");
  117. NSLog(@"KPZ9fQ5zEVl");
  118. NSLog(@"XCjeg7SNb1G4rKifdyPFWzJYEAtQ3mkVRvxToZh");
  119. NSLog(@"WnEfUQ9mFcGl6ykNHCodAb452DqSgv");
  120. NSLog(@"GRrXi7oSWytnqFAE3l2g9pf5U8dNjIKOeamH");
  121. NSLog(@"knyQmx6051g8bJofCAvRYLhiWBpUO9SZNzVFKls");
  122. NSLog(@"XNBy2zCox0E8l5mWv6LYbMFDhkAGejnSqiQa");
  123. NSLog(@"hgJtl53eRIAMarZYE9GUx");
  124. NSLog(@"i9QRKxTblwfHmtqC");
  125. NSLog(@"8SmI5PUpwri9jgyOK6EzHc4M");
  126. }
  127. -(void)aCExSnb:(UISearchBar*) aCExSnb aH5LpXI:(UIBarButtonItem*) aH5LpXI a32S0:(UICollectionView*) a32S0 aWTcSfAmo7H:(UIEdgeInsets*) aWTcSfAmo7H aqr9uNa1DL:(UIMenuItem*) aqr9uNa1DL aUTZr2dK90M:(UIButton*) aUTZr2dK90M aH5YbBxE:(UIControlEvents*) aH5YbBxE amBqRWs:(UIRegion*) amBqRWs aLqXKhkvDf:(UISwitch*) aLqXKhkvDf aYSe7w:(UIEdgeInsets*) aYSe7w aIMlY7jmw:(UIActivity*) aIMlY7jmw alBfvap:(UIInputView*) alBfvap a51jyrfN:(UIDevice*) a51jyrfN aF2VkQI0:(UISearchBar*) aF2VkQI0 a6XbU:(UILabel*) a6XbU {
  128. NSLog(@"jQIAlbBsm8HYerW6");
  129. NSLog(@"bxsVtOi0n1e");
  130. NSLog(@"G7XKnchxFLUmTV3QRjkrdbS9CA2y4sp8wJv");
  131. NSLog(@"Y3ufeCG2cxh5");
  132. NSLog(@"h8PAw4gZ3yltxF2EnfX");
  133. NSLog(@"s8NaqbMoQhUTJ6i9rX2Y3tl1Wuk4zIZOmKVD");
  134. NSLog(@"pRlCFNbESgAo64h0GzZyPDV");
  135. NSLog(@"bH7KOgLlruCZfjwMiPhnI1yXasxANk3");
  136. NSLog(@"UC5FdGlbHjXOu");
  137. NSLog(@"fyc1BYdhEv");
  138. NSLog(@"8HNEAswqgmpeDhx7SOYWfMrGU31tQv50");
  139. NSLog(@"uPvJSkO864XwoMNYdTljKnsRfC9Et2mrh37cIip");
  140. NSLog(@"h4yN7MHJADYUtVF8BGpmRka3exKiclX0CdqbzLwE");
  141. NSLog(@"5RfWiSb1ac4vH9lVny7eF6BDNzx3PtM");
  142. }
  143. -(void)ae7p5CtwUfd:(UIRegion*) ae7p5CtwUfd aKJ8HaluF:(UIInputView*) aKJ8HaluF aMrc7ZPpST:(UIAlertView*) aMrc7ZPpST aGZYl:(UIControlEvents*) aGZYl aChsOXrjE:(UIViewController*) aChsOXrjE a9F8Gbty:(UIView*) a9F8Gbty aN1kRlr:(UIRegion*) aN1kRlr aRF8tYNK:(UIActivity*) aRF8tYNK a2HkF:(UIView*) a2HkF adPS9cQZX2:(UIEvent*) adPS9cQZX2 a2W7FuhDQJ:(UIFont*) a2W7FuhDQJ a2tu7LhQy:(UIDevice*) a2tu7LhQy aOu52KUCHt:(UIImageView*) aOu52KUCHt aINOy:(UIVisualEffectView*) aINOy aiDT7My4:(UIVisualEffectView*) aiDT7My4 a5kS7qRVDd:(UIWindow*) a5kS7qRVDd a6eWQMZ1:(UICollectionView*) a6eWQMZ1 a3HObzd:(UIBarButtonItem*) a3HObzd afaH9v:(UIControl*) afaH9v afdYXEIs:(UIFont*) afdYXEIs {
  144. NSLog(@"2vsi8xluE1PHJk0SpXaYz9Fc6hUb");
  145. NSLog(@"oUErzS7hpevPWqMCVtGj0s");
  146. NSLog(@"19bXODBtQIvyw3z0oJCcnYZES4G8q5Vdre");
  147. NSLog(@"ItymkJ29qYb0CXUHnLPpoBF3GNguxRaEhwQr");
  148. NSLog(@"R7raNK39gPBW6kFdnALXvDmOshizZ5Qypt");
  149. NSLog(@"2uDm8VyIRFbcXgqiAk");
  150. NSLog(@"mQMeUSWZayc");
  151. NSLog(@"C5k21AJEVbrLwjmv0HDsFpou");
  152. NSLog(@"W50AZCqiTk3j8ef1YQMXuKEaObrxUHBG6snvIF");
  153. NSLog(@"nwhKD4pHX5meVFgt");
  154. NSLog(@"VeO3RmKnM09zwlUop");
  155. NSLog(@"Eyc4h0ewCx3fBsiga8RkMGbHFVn9Dm2Ol");
  156. NSLog(@"Yaq6bIEORcDMZ5dmvi0");
  157. NSLog(@"D8ruL5fV9jIWNtiEbl");
  158. NSLog(@"na91NIjPDG476eCVEdXp");
  159. NSLog(@"G3cf1oHnP5dgyklKXzBR2sjImDt");
  160. NSLog(@"HVNlsvojT40Yp8W6iyRPqEZkLAmrG");
  161. }
  162. -(void)aC1NIq:(UIUserInterfaceIdiom*) aC1NIq axCg9:(UIViewController*) axCg9 a8TXErOs:(UIInputView*) a8TXErOs az8U7T:(UIDocument*) az8U7T atExslWm:(UIImageView*) atExslWm aYE9KsHAXO3:(UIUserInterfaceIdiom*) aYE9KsHAXO3 anKaCI:(UIActivity*) anKaCI aeISigN:(UISearchBar*) aeISigN aJ75IU:(UILabel*) aJ75IU ahlJW:(UIDocument*) ahlJW aoizw0RJxgA:(UISwitch*) aoizw0RJxgA {
  163. NSLog(@"vEa8DnQW0YcXFegO3yPV19UTrqR");
  164. NSLog(@"qBShr1lJ6KsdEmWiVyNZx4");
  165. NSLog(@"RivY5rtEIx2JkoH1Z4");
  166. NSLog(@"BWxFbDH2LIatpkoq5UKsecu0ylR3dEV4");
  167. NSLog(@"OtTKejMuZH6");
  168. NSLog(@"TXabfK03eFtY5RpgHxwL9WMSz7");
  169. NSLog(@"pq2DfST9PRblwQCy");
  170. NSLog(@"ObVL8yrzwoFPYAXHxIRp02eTQsqiEfUWjDG6");
  171. NSLog(@"YyupNWJbU8Vj73IhOnH5olsiKqLME9QFeRk61t");
  172. NSLog(@"NHZfiBez3VEkxhQd40mpRjFYn1oyq9vwO");
  173. NSLog(@"Gq5UAauhLJ8yjZ7CzcWmkEF");
  174. NSLog(@"3roG7LEiCpbkHSRwtqPgJvyuz4sQKN2cIlO");
  175. NSLog(@"89uNyAhWc2bvliJPtfjVZ4LTs57mR136o");
  176. NSLog(@"SmV97Dy2UhkFsM1Tfq0");
  177. NSLog(@"tT6p79zZus");
  178. NSLog(@"PY1AfINeptywKRSk2D");
  179. NSLog(@"KXeTWga9zdHCxvUAQNktcj23f7JYuoi4pR8VPhm");
  180. NSLog(@"MUZ5FYhf1m7eEJpaGVkgK9PnNWCyqHv3zsL2R");
  181. NSLog(@"ZtVCUrjl0zDsTJfkyAEN3e87HKB4W");
  182. }
  183. -(void)ai8fDX02qPl:(UIApplication*) ai8fDX02qPl apmT9gs:(UIImage*) apmT9gs ar9UHnCsM7:(UIEdgeInsets*) ar9UHnCsM7 aSlRKmQ:(UIApplication*) aSlRKmQ adV9oCkg5E:(UIView*) adV9oCkg5E aoc5v0q:(UITableView*) aoc5v0q ak8DMYPZn9:(UIMenuItem*) ak8DMYPZn9 apo2e35jV6:(UIKeyCommand*) apo2e35jV6 aB109dIS:(UILabel*) aB109dIS aGWUBwtEa:(UIView*) aGWUBwtEa aYHqvEC3j:(UIMotionEffect*) aYHqvEC3j aZz74v9t:(UIControlEvents*) aZz74v9t ag84kQx:(UIViewController*) ag84kQx a7S0i9Kyv:(UIKeyCommand*) a7S0i9Kyv azVja1Kd2qA:(UIInputView*) azVja1Kd2qA abvmS:(UIEvent*) abvmS agh5X0IyPp:(UIEdgeInsets*) agh5X0IyPp aHE7VqJ9dGu:(UIColor*) aHE7VqJ9dGu aDCTx:(UITableView*) aDCTx {
  184. NSLog(@"3SVjKJYmAMZpIXPyohLCzFsvfuGx74q8BiedrwDU");
  185. NSLog(@"OqXJCZ6dy4StKWjLoIcN2aYkb3zl");
  186. NSLog(@"A9joiUq0CFBLIK");
  187. NSLog(@"qEJCiuWbz2Y7n5NXSMI4kVGehlQDsFv6Tyt");
  188. NSLog(@"R2V3eGKIYOoitWFM7jSsPH4umCUwdNxAXg61z9vl");
  189. NSLog(@"yRqfAYc5GOWDjS");
  190. NSLog(@"pPlHrgQfw81GB");
  191. NSLog(@"cpBeE8MILqRT3l6rovtmxaS7U");
  192. NSLog(@"CgFj5vh6V3KTGetldqEwPBcDNaJbymo9U7xup");
  193. NSLog(@"ZO6ErhJVFB0xSbgmnzuHY1W7A5Lp2sv8t4ol");
  194. }
  195. -(void)a8ypAXsbHoK:(UIView*) a8ypAXsbHoK aANqJkPQRS:(UITableView*) aANqJkPQRS aECVHXzn:(UIBezierPath*) aECVHXzn a0sQt1l:(UIBarButtonItem*) a0sQt1l aibPNC4k:(UIVisualEffectView*) aibPNC4k agGWBQKc:(UICollectionView*) agGWBQKc aSWOYBn6:(UIAlertView*) aSWOYBn6 a2GVcxawC:(UIImage*) a2GVcxawC a7TQ2fSiUk5:(UIViewController*) a7TQ2fSiUk5 aiOSqIfv90B:(UIActivity*) aiOSqIfv90B aJHPzM5iQh:(UIActivity*) aJHPzM5iQh aEXKc69:(UIAlertView*) aEXKc69 aVzQ27r9:(UIWindow*) aVzQ27r9 astQCqIuzTX:(UIEvent*) astQCqIuzTX akYWKQawJL:(UISearchBar*) akYWKQawJL aCFa7DbN:(UIActivity*) aCFa7DbN aWDOh:(UIUserInterfaceIdiom*) aWDOh aBMob:(UIAlertView*) aBMob {
  196. NSLog(@"SqCRE3Geb0rYiWdD7sKxanlz5wMOILTuH");
  197. NSLog(@"E3vFZposxmhdTKNrq4iaz8BV9L");
  198. NSLog(@"AbCTZ3hjgwUR1F");
  199. NSLog(@"GtvMVxYZWIjlN8");
  200. NSLog(@"HjZ59G4Q0sytlenkMVYb");
  201. NSLog(@"7KIFAmy4nZSsfYrkhx");
  202. NSLog(@"hLliDSMCeFI43ruq2sf5VEUX8");
  203. NSLog(@"lcfboAi8esWapLkMRIyrdYEuj1SJO6wP2hQHT");
  204. NSLog(@"8AnMrGOtLyFmjv2pQhPYw");
  205. NSLog(@"OcV9pwutSEMoRJGXyvfi");
  206. NSLog(@"RFBJvq9bEkmHwGoOT1p6Yc7lSPVeZIA5gxN3K08n");
  207. NSLog(@"TJ1tnOf98Q0YSmWI4AeyEPrxRV2glLUzBubcXw");
  208. NSLog(@"O7X9cnLwGhxHaMbQFqpS5");
  209. }
  210. @end