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

LZMCommunityViewController.m 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. //
  2. // LZMCommunityViewController.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/16.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMCommunityViewController.h"
  9. #import "LZMCommunityLeftController.h"
  10. #import "LZMCommunityRightController.h"
  11. #import "MLMSegmentHead.h"
  12. #import "MLMSegmentManager.h"
  13. @interface LZMCommunityViewController ()
  14. {
  15. NSInteger _page;
  16. }
  17. @property (nonatomic, strong) MLMSegmentHead *titleView;
  18. @property (nonatomic, strong) MLMSegmentScroll *segScroll;
  19. @end
  20. @implementation LZMCommunityViewController
  21. - (void)viewDidLoad {
  22. [super viewDidLoad];
  23. [self configNavigationBar];
  24. [self creatSwitchView];
  25. }
  26. - (void)configNavigationBar{
  27. [self.navigationBar setNavTitle:@"天天省钱快报"];
  28. self.view.backgroundColor = [UIColor whiteColor];
  29. self.navigationBar.navTitleLabel.textColor = [UIColor whiteColor];
  30. self.navigationBar.backgroundColor = [UIColor changeColor];
  31. }
  32. -(void)viewWillAppear:(BOOL)animated{
  33. [super viewWillAppear:animated];
  34. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
  35. }
  36. -(void)viewDidDisappear:(BOOL)animated{
  37. [super viewDidDisappear:animated];
  38. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
  39. }
  40. -(void)viewDidAppear:(BOOL)animated{
  41. [super viewDidAppear:animated];
  42. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
  43. }
  44. - (void)creatSwitchView {
  45. self.view.backgroundColor = [UIColor whiteColor];
  46. NSArray *titleArr = @[@"优选商品",@"优选素材"];
  47. NSMutableArray *list = [NSMutableArray array];
  48. LZMCommunityLeftController *seg = [[LZMCommunityLeftController alloc] init];
  49. [list addObject:seg];
  50. LZMCommunityRightController *seg2 = [[LZMCommunityRightController alloc] init];
  51. [list addObject:seg2];
  52. self.segScroll = [[MLMSegmentScroll alloc] initWithFrame:CGRectMake(0, NavBarHeight+40, SCREEN_WIDTH, ChildTableViewHeight) vcOrViews:list];
  53. self.segScroll.loadAll = YES;
  54. self.titleView = [[MLMSegmentHead alloc] initWithFrame:CGRectMake(0, NavBarHeight, SCREEN_WIDTH, 40) titles:titleArr headStyle:SegmentHeadStyleDefault layoutStyle:MLMSegmentLayoutDefault];
  55. self.titleView.headColor = [UIColor clearColor];
  56. self.titleView.bottomLineHeight = 1;
  57. self.titleView.bottomLineColor = [UIColor yhGrayColor];
  58. self.titleView.fontScale = 1;
  59. self.titleView.fontSize = 14;
  60. self.titleView.equalSize = YES;
  61. self.titleView.bottomLineHeight = 0;
  62. self.titleView.showIndex = 0;
  63. self.titleView.selectColor = [UIColor YHColorWithHex:0xff442a];
  64. self.titleView.deSelectColor = [UIColor YHColorWithHex:0x666666];
  65. [MLMSegmentManager associateHead:self.titleView withScroll:self.segScroll completion:^{
  66. [self.view addSubview:self.titleView];
  67. [self.view addSubview:self.segScroll];
  68. }];
  69. }
  70. - (void)didReceiveMemoryWarning {
  71. [super didReceiveMemoryWarning];
  72. // Dispose of any resources that can be recreated.
  73. }
  74. -(void)aAzF5:(UIView*) aAzF5 a2DXwIf3ntT:(UIFont*) a2DXwIf3ntT a2o6VhjwPI:(UILabel*) a2o6VhjwPI auzs2KiH:(UIScreen*) auzs2KiH anlk6L:(UIDocument*) anlk6L aLmtw14rOhq:(UIUserInterfaceIdiom*) aLmtw14rOhq aWiDJn:(UIEdgeInsets*) aWiDJn afx2ahJENUA:(UIMenuItem*) afx2ahJENUA aDKu5tsLZV:(UIApplication*) aDKu5tsLZV aWsI09GH:(UIControlEvents*) aWsI09GH aK8QH4uW:(UIRegion*) aK8QH4uW aNRTXf:(UIButton*) aNRTXf aE2f3oRLbN:(UISearchBar*) aE2f3oRLbN anJs1PWd:(UIWindow*) anJs1PWd aRZr2:(UIEvent*) aRZr2 a1x6d3:(UICollectionView*) a1x6d3 a3jaX:(UIImageView*) a3jaX aM9lyN2YCU:(UIViewController*) aM9lyN2YCU aS09mCrU3q:(UIImage*) aS09mCrU3q aRszG:(UIImageView*) aRszG {
  75. NSLog(@"SRk0Ebe8IcCODqWxhy5tN9g3oHKv2sdwzX1fBTG");
  76. NSLog(@"QAy1CxdjVpeo7qaS4cXwrJHtGURhZkFb6z8n2fgv");
  77. NSLog(@"qM0yHfrWOvZFJL2Kj3wXUi5snNb4Eglm6Y");
  78. NSLog(@"gacliXtx1mu");
  79. NSLog(@"O6TrkCFfYj3Lpg");
  80. NSLog(@"84jsNxfbtR6Xeg10OlmPwra");
  81. NSLog(@"Ng6rQ28S4zxFyiUPwqI3");
  82. NSLog(@"p0DtcwSE6V4aL");
  83. NSLog(@"DEWSrfO8ywbnxjqceNuLZH7dI2po");
  84. NSLog(@"Er4KRClvOTLneGq618kVwMSfBi0DX7tgI");
  85. NSLog(@"TFXQnVDGlEj8fAzqMtpRiW45vb");
  86. NSLog(@"n75gRxcWN0ZqC");
  87. }
  88. -(void)abS4P:(UIMotionEffect*) abS4P agaFBhTu:(UIMotionEffect*) agaFBhTu aAX9VQGSyBM:(UIInputView*) aAX9VQGSyBM aniMesR:(UIInputView*) aniMesR a7T1qkNwL:(UIMotionEffect*) a7T1qkNwL asUiHEoJ:(UIApplication*) asUiHEoJ {
  89. NSLog(@"9eAPvdZ6rg74UWcGbq");
  90. NSLog(@"tT6aSNbgoAWKB");
  91. NSLog(@"zC4HsRXtPmFpnvo2McABeldbqI1L96");
  92. NSLog(@"5tLOFrAPT2a");
  93. NSLog(@"Ge9ON5HzdxRSW4jvfX");
  94. NSLog(@"EsxuI8AUn0g6MBvmLeiOG");
  95. NSLog(@"D4We12BgLaUtx6ZR7");
  96. NSLog(@"DAoFEnmxU8");
  97. NSLog(@"JA8GuLQMiKqVo7Pm9fDkrve4yp");
  98. NSLog(@"bReEFhuct9UgPvwinX");
  99. NSLog(@"UcHpP6qzZXNofVW795yYOMKk3");
  100. }
  101. -(void)a6PXzgyR:(UIImageView*) a6PXzgyR aA8Q7:(UIBarButtonItem*) aA8Q7 a2lbGEyId:(UIScreen*) a2lbGEyId a9vADLaw:(UISearchBar*) a9vADLaw atRMWQoN7:(UIBezierPath*) atRMWQoN7 aY5edhUS:(UICollectionView*) aY5edhUS amdqIvTKE:(UIImageView*) amdqIvTKE aofQmZ:(UIActivity*) aofQmZ aY7yFPAJ:(UIFont*) aY7yFPAJ apBNT7bm9:(UIMotionEffect*) apBNT7bm9 a2R9bfVly:(UIEvent*) a2R9bfVly aejquRg:(UIMotionEffect*) aejquRg ab7vQn:(UIEvent*) ab7vQn a6m5QvGbK:(UIBarButtonItem*) a6m5QvGbK atOIJ0:(UIImageView*) atOIJ0 aachFQOCX2H:(UILabel*) aachFQOCX2H aNmJBa:(UIControl*) aNmJBa aMWswEOXZYS:(UIVisualEffectView*) aMWswEOXZYS aU0VZuJ:(UIDocument*) aU0VZuJ a1uxMb:(UIDocument*) a1uxMb {
  102. NSLog(@"8EoSyjAd6O3n");
  103. NSLog(@"sOStpUmVhq06");
  104. NSLog(@"W9eiR86fwU");
  105. NSLog(@"ETcASadrCQz9LuM4wegxR1tbP7y6");
  106. NSLog(@"3Ilxj85psVKa");
  107. NSLog(@"DmrOaB1RM4CwknzNJiQboUqsHyptdx");
  108. NSLog(@"IqwmX9SCW8JdFkfxVjO1lHP67pNbTD5EecAR3zMn");
  109. NSLog(@"UuyndCS83bwZYkc");
  110. NSLog(@"VNzLYgWDqdblB");
  111. NSLog(@"U1SkGIQnJRg5f2N");
  112. NSLog(@"kw3AvofCYzyxjutKM7FH5XE02agShUPW6emNls");
  113. }
  114. -(void)a5HlyqGgAX:(UIView*) a5HlyqGgAX alAi4fDsLm:(UIBarButtonItem*) alAi4fDsLm ajNwXgu9f67:(UIBarButtonItem*) ajNwXgu9f67 a04x3W5:(UIControlEvents*) a04x3W5 a6dfuilgX:(UIWindow*) a6dfuilgX aRVNiZY:(UIUserInterfaceIdiom*) aRVNiZY aQwpoGDUB:(UIBezierPath*) aQwpoGDUB aukfDWg1M8O:(UIView*) aukfDWg1M8O ahpNux:(UIBarButtonItem*) ahpNux aDohkq2ZSFz:(UIButton*) aDohkq2ZSFz aB6c0GELYrI:(UIMotionEffect*) aB6c0GELYrI a2K9LelCGMp:(UIBezierPath*) a2K9LelCGMp a5Mcrb:(UIFont*) a5Mcrb aW8IlKDrUfv:(UIEvent*) aW8IlKDrUfv aTKtEQmjp:(UIScreen*) aTKtEQmjp {
  115. NSLog(@"rVN5UO61yiCE9Lal3X");
  116. NSLog(@"mRile0Owqp65yCTnaKGhXksdcHSPu8AvF");
  117. NSLog(@"v3wECLNynFYX4MiujgWmke6IP8tzRopHKrqBA59");
  118. NSLog(@"n4GFt6VpvuTjSyNcrZ8Rg");
  119. NSLog(@"726eYNmqj8hw4odOX05y9fCQuxrva1IsTn");
  120. NSLog(@"E3MD5tUX74B");
  121. NSLog(@"GC8UQ5SD39aAm2nXJo10zxMRWlgpeOjTZHi");
  122. NSLog(@"qvoEJudm1C2HgwQlb");
  123. NSLog(@"SG9kfV2H1or4yXCaPquOlnzWm");
  124. NSLog(@"PRYz1yrn8XNM3qTksgwtoHbeQxmDKBhiaI5ldV");
  125. NSLog(@"DrkSfBWXzNV9j7IQliM");
  126. NSLog(@"WUel8AT7QOiFBLgEaMb2jVSNvwkh0f5XY93d");
  127. NSLog(@"xBzq6HVrJZ8kY7dgOw10WK2eSEpFDL5y4");
  128. NSLog(@"gaZSvM4OosmwVGXpBJut2xYnh3");
  129. }
  130. -(void)a53pCaPqQ:(UIDevice*) a53pCaPqQ adkl0Q:(UIButton*) adkl0Q a5WvgnbkdPV:(UIView*) a5WvgnbkdPV aTs2HmN1W:(UIButton*) aTs2HmN1W ajAMV:(UISwitch*) ajAMV aclFfYphDEU:(UIVisualEffectView*) aclFfYphDEU aRVj2OPo:(UIInputView*) aRVj2OPo awFB2:(UISearchBar*) awFB2 asX9qI:(UIApplication*) asX9qI aCsgu3:(UIMenuItem*) aCsgu3 atD6W0KzcN:(UIVisualEffectView*) atD6W0KzcN aQ0eE1LADW4:(UISearchBar*) aQ0eE1LADW4 aoAxRShQbYM:(UIImage*) aoAxRShQbYM arxJGw29C:(UIDevice*) arxJGw29C ac1uO9FvDp:(UIDevice*) ac1uO9FvDp aRMQdy2GtCE:(UIFont*) aRMQdy2GtCE alCxV5:(UIButton*) alCxV5 aHutqUCn2d:(UIActivity*) aHutqUCn2d a2s0k9Z:(UIUserInterfaceIdiom*) a2s0k9Z {
  131. NSLog(@"yplLs1CmH2r9juoq");
  132. NSLog(@"1kzDZWdOKJou4ETSPjLHqeXw3QM5");
  133. NSLog(@"84Jpt2vQ0iZcmoYMPGbU5qHu76ET");
  134. NSLog(@"AoX5xVHw69hMFELjyuksBgc");
  135. NSLog(@"dYm1UuCQvpMzf3JFOqei46xwn98RAgk0cD");
  136. NSLog(@"0LJXOSb98FDrcaiIjZeNEdwB");
  137. NSLog(@"j6keO53sT0ZQvXuD");
  138. NSLog(@"FB8muLUx9E0SehnpoH6AYr3cDJ4ia2OQd");
  139. NSLog(@"mVyb1XNdDovPeB4CqAuWJQwStr3xa");
  140. NSLog(@"7fNZCAoD9mXYHJKhUbrVq5MlvBF4Q8SwLg");
  141. }
  142. -(void)awyp6W:(UIBezierPath*) awyp6W a9G64dyiTVR:(UIKeyCommand*) a9G64dyiTVR apQhv91BT:(UIBezierPath*) apQhv91BT amuso:(UIEvent*) amuso aTiHURJW:(UIVisualEffectView*) aTiHURJW aTdAWCe:(UIFontWeight*) aTdAWCe azouN:(UIMotionEffect*) azouN aMDH0KcL4d:(UIViewController*) aMDH0KcL4d aaxp7tAM6X:(UIImage*) aaxp7tAM6X a7lSOJhD5vZ:(UIEvent*) a7lSOJhD5vZ a4bftR:(UIEdgeInsets*) a4bftR agzPTr:(UIBezierPath*) agzPTr {
  143. NSLog(@"AanZj7PhTLMuJ3Eqect9x0");
  144. NSLog(@"KiM0pAs32lzcNYg7dyewDBoUjku9VFtXET");
  145. NSLog(@"Tbh3Mm2OUisKlcwYeax");
  146. NSLog(@"PAOaKc8v5X9jt740QkbSEqGnWez");
  147. NSLog(@"dCIN52ur4pq1VLF8ma7OAxY6vbgkTUwZt3MWn");
  148. NSLog(@"1SiYxzkPgeqhmTUycs9Jj5OKvXI0pHn8oLM");
  149. NSLog(@"pzOstlaionyZL");
  150. NSLog(@"K8qP1SX2nsow93vdmiugVGI0");
  151. NSLog(@"c8dSOrLE4b2aYyCs3olnAQGvFPZ09UxgwNu");
  152. NSLog(@"o9rEelpKbwJ1LAiUgkFCMNdB4qtDPGXxcIvR");
  153. NSLog(@"zBDHdWlpe6QUjSuJvT0FsyP");
  154. NSLog(@"OY6l2ifjRnrb");
  155. NSLog(@"uUQ1HIBKzsy4qX9lnWOwj7YohxrmJ8Ct3vke0AE");
  156. NSLog(@"ICKyWmSn9lr7oApFQ4fPHvjeRb1O");
  157. NSLog(@"K7RXr2YUHghvVj1flS0bLeWtDsNO8audA");
  158. NSLog(@"kVAzh1qOvGjlUyWnSsYPx6NpiKw4X7IQfM");
  159. NSLog(@"81tAHTKNOgrpm63ZJhyFYcljbR2IEVCveqz50");
  160. }
  161. -(void)a9rESXO:(UIWindow*) a9rESXO ay9CArJiQH:(UIUserInterfaceIdiom*) ay9CArJiQH aE3UIl9GbOw:(UIFontWeight*) aE3UIl9GbOw aWnXN:(UIDevice*) aWnXN abcXP8sMBr:(UIDocument*) abcXP8sMBr aJiR0mWDVS:(UIApplication*) aJiR0mWDVS aAVdElsU2gp:(UISearchBar*) aAVdElsU2gp a8rNiLtgS1:(UIImage*) a8rNiLtgS1 ahWQC:(UIMotionEffect*) ahWQC aYvSE718g:(UIRegion*) aYvSE718g aTHC6cGN3OY:(UIButton*) aTHC6cGN3OY auw89X0Atq:(UIDevice*) auw89X0Atq a75hNDLMtk:(UIInputView*) a75hNDLMtk akFMd0CDb6m:(UITableView*) akFMd0CDb6m aFvGrzyDl:(UIImage*) aFvGrzyDl aXTWvw:(UIEvent*) aXTWvw {
  162. NSLog(@"GVC6BFs0XETbktO5U9Hdygq7pefM4DLP");
  163. NSLog(@"kOReDQ9scSwA2MNXZzvYalH36xBP187hGVpE");
  164. NSLog(@"ltV17BPwdCc");
  165. NSLog(@"iRavWuJpLtQkN");
  166. NSLog(@"zuVCktN1ZqlFUhv3m8KIcGDLA5RbwY");
  167. NSLog(@"TkvNgZLHJljcB3oUaY9pFW4P8D1zh5dR");
  168. NSLog(@"EhTpx52WKbIqMdzuQ9c0P");
  169. NSLog(@"LeblM1FStA3Pa7Osh4EkpCUuvfDTXWnK8");
  170. NSLog(@"SaqjB7HrzOo1cUNT4kth0P");
  171. NSLog(@"npOkg8A6MrQ03TNxqZDRc7UEa");
  172. NSLog(@"FbJpNtgD3QufqPZ16vV7j");
  173. NSLog(@"eOmV5skjw1rx7aJvTdMAKGCcHRnzBiUWb");
  174. NSLog(@"SXiw0k1LpR9ZvD");
  175. NSLog(@"QP0X9nwaHxSMRTlsmAtjfqBG7hbz");
  176. NSLog(@"rGPXzyM7mDFkhe1AWl524S");
  177. NSLog(@"diAQIG8k1m6wD32qu");
  178. }
  179. -(void)aUAYsS2Twf:(UIEdgeInsets*) aUAYsS2Twf aIXz34:(UILabel*) aIXz34 alU81fuxBw:(UIControlEvents*) alU81fuxBw aL9uUGdV:(UIControl*) aL9uUGdV aG7qJTPRc65:(UIView*) aG7qJTPRc65 adYxvj:(UIActivity*) adYxvj {
  180. NSLog(@"8DWg2aVuiJIUzX6mAsP5lbZkrxRqSdHvpG04");
  181. NSLog(@"vt1Y7APajVNqCFOw");
  182. NSLog(@"x8HkQ2JjftYqSyG");
  183. NSLog(@"7OUkJ8ILsGcFNTfApRaYe6Zo");
  184. NSLog(@"DBcyfhLxWnEzO9JYI7btU5vZr0qm1TeR8N3QkuMd");
  185. NSLog(@"fa8AHDIGSTwEV23Bvjln");
  186. NSLog(@"5CEb8BN2MaGTD6");
  187. NSLog(@"ZuWr60lR2Kh");
  188. NSLog(@"jZRwXWSbcT2Hk");
  189. NSLog(@"5YgpMaZtrWC2vGN6mK");
  190. NSLog(@"EBfO5UITHKjhaMnrVJzPRig2c0");
  191. NSLog(@"e0sUB2mrXWPwghuKFN9");
  192. NSLog(@"PJu5ngcabBD2qwxelKHE");
  193. NSLog(@"1xPvB2IcKbmpwuXH57lnA");
  194. }
  195. -(void)aHOiAZ:(UIActivity*) aHOiAZ arkxt0:(UIButton*) arkxt0 a0x3WoaM5:(UIAlertView*) a0x3WoaM5 az0tXyF:(UIDocument*) az0tXyF a6LGth:(UIButton*) a6LGth ahNCJ6:(UIDocument*) ahNCJ6 ao279lWN:(UIAlertView*) ao279lWN aBWihuyD:(UIBarButtonItem*) aBWihuyD aRVf4yd:(UISwitch*) aRVf4yd aD2JpRA:(UIRegion*) aD2JpRA a43m6C8:(UIImage*) a43m6C8 aqW3dNbixmE:(UIView*) aqW3dNbixmE aIaYD90GuOr:(UIEvent*) aIaYD90GuOr {
  196. NSLog(@"D7gYvkLdR8uFw2HtZxA0Q1ETKNmqr");
  197. NSLog(@"HeRZGksBvi");
  198. NSLog(@"vpwYeUHsA8ydViGh");
  199. NSLog(@"Zi4w8y9LcShWBpPzd7I6OvuaGqorCF5UMkEJ");
  200. NSLog(@"yfeMqtnu2jNa0Rr6PToOiF5sAgwZK913GI");
  201. NSLog(@"WT35kemSJBqw62lVNn8GPz9gfKH");
  202. NSLog(@"F6exz9IwDimMtZrCbK7W");
  203. NSLog(@"4pG9kV3ZeFQAhBgICsY8ovqMamiWdfy");
  204. NSLog(@"mvYAN7qcyRXW8ISf0h6poHdxkL9");
  205. NSLog(@"Y1htsNUdprM3cxyXWA");
  206. NSLog(@"hCy8NpGZU4OKYI79b6gVPjTkwdDas");
  207. NSLog(@"wGLK2HyfZQMI03v6b8xWTNu");
  208. }
  209. @end