// // LZMCommunityViewController.m // YouHuiProject // // Created by 小花 on 2018/5/16. // Copyright © 2018年 kuxuan. All rights reserved. // #import "LZMCommunityViewController.h" #import "LZMCommunityLeftController.h" #import "LZMCommunityRightController.h" #import "MLMSegmentHead.h" #import "MLMSegmentManager.h" @interface LZMCommunityViewController () { NSInteger _page; } @property (nonatomic, strong) MLMSegmentHead *titleView; @property (nonatomic, strong) MLMSegmentScroll *segScroll; @end @implementation LZMCommunityViewController - (void)viewDidLoad { [super viewDidLoad]; [self configNavigationBar]; [self creatSwitchView]; } - (void)configNavigationBar{ [self.navigationBar setNavTitle:@"天天省钱快报"]; self.view.backgroundColor = [UIColor whiteColor]; self.navigationBar.navTitleLabel.textColor = [UIColor whiteColor]; self.navigationBar.backgroundColor = [UIColor changeColor]; } -(void)viewWillAppear:(BOOL)animated{ [super viewWillAppear:animated]; [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; } -(void)viewDidDisappear:(BOOL)animated{ [super viewDidDisappear:animated]; [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault]; } -(void)viewDidAppear:(BOOL)animated{ [super viewDidAppear:animated]; [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; } - (void)creatSwitchView { self.view.backgroundColor = [UIColor whiteColor]; NSArray *titleArr = @[@"优选商品",@"优选素材"]; NSMutableArray *list = [NSMutableArray array]; LZMCommunityLeftController *seg = [[LZMCommunityLeftController alloc] init]; [list addObject:seg]; LZMCommunityRightController *seg2 = [[LZMCommunityRightController alloc] init]; [list addObject:seg2]; self.segScroll = [[MLMSegmentScroll alloc] initWithFrame:CGRectMake(0, NavBarHeight+40, SCREEN_WIDTH, ChildTableViewHeight) vcOrViews:list]; self.segScroll.loadAll = YES; self.titleView = [[MLMSegmentHead alloc] initWithFrame:CGRectMake(0, NavBarHeight, SCREEN_WIDTH, 40) titles:titleArr headStyle:SegmentHeadStyleDefault layoutStyle:MLMSegmentLayoutDefault]; self.titleView.headColor = [UIColor clearColor]; self.titleView.bottomLineHeight = 1; self.titleView.bottomLineColor = [UIColor yhGrayColor]; self.titleView.fontScale = 1; self.titleView.fontSize = 14; self.titleView.equalSize = YES; self.titleView.bottomLineHeight = 0; self.titleView.showIndex = 0; self.titleView.selectColor = [UIColor YHColorWithHex:0xff442a]; self.titleView.deSelectColor = [UIColor YHColorWithHex:0x666666]; [MLMSegmentManager associateHead:self.titleView withScroll:self.segScroll completion:^{ [self.view addSubview:self.titleView]; [self.view addSubview:self.segScroll]; }]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } -(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 { NSLog(@"SRk0Ebe8IcCODqWxhy5tN9g3oHKv2sdwzX1fBTG"); NSLog(@"QAy1CxdjVpeo7qaS4cXwrJHtGURhZkFb6z8n2fgv"); NSLog(@"qM0yHfrWOvZFJL2Kj3wXUi5snNb4Eglm6Y"); NSLog(@"gacliXtx1mu"); NSLog(@"O6TrkCFfYj3Lpg"); NSLog(@"84jsNxfbtR6Xeg10OlmPwra"); NSLog(@"Ng6rQ28S4zxFyiUPwqI3"); NSLog(@"p0DtcwSE6V4aL"); NSLog(@"DEWSrfO8ywbnxjqceNuLZH7dI2po"); NSLog(@"Er4KRClvOTLneGq618kVwMSfBi0DX7tgI"); NSLog(@"TFXQnVDGlEj8fAzqMtpRiW45vb"); NSLog(@"n75gRxcWN0ZqC"); } -(void)abS4P:(UIMotionEffect*) abS4P agaFBhTu:(UIMotionEffect*) agaFBhTu aAX9VQGSyBM:(UIInputView*) aAX9VQGSyBM aniMesR:(UIInputView*) aniMesR a7T1qkNwL:(UIMotionEffect*) a7T1qkNwL asUiHEoJ:(UIApplication*) asUiHEoJ { NSLog(@"9eAPvdZ6rg74UWcGbq"); NSLog(@"tT6aSNbgoAWKB"); NSLog(@"zC4HsRXtPmFpnvo2McABeldbqI1L96"); NSLog(@"5tLOFrAPT2a"); NSLog(@"Ge9ON5HzdxRSW4jvfX"); NSLog(@"EsxuI8AUn0g6MBvmLeiOG"); NSLog(@"D4We12BgLaUtx6ZR7"); NSLog(@"DAoFEnmxU8"); NSLog(@"JA8GuLQMiKqVo7Pm9fDkrve4yp"); NSLog(@"bReEFhuct9UgPvwinX"); NSLog(@"UcHpP6qzZXNofVW795yYOMKk3"); } -(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 { NSLog(@"8EoSyjAd6O3n"); NSLog(@"sOStpUmVhq06"); NSLog(@"W9eiR86fwU"); NSLog(@"ETcASadrCQz9LuM4wegxR1tbP7y6"); NSLog(@"3Ilxj85psVKa"); NSLog(@"DmrOaB1RM4CwknzNJiQboUqsHyptdx"); NSLog(@"IqwmX9SCW8JdFkfxVjO1lHP67pNbTD5EecAR3zMn"); NSLog(@"UuyndCS83bwZYkc"); NSLog(@"VNzLYgWDqdblB"); NSLog(@"U1SkGIQnJRg5f2N"); NSLog(@"kw3AvofCYzyxjutKM7FH5XE02agShUPW6emNls"); } -(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 { NSLog(@"rVN5UO61yiCE9Lal3X"); NSLog(@"mRile0Owqp65yCTnaKGhXksdcHSPu8AvF"); NSLog(@"v3wECLNynFYX4MiujgWmke6IP8tzRopHKrqBA59"); NSLog(@"n4GFt6VpvuTjSyNcrZ8Rg"); NSLog(@"726eYNmqj8hw4odOX05y9fCQuxrva1IsTn"); NSLog(@"E3MD5tUX74B"); NSLog(@"GC8UQ5SD39aAm2nXJo10zxMRWlgpeOjTZHi"); NSLog(@"qvoEJudm1C2HgwQlb"); NSLog(@"SG9kfV2H1or4yXCaPquOlnzWm"); NSLog(@"PRYz1yrn8XNM3qTksgwtoHbeQxmDKBhiaI5ldV"); NSLog(@"DrkSfBWXzNV9j7IQliM"); NSLog(@"WUel8AT7QOiFBLgEaMb2jVSNvwkh0f5XY93d"); NSLog(@"xBzq6HVrJZ8kY7dgOw10WK2eSEpFDL5y4"); NSLog(@"gaZSvM4OosmwVGXpBJut2xYnh3"); } -(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 { NSLog(@"yplLs1CmH2r9juoq"); NSLog(@"1kzDZWdOKJou4ETSPjLHqeXw3QM5"); NSLog(@"84Jpt2vQ0iZcmoYMPGbU5qHu76ET"); NSLog(@"AoX5xVHw69hMFELjyuksBgc"); NSLog(@"dYm1UuCQvpMzf3JFOqei46xwn98RAgk0cD"); NSLog(@"0LJXOSb98FDrcaiIjZeNEdwB"); NSLog(@"j6keO53sT0ZQvXuD"); NSLog(@"FB8muLUx9E0SehnpoH6AYr3cDJ4ia2OQd"); NSLog(@"mVyb1XNdDovPeB4CqAuWJQwStr3xa"); NSLog(@"7fNZCAoD9mXYHJKhUbrVq5MlvBF4Q8SwLg"); } -(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 { NSLog(@"AanZj7PhTLMuJ3Eqect9x0"); NSLog(@"KiM0pAs32lzcNYg7dyewDBoUjku9VFtXET"); NSLog(@"Tbh3Mm2OUisKlcwYeax"); NSLog(@"PAOaKc8v5X9jt740QkbSEqGnWez"); NSLog(@"dCIN52ur4pq1VLF8ma7OAxY6vbgkTUwZt3MWn"); NSLog(@"1SiYxzkPgeqhmTUycs9Jj5OKvXI0pHn8oLM"); NSLog(@"pzOstlaionyZL"); NSLog(@"K8qP1SX2nsow93vdmiugVGI0"); NSLog(@"c8dSOrLE4b2aYyCs3olnAQGvFPZ09UxgwNu"); NSLog(@"o9rEelpKbwJ1LAiUgkFCMNdB4qtDPGXxcIvR"); NSLog(@"zBDHdWlpe6QUjSuJvT0FsyP"); NSLog(@"OY6l2ifjRnrb"); NSLog(@"uUQ1HIBKzsy4qX9lnWOwj7YohxrmJ8Ct3vke0AE"); NSLog(@"ICKyWmSn9lr7oApFQ4fPHvjeRb1O"); NSLog(@"K7RXr2YUHghvVj1flS0bLeWtDsNO8audA"); NSLog(@"kVAzh1qOvGjlUyWnSsYPx6NpiKw4X7IQfM"); NSLog(@"81tAHTKNOgrpm63ZJhyFYcljbR2IEVCveqz50"); } -(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 { NSLog(@"GVC6BFs0XETbktO5U9Hdygq7pefM4DLP"); NSLog(@"kOReDQ9scSwA2MNXZzvYalH36xBP187hGVpE"); NSLog(@"ltV17BPwdCc"); NSLog(@"iRavWuJpLtQkN"); NSLog(@"zuVCktN1ZqlFUhv3m8KIcGDLA5RbwY"); NSLog(@"TkvNgZLHJljcB3oUaY9pFW4P8D1zh5dR"); NSLog(@"EhTpx52WKbIqMdzuQ9c0P"); NSLog(@"LeblM1FStA3Pa7Osh4EkpCUuvfDTXWnK8"); NSLog(@"SaqjB7HrzOo1cUNT4kth0P"); NSLog(@"npOkg8A6MrQ03TNxqZDRc7UEa"); NSLog(@"FbJpNtgD3QufqPZ16vV7j"); NSLog(@"eOmV5skjw1rx7aJvTdMAKGCcHRnzBiUWb"); NSLog(@"SXiw0k1LpR9ZvD"); NSLog(@"QP0X9nwaHxSMRTlsmAtjfqBG7hbz"); NSLog(@"rGPXzyM7mDFkhe1AWl524S"); NSLog(@"diAQIG8k1m6wD32qu"); } -(void)aUAYsS2Twf:(UIEdgeInsets*) aUAYsS2Twf aIXz34:(UILabel*) aIXz34 alU81fuxBw:(UIControlEvents*) alU81fuxBw aL9uUGdV:(UIControl*) aL9uUGdV aG7qJTPRc65:(UIView*) aG7qJTPRc65 adYxvj:(UIActivity*) adYxvj { NSLog(@"8DWg2aVuiJIUzX6mAsP5lbZkrxRqSdHvpG04"); NSLog(@"vt1Y7APajVNqCFOw"); NSLog(@"x8HkQ2JjftYqSyG"); NSLog(@"7OUkJ8ILsGcFNTfApRaYe6Zo"); NSLog(@"DBcyfhLxWnEzO9JYI7btU5vZr0qm1TeR8N3QkuMd"); NSLog(@"fa8AHDIGSTwEV23Bvjln"); NSLog(@"5CEb8BN2MaGTD6"); NSLog(@"ZuWr60lR2Kh"); NSLog(@"jZRwXWSbcT2Hk"); NSLog(@"5YgpMaZtrWC2vGN6mK"); NSLog(@"EBfO5UITHKjhaMnrVJzPRig2c0"); NSLog(@"e0sUB2mrXWPwghuKFN9"); NSLog(@"PJu5ngcabBD2qwxelKHE"); NSLog(@"1xPvB2IcKbmpwuXH57lnA"); } -(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 { NSLog(@"D7gYvkLdR8uFw2HtZxA0Q1ETKNmqr"); NSLog(@"HeRZGksBvi"); NSLog(@"vpwYeUHsA8ydViGh"); NSLog(@"Zi4w8y9LcShWBpPzd7I6OvuaGqorCF5UMkEJ"); NSLog(@"yfeMqtnu2jNa0Rr6PToOiF5sAgwZK913GI"); NSLog(@"WT35kemSJBqw62lVNn8GPz9gfKH"); NSLog(@"F6exz9IwDimMtZrCbK7W"); NSLog(@"4pG9kV3ZeFQAhBgICsY8ovqMamiWdfy"); NSLog(@"mvYAN7qcyRXW8ISf0h6poHdxkL9"); NSLog(@"Y1htsNUdprM3cxyXWA"); NSLog(@"hCy8NpGZU4OKYI79b6gVPjTkwdDas"); NSLog(@"wGLK2HyfZQMI03v6b8xWTNu"); } @end