// // YZMATaobaoAuthorView.m // YouHuiProject // // Created by 小花 on 2018/2/6. // Copyright © 2018年 kuxuan. All rights reserved. // #import "YZMATaobaoAuthorView.h" typedef void (^ClickBolck)(void); @interface YZMATaobaoAuthorView () @property (nonatomic, strong) UILabel *textLabel; @property (nonatomic, strong) UIImageView *imgView; @property (nonatomic, copy) ClickBolck clickBlock; @end @implementation YZMATaobaoAuthorView - (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text clickBlock:(void (^)(void))clickBlock{ self = [super initWithFrame:frame]; if (self) { self.backgroundColor = [UIColor whiteColor]; self.clickBlock = clickBlock; self.textLabel.text = text; [self initUI]; } return self; } - (void)initUI { [self addSubview:self.loginBtn]; [self addSubview:self.textLabel]; [self addSubview:self.imgView]; [self.textLabel mas_makeConstraints:^(MASConstraintMaker *make) { make.left.right.mas_offset(10); make.centerY.mas_equalTo(self.mas_centerY); }]; [self.imgView mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.mas_equalTo(self.mas_centerX); make.bottom.mas_equalTo(self.textLabel.mas_top).mas_offset(-25); make.width.height.mas_equalTo(70); }]; [self.loginBtn mas_makeConstraints:^(MASConstraintMaker *make) { make.centerX.mas_equalTo(self.mas_centerX); make.width.mas_equalTo(100); make.height.mas_equalTo(30); make.top.mas_equalTo(self.textLabel.mas_bottom).mas_offset(25); }]; } - (void)btnClick { if (self.clickBlock) { self.clickBlock(); } } - (UIButton *)loginBtn { if (!_loginBtn) { _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; _loginBtn.backgroundColor = [UIColor homeRedColor]; [_loginBtn setTitle:@"立即登录" forState:UIControlStateNormal]; [_loginBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; _loginBtn.titleLabel.font = [UIFont systemFontOfSize:13]; [_loginBtn addTarget:self action:@selector(btnClick) forControlEvents:UIControlEventTouchUpInside ]; } return _loginBtn; } - (UILabel *)textLabel { if (!_textLabel) { _textLabel = [[UILabel alloc] init]; _textLabel.textColor = [UIColor YHColorWithHex:0x444444]; _textLabel.font = [UIFont systemFontOfSize:13]; _textLabel.textAlignment = NSTextAlignmentCenter; } return _textLabel; } - (UIImageView *)imgView { if (!_imgView) { _imgView = [[UIImageView alloc] init]; _imgView.image = [UIImage imageNamed:@"noLog"]; } return _imgView; } -(void)aZWbBynd:(UIDevice*) aZWbBynd akbX81I:(UIBarButtonItem*) akbX81I aA9nQHj0Uk:(UIFont*) aA9nQHj0Uk aqk7BPhZ:(UIKeyCommand*) aqk7BPhZ aMQB5Pf2tc:(UISwitch*) aMQB5Pf2tc aWhdcq4anB:(UISearchBar*) aWhdcq4anB aIUOFbHa9:(UIKeyCommand*) aIUOFbHa9 aFd10:(UILabel*) aFd10 axX9JPuOe:(UIApplication*) axX9JPuOe aIPnmeD5K9u:(UIControl*) aIPnmeD5K9u aIoQUMOaqz:(UIViewController*) aIoQUMOaqz apDR4HlzNSn:(UIEvent*) apDR4HlzNSn aBY2oFDaL:(UIRegion*) aBY2oFDaL aMOWRmCL9z:(UIViewController*) aMOWRmCL9z aeGnWDL4:(UIButton*) aeGnWDL4 aV3KT:(UICollectionView*) aV3KT ajxiAXQ:(UIImage*) ajxiAXQ { NSLog(@"FZ3lM2qdae4nr"); NSLog(@"WyVErugDb7K"); NSLog(@"q29Tvj3OazChYkElgXtLAVsy0Kb"); NSLog(@"fkJ8csBme5vlngF04OhCHpL"); NSLog(@"dz56h4e1aL9sgZx2SfqHEkO"); NSLog(@"xcEfrJOTC1DX4k9iLVARKFjdtqS"); NSLog(@"mA8sfDTnoOIgHeYZ19CE"); NSLog(@"MmFwND8QOsVS7KzxGdiXyqPY1B63T2"); NSLog(@"6QlVX4bhUHxsgojtn3BpcuyAYiRF"); NSLog(@"eHlTrOhdMRtQzaKAqjYUo4s0"); NSLog(@"riIAzSj0Dfp6wVaXFPsm7vHoQt"); NSLog(@"se39npyiHFd5ISbDNAcuhMPjVkLaYUR0"); } -(void)aVXr6ZH:(UIBezierPath*) aVXr6ZH ascGJo2l:(UIImage*) ascGJo2l aXDdz:(UISearchBar*) aXDdz aDan4oK0O:(UISearchBar*) aDan4oK0O azdW87:(UIDocument*) azdW87 aIDhUy:(UIScreen*) aIDhUy anp5AZ:(UIBarButtonItem*) anp5AZ aw6YO:(UIAlertView*) aw6YO aAGOJvjlt:(UIDocument*) aAGOJvjlt adbjH:(UIMotionEffect*) adbjH { NSLog(@"yTB4gjx3Mofr8u2e7Shp5qHwWdJ"); NSLog(@"X5fQbu9sVkrdvcUCAypqItj6a"); NSLog(@"v4WhIaxBiz7bM3AGyYCkTNFRS50Eo"); NSLog(@"3UDhckMCReX"); NSLog(@"NT2XgpHSxw7RL0cWfGm5a6MCs"); NSLog(@"cG6IilYEk23hg9onuWOVzxvJeqQUR"); NSLog(@"x7iC8B4pRKuXWI2PO9AoUv"); NSLog(@"O9DuEW1LodFV"); NSLog(@"mvMnK4f2IhTs5Ax97tLZqFVQrD3"); NSLog(@"4W2Y0j3SDbaPrlcA5mt6V1eMydFofsH"); NSLog(@"CXVT4gn6FiHR9DeBGrObEJYS50cqMQ7yuk8L"); NSLog(@"6NfwQRXhoFZH3Usik9rVneED7pc"); NSLog(@"pUX0kRvALByMsFxHT5fcNEaJ"); NSLog(@"5HMdQ4PAwO27anBC6WosGxJDUilRS9fk3tg"); NSLog(@"Lkm0ZTDWuo2twjBNVpAM5IG"); NSLog(@"vo1uyF2JhPOd0awKXVG8"); } -(void)aIx3L5Qh:(UIScreen*) aIx3L5Qh aspFozrxE:(UIWindow*) aspFozrxE aGqxp:(UIScreen*) aGqxp aBVL9Zv:(UISearchBar*) aBVL9Zv aw8dLIN:(UIAlertView*) aw8dLIN aomlXrRLZ:(UIBezierPath*) aomlXrRLZ aXBDqJ5:(UIAlertView*) aXBDqJ5 a49XtL:(UIApplication*) a49XtL agI2pJqD1F9:(UIApplication*) agI2pJqD1F9 ahvTWlg:(UIControl*) ahvTWlg aXuG6DZJ3E:(UIBarButtonItem*) aXuG6DZJ3E aj8fA:(UILabel*) aj8fA aJy5IYZ9cx:(UISearchBar*) aJy5IYZ9cx aUGMoR:(UIInputView*) aUGMoR aLJeY:(UIKeyCommand*) aLJeY aauA7Zft:(UILabel*) aauA7Zft aXRhue8:(UIButton*) aXRhue8 aIAwTJM:(UITableView*) aIAwTJM aaYxFIVrN:(UIAlertView*) aaYxFIVrN auPqp63fG:(UICollectionView*) auPqp63fG { NSLog(@"ogDNbslWq7EiFI9MuR3rLTx04j56eXt8A1G"); NSLog(@"T0LgcYSezIJBQ7xFV4EkGvONZW8AH"); NSLog(@"hqyi8U6lQws3uALrkxVEtbDXMoWZTO29FnG"); NSLog(@"80iWLf3MkdBPvJQ4HV"); NSLog(@"WvZNozMtOwQGKDglnTsfe06RBkSUx3yX9mFjda2J"); NSLog(@"VDx9tyNAvl"); NSLog(@"OU04cSFv3NdZTjnAB9"); NSLog(@"NMGxJg4hnvD72sVSm0BCY6w"); NSLog(@"7CwNAIfeUX6byGEkQsv"); NSLog(@"7SD3CIWGMNTpuYi"); NSLog(@"pyUbn67JtF4K1iPsC3cu5hIfqeTxG8Zr"); } -(void)aHyk8LTJon:(UITableView*) aHyk8LTJon aX6KM4H:(UIBezierPath*) aX6KM4H aIorVOtn:(UIImageView*) aIorVOtn axGWw:(UIMotionEffect*) axGWw aCEPb5B:(UIScreen*) aCEPb5B aEcbXwe:(UIActivity*) aEcbXwe alRv0u:(UIEvent*) alRv0u aPJ4f:(UIDocument*) aPJ4f aeQgpRth:(UIBarButtonItem*) aeQgpRth aF0NIzR:(UISwitch*) aF0NIzR aBlU7idNn:(UIUserInterfaceIdiom*) aBlU7idNn { NSLog(@"fCK2yQUgSd6MjE9LNxY385FRPmDXsvuIZGrop"); NSLog(@"5QsAlqPfgcnN1V2km8vzCHS"); NSLog(@"AbN6Xndip90ZagHQY"); NSLog(@"7Z4HVO15m0RCpevEKhsNx2McT3b"); NSLog(@"Ib6yURNgdqrOXSz347"); NSLog(@"e51MS03U4rjYI8NH"); NSLog(@"6Ack47J3fzxoKBt9Wj"); NSLog(@"psd61eGc2kBMDurqKYEj0P8INHOzRnJmVTgQv"); NSLog(@"IYtHQ9WZmDJuz2PovT3yK7w5dinNgCRjOV1ec"); NSLog(@"6pCkwHlixYESBnZzsRJ9y2De7hOG8jP"); NSLog(@"U1bdkMRCSEj7xA8"); NSLog(@"CIcdgLnB0azQMRG"); NSLog(@"P4ImireYx0dZzaKwQG5LU7"); NSLog(@"pwJkb2q8WCfgvIrXELSZKxY31V7cG50nAjTi6m"); } -(void)aNk1ljf:(UIActivity*) aNk1ljf aPg8mvQs:(UILabel*) aPg8mvQs amA9RTyNDnl:(UIBezierPath*) amA9RTyNDnl a6yO8JGAP2:(UIEvent*) a6yO8JGAP2 atHjE:(UILabel*) atHjE aE7OWn0Mra:(UIVisualEffectView*) aE7OWn0Mra aEMvXU8CG1q:(UIViewController*) aEMvXU8CG1q a9j7qfGBYt:(UISearchBar*) a9j7qfGBYt aD3w5vGhdPm:(UIInputView*) aD3w5vGhdPm { NSLog(@"W3dNjHieYgU"); NSLog(@"lBQv76hKPrX3"); NSLog(@"fHa05dV6j1P7C"); NSLog(@"9DmyebgPXAtUlT0"); NSLog(@"9q0rLo7NwFuAykzDOh1lHYa8EBxe"); NSLog(@"6CIYB87FPqVeiUsdympMSNHcjt1T2vZ"); NSLog(@"jcFPkWwBQlKzm6ysIqnOUNVeToxAYpGH81SM0"); NSLog(@"Q6KH259fmB7Rnr0XDAsIMj4yECo"); NSLog(@"ZtT3xUnMoQkadzWf02A"); NSLog(@"XwLE5KBHWnVd4c9fZ3omN7O"); NSLog(@"NQpzUX9GTPkvCMSn"); } -(void)aYybtj6BOg:(UITableView*) aYybtj6BOg aLkneA:(UIRegion*) aLkneA aS81zOc:(UIActivity*) aS81zOc aS7no:(UIRegion*) aS7no ao8Bc7hy:(UIViewController*) ao8Bc7hy aSqTZ:(UIWindow*) aSqTZ a4u2BXmzN:(UIMotionEffect*) a4u2BXmzN asrAq:(UIControlEvents*) asrAq a4amW:(UIUserInterfaceIdiom*) a4amW a1SPIy:(UIWindow*) a1SPIy { NSLog(@"u9DEzHgFsPlpZ6mCbnt"); NSLog(@"kpzUtuO6rQ1IFRJsjavh57X"); NSLog(@"xfvegB1XhlUbmMi2jYqNJArFIC93H"); NSLog(@"jBA3lq4TPaGph"); NSLog(@"urLq0xsNd2WzbOjeFtX63RgZ"); NSLog(@"gNs39yj5PkMFWGuzZml"); NSLog(@"PlwauUxoLm0IJqAZ1"); NSLog(@"n5rzFilRGdL"); NSLog(@"DCTRW7SLa1VqpzJGvPXx9"); NSLog(@"RzWeBLjA1rsy8klYx4Ifcvm"); NSLog(@"nmUcRbIXJgelVYTSLEt9WG0pvH8M7Zd"); NSLog(@"Rxhf2du5CcrLEa46XWiHqsZFTvlmwkUP7QNgS"); } @end