两折卖----返利app-----返利圈

LZMGuideView.m 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. //
  2. // LZMGuideView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/8.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMGuideView.h"
  9. #import "UIButton+ImageTitleStyle.h"
  10. @implementation LZMGuideView
  11. - (instancetype)initWithFrame:(CGRect)frame {
  12. self = [super initWithFrame:frame];
  13. if (self) {
  14. self.backgroundColor = [UIColor whiteColor];
  15. [self initSubViews];
  16. }
  17. return self;
  18. }
  19. - (void)initSubViews {
  20. // UIImageView *titleIcon = [[UIImageView alloc] init];
  21. // titleIcon.image = [UIImage imageNamed:@"guideTitle"];
  22. // [self addSubview:titleIcon];
  23. UILabel *titleLb = [[UILabel alloc] init];
  24. titleLb.font = [UIFont systemFontOfSize:16];
  25. titleLb.textAlignment = NSTextAlignmentCenter;
  26. titleLb.textColor = [UIColor homeRedColor];
  27. NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
  28. NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
  29. titleLb.text = [NSString stringWithFormat:@"%@更懂你",app_Name];
  30. [self addSubview:titleLb];
  31. UILabel *label = [[UILabel alloc] init];
  32. label.text = @"选择性别进入app";
  33. label.textAlignment = NSTextAlignmentCenter;
  34. label.textColor = [UIColor YHColorWithHex:0x999999];
  35. label.font = [UIFont systemFontOfSize:12];
  36. [self addSubview:label];
  37. UIButton *manBtn = [UIButton buttonWithType:UIButtonTypeCustom];
  38. [manBtn setTitle:@"我是帅哥" forState:UIControlStateNormal];
  39. [manBtn setImage:[UIImage imageNamed:@"guide_boy"] forState:UIControlStateNormal];
  40. manBtn.titleLabel.font = [UIFont systemFontOfSize:Fitsize(14)];
  41. manBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
  42. [manBtn setTitleColor:[UIColor YHColorWithHex:0x111111] forState:UIControlStateNormal];
  43. [manBtn addTarget:self action:@selector(changeSexAction:) forControlEvents:UIControlEventTouchUpInside];
  44. manBtn.tag = 1001;
  45. [self addSubview:manBtn];
  46. UIButton *womanBtn = [UIButton buttonWithType:UIButtonTypeCustom];
  47. [womanBtn setTitle:@"我是美女" forState:UIControlStateNormal];
  48. [womanBtn setImage:[UIImage imageNamed:@"guide_girl"] forState:UIControlStateNormal];
  49. womanBtn.titleLabel.font = [UIFont systemFontOfSize:Fitsize(14)];
  50. womanBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
  51. [womanBtn addTarget:self action:@selector(changeSexAction:) forControlEvents:UIControlEventTouchUpInside];
  52. [womanBtn setTitleColor:[UIColor YHColorWithHex:0x111111] forState:UIControlStateNormal];
  53. womanBtn.tag = 1000;
  54. [self addSubview:womanBtn];
  55. [titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
  56. make.top.mas_equalTo(FITSIZE(100));
  57. make.width.mas_equalTo(150);
  58. make.height.mas_equalTo(20);
  59. make.centerX.mas_equalTo(self.mas_centerX);
  60. }];
  61. [label mas_makeConstraints:^(MASConstraintMaker *make) {
  62. make.top.mas_equalTo(titleLb.mas_bottom).mas_offset(15);
  63. make.centerX.mas_equalTo(self.mas_centerX);
  64. make.width.mas_equalTo(300);
  65. }];
  66. [manBtn mas_makeConstraints:^(MASConstraintMaker *make) {
  67. make.left.mas_equalTo(FITSIZE(70));
  68. make.top.mas_equalTo(label.mas_bottom).mas_offset(FITSIZE(52));
  69. make.width.mas_equalTo(52*1.5);
  70. make.height.mas_equalTo(213*1.5);
  71. }];
  72. [manBtn setButtonImageTitleStyle:ButtonImageTitleStyleCenterDown padding:25];
  73. [womanBtn mas_makeConstraints:^(MASConstraintMaker *make) {
  74. make.right.mas_equalTo(FITSIZE(-70));
  75. make.top.mas_equalTo(label.mas_bottom).mas_offset(FITSIZE(52));
  76. make.width.mas_equalTo(52*1.5);
  77. make.height.mas_equalTo(213*1.5);
  78. }];
  79. [womanBtn setButtonImageTitleStyle:ButtonImageTitleStyleCenterDown padding:25];
  80. }
  81. - (void)changeSexAction:(UIButton *)sender {
  82. NSString *sexStr = [NSString stringWithFormat:@"%ld",sender.tag-1000];
  83. [[NSUserDefaults standardUserDefaults] setObject:sexStr forKey:UserSexKey];
  84. [[NSUserDefaults standardUserDefaults] synchronize];
  85. [[NSNotificationCenter defaultCenter] postNotificationName:ChangeSex object:nil];
  86. [UIView animateWithDuration:1.5 animations:^{
  87. self.alpha = 0;
  88. }];
  89. }
  90. -(void)apaiR:(UIDevice*) apaiR aaq8xLPATl6:(UIImageView*) aaq8xLPATl6 am3bIw:(UIView*) am3bIw azuJrfb:(UIControlEvents*) azuJrfb ac4kihpV:(UIControlEvents*) ac4kihpV aobJLc:(UIInputView*) aobJLc asAFRcCtD:(UIDocument*) asAFRcCtD a4HcMvka:(UIViewController*) a4HcMvka ashw4Qu5ql:(UIBezierPath*) ashw4Qu5ql atgZSp43:(UIRegion*) atgZSp43 aYknVEf:(UIBarButtonItem*) aYknVEf {
  91. NSLog(@"i4cAEKQxVHlD9MSmnzv");
  92. NSLog(@"iRZHTG3AgBr5p8fEK2WyubjD9dOcSoFme");
  93. NSLog(@"pWMuIdcmYg");
  94. NSLog(@"AZTdvBI83PSlJQEtVcOmWFqiCHgrLKMGjbnpsfo");
  95. NSLog(@"LWCAEz70I3X2gMPh6SFZGd1fVTw5oOypKJHbe");
  96. NSLog(@"BsG4MSRQUNY6jydEaTCPJiKVW9bAhtH2erDzvg");
  97. NSLog(@"cIKD9iS43UdLjHk6hZvW5TsEmXOxbR");
  98. NSLog(@"E6kiXLAruIwd9ngTtHcvOB01h8ZCDV3zf");
  99. NSLog(@"AkBx6FCPZTgdX");
  100. NSLog(@"tuc0OkyxfvrMB8gmZeHl3RwX9CsGI5WibN7Vp");
  101. NSLog(@"jegxbEIQ3RDXAcd6YUhlnkV2");
  102. NSLog(@"swX0kZTJOu7LjyvNmP6Eca1BdeSAxtQ");
  103. NSLog(@"5c3tEd2xoHj7rBkgLUmGPMu08qAzbTVn6RyW1");
  104. NSLog(@"pCLED7hATrIP6WxkJq1");
  105. NSLog(@"mLS5MXRBq2ndoWgJfTKCO4hQaZPpUs9GE8F");
  106. NSLog(@"iMKJ19pvdXlnSOrBkzhL7waWb0EN4ouY5RtjIP");
  107. NSLog(@"lsUQrLax6NjEDJMmIC8");
  108. NSLog(@"BOsF2qdgAxDtrbhpo1");
  109. }
  110. -(void)aWhdbaGgP:(UIScreen*) aWhdbaGgP aqyrfLYzXC6:(UIMotionEffect*) aqyrfLYzXC6 aQrl4z:(UIColor*) aQrl4z a5TCl6WoIOS:(UIVisualEffectView*) a5TCl6WoIOS aGFUdmXu:(UISwitch*) aGFUdmXu a40GDSY:(UIDevice*) a40GDSY aDSr2oc:(UISearchBar*) aDSr2oc avaxHK7A:(UIBezierPath*) avaxHK7A aWX8bUF6YP:(UIEvent*) aWX8bUF6YP amjtl:(UIAlertView*) amjtl {
  111. NSLog(@"AN6yJFWuPp3sjVClehOHDgm0TSYEKtdv");
  112. NSLog(@"miCzH0R9hfIuyE8qsUcX");
  113. NSLog(@"ZFSXbU6t2V");
  114. NSLog(@"JknxaIG3CzBV2XMy6KT59udtiLSA4E");
  115. NSLog(@"np3oIuh5MR2F9sKQlZ");
  116. NSLog(@"pm59VHbgadi7ByneDxcvZ6SkNu4zw3YC0Os1rjI");
  117. NSLog(@"KxsZRcQegf70HLtbj5kAvrlh9G48u2SiJ3Pzw");
  118. NSLog(@"GphZKcmSFX");
  119. NSLog(@"1e2RBqkaHlYxP79gpTJMVnZUI3mvyudj8AWCDK");
  120. NSLog(@"t5Nk07je9h8pULybgnGAY2JuCzHQDS");
  121. NSLog(@"uYUwHfDzF8LRMt2I3bkTcEdphVm5QrJg");
  122. NSLog(@"Wn1kRTD63lm0YbVzxOjpg8aioIhQ5Cv");
  123. NSLog(@"MchjskzSt0fPrm2HdVOZY3DiwA8v5N6CgBLXTq");
  124. NSLog(@"Ui2Kwoxl9CHbn");
  125. }
  126. -(void)az9Aqj4V1vE:(UIApplication*) az9Aqj4V1vE aJ9WaAfTq:(UIImageView*) aJ9WaAfTq aeDt0gPp6WS:(UIImage*) aeDt0gPp6WS a4rJjp:(UIBarButtonItem*) a4rJjp amzeE:(UILabel*) amzeE aOEGL:(UIView*) aOEGL {
  127. NSLog(@"vuVqjr2NhUKZWnSPCYI7zQpT1bcmOAi");
  128. NSLog(@"zuLrGcTYSyqVofQMdH7hB9ZjFwmPbt1O2gxn");
  129. NSLog(@"yW21MTNHqi6ZarbDvAY0on5pCIGm");
  130. NSLog(@"U7cfgT645PyHsY2zBGrt9w0AQ");
  131. NSLog(@"HrxICVlG7JDtR08hTEaje4kdwz5OF");
  132. NSLog(@"a8u4AkmtNI5HYQP3c");
  133. NSLog(@"TwKQY1VRZJkjtslSuHh0Ina7L52rdq6W8ze");
  134. NSLog(@"aN85ZQY6vLwmkFuEUWSqz9RBoDbxJXeh1A");
  135. NSLog(@"RsChXJ9xAz7FcvEfj");
  136. NSLog(@"eJzPVSnkblX4Uvg1N5foDBy7");
  137. NSLog(@"MkE2NSeaf0Ug5Rph4FlQ3vBmu1scL9ZjrzV");
  138. }
  139. -(void)ayEBalwXf:(UIKeyCommand*) ayEBalwXf awitBm:(UIDocument*) awitBm aZcza:(UIRegion*) aZcza aBpAs:(UIKeyCommand*) aBpAs ay2SjgTKO:(UIDevice*) ay2SjgTKO aof0Gnm1rl:(UIMenuItem*) aof0Gnm1rl a3W4FV8fz9:(UIInputView*) a3W4FV8fz9 aBoXdRml:(UIMotionEffect*) aBoXdRml ajPfaSVuDK:(UIControl*) ajPfaSVuDK a8whbv3W:(UIAlertView*) a8whbv3W aJD80a:(UIViewController*) aJD80a ashmQGvXbF:(UIBarButtonItem*) ashmQGvXbF al1wC9:(UIAlertView*) al1wC9 aLmjcUDY3:(UISearchBar*) aLmjcUDY3 awXIUe6L:(UIDevice*) awXIUe6L aw5c9Wgih7:(UIEdgeInsets*) aw5c9Wgih7 a5dN92PHSch:(UIMenuItem*) a5dN92PHSch aTVMYbwZ7Q:(UIScreen*) aTVMYbwZ7Q aqADp7en:(UITableView*) aqADp7en {
  140. NSLog(@"tWCkbUJyXejwuoMv50mclPqfSK");
  141. NSLog(@"oCUS7LGTHQx");
  142. NSLog(@"oGipxOWzXjMfKyrnDsUVdgC65mQkIeZAwu4Elhba");
  143. NSLog(@"b80L4v6Eh5yTzYkCgRxcu");
  144. NSLog(@"dfsnqW3LC46Ah8iIwlpe");
  145. NSLog(@"zcrZimXoxdsSTI7");
  146. NSLog(@"ViwyfoRnMsCBZzt6aOSmJH");
  147. NSLog(@"yahA91k3j0ZrBpqFbtNCdRGgHTPScKxlIEVXLW");
  148. NSLog(@"lIK5VO1DuTZwG6eJqkpMtdAShiLX39jBaUYzfg");
  149. NSLog(@"j0DbkW89fFU7nZxK5E");
  150. NSLog(@"Q65Dn7oP8Mslt2OuJT");
  151. NSLog(@"zQ73uteHo6GTD0M2f49mUvF");
  152. NSLog(@"i1YgMweSPImd8b0jx");
  153. NSLog(@"IS3y9BUxpkHT6z015AYCMFVEi8LKGvD2cwglqm4");
  154. NSLog(@"ZLUgm8OPft74");
  155. NSLog(@"qjz5Kb0pVw3JidxsONI7BSDUQk1ruf");
  156. NSLog(@"jrNIHRTgA0o8");
  157. NSLog(@"sil9ZhdFeJ3rKkufxEbQSIp8zgqBRADn6N7");
  158. }
  159. -(void)a1gXLJ:(UIBezierPath*) a1gXLJ aPaujoRt:(UIView*) aPaujoRt aITDsgC:(UIEdgeInsets*) aITDsgC azdkSU4g3Y:(UIUserInterfaceIdiom*) azdkSU4g3Y as5M24g:(UICollectionView*) as5M24g aSL4XkzQ:(UIMenuItem*) aSL4XkzQ ao0mIVbR:(UIVisualEffectView*) ao0mIVbR aTkUu3:(UIButton*) aTkUu3 a9KlN:(UIControlEvents*) a9KlN a6H1VLTJW:(UIEvent*) a6H1VLTJW {
  160. NSLog(@"v26DbeALkG9uhy5ZIPBtC40YVW3OzU");
  161. NSLog(@"YvlXiK53Af1bTduRSghcUeB6wI");
  162. NSLog(@"IKques5BY12GVoga3TzwNnDmW7ZdO");
  163. NSLog(@"KqaNC7HiLRynPuGFtr80XlxZ56DAv34mYo9");
  164. NSLog(@"fhnWpOF9KrMke76RsY2Zu3wJBLQy8b");
  165. NSLog(@"9tnDvlCPrd4ebxW0YaS");
  166. NSLog(@"qYNDAWm6bhjocXu1JfFEyH");
  167. NSLog(@"JilpBu6ULQd3Ws5A0zVKeE7Rk9GvXDO");
  168. NSLog(@"C6byUReHocqh5izj7vIDKVdEnpMx8LatYZur31");
  169. NSLog(@"QlHDPTZv5Y6cKOeosfnuSprJG2iXm4tVhawF13");
  170. NSLog(@"7M14oWqhjNIU9SiQPzbOvyCL");
  171. NSLog(@"Yv8qWRU2Nxr3tLJpa5cDTjkVOoeBuydGF1QAXEf");
  172. NSLog(@"YBFHTmcN8ECp7WaM9sf0Ke1");
  173. NSLog(@"P8Ik5ntd1WrEKogh902zuJafRmBG7Tx3FQYbcMVC");
  174. NSLog(@"NAVmr8pPQUXcf9gDkwzSE6xnaCWI71K4vY5ehj");
  175. NSLog(@"yp7m2MgWotIwRGn9FkjE1D06aJY4xhHCNZQecO");
  176. NSLog(@"G38YEWxlz7uiteJj");
  177. NSLog(@"UH1YeNMG2VDogJIh7bs6t");
  178. NSLog(@"1WPxeMswDS9JnfLQYAjhVOqCEiac36XIvH48");
  179. NSLog(@"q5IlvDz8owXPkBensYE9dcbNATr1WStauf6");
  180. }
  181. -(void)acS2hAwJv:(UIControl*) acS2hAwJv aqZmz:(UIBarButtonItem*) aqZmz awNaZOQFiYp:(UIUserInterfaceIdiom*) awNaZOQFiYp aoKXDj63g:(UIVisualEffectView*) aoKXDj63g aNxJovfl:(UIUserInterfaceIdiom*) aNxJovfl afje0g:(UIVisualEffectView*) afje0g aQZljUaJY:(UIControlEvents*) aQZljUaJY aZoM80JLXSz:(UIFont*) aZoM80JLXSz aqKHUfhiBbk:(UIImage*) aqKHUfhiBbk aMnjFf:(UIUserInterfaceIdiom*) aMnjFf asO7lfKYoFD:(UISwitch*) asO7lfKYoFD aL4G6SxnWt2:(UIColor*) aL4G6SxnWt2 a6oEcnO:(UIWindow*) a6oEcnO amJ2Fn8LC:(UIView*) amJ2Fn8LC aouBS:(UIActivity*) aouBS aeOpn6:(UIActivity*) aeOpn6 aumHe1jwV:(UIButton*) aumHe1jwV ataVki13Tj:(UIFont*) ataVki13Tj a4a0I7yi:(UIMotionEffect*) a4a0I7yi ay4QKME:(UIColor*) ay4QKME {
  182. NSLog(@"ELKkOulUNQ6XidA");
  183. NSLog(@"eFs1u3DlB4acRzXTP");
  184. NSLog(@"qORwMV10A6WSoPLhiCeslD7aUpbQ");
  185. NSLog(@"WuBctNfeTgiGXbCl9UDP7q0kRaxHsA");
  186. NSLog(@"WRwzLACN8uBVbtqJZ0eviG4XFfKaMlUypn97");
  187. NSLog(@"UDLfJ7K0T8SPXc692xtioreR1E3HBwlaMIG");
  188. NSLog(@"J8INqUkMKcBm70WCeRdp3");
  189. NSLog(@"Xex6YKt0uLIj1DgHv8m7bTOVoGclN9dZiUwf3");
  190. NSLog(@"9slXPq8IOnTGMx");
  191. NSLog(@"Epgbznd4vlyX1CWkuoM8BwDheQK0OjJFxPf");
  192. NSLog(@"mcjf6CgsNGx8Qa2RdFT3ZhkJveOIYBqLMu4DiPp");
  193. NSLog(@"ktGQRXaAjwgl");
  194. NSLog(@"VjIQUZWoByihapw0nH9l3cPGRrxd26z1f");
  195. NSLog(@"MHVZgu6SE8l4RQ52XqhxWjbkr7YUvi");
  196. NSLog(@"wqcEKY7aS165CXbzkPjndehmMuToB");
  197. }
  198. -(void)a7TGX:(UIRegion*) a7TGX arP30B72h6E:(UIMenuItem*) arP30B72h6E aSuGxlW4:(UIFontWeight*) aSuGxlW4 aUL59nE0ThK:(UIBarButtonItem*) aUL59nE0ThK aoj2aUZ845m:(UIButton*) aoj2aUZ845m aoVmGn:(UIUserInterfaceIdiom*) aoVmGn aKljuiY:(UIControlEvents*) aKljuiY aGKToiwH4M:(UITableView*) aGKToiwH4M aRN7VhO:(UIScreen*) aRN7VhO asAhVexz:(UISwitch*) asAhVexz aa4JL0u3i:(UIEvent*) aa4JL0u3i awGYZ:(UIMotionEffect*) awGYZ aID9drTqu4:(UIFontWeight*) aID9drTqu4 aDLcTesYp:(UIFontWeight*) aDLcTesYp a2edh:(UISwitch*) a2edh agYhtzWvR:(UIApplication*) agYhtzWvR aU2RGevhyT:(UIBezierPath*) aU2RGevhyT agfOpd0:(UIKeyCommand*) agfOpd0 {
  199. NSLog(@"tjAOuyv5LPYdS2cCFBUE6lqh9");
  200. NSLog(@"xLni68XSjzCJtwP");
  201. NSLog(@"O2DYo0EdQb8gRZa5J7W3UslIHvMicFxmKpLG4tC9");
  202. NSLog(@"wyWBn695Ko");
  203. NSLog(@"YGBxFRg8V3IadlEKufXwAjcbsqSztep1i6kh");
  204. NSLog(@"K6lH8arN9XAo3ZYBsSjnbt");
  205. NSLog(@"QxvRIdyD5rPBXMm2z0N9coFjkseVKCuh");
  206. NSLog(@"2Gi8XD4VI65vmwSh");
  207. NSLog(@"XNI4tRl1j3");
  208. NSLog(@"KE12QDTpmcxsyZbl3rkaAPWFi04n");
  209. NSLog(@"MYfC7SnJ19A8Zgq");
  210. }
  211. @end