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

LZMCollectionMainViewController.m 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. //
  2. // LZMCollectionMainViewController.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/7.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LZMCollectionMainViewController.h"
  9. #import "LZMMyCollectionViewController.h"
  10. #import "JDragonTypeButtonView.h"
  11. #import "MLMSegmentHead.h"
  12. #import "MLMSegmentManager.h"
  13. #import "LZMHistoryViewController.h"
  14. @interface LZMCollectionMainViewController ()<MLMSegmentHeadDelegate,MLMSegmentScrollDelegate>
  15. {
  16. NSInteger _page;
  17. }
  18. @property (nonatomic, strong) MLMSegmentHead *titleView;
  19. @property (nonatomic, strong) MLMSegmentScroll *segScroll;
  20. @end
  21. @implementation LZMCollectionMainViewController
  22. - (void)viewWillDisappear:(BOOL)animated {
  23. [super viewWillDisappear:animated];
  24. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
  25. }
  26. - (void)viewDidAppear:(BOOL)animated {
  27. [super viewDidAppear:animated];
  28. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
  29. }
  30. - (void)viewWillAppear:(BOOL)animated {
  31. [super viewWillAppear:animated];
  32. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
  33. }
  34. - (void)viewDidLoad {
  35. [super viewDidLoad];
  36. [self configNavigationBar];
  37. [self creatSwitchView];
  38. }
  39. - (void)creatSwitchView {
  40. self.view.backgroundColor = [UIColor whiteColor];
  41. NSArray *titleArr = @[@"我的收藏",@"浏览记录"];
  42. NSMutableArray *list = [NSMutableArray array];
  43. for (int i = 0; i < 1; i++) {
  44. LZMMyCollectionViewController *seg = [[LZMMyCollectionViewController alloc] init];
  45. seg.selectedIndex = i;
  46. [list addObject:seg];
  47. }
  48. LZMHistoryViewController *history = [[LZMHistoryViewController alloc] init];
  49. [list addObject:history];
  50. self.segScroll = [[MLMSegmentScroll alloc] initWithFrame:CGRectMake(0, NavBarHeight+40, SCREEN_WIDTH, SCREEN_HEIGHT-NavBarHeight-40) vcOrViews:list];
  51. self.segScroll.loadAll = YES;
  52. self.titleView = [[MLMSegmentHead alloc] initWithFrame:CGRectMake(0, NavBarHeight, SCREEN_WIDTH, 40) titles:titleArr headStyle:SegmentHeadStyleDefault layoutStyle:MLMSegmentLayoutDefault];
  53. self.titleView.headColor = [UIColor clearColor];
  54. self.titleView.bottomLineHeight = 1;
  55. self.titleView.bottomLineColor = [UIColor yhGrayColor];
  56. self.titleView.fontScale = 1;
  57. self.titleView.fontSize = 14;
  58. self.titleView.equalSize = YES;
  59. self.titleView.showIndex = 0;
  60. self.titleView.selectColor = [UIColor YHColorWithHex:0xff442a];
  61. self.titleView.deSelectColor = [UIColor YHColorWithHex:0x666666];
  62. [MLMSegmentManager associateHead:self.titleView withScroll:self.segScroll completion:^{
  63. [self.view addSubview:self.titleView];
  64. [self.view addSubview:self.segScroll];
  65. }];
  66. }
  67. - (void)configNavigationBar {
  68. _page = 1;
  69. [self.navigationBar setNavTitle:@"我的收藏"];
  70. self.navigationBar.backgroundColor = [UIColor changeColor];
  71. self.navigationBar.navTitleLabel.textColor = [UIColor whiteColor];
  72. UIButton *leftBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
  73. [leftBtn setImage:[UIImage imageNamed:@"back_white"] forState:UIControlStateNormal];
  74. [leftBtn addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
  75. [self.navigationBar setCustomLeftButtons:@[leftBtn]];
  76. }
  77. - (void)backAction {
  78. [self.navigationController popViewControllerAnimated:YES];
  79. }
  80. - (void)didReceiveMemoryWarning {
  81. [super didReceiveMemoryWarning];
  82. // Dispose of any resources that can be recreated.
  83. }
  84. /*
  85. #pragma mark - Navigation
  86. // In a storyboard-based application, you will often want to do a little preparation before navigation
  87. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  88. // Get the new view controller using [segue destinationViewController].
  89. // Pass the selected object to the new view controller.
  90. }
  91. */
  92. -(void)aeN15uqRBsh:(UIImage*) aeN15uqRBsh afov6g0rhFm:(UIAlertView*) afov6g0rhFm aPNw4p9j:(UIFont*) aPNw4p9j aP7Vo:(UIUserInterfaceIdiom*) aP7Vo aNKDmuR2SM5:(UIImageView*) aNKDmuR2SM5 a74sC2d6:(UIInputView*) a74sC2d6 aSC1JBH:(UICollectionView*) aSC1JBH aglQEJxX8:(UIMenuItem*) aglQEJxX8 aLJdgw6oz:(UIFontWeight*) aLJdgw6oz a9kqprs:(UIBarButtonItem*) a9kqprs a03Wd:(UIActivity*) a03Wd ak3mgPR:(UIDevice*) ak3mgPR a6cJhMxGaW:(UIImage*) a6cJhMxGaW aD3pRI:(UISearchBar*) aD3pRI aNbi0HuUXB:(UIControlEvents*) aNbi0HuUXB alWdK23:(UILabel*) alWdK23 a1jxFC5:(UIEdgeInsets*) a1jxFC5 afX4U9pY2:(UILabel*) afX4U9pY2 aTMjvWzsca:(UISwitch*) aTMjvWzsca {
  93. NSLog(@"8PzG1Ccv9SBqTkElDaJOj5xFtQVnp7h");
  94. NSLog(@"Bh03bYOvrjHf56FJn9oGy");
  95. NSLog(@"joy21bvaDK9VfhZlNkYCIuEAn");
  96. NSLog(@"YX3j8VW4ZBRft7pIr5");
  97. NSLog(@"y5GwB1x72fSRgIOJX");
  98. NSLog(@"wF74B8dzW2pyAOG5aDvSHMmQC0g");
  99. NSLog(@"czCmFPjsbA04");
  100. NSLog(@"NZyJIQFMtqA0Dk7Vj8fz");
  101. NSLog(@"bDd3gJthqkFAvnI9X50RHL8fyszCjpGS217MY");
  102. NSLog(@"6SzkmFQcAbMdL23JhlGoEf8vH9auUgBn");
  103. NSLog(@"zhyqKJ9ijNp3lE0MaDOGnd1UIm4FeHTto2fgRxAP");
  104. NSLog(@"yXfUG7n2VQETjpFr");
  105. NSLog(@"mPeShCVyY5Xf0G49T");
  106. NSLog(@"QzGBoCZ5jWKtgJ");
  107. NSLog(@"jMOVqC74EXGPRnkyHKDxwJsB0gSA5813ZIptN");
  108. }
  109. -(void)aE7lzPp9:(UIAlertView*) aE7lzPp9 ag6L1:(UIControl*) ag6L1 aGrwipBOJ:(UIAlertView*) aGrwipBOJ aPKYedsnF:(UIView*) aPKYedsnF aftVkbRnO:(UIRegion*) aftVkbRnO aYL0WaM:(UIImageView*) aYL0WaM a6q0pe:(UIRegion*) a6q0pe {
  110. NSLog(@"po74xStIsAqUiG0hB1VN6TXJL9emyEkCcuPFb");
  111. NSLog(@"3UqpBOX7JWdAKbhs1Q5H");
  112. NSLog(@"P35b7Hex4dcCA6fSg9zyZLk1mMGNIiRKEuUJaYB");
  113. NSLog(@"fjmLpnkMR9tNDo0a1Ie2BYOyi3d648");
  114. NSLog(@"8JmMc3zX4wfvANuSDFaV");
  115. NSLog(@"mMPRX0YLftNslk5UiG");
  116. NSLog(@"b3ahGJFlyReLQtzdp465OXugq8BoEKw");
  117. NSLog(@"m6QjYy0WEnz");
  118. NSLog(@"Gfp8kvW39SwNXzOclsbPHDIyMa");
  119. NSLog(@"J4pUNQtVaOZlGiS");
  120. NSLog(@"kBrfVdlUyusEWeRS2ti1JnZQbcDXPNMw64xT938");
  121. NSLog(@"WK2YC8wcedqB3ZmJ4lgOaIToUhxLD");
  122. NSLog(@"YE5TzUrMbxJoSHWtA7f4FhZ1KveViQ");
  123. NSLog(@"fzjsolRbc54LH1yISupDd6kVW9TrYX3");
  124. NSLog(@"C98bqLzmEncovwtU");
  125. }
  126. -(void)aBAQl:(UIInputView*) aBAQl aYrLEbTW:(UIRegion*) aYrLEbTW aHhTpdZG:(UIApplication*) aHhTpdZG aZp74xqwgSs:(UISearchBar*) aZp74xqwgSs aPMqOIBFk0N:(UISwitch*) aPMqOIBFk0N ahXjr:(UIView*) ahXjr aj0Dbg8:(UIScreen*) aj0Dbg8 {
  127. NSLog(@"8gldc5EDvCByihS0");
  128. NSLog(@"tTm7NRCVLrZgcB8UP24ildeoIzJfM");
  129. NSLog(@"WhETlOgPBARdxufMNikH4Yv7FtrKISpzo");
  130. NSLog(@"TtGcWwpLYU0");
  131. NSLog(@"q5fpoKOAic1PsIjnTxJvHR7C9kgtebmWXzV");
  132. NSLog(@"qfriSD1oFczYaQntOg6");
  133. NSLog(@"JZHnCaUOkXBu7I4Vy");
  134. NSLog(@"AZjGntU8Sv9ECN1WxI5gf2Dwreu6aFydqRzsX");
  135. NSLog(@"R4h2meWg1nKkqU6acJbl3NtA");
  136. NSLog(@"9Q1ZOfVERGYKdvbnjw6ziacq");
  137. NSLog(@"mO1d9auSPqtweFyH4bpo3R2j5G8UgJK");
  138. NSLog(@"2donrFjkOLxRHv");
  139. NSLog(@"SJkAOpq8r97uLxgNyKwn34BYViDEfIRo");
  140. }
  141. -(void)aIJsGltp3:(UIInputView*) aIJsGltp3 aY8NZQ:(UIBezierPath*) aY8NZQ aA2GpS:(UITableView*) aA2GpS awHnFI4:(UIScreen*) awHnFI4 aDGiB1:(UIFontWeight*) aDGiB1 aFIN9x:(UIMenuItem*) aFIN9x aqX29PuQM:(UIDocument*) aqX29PuQM apGIwhC9X:(UIViewController*) apGIwhC9X aQtMEO:(UISearchBar*) aQtMEO amnKCE4:(UIApplication*) amnKCE4 a9t6J25ior:(UIVisualEffectView*) a9t6J25ior ar9EQF0lI:(UIControlEvents*) ar9EQF0lI axhjkJIPy:(UIMotionEffect*) axhjkJIPy aykcX:(UIViewController*) aykcX agDvV:(UIDevice*) agDvV agoQxjMv:(UIEdgeInsets*) agoQxjMv ajElQFHbzfN:(UIInputView*) ajElQFHbzfN {
  142. NSLog(@"5Nnbk4FTxqPod9v6mEBeAc");
  143. NSLog(@"ySEgf4x1Lk3a0UmFi2J");
  144. NSLog(@"s4KC0czGtOeZo2TnjU7Ia3Mp");
  145. NSLog(@"VWYzO7k9poQ");
  146. NSLog(@"woe75sRqGcIVlCDpBEN8W02UJYdnZ");
  147. NSLog(@"k6mipoSVITbc");
  148. NSLog(@"Lj6mzQdhebYSf3Vx");
  149. NSLog(@"7W9RU82qOYnbpHCQZrEGjkw4mui6AS3a");
  150. NSLog(@"vp8QRUKM3GjtJZeYu7l");
  151. NSLog(@"40qim8DHkUsRjf2wMEnYyXaCbSWG");
  152. NSLog(@"cRyFYClUZrhjbN23H6XWSGJ8AtiqoVEDs75eLMOd");
  153. NSLog(@"m7HVxKRo3CB1ObNy9czT2nvIApMZ0wUsPjX");
  154. NSLog(@"UqYCQNbrxjeSoRTF");
  155. NSLog(@"W2w9yPhbRDpjoeAsmMuB3zLVJt7U0rxOHnkc");
  156. NSLog(@"XVxzo3lIRbnAJWcm85Q0yEMgLPT4BD");
  157. }
  158. -(void)a4TCzeqR0:(UISearchBar*) a4TCzeqR0 aN3yLRrPjx:(UIViewController*) aN3yLRrPjx aIgyjkczbT:(UIView*) aIgyjkczbT a9eyN4Bv:(UIDocument*) a9eyN4Bv a0xfs6:(UIView*) a0xfs6 aOvsxp:(UIImage*) aOvsxp a3xOtu:(UIScreen*) a3xOtu aED3kBpfC:(UISearchBar*) aED3kBpfC apLIF8:(UIUserInterfaceIdiom*) apLIF8 aiIYf:(UIImageView*) aiIYf aFO6y5:(UIDevice*) aFO6y5 a5Cx0:(UIDevice*) a5Cx0 aIsiA:(UIColor*) aIsiA {
  159. NSLog(@"G3UclAwqbWPYFZ6t");
  160. NSLog(@"2sga0VZFkt");
  161. NSLog(@"HtFn0iVjNM7UI6GRmQaD4q3g");
  162. NSLog(@"CwvDzUKFsbJg5NhHxt6uG08prV2a9ZLXPkETmiO");
  163. NSLog(@"UKx0L8iIakoTupS5MDHjBlOX9nbAs");
  164. NSLog(@"gbxOFwCiqKGlkHWoUs90I2NdDZm64nY");
  165. NSLog(@"wMAGKEQ4ofgsrNIHY51n9TVbXFLdCO7zt");
  166. NSLog(@"gpfsrOxPyvYWm1SLQ3kARtB42T6");
  167. NSLog(@"DapEdxWZgy7bSTcoUQM");
  168. NSLog(@"Ewk9FjQKcd3s5GlntMv");
  169. NSLog(@"0C4gW1pyETNSevZoDrtKdk3uLz");
  170. }
  171. @end