// // LZMUpdatePopView.m // YouHuiProject // // Created by 小花 on 2018/5/9. // Copyright © 2018年 kuxuan. All rights reserved. // #import "LZMUpdatePopView.h" @implementation LZMUpdatePopView - (instancetype)initWithFrame:(CGRect)frame searchText:(NSString *)searchText isNeed:(BOOL)isNeed{ self = [super initWithFrame:frame]; if (self) { self.layer.cornerRadius = 6; self.layer.masksToBounds = YES; self.backgroundColor = [UIColor whiteColor]; [self initSubViewWithText:searchText isNeed:isNeed]; } return self; } - (void)initSubViewWithText:(NSString *)searchText isNeed:(BOOL)isNeed{ UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.width, Fitsize(85))]; imageView.image = [UIImage imageNamed:@"update_top"]; [self addSubview:imageView]; UILabel *desLb = [[UILabel alloc] initWithFrame:CGRectMake(0, imageView.bottom+10, self.width, 17)]; desLb.text = @"口袋优选的小伙伴们,我们有新功能啦"; desLb.font = [UIFont systemFontOfSize:14]; desLb.textAlignment = NSTextAlignmentCenter; desLb.textColor = [UIColor YHColorWithHex:0x666666]; [self addSubview:desLb]; UILabel *searchLabel = [[UILabel alloc] initWithFrame:CGRectMake(23, imageView.bottom+20, self.width-46, 70)]; searchLabel.numberOfLines = 3; searchLabel.textColor = [UIColor YHColorWithHex:0x262626]; searchLabel.textAlignment = NSTextAlignmentCenter; searchLabel.font = [UIFont systemFontOfSize:14]; searchLabel.text = searchText; [self addSubview:searchLabel]; UIButton *cancelBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, self.height-57, self.width/2, 57)]; [cancelBtn setTitleColor:[UIColor YHColorWithHex:0x999999] forState:UIControlStateNormal]; [cancelBtn setTitle:@"以后再说" forState:UIControlStateNormal]; cancelBtn.titleLabel.font = [UIFont systemFontOfSize:16]; [cancelBtn addTarget:self action:@selector(cancelAction) forControlEvents:UIControlEventTouchUpInside]; [self addSubview:cancelBtn]; UIButton *searchBtn = [[UIButton alloc] initWithFrame:CGRectMake(self.width/2, self.height-57, self.width/2, 57)]; [searchBtn setTitleColor:[UIColor homeRedColor] forState:UIControlStateNormal]; [searchBtn setTitle:@"马上升级" forState:UIControlStateNormal]; searchBtn.titleLabel.font = [UIFont systemFontOfSize:16]; [searchBtn addTarget:self action:@selector(searchClick) forControlEvents:UIControlEventTouchUpInside]; [self addSubview:searchBtn]; if (isNeed) { cancelBtn.hidden = YES; searchBtn.x = 0; searchBtn.width = self.width; } } - (void)cancelAction { if (self.cancelClick) { self.cancelClick(); } } - (void)searchClick { if (self.updateClick) { self.updateClick(); } } -(void)aweBU:(UIFontWeight*) aweBU aNk7bLSl9:(UIInputView*) aNk7bLSl9 aezRsyoLmw:(UICollectionView*) aezRsyoLmw ajwBg:(UIMenuItem*) ajwBg aGFRElsT8ND:(UIActivity*) aGFRElsT8ND aTdPF:(UIColor*) aTdPF aKAbC0Os5xW:(UIRegion*) aKAbC0Os5xW awPEK8GBAm:(UIInputView*) awPEK8GBAm aQr56nFq1S:(UIRegion*) aQr56nFq1S aYR95:(UILabel*) aYR95 aUWM5I:(UIEvent*) aUWM5I az04n2Zde:(UIVisualEffectView*) az04n2Zde aykLwHx:(UIControl*) aykLwHx a4rcqaBHpSw:(UICollectionView*) a4rcqaBHpSw anSQr3zwfah:(UIViewController*) anSQr3zwfah { NSLog(@"sJ50OxeaEr7PBNKng1zCwIpA9fMLGlTkb4hd36"); NSLog(@"VQHoXtRC65SAWFyKG4qgr2Du0Blvb"); NSLog(@"iRs9KNoMIFdqX7U5tLQkr8fzumT"); NSLog(@"B9IVZLcpxEMUu1ji"); NSLog(@"hQ1DsIcv8WEpbFHUSV2inlq7wfga6rtZJK9"); NSLog(@"0pCJnGy4ah9z7ZovVNw5"); NSLog(@"qDmZ1BjkGQP8c54rCnX0uoM9E"); NSLog(@"QLJNFZm3SrgUCTB5fMHt1P60kuyD"); NSLog(@"t2YCs1KV0ArzNQ6o5DeyLEM"); NSLog(@"Xf2yNlSRj9vpA4WdTHP6zKbYCDUiq7gJw"); NSLog(@"XgcBOLMPry"); NSLog(@"UKhr6xDPOM7gIf3uwq0tG4jTYWbmSZkviocp"); NSLog(@"rW3IUAEgFmM786qxVGDsuZvjlwBHc"); NSLog(@"GN9Knj3QYr"); NSLog(@"fgYFe9l3GmK"); NSLog(@"HO5tUeJIpkrmfib"); NSLog(@"bcQ9IfirDX6lga"); NSLog(@"KUjPa2CALFl"); NSLog(@"WHrbBvUPgm8cEF53pk"); } -(void)ahaORE6SdM:(UISwitch*) ahaORE6SdM aAOLEa:(UIEvent*) aAOLEa ae9t21:(UIRegion*) ae9t21 aP4FJBCO:(UIRegion*) aP4FJBCO apFiYlrbQ4:(UIUserInterfaceIdiom*) apFiYlrbQ4 azgwx8:(UIDevice*) azgwx8 ajrbNgP8t:(UIRegion*) ajrbNgP8t a1TeC:(UIVisualEffectView*) a1TeC aSi0Glk:(UISearchBar*) aSi0Glk aBi9Eod1A:(UIMotionEffect*) aBi9Eod1A { NSLog(@"8GwarhXgIEV2tOn"); NSLog(@"bMyXTsIiJ8SW6vAOc7nrdDN9PK0owUEL3ZtF"); NSLog(@"E5KIJpQXWnqofy"); NSLog(@"FtY09wAvJk3IodxCsqUZjPE1"); NSLog(@"sc9CHjVdPUDJLZf46Y3AoFS5luv"); NSLog(@"XMQavy2PoJZ17R3UWKHjsdcl5ICBV4giY"); NSLog(@"lwJas9qipcnXjYtZNgmADHITVKORbfWUveh8u064"); NSLog(@"E05Y39cMsPCiNQFTBdfpkyRKDvG7mXLnelSA"); NSLog(@"T1BmDrpbfeZiNu"); NSLog(@"m8uGyNWqtohcQgSidp36wUA5MbFI14zPKjr"); NSLog(@"kB80MgcTK3UVNt"); NSLog(@"RjzGshfQcOX3Vt6L12SmgT7B"); NSLog(@"IqxBVyh2nr7XzgFOl"); NSLog(@"5pSGP0jJLf6VwgxvYWnsr"); NSLog(@"5jZDIQlipLSms"); NSLog(@"8BmhDazs0FwXLryTv5W9e"); NSLog(@"ZpBr69qIYvJlt4mDLzCTdRFUiaS8o"); } -(void)a2R1fVTp:(UIBarButtonItem*) a2R1fVTp amlCUEg:(UIControl*) amlCUEg aVOlcu:(UISearchBar*) aVOlcu aILJ50YWZBR:(UIUserInterfaceIdiom*) aILJ50YWZBR aCRemBvgs:(UIEdgeInsets*) aCRemBvgs aBLFzA:(UIUserInterfaceIdiom*) aBLFzA aZJhH:(UIActivity*) aZJhH aAxpCW7cd:(UISearchBar*) aAxpCW7cd aDuhy9oz:(UIDevice*) aDuhy9oz a8Mdl:(UIControl*) a8Mdl a1HVpy:(UIImage*) a1HVpy aKNUJ:(UIFontWeight*) aKNUJ abLqgxmzAT:(UIApplication*) abLqgxmzAT aH8lKqIr5J:(UIActivity*) aH8lKqIr5J aYTOGZ:(UIMotionEffect*) aYTOGZ aoZt5ulB:(UIActivity*) aoZt5ulB aT7AflyohQL:(UIAlertView*) aT7AflyohQL aBUs2nwr:(UIControl*) aBUs2nwr azFIUO:(UIRegion*) azFIUO { NSLog(@"HkFLgmDedp6EvQ8l5cZjnoWaqrK49AM"); NSLog(@"pdVQ7Jec9wEnDuvCiP04"); NSLog(@"myNY8PpWQEv9C3skXHdMOGje1zLJut6SqRlx"); NSLog(@"V3tMOlI7a5y6wA"); NSLog(@"glcZzhramfkCt8NBp51V2sdAOWPoDRqF"); NSLog(@"JMPyOgz2aCZG3E5RKmtwV0i"); NSLog(@"k362yuYfSqiJdmXhgx0EPQGzUr5NcjDV9TlLO4o"); NSLog(@"8pYnBU9sk2y"); NSLog(@"3REBFJDoNdLxAbHeSV"); NSLog(@"LcCqU0loJrWs2znA7I"); NSLog(@"Fxj9dKWcq0N2TynJb"); NSLog(@"Nk5EwUretzCWabVKZs2MXlHm3IhOR1"); NSLog(@"ecNAxJhH3ydrV8mQXqWjY1lT"); NSLog(@"heS5pfVBoCEinvLXy"); NSLog(@"PQM7JmTD3obhXnpuLBaljd6x4RiS"); } -(void)aviod0uSIY:(UIUserInterfaceIdiom*) aviod0uSIY ahA2z:(UIUserInterfaceIdiom*) ahA2z aTJciSO:(UIImageView*) aTJciSO aWH5N7qM:(UIDocument*) aWH5N7qM a9lp8:(UIMotionEffect*) a9lp8 aXs23FQ:(UIRegion*) aXs23FQ axRPM:(UIBezierPath*) axRPM apAuWjlL:(UISwitch*) apAuWjlL amf8NqZ:(UISearchBar*) amf8NqZ alcrC:(UIRegion*) alcrC aYRdfCS8:(UISearchBar*) aYRdfCS8 a1smZcd:(UIScreen*) a1smZcd aEJ3zdm4Y:(UIViewController*) aEJ3zdm4Y aLmeRwit:(UIWindow*) aLmeRwit aERn4Khz3mY:(UILabel*) aERn4Khz3mY awG4FBpJif:(UIDevice*) awG4FBpJif awFQI:(UIInputView*) awFQI { NSLog(@"uz0VsAMyDg7xKUrRoF2CGWTi6OPdlSNBem8pZQ5"); NSLog(@"Z3Tza7F9AVhedx6OmipEIW"); NSLog(@"hftxn9rLbRXWyol3JMIu1D6wCFjg728ZdAaNU"); NSLog(@"jwARYMxJrV0H2m"); NSLog(@"QxLKJXsi6PZjemMClHSB"); NSLog(@"58kdbvSflypC6xuhseqPNtY0T7zoOVj3ZXGcA4"); NSLog(@"0fOquRel2L4mnGD6rwMh1"); NSLog(@"TjILrfVoM120U6gBvPGHJDuAxFbK9yQma8le"); NSLog(@"m9TePvliJZF1LuXRW8tNUzV6IShqbBnxga07"); NSLog(@"fH2uztyCcv4"); NSLog(@"ASlYkoKBIm"); NSLog(@"9BkVl0xrmhNDiSeIA7"); NSLog(@"VkHjgcELnyR0Z2s6NauMxwpfDiKdWh8zCt1m7o4"); NSLog(@"EfNt7BrLYyTSHRVuX"); NSLog(@"VsmPhnoZHtq7cNFMyIJ6O3CfDplWG1L4jeYxK"); NSLog(@"iVUHzvCauepdYR6l4T7qZMSAcfnmk5t8"); NSLog(@"EZKYbQgPrtRNBx3o6UpF8wyiqJGvD7fHIj19TkOd"); NSLog(@"pY56qzXIDhwfTFkWbUn2mdsO"); } -(void)aiq5PXL:(UIMenuItem*) aiq5PXL a3CqAX2Wob:(UIBarButtonItem*) a3CqAX2Wob aWh0Ow5:(UIEvent*) aWh0Ow5 aSAHaq:(UIColor*) aSAHaq af9Mx:(UIColor*) af9Mx ag6QFuU:(UIScreen*) ag6QFuU aADe1Z:(UIMotionEffect*) aADe1Z aAkhxO9cBQ:(UIApplication*) aAkhxO9cBQ a2axfm:(UIEvent*) a2axfm af8a5InRxi:(UIVisualEffectView*) af8a5InRxi aTEMfJn:(UIVisualEffectView*) aTEMfJn awXjI:(UIBarButtonItem*) awXjI axu63:(UIBarButtonItem*) axu63 aLVNKt:(UIVisualEffectView*) aLVNKt aJCpN:(UIBarButtonItem*) aJCpN al13Cxk2q:(UIVisualEffectView*) al13Cxk2q aFrMjXRU0:(UIImageView*) aFrMjXRU0 { NSLog(@"tunlsqyTHjxZc9P8OI"); NSLog(@"qZslv1yG5aS4H8FeNcrfOtLUI7Vk"); NSLog(@"YmBPHLFwkAM30SustW"); NSLog(@"0dNi7jxzMveRGfWEFTy2YQnp1IZrKt"); NSLog(@"69ixOgSIUqQvD3btl2WePTfCuspHZFJE405N"); NSLog(@"IyE1Me3gw8BldrTaVZGOXt"); NSLog(@"sG9xhFE53QNznp"); NSLog(@"xSH5AB6fcuw"); NSLog(@"ehINiSJfParU6B1Ay9RpGMtQ8nTYlk34dsKoX"); NSLog(@"qwa7mvf8EkJNF"); NSLog(@"rhOPkTvzdH1D7xZG2cSm39YyM6"); NSLog(@"zSTrGRwx0lMy6oQdf1"); NSLog(@"V8ibc0Q4FCnJtyXzuDG1Pqjp2"); NSLog(@"meoLp8gJSx6NAYW4tZj"); NSLog(@"RtZ847ArxhPsImHO3aXL06VuUbcNYCln"); NSLog(@"DM7e5WvsfjFA4USKXun0o6pBq28"); NSLog(@"qbmEaQ7RUItsc0T524OdBjPeNHGWKSL1gyAXJCfV"); NSLog(@"CAIrv6dhkEbZPly2XKqGt"); NSLog(@"MVJ3q1AWEcbFLUtRDn9h8"); } -(void)aXagToz:(UICollectionView*) aXagToz axZdVo:(UITableView*) axZdVo aZg8xi5M3z:(UIBezierPath*) aZg8xi5M3z azaiBNkOugJ:(UIControlEvents*) azaiBNkOugJ a4M0rkQ:(UIActivity*) a4M0rkQ aUKitzQ:(UIVisualEffectView*) aUKitzQ aFPZhBf0c6z:(UIActivity*) aFPZhBf0c6z a4ZOjyVUAw:(UITableView*) a4ZOjyVUAw aM5236tE:(UIActivity*) aM5236tE aBUE7eGlRCA:(UIInputView*) aBUE7eGlRCA aH7J651KtVR:(UIEdgeInsets*) aH7J651KtVR aBDKnsYTmj:(UIEvent*) aBDKnsYTmj adUPD:(UIUserInterfaceIdiom*) adUPD aLqrF2T:(UIVisualEffectView*) aLqrF2T aRAjSy:(UIEvent*) aRAjSy a05BO:(UIDocument*) a05BO { NSLog(@"4azycL6U7nqfbO9RHP3CiDKJAN"); NSLog(@"J9maBCg2bw14i3dzo0rKIVSQvkqAx"); NSLog(@"SaxAQ1pIt0d56YGwXsWyKLcTJgv9Nf3"); NSLog(@"YeBScvnAqJMoC"); NSLog(@"0xFeO1Qals2D5nyum4U7GWhRfPpdCESHYTtj"); NSLog(@"tFQj8I4auU2rwKcPzBAq3SfW50"); NSLog(@"m2c8thBb6juSnl7QGW4oM"); NSLog(@"cHeYiVlrZ9WLGAUDK710"); NSLog(@"xwshEpyPqWBF34re2V8cuC9gLfvHtDYRUjAmlK"); NSLog(@"rfEDJgtxqUiI21W6Lnue4C"); } -(void)aVtFnSzGy0T:(UIBezierPath*) aVtFnSzGy0T aX9ATc:(UIBarButtonItem*) aX9ATc aWGhlFnNYoH:(UIMotionEffect*) aWGhlFnNYoH aYklb:(UIMenuItem*) aYklb a3Ebvh6LsM:(UIMotionEffect*) a3Ebvh6LsM aGCQg:(UIDevice*) aGCQg aKLQH253D:(UISearchBar*) aKLQH253D ayzlkK7c:(UIControlEvents*) ayzlkK7c aiU5Dlypcsr:(UIViewController*) aiU5Dlypcsr aHb7MDy:(UIUserInterfaceIdiom*) aHb7MDy aGnbAeK0zJ:(UIBezierPath*) aGnbAeK0zJ aJvnTmIaQ:(UIImageView*) aJvnTmIaQ aYX80Hf:(UILabel*) aYX80Hf aRZvb7:(UIImageView*) aRZvb7 { NSLog(@"LvZowqPK0nFVQugR5JSXeyxDs9EfT8GaOiM2WYAH"); NSLog(@"GycEWPKqRA4l591"); NSLog(@"f97t24TVIXap1ClRiJox5hHOm8eW6wgj"); NSLog(@"k58ohTqK0GSd1zrRBZFPfLW"); NSLog(@"1dR7ATaNtHW5c"); NSLog(@"pJBozFTuxR5A4DjQrWeiG87LEmt"); NSLog(@"qERtUIzrXGH1f8nCxM7g4TOmZ"); NSLog(@"aZvW2BGszENXQ"); NSLog(@"WQ8XJrul0Gc"); NSLog(@"0M2RZlndaKXISHeOzbv47fFEJ"); NSLog(@"7ZE04wjoqPRhkX19UKvV"); NSLog(@"Fw9STWuHDYhbCMEzyKO4lrmX7o"); NSLog(@"NefqC9VsHzlWcAXap43Z5EQydgvGSPYbk17F2"); NSLog(@"52buCPRWiyAoaD9Vqg61ILBcstNQwxhG4jf"); NSLog(@"iqFJHtX5uNV2svY7gZp4zrRmExkSdwe01DQ9Ky"); NSLog(@"nCxe1uqhPaTytfJbmAXK5FOS"); NSLog(@"f3XhSwZ17kJ2Uua9QGEAog"); NSLog(@"6jkvo3u1xGzSwOCna89LQyActgrBfYEsZp2mIN"); } -(void)a2YHqk4p8z:(UIMotionEffect*) a2YHqk4p8z a3N5yZtSn:(UITableView*) a3N5yZtSn aoK8UEzwgpm:(UIAlertView*) aoK8UEzwgpm aozVxRk:(UIActivity*) aozVxRk alEGq:(UIEdgeInsets*) alEGq aaSA1p:(UIControlEvents*) aaSA1p a5nrBDA7NZ:(UIImageView*) a5nrBDA7NZ aQ8rdZ:(UITableView*) aQ8rdZ aQ0I6PG8dB:(UILabel*) aQ0I6PG8dB a7lPfCra0:(UIUserInterfaceIdiom*) a7lPfCra0 alDGOu:(UISearchBar*) alDGOu a5du4N:(UIApplication*) a5du4N aVMAK6:(UIView*) aVMAK6 aF5fTSp:(UIViewController*) aF5fTSp aZNGfqJ:(UIWindow*) aZNGfqJ apazd:(UILabel*) apazd aUQYDF01Ta:(UILabel*) aUQYDF01Ta aoMPNF9jus5:(UISearchBar*) aoMPNF9jus5 aexaGMO:(UIButton*) aexaGMO { NSLog(@"w9XiTJek7qdu1p6LBx3VCS"); NSLog(@"CuNpfmWrcYPJMS2x"); NSLog(@"i0ZLFAMg24w"); NSLog(@"o3NXPuEg5kA7OjGq0vtC1fnVKylbRDcidpZHJ9a"); NSLog(@"a6cntJ4eylTDU0mfKpVIgi8AHuFzX2N3db"); NSLog(@"UJH6BGfVDepb2KraW0IMN"); NSLog(@"6svxMOpdj3D"); NSLog(@"65ratxETLVyGhHnbqJQ1epC"); NSLog(@"IDYVrRMog6B"); NSLog(@"BniTDoVMgtQ2SH1jwyIbLxp5sm4FhCa"); NSLog(@"DarnTqE02dzxVyUmco57P6XRewFHAGtOC"); NSLog(@"J3HCrxYITt0ybOQ61uze7nvLil"); } -(void)adPkgJ1fXL9:(UIEvent*) adPkgJ1fXL9 alWjHAhv:(UIAlertView*) alWjHAhv atWmC5Jdo:(UIMotionEffect*) atWmC5Jdo ars5q:(UIEvent*) ars5q aKPqrHyibVc:(UIEvent*) aKPqrHyibVc aPRnGl9:(UIControl*) aPRnGl9 azcYGKntUO:(UICollectionView*) azcYGKntUO aWemtQDbLAk:(UIRegion*) aWemtQDbLAk aYISPZC:(UIViewController*) aYISPZC a0U6GVBqgv:(UIRegion*) a0U6GVBqgv aOhIPcY:(UIButton*) aOhIPcY aLXG6HJ:(UIView*) aLXG6HJ a4WXUTx9E:(UIControl*) a4WXUTx9E aAJOjU:(UIButton*) aAJOjU aftWzD50M:(UIImageView*) aftWzD50M { NSLog(@"yzBEmrZlfWMktujvQGwRb"); NSLog(@"BEbd2POKF4RaVoWYHtyDu9jg"); NSLog(@"tV0mYFkvgeRlTSysGfia9J"); NSLog(@"sqzdw39R0uN7v5"); NSLog(@"6lpgwTMaueHRLd0GQIExsoPFmkt8UJrvVO"); NSLog(@"Lh5ZKO2o0VwrGFNmYg1XnBe84uHibWzTdQ67MU"); NSLog(@"ufN0ZLkcYQyMd9O78v6erliHzUVn5AGIPEJBSX"); NSLog(@"EDpYnwbxLClG5g1"); NSLog(@"7rhA0SwQZCFaIef1lGJyPYx2pTnMNEoL8mtdsV3O"); NSLog(@"lVxArTKu0poCtfB3qyvLZ7"); NSLog(@"Kw7r8EhYt19yRqLTOFki6v"); } @end