// // LFWSearchNoDataView.m // YouHuiProject // // Created by xiaoxi on 2018/2/5. // Copyright © 2018年 kuxuan. All rights reserved. // #import "LFWSearchNoDataView.h" @implementation LFWSearchNoDataView - (instancetype)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { self.backgroundColor = [UIColor whiteColor]; [self initSubviews]; } return self; } - (void)initSubviews { UIImageView *topImageView = [[UIImageView alloc] init]; topImageView.backgroundColor = [UIColor clearColor]; topImageView.image = [UIImage imageNamed:@"search_no_data"]; [self addSubview:topImageView]; UILabel *topLabel = [[UILabel alloc] init]; topLabel.backgroundColor = [UIColor clearColor]; topLabel.textColor = [UIColor YHColorWithHex:0x333333]; topLabel.font = [UIFont systemFontOfSize:FITSIZE(14)]; topLabel.text = @"没有找到相关结果"; [self addSubview:topLabel]; UILabel *middleLabel = [[UILabel alloc] init]; middleLabel.backgroundColor = [UIColor clearColor]; middleLabel.textColor = [UIColor YHColorWithHex:0x888888]; middleLabel.font = [UIFont systemFontOfSize:FITSIZE(14)]; middleLabel.text = @"试试其他搜索词"; [self addSubview:middleLabel]; UIButton *bottomButton = [UIButton buttonWithType:UIButtonTypeCustom]; bottomButton.backgroundColor = [UIColor clearColor]; [bottomButton setTitleColor:[UIColor YHColorWithHex:0x666666] forState:UIControlStateNormal]; bottomButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(15)]; [bottomButton setTitle:@"刷新" forState:UIControlStateNormal]; bottomButton.layer.borderWidth = 1.0f; bottomButton.layer.borderColor = [UIColor YHColorWithHex:0xb3b3b3].CGColor; bottomButton.layer.cornerRadius = 3.0f; [bottomButton addTarget:self action:@selector(refreshButtonAction) forControlEvents:UIControlEventTouchUpInside]; [self addSubview:bottomButton]; [topImageView mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.equalTo(self); make.top.equalTo(self).offset(FITSIZE(30)); }]; [topLabel mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.equalTo(self); make.top.equalTo(topImageView.mas_bottom).offset(FITSIZE(22)); }]; [middleLabel mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.equalTo(self); make.top.equalTo(topLabel.mas_bottom).offset(FITSIZE(6)); }]; [bottomButton mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.equalTo(self); make.top.equalTo(middleLabel.mas_bottom).offset(FITSIZE(20)); make.width.mas_equalTo(FITSIZE(102)); make.height.mas_equalTo(FITSIZE(30)); }]; } - (void)refreshButtonAction { if ([self.delegate respondsToSelector:@selector(yh_SearchNoDataViewDidRefresh)]) { [self.delegate yh_SearchNoDataViewDidRefresh]; } } -(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 { NSLog(@"QPcuEflLnx1TGw72qgb3k5FaIytVSivUWoz8Ae"); NSLog(@"0KtmNbCYRgvWq3VX2j59nsBJ"); NSLog(@"oNOUwjigMkbYWfCpZ9PlShv7mELtrGHA3zQqxJF"); NSLog(@"Obf6zAjBXW3SaNFRgCTkDpPcv5Kn2Vx8Z"); NSLog(@"y8qK40NtjelnpCgRb2aIEk35Gvdo9BHVf1"); NSLog(@"3sAaebKSzFL1GN0X5cuj9ZOmirpVBUknv7YEMgtC"); NSLog(@"ywNJ0orDjWVqSOaPtipTgn4EG3YFLZd9cAv2"); NSLog(@"GAVKtLkR2v"); NSLog(@"OE2vRtwbm5HTeYifBKdlWJa34pMQZCn6V"); NSLog(@"XBFOp7xl1QvcPLenVSUfztmTRY8DW6IbhKJMNA"); NSLog(@"Il7kQS5uiweOvxUZfjE3"); NSLog(@"jD0l3VoGO4B8xge5unt"); NSLog(@"yaYGvB01P5Z"); } -(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 { NSLog(@"76uzbty9MiKNFHXSG28DRATrxJfjhOBZdYov"); NSLog(@"SblMW4uHNA8qv0QyaVXJxUeFPkOot"); NSLog(@"7zIcMpvu2XsTZiFRD0LHwClGUhAxyWot4fYrk83"); NSLog(@"54x8yEcztsTWXegHZriPJM0pVYSwK7O2qfCNhUD1"); NSLog(@"By5JOjxvEhsUHgDo3nTuwrpFL"); NSLog(@"crdQsheXwpZ7ikAjFH4C"); NSLog(@"9jtVsogTwR8LhN4ZmekfpFPCdK3W"); NSLog(@"aYC1dvBopXelmk0jA8JIE9yic"); NSLog(@"IOZpXhN8PlzUtvK5CxM40TJBVLSmFsceWQ"); NSLog(@"7Wmbwg253cdNlY"); } -(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 { NSLog(@"VzDdhaOWNmTMyHJk6oubtU7wFR3"); NSLog(@"olGZxYWXEJjp72i3rghtO4uVyI8zsRBcLNH"); NSLog(@"2WelrNLoiGQ94qSapy"); NSLog(@"0BmipLCAl5KUEP1x"); NSLog(@"XV0qnoY1dPc5UHyZGr9ASQhutp68BmT"); NSLog(@"g5E6yOSfodhMGBT9iaDkN8urQnjeAL2cYXl"); NSLog(@"dYIbaV74uySxfH3w9FG2n1PLzgvXeK"); NSLog(@"GIzTqyhJbSYxj9c8nFi2Ela"); NSLog(@"qd8SaBuNR6WyhkG0iVjftmEFngJHzOK9brM"); NSLog(@"t8cIlhRpUvGOVKeu61YrxTJo9"); NSLog(@"I6FM8RieO03DJZBavmptNqEk4jPwQ7ThV"); NSLog(@"xmBArDyQcH69GqjEkdO3"); NSLog(@"pDbFlYXIdqzN9"); } -(void)alKUgkY9Q:(UIUserInterfaceIdiom*) alKUgkY9Q aPBg8:(UIWindow*) aPBg8 aqbxPUlJN:(UIInputView*) aqbxPUlJN aRzG4B3pN:(UIControlEvents*) aRzG4B3pN auz94tkG:(UIFontWeight*) auz94tkG { NSLog(@"cfzlxGOoi1E49K37WSIBqV0QCULXmNM8y5"); NSLog(@"XeRhVfqCKi4xMA"); NSLog(@"lQpmzR9F0y7GwJuk3sqVX"); NSLog(@"BSPVJeT10xo3b6AH8fi"); NSLog(@"GsuQRYJXwqA"); NSLog(@"KPZ9fQ5zEVl"); NSLog(@"XCjeg7SNb1G4rKifdyPFWzJYEAtQ3mkVRvxToZh"); NSLog(@"WnEfUQ9mFcGl6ykNHCodAb452DqSgv"); NSLog(@"GRrXi7oSWytnqFAE3l2g9pf5U8dNjIKOeamH"); NSLog(@"knyQmx6051g8bJofCAvRYLhiWBpUO9SZNzVFKls"); NSLog(@"XNBy2zCox0E8l5mWv6LYbMFDhkAGejnSqiQa"); NSLog(@"hgJtl53eRIAMarZYE9GUx"); NSLog(@"i9QRKxTblwfHmtqC"); NSLog(@"8SmI5PUpwri9jgyOK6EzHc4M"); } -(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 { NSLog(@"jQIAlbBsm8HYerW6"); NSLog(@"bxsVtOi0n1e"); NSLog(@"G7XKnchxFLUmTV3QRjkrdbS9CA2y4sp8wJv"); NSLog(@"Y3ufeCG2cxh5"); NSLog(@"h8PAw4gZ3yltxF2EnfX"); NSLog(@"s8NaqbMoQhUTJ6i9rX2Y3tl1Wuk4zIZOmKVD"); NSLog(@"pRlCFNbESgAo64h0GzZyPDV"); NSLog(@"bH7KOgLlruCZfjwMiPhnI1yXasxANk3"); NSLog(@"UC5FdGlbHjXOu"); NSLog(@"fyc1BYdhEv"); NSLog(@"8HNEAswqgmpeDhx7SOYWfMrGU31tQv50"); NSLog(@"uPvJSkO864XwoMNYdTljKnsRfC9Et2mrh37cIip"); NSLog(@"h4yN7MHJADYUtVF8BGpmRka3exKiclX0CdqbzLwE"); NSLog(@"5RfWiSb1ac4vH9lVny7eF6BDNzx3PtM"); } -(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 { NSLog(@"2vsi8xluE1PHJk0SpXaYz9Fc6hUb"); NSLog(@"oUErzS7hpevPWqMCVtGj0s"); NSLog(@"19bXODBtQIvyw3z0oJCcnYZES4G8q5Vdre"); NSLog(@"ItymkJ29qYb0CXUHnLPpoBF3GNguxRaEhwQr"); NSLog(@"R7raNK39gPBW6kFdnALXvDmOshizZ5Qypt"); NSLog(@"2uDm8VyIRFbcXgqiAk"); NSLog(@"mQMeUSWZayc"); NSLog(@"C5k21AJEVbrLwjmv0HDsFpou"); NSLog(@"W50AZCqiTk3j8ef1YQMXuKEaObrxUHBG6snvIF"); NSLog(@"nwhKD4pHX5meVFgt"); NSLog(@"VeO3RmKnM09zwlUop"); NSLog(@"Eyc4h0ewCx3fBsiga8RkMGbHFVn9Dm2Ol"); NSLog(@"Yaq6bIEORcDMZ5dmvi0"); NSLog(@"D8ruL5fV9jIWNtiEbl"); NSLog(@"na91NIjPDG476eCVEdXp"); NSLog(@"G3cf1oHnP5dgyklKXzBR2sjImDt"); NSLog(@"HVNlsvojT40Yp8W6iyRPqEZkLAmrG"); } -(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 { NSLog(@"vEa8DnQW0YcXFegO3yPV19UTrqR"); NSLog(@"qBShr1lJ6KsdEmWiVyNZx4"); NSLog(@"RivY5rtEIx2JkoH1Z4"); NSLog(@"BWxFbDH2LIatpkoq5UKsecu0ylR3dEV4"); NSLog(@"OtTKejMuZH6"); NSLog(@"TXabfK03eFtY5RpgHxwL9WMSz7"); NSLog(@"pq2DfST9PRblwQCy"); NSLog(@"ObVL8yrzwoFPYAXHxIRp02eTQsqiEfUWjDG6"); NSLog(@"YyupNWJbU8Vj73IhOnH5olsiKqLME9QFeRk61t"); NSLog(@"NHZfiBez3VEkxhQd40mpRjFYn1oyq9vwO"); NSLog(@"Gq5UAauhLJ8yjZ7CzcWmkEF"); NSLog(@"3roG7LEiCpbkHSRwtqPgJvyuz4sQKN2cIlO"); NSLog(@"89uNyAhWc2bvliJPtfjVZ4LTs57mR136o"); NSLog(@"SmV97Dy2UhkFsM1Tfq0"); NSLog(@"tT6p79zZus"); NSLog(@"PY1AfINeptywKRSk2D"); NSLog(@"KXeTWga9zdHCxvUAQNktcj23f7JYuoi4pR8VPhm"); NSLog(@"MUZ5FYhf1m7eEJpaGVkgK9PnNWCyqHv3zsL2R"); NSLog(@"ZtVCUrjl0zDsTJfkyAEN3e87HKB4W"); } -(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 { NSLog(@"3SVjKJYmAMZpIXPyohLCzFsvfuGx74q8BiedrwDU"); NSLog(@"OqXJCZ6dy4StKWjLoIcN2aYkb3zl"); NSLog(@"A9joiUq0CFBLIK"); NSLog(@"qEJCiuWbz2Y7n5NXSMI4kVGehlQDsFv6Tyt"); NSLog(@"R2V3eGKIYOoitWFM7jSsPH4umCUwdNxAXg61z9vl"); NSLog(@"yRqfAYc5GOWDjS"); NSLog(@"pPlHrgQfw81GB"); NSLog(@"cpBeE8MILqRT3l6rovtmxaS7U"); NSLog(@"CgFj5vh6V3KTGetldqEwPBcDNaJbymo9U7xup"); NSLog(@"ZO6ErhJVFB0xSbgmnzuHY1W7A5Lp2sv8t4ol"); } -(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 { NSLog(@"SqCRE3Geb0rYiWdD7sKxanlz5wMOILTuH"); NSLog(@"E3vFZposxmhdTKNrq4iaz8BV9L"); NSLog(@"AbCTZ3hjgwUR1F"); NSLog(@"GtvMVxYZWIjlN8"); NSLog(@"HjZ59G4Q0sytlenkMVYb"); NSLog(@"7KIFAmy4nZSsfYrkhx"); NSLog(@"hLliDSMCeFI43ruq2sf5VEUX8"); NSLog(@"lcfboAi8esWapLkMRIyrdYEuj1SJO6wP2hQHT"); NSLog(@"8AnMrGOtLyFmjv2pQhPYw"); NSLog(@"OcV9pwutSEMoRJGXyvfi"); NSLog(@"RFBJvq9bEkmHwGoOT1p6Yc7lSPVeZIA5gxN3K08n"); NSLog(@"TJ1tnOf98Q0YSmWI4AeyEPrxRV2glLUzBubcXw"); NSLog(@"O7X9cnLwGhxHaMbQFqpS5"); } @end