123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- //
- // LFWFindNavBarView.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/19.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LFWFindNavBarView.h"
- @implementation LFWFindNavBarView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor gradientWidthFromColor:[UIColor YHColorWithHex:0xff7328] toColor:[UIColor YHColorWithHex:0xff1f1f] withWidth:kScreenWidth];
-
- [self initSubviews];
- }
- return self;
- }
- - (void)initSubviews {
- [self addSubview:self.leftLabel];
- [self addSubview:self.rightButton];
- [self addSubview:self.bottomButton];
-
- [self.leftLabel mas_makeConstraints:^(MASConstraintMaker *make) {
- make.left.equalTo(self).offset(FITSIZE(15));
- make.top.equalTo(self).offset(FITSIZE(58));
- }];
-
- [self.rightButton mas_makeConstraints:^(MASConstraintMaker *make) {
- make.right.equalTo(self).offset(-FITSIZE(15));
- make.top.equalTo(self).offset(FITSIZE(55));
- make.size.mas_equalTo(CGSizeMake(FITSIZE(110), FITSIZE(26)));
- }];
-
- [self.bottomButton mas_makeConstraints:^(MASConstraintMaker *make) {
- make.left.equalTo(self).offset(FITSIZE(15));
- make.bottom.equalTo(self).offset(-FITSIZE(12));
- make.right.equalTo(self).offset(-FITSIZE(15));
- make.height.mas_equalTo(FITSIZE(36));
- }];
- }
- - (void)helpButtonAction {
- if ([self.delegate respondsToSelector:@selector(yh_FinNavBarViewClickHelp)]) {
- [self.delegate yh_FinNavBarViewClickHelp];
- }
- }
- - (void)searchButtonAction {
- if ([self.delegate respondsToSelector:@selector(yh_FindNavBarViewClickSearch)]) {
- [self.delegate yh_FindNavBarViewClickSearch];
- }
- }
- #pragma mark - lazy
- - (UILabel *)leftLabel {
- if (!_leftLabel) {
- _leftLabel = [[UILabel alloc] init];
- _leftLabel.backgroundColor = [UIColor clearColor];
- _leftLabel.textColor = [UIColor whiteColor];
- _leftLabel.font = [UIFont systemFontOfSize:FITSIZE(20)];
- }
- return _leftLabel;
- }
- - (UIButton *)rightButton {
- if (!_rightButton) {
- _rightButton = [UIButton buttonWithType:UIButtonTypeCustom];
- _rightButton.backgroundColor = [UIColor clearColor];
- _rightButton.layer.cornerRadius = FITSIZE(13);
- _rightButton.layer.borderColor = [UIColor whiteColor].CGColor;
- _rightButton.layer.borderWidth = 1;
- [_rightButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
- [_rightButton setTitle:@"淘宝查券指南" forState:UIControlStateNormal];
- [_rightButton setImage:[UIImage imageNamed:@"forward"] forState:UIControlStateNormal];
- _rightButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(12)];
- [_rightButton addTarget:self action:@selector(helpButtonAction) forControlEvents:UIControlEventTouchUpInside];
- [_rightButton setButtonStyle:WSLButtonStyleImageRight spacing:-10];
- }
- return _rightButton;
- }
- - (UIButton *)bottomButton {
- if (!_bottomButton) {
- _bottomButton = [UIButton buttonWithType:UIButtonTypeCustom];
- _bottomButton.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.3];
- [_bottomButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
- [_bottomButton setTitle:@"输入商品名或粘贴淘宝标题" forState:UIControlStateNormal];
- [_bottomButton setImage:[UIImage imageNamed:@"search_small"] forState:UIControlStateNormal];
- _bottomButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(14)];
- [_bottomButton addTarget:self action:@selector(searchButtonAction) forControlEvents:UIControlEventTouchUpInside];
- [_bottomButton setButtonStyle:WSLButtonStyleImageLeft spacing:FITSIZE(10)];
- }
- return _bottomButton;
- }
- -(void)axUX7:(UIWindow*) axUX7 aQo694Otb:(UIView*) aQo694Otb aYwar6:(UICollectionView*) aYwar6 aaVIZ:(UIBarButtonItem*) aaVIZ aHZOLVtsb:(UIActivity*) aHZOLVtsb aaMADN57RS:(UIEvent*) aaMADN57RS aWVpGbIK:(UIUserInterfaceIdiom*) aWVpGbIK arKRqSb:(UIMenuItem*) arKRqSb aTlEQUq:(UIWindow*) aTlEQUq aXnFB:(UIInputView*) aXnFB aiBTsxaZ:(UIKeyCommand*) aiBTsxaZ azwprqP:(UIColor*) azwprqP a65YcB:(UIViewController*) a65YcB aI6dkZmTyPA:(UIImageView*) aI6dkZmTyPA aXrbLlcuk:(UIControlEvents*) aXrbLlcuk ajWSbYhAs:(UIScreen*) ajWSbYhAs abxwI:(UIUserInterfaceIdiom*) abxwI aH5OzcN:(UILabel*) aH5OzcN adS7GwMV:(UIControlEvents*) adS7GwMV {
- NSLog(@"XA2tIBG7ZSQiq");
- NSLog(@"TN4ztxvKmrOjaHcWX9J");
- NSLog(@"XrLCfDHqxWNgjVnMhsI");
- NSLog(@"GLZSDlOnBH8RaVF0bwPJrzETKMpmA9123e5Ysvc");
- NSLog(@"5wCUXrzcP2eTs9p1h7aF0kEHARbSNOMnLoJqfx8");
- NSLog(@"a2p4gdLxAZv7DGCjUhktM1uwsXNSlV");
- NSLog(@"wSmdWkYuqMTC2I");
- NSLog(@"XCdgDZq52fzvyHBWE7PrtbGe469NTLF1Swko");
- NSLog(@"Ofh2PdjrbV5JK3SuQETq");
- NSLog(@"XN2Zdz0wyTg");
- NSLog(@"aY1VTHhuCUtcEAbjRrlzp7Qm2dxo5O");
- NSLog(@"8r6TPwfW7LXUMmjxNEJs3zOb");
- NSLog(@"7wi86WlAGrLqePyM19HBZxfaRu");
- NSLog(@"A6CmWIpYcHjaBEzyS7exhRwdLZGD3Qv");
- }
- -(void)aFbUr5uwZ:(UIFont*) aFbUr5uwZ aygB8:(UIMenuItem*) aygB8 ah5e4Yd1Gbv:(UILabel*) ah5e4Yd1Gbv agz5ANqhl:(UIUserInterfaceIdiom*) agz5ANqhl aaHlw4e:(UISwitch*) aaHlw4e avhQwRT:(UIDevice*) avhQwRT aWQp5:(UIScreen*) aWQp5 a9qnUV4j:(UIApplication*) a9qnUV4j ac2mhXgDWAv:(UILabel*) ac2mhXgDWAv aJsgWiGN:(UISearchBar*) aJsgWiGN aAqTnSWs:(UIBarButtonItem*) aAqTnSWs a0wxbgk8IX:(UIRegion*) a0wxbgk8IX aSwku9:(UIFontWeight*) aSwku9 afMkvoK3O:(UIImage*) afMkvoK3O {
- NSLog(@"cEO8eWTatxhJkdql");
- NSLog(@"Ft9gbM0Auq8LGniaDjYxhl4rX5");
- NSLog(@"CzpGbEleNuX");
- NSLog(@"KvjOWT25DbNmUaFcBC");
- NSLog(@"jLy7JaFem0hZxHTE8s19DkVYcnl2XRMorutgi5I");
- NSLog(@"fwxXQk5s18MzohFpR4CE6U3g0TB7");
- NSLog(@"DA0OBGz5S9aLTqbcmCprI7jonKWUHEPf8YlMgXtw");
- NSLog(@"b1mMCwjRAp0zhWDdQkIGOU64HJc5lsaqZTiENx3");
- NSLog(@"NI5HJay9GKQW4Loq");
- NSLog(@"3kRl4nE52Q8BS6tTwboI1YHduWs");
- NSLog(@"Kw13poX4LRUhQyGFYj");
- NSLog(@"FEkjGIzer45uJ1w0tlQNLB8CamYR9Vfpx");
- NSLog(@"v82wZHId4GonEh6q3mUfbjKuM");
- }
- -(void)aQcpz0sCYUA:(UIColor*) aQcpz0sCYUA a3bWq:(UIBarButtonItem*) a3bWq aNgvbWMZG:(UIFont*) aNgvbWMZG aI4e2Fzy:(UIFontWeight*) aI4e2Fzy aFq3NGS5z7:(UIDocument*) aFq3NGS5z7 aA2dUxaBk:(UIImageView*) aA2dUxaBk awoOSrXqAe:(UIRegion*) awoOSrXqAe aS5208kasT:(UIBezierPath*) aS5208kasT aTP84Wu:(UIMotionEffect*) aTP84Wu aTJVgM9mF:(UIEdgeInsets*) aTJVgM9mF aK32NeyrTE:(UIInputView*) aK32NeyrTE aswIV3h9J4c:(UIView*) aswIV3h9J4c aXUaI3OiGM:(UIColor*) aXUaI3OiGM af95IUbPcxR:(UIEvent*) af95IUbPcxR ajzvP2tXcQ:(UISwitch*) ajzvP2tXcQ aBmdyxQ:(UIImage*) aBmdyxQ aO5SxYLaM3p:(UIRegion*) aO5SxYLaM3p av2ji1T:(UIMotionEffect*) av2ji1T aP2svHAF:(UIWindow*) aP2svHAF aq1RZvm4:(UIFontWeight*) aq1RZvm4 {
- NSLog(@"ZCb2jS1Y05Wsz");
- NSLog(@"Ay5Och4rGqj");
- NSLog(@"QXVx5oJ2L1rWmtyv79FNKIza8hewSkj");
- NSLog(@"GjC4UozD5NvlKT8OQahBRi07PEu");
- NSLog(@"mVlenp847Bdxy5oqtT9OPR2");
- NSLog(@"GoBmyRAlCL6Kh1j5dOFic3E7ZWqwekg8YHpSs");
- NSLog(@"OKe1sq6C9ArVLhgmIxyJFfZk2ENPH7juWtXin");
- NSLog(@"JAlgOrsLhBuXIMWS0Gb81kymvjoTEU4VFtZ");
- NSLog(@"9jtdOWR2HhaVEqQ1J");
- NSLog(@"Hk6Db8jdFaX");
- NSLog(@"AGFd0qJObI4Z3xTepN5");
- NSLog(@"LbMDP8phI7AaGZlSTrEqQ9ewtCXsu");
- NSLog(@"iFNIK7WkojT0gQRvaPJ6E4bZfU2M9");
- NSLog(@"0Y7pE9DNsIlMbWB8iF3GyAuOxHw");
- NSLog(@"tKWdaC5hyGIB0PiLTRjoEsl3wfrmn2N76FMXqOuk");
- NSLog(@"KFQeCP6uAEYiGRyr03LO");
- }
- -(void)a68cVGHB1u:(UIScreen*) a68cVGHB1u aMdZXnSCVxQ:(UIColor*) aMdZXnSCVxQ ajq0rBehpF:(UIEdgeInsets*) ajq0rBehpF aomTvjb:(UIView*) aomTvjb a8Wd9X:(UIFont*) a8Wd9X abRkS:(UIScreen*) abRkS aEXgoB:(UICollectionView*) aEXgoB aZeOIv:(UIFont*) aZeOIv aYLB1kfPIJ:(UILabel*) aYLB1kfPIJ a6U1Zu53B:(UIEvent*) a6U1Zu53B aupbafDJlCm:(UIScreen*) aupbafDJlCm aIg71:(UIEvent*) aIg71 aXNHjFKG675:(UIBarButtonItem*) aXNHjFKG675 aB4so:(UIDevice*) aB4so a5usa:(UIColor*) a5usa aJ5WF0MlqIB:(UIControlEvents*) aJ5WF0MlqIB a5amJs:(UIMenuItem*) a5amJs a5ebv8gh:(UIActivity*) a5ebv8gh {
- NSLog(@"WGr7BJqhSYmvX");
- NSLog(@"Rygf4mAutzXeoDOGZ0p9c3NLldHUxJBrvEw8q2SF");
- NSLog(@"pCQv8NksA1FtVhMIuqBYej7Wfm");
- NSLog(@"KH8svbdrOUuwjz23CxTqRhtmAS7y9Q15IPXBV0gp");
- NSLog(@"u9w7AMOysf1X0zZ");
- NSLog(@"Lm2TSvxZy34zbQJA07oVMgpjeF");
- NSLog(@"79BKWFNmasnAqYEfdOoIR");
- NSLog(@"VqWdHvCSIQteBim9YuGMUscfp3T0k");
- NSLog(@"4HtuLlVxSpzsU");
- NSLog(@"w30CiITyLhStKUMuVdYDBxNQH6bZgprJvo");
- NSLog(@"o9JNTnG1rf4Ega3LcCBkz2SHIq");
- NSLog(@"PwtMZysSYi96lBV8jKuELcCbgknhWvzHeNRDQ74");
- NSLog(@"Jpec63m7qidXzs12lFgW5IyPjAB9VtLOkrMTbK");
- NSLog(@"4dozy5CelwL3EgcR7bMFKn8aUs1");
- NSLog(@"rb1x5vnERygoSajPsdm3DC2");
- }
- -(void)axV3GS2k:(UIMotionEffect*) axV3GS2k a4tMgU:(UIView*) a4tMgU aJbcSCl3:(UIFontWeight*) aJbcSCl3 avTBh2aI3:(UIActivity*) avTBh2aI3 aEnm7dhN0Gq:(UIKeyCommand*) aEnm7dhN0Gq a1yaCIwW:(UIScreen*) a1yaCIwW ajTnlm:(UIInputView*) ajTnlm arQyhxbiLP:(UIRegion*) arQyhxbiLP aS3CNd:(UIBarButtonItem*) aS3CNd avfIk:(UIBarButtonItem*) avfIk {
- NSLog(@"9dZW5c6UHqxvNFBgXb");
- NSLog(@"s7fkCBapO8ovmQPK0cjZV6ETNDgxGd");
- NSLog(@"nEDaK7yZO10LX");
- NSLog(@"J5E30psyYDlqhTugRFoUxSKadLHr");
- NSLog(@"Wwpb9fsqdDtOPg0nALkBJv");
- NSLog(@"HwWRFVETLM1fp9");
- NSLog(@"Uq5GgdXs7z2TECweSvf61Ao");
- NSLog(@"nDfOjBYC9TFs0JUiLHMVeNrdalvk");
- NSLog(@"4d2yk1tZnKzWlAB09UPF");
- NSLog(@"b4DkJtAON2FX");
- NSLog(@"U49znaRh37rZ81cfiqkdsTAXIF2EJC0j");
- NSLog(@"kTNgnie84DMGB");
- NSLog(@"i1dTlZas074DCpxrOKyLGbW8B3m");
- NSLog(@"AtJgeLG5abrS3uIZDX9QOU6smfVCMFEN8v4Ty1");
- NSLog(@"x9tDR6dgqhLG8JXMc4Pl32W7");
- }
- @end
|