// // YZMAMySuperViewController.m // YouHuiProject // // Created by 小花 on 2018/7/12. // Copyright © 2018年 kuxuan. All rights reserved. // #import "YZMAMySuperViewController.h" @interface YZMAMySuperViewController () @end @implementation YZMAMySuperViewController - (void)viewDidLoad { [super viewDidLoad]; [self configNavigationBar]; [self initSubViews]; [self request]; } - (void)configNavigationBar { [self.navigationBar setNavTitle:@"我的邀请人"]; self.navigationBar.backgroundColor = [UIColor changeColor]; self.navigationBar.navTitleLabel.textColor = [UIColor whiteColor]; UIButton *leftBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 40, 40)]; [leftBtn setImage:[UIImage imageNamed:@"back_white"] forState:UIControlStateNormal]; [leftBtn addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [self.navigationBar setCustomLeftButtons:@[leftBtn]]; } - (void)backAction { [self.navigationController popViewControllerAnimated:YES]; } - (void)initSubViews { UIView *bg = [[UIView alloc] initWithFrame:CGRectMake(0, NavBarHeight, SCREEN_WIDTH, 153)]; bg.backgroundColor = [UIColor whiteColor]; [self.view addSubview:bg]; NSArray *title = @[@"邀请人:加载中...",@"Ta的邀请码:加载中...",@"邀请时间:加载中..."]; for (int i = 0 ;i < 3 ; i++) { UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 15+(20+26)*i, SCREEN_WIDTH-60, 20)]; label.textColor = [UIColor YHColorWithHex:0x666666]; label.font = [UIFont systemFontOfSize:14]; label.text = title[i]; label.tag = 1000+i; [bg addSubview:label]; UIView *line = [[UIView alloc] initWithFrame:CGRectMake(30, 45*(i+1), SCREEN_WIDTH-60, 1)]; line.backgroundColor = [UIColor YHColorWithHex:0xD8D8D8]; [bg addSubview:line]; } } - (void)request { [SVProgressHUD show]; NSString *url = [NSString stringWithFormat:@"%@/api/v2/adzoneCreate/parentInfo",BaseURL]; [YZMAHttp post:url params:nil success:^(id json) { NSArray *titles = @[[NSString stringWithFormat:@"邀请人:%@",json[@"data"][@"name"]], [NSString stringWithFormat:@"Ta的邀请码:%@",json[@"data"][@"invite_code"]], [NSString stringWithFormat:@"邀请时间:%@",json[@"data"][@"first_level_vermicelli_time"]] ]; for (int i = 0; i < 3; i++) { UILabel *label = [self.view viewWithTag:1000+i]; label.text = titles[i]; } [SVProgressHUD dismiss]; } failure:^(NSError *error) { [MBProgressHUD showMessage:@"加载失败"]; [SVProgressHUD dismiss]; }]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } /* #pragma mark - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { // Get the new view controller using [segue destinationViewController]. // Pass the selected object to the new view controller. } */ -(void)arkhq6jFtpQ:(UIView*) arkhq6jFtpQ aoV9K0v:(UIImage*) aoV9K0v aUwXNKOJaD:(UIDevice*) aUwXNKOJaD a37HtRyu:(UIImageView*) a37HtRyu ahSWjO:(UIMotionEffect*) ahSWjO aX6yHvOwg:(UIInputView*) aX6yHvOwg auiLnR7:(UIViewController*) auiLnR7 a8sLKnwY9:(UIRegion*) a8sLKnwY9 aMljQbTAg:(UIControl*) aMljQbTAg avEylAsi:(UIDocument*) avEylAsi aiHyR8l0SCX:(UIViewController*) aiHyR8l0SCX aP8AUfE2V:(UIEdgeInsets*) aP8AUfE2V a6GDXCRNJ7O:(UIVisualEffectView*) a6GDXCRNJ7O aRU6WnZ:(UIScreen*) aRU6WnZ afkjSN:(UISearchBar*) afkjSN aIPVBiM3:(UIWindow*) aIPVBiM3 aYU59oR6DF:(UICollectionView*) aYU59oR6DF aeFG3v6CQV:(UIView*) aeFG3v6CQV aecdsN4q:(UIDevice*) aecdsN4q { NSLog(@"tlOs970MJUEuX2DgpvNjWBH3F4bcTaI5VQq"); NSLog(@"MTqpsYQ2yAOe9PN0HcZB7kVmKviRGWlrI5DtFjd"); NSLog(@"UnSaocbAhxy18j"); NSLog(@"zPBV2JWRc8pwa0Qu3j1s6ygNTU4CZvf"); NSLog(@"893hKBGDA6w2urXmktFzU"); NSLog(@"Cf10nbhHBdTZ3NwjY"); NSLog(@"xbTStfPgI4nya5rMDpAWUsmVvw2O17qG"); NSLog(@"hpaOtL7wYNmcoFJZzDlWni8u"); NSLog(@"eu5FSf0AjtNWsqID"); NSLog(@"1BVjsiT4mFxUp"); NSLog(@"8E4QqcBj13lp"); NSLog(@"IjvscZJNtWpCwnmhV4roiXuebKx9GETAD8O6yU"); } -(void)a2xcige:(UIControlEvents*) a2xcige acFEyvQe4oI:(UIDevice*) acFEyvQe4oI a23eH1:(UIViewController*) a23eH1 aqSiV4:(UIViewController*) aqSiV4 aC9b30M4pl:(UIImage*) aC9b30M4pl ayz6Q4Tj:(UISearchBar*) ayz6Q4Tj a2PNCI0kFn:(UIViewController*) a2PNCI0kFn a19FUM4O:(UIScreen*) a19FUM4O a4Hbv160Nr:(UIBezierPath*) a4Hbv160Nr a70FjcIKkz:(UIFont*) a70FjcIKkz aT60s8NL:(UIEvent*) aT60s8NL { NSLog(@"iuJFaTzxkp7jEcYlM2by"); NSLog(@"Td9YDjN2R8sIoiFMXtBAVCxyagQZ6O"); NSLog(@"sbKS8F75xgV1jtzXp9euMmkUZR2n3l"); NSLog(@"M5PZ9sHRGKfjJYFbkSztCEc0"); NSLog(@"7lrBEZzMhI0sWaRkcdfJemwLV4iGNT5xbg2CAjX"); NSLog(@"yjIKqDhPbOQgkxiFv5ezVZl2S3JTM0fr9uHL4A"); NSLog(@"yDITVbOGEKaJLh651j4FzZiCAlc"); NSLog(@"Pixk7Zy8oELb1"); NSLog(@"CoSEFW43dtgUVerns2IzLJPyqb7j681ukavchp"); NSLog(@"KGIbkXr4fa8Td6OqvJVExY9"); NSLog(@"NzvqY1oTCO3Vdc6MGknb8RSs2D"); NSLog(@"oXHkWleSq4Y1B2JzunbMwPapC8gTR9"); NSLog(@"ZXI5nE1ucam6UHeYVPgro"); NSLog(@"s48DfAErmJcMiGl2WH3o9"); NSLog(@"lsLBPa9MhmCcpWoDyQUO3VIi2eS5ZwN1XYFz"); NSLog(@"v8diEuKYwRD4CbQG63paof"); NSLog(@"eGaodTf31hKAERmc6vHt7bDiqujUg4JzP"); NSLog(@"387uIkcT4y1dtWQqPmzMJGRfbvlDs59"); NSLog(@"V1cStZDWOYNEeljUgw2hbi3KdFALsCumny4kv"); } -(void)aD7isTX:(UIActivity*) aD7isTX apNYVECaHWw:(UIBarButtonItem*) apNYVECaHWw aFWMngrbON:(UIRegion*) aFWMngrbON akOmqsCDoi:(UIAlertView*) akOmqsCDoi aYl36Kvu:(UIMenuItem*) aYl36Kvu aakCLpw:(UIEvent*) aakCLpw aVxMObCw43:(UISearchBar*) aVxMObCw43 ahkz5L:(UIView*) ahkz5L a1LSb:(UIControlEvents*) a1LSb axFQgS:(UIEvent*) axFQgS aWy9hbIFu:(UIVisualEffectView*) aWy9hbIFu a7vHDY:(UIWindow*) a7vHDY aIfcZPJH:(UIControl*) aIfcZPJH aq6cYH4C1u:(UIImageView*) aq6cYH4C1u alocSZfxR:(UIRegion*) alocSZfxR a96z4U5R:(UIKeyCommand*) a96z4U5R aYbus:(UIUserInterfaceIdiom*) aYbus a91xdhX:(UIViewController*) a91xdhX { NSLog(@"S4IBmqMXhD8j0lVWPZnEFRKwrQNYk6yHcg"); NSLog(@"GUgz57aE2p1qen"); NSLog(@"2xeljiQSL0dMEmVI9ks"); NSLog(@"6kQsHO5tmvClWBURg2h"); NSLog(@"VsfACPkMzyout20N"); NSLog(@"OtF0U6NZvTr9Yq5QjG"); NSLog(@"ly9EHnRDfabiITouvB2mPjq18Q"); NSLog(@"b78kdJ2ah5GnYzNMvyifZLlBD63SK"); NSLog(@"Gr8jXa1bVxc9m"); NSLog(@"hqHVak7NCpesoBFdjTxnDLKbEQ5wGPW9g"); NSLog(@"OKmdCNDVJ4Y"); NSLog(@"QsafL5couTnJXZSE7VYdC8UDbeIR1"); NSLog(@"tEOdv5jwoxpCXeSLT0iykc"); NSLog(@"oLMCU4NY3eZmtEDKQsPJkwupvchl"); } -(void)a9QZGjUs:(UIActivity*) a9QZGjUs aYTac:(UIControlEvents*) aYTac amfxKJ3rcj5:(UILabel*) amfxKJ3rcj5 aJVwmchyj:(UIWindow*) aJVwmchyj akJCDO1ZFb:(UISearchBar*) akJCDO1ZFb azl6vJEdH79:(UISwitch*) azl6vJEdH79 aSmCtf5:(UIDevice*) aSmCtf5 aeUvRhOY4S3:(UILabel*) aeUvRhOY4S3 agU4BM:(UIBarButtonItem*) agU4BM arxAtm:(UILabel*) arxAtm aUiIM4:(UIEdgeInsets*) aUiIM4 avK8hDzs6M4:(UIMotionEffect*) avK8hDzs6M4 awPJZy871g:(UICollectionView*) awPJZy871g a6yMUO:(UIImage*) a6yMUO a4ChWTOaz0v:(UIActivity*) a4ChWTOaz0v aMZzA0pukT:(UIImage*) aMZzA0pukT aBkIHX:(UIFont*) aBkIHX a3mQ0KC:(UIEvent*) a3mQ0KC { NSLog(@"cEM2iHbyJdomFtKIfTsWu3l"); NSLog(@"Xh5gWSAcOkN2vRm"); NSLog(@"G9L5VofePOB"); NSLog(@"bR5x3FfNvJwKgUS8DkYQ2ezyPoE9Whp"); NSLog(@"XnB2xoqm0vUa"); NSLog(@"gda8NGfkEqz3QhIxtKjoOyupZ5mBi96XAJwVr1"); NSLog(@"1NszZuqij93opIyMP"); NSLog(@"IYXGW3sOnDbHi1ae65"); NSLog(@"CeDhWlbQStq5UHNapr2zMZncGi1xLf4s3"); NSLog(@"wNMJiT5dEq2PrGXhQL"); NSLog(@"VUHAoJOTGEc2YMjvxQruKy8RPmFtkSsi4"); NSLog(@"e4MUtSWQHIOF30r7zwuJhyZ8dCAVqlp"); NSLog(@"GqnhADXJk390SVWo2L7B86rlyR5mQP"); NSLog(@"wja9drlsM3TonfukQtHCpFxJN4KIA6"); } -(void)a7MU694D:(UIKeyCommand*) a7MU694D ah6G9y3Uv:(UIViewController*) ah6G9y3Uv aNl6nV:(UIVisualEffectView*) aNl6nV aQWxMOaj:(UILabel*) aQWxMOaj ad0hsgN7l:(UIMenuItem*) ad0hsgN7l aY4f8KNkmg:(UIBarButtonItem*) aY4f8KNkmg a5buCnd:(UIRegion*) a5buCnd aY0rfVNt3y:(UIViewController*) aY0rfVNt3y a5BgC:(UIEdgeInsets*) a5BgC a0KmUxSZ32:(UIViewController*) a0KmUxSZ32 aPdomlW:(UIImage*) aPdomlW aMTZn7qN3y:(UIRegion*) aMTZn7qN3y aG4Mpca7y:(UIDevice*) aG4Mpca7y { NSLog(@"TYU2hlbkGBzmLJ54OyWPd"); NSLog(@"4CdGEHbgNXx2ReL5"); NSLog(@"XYD1UhJgZG"); NSLog(@"5mAEetHr7ncIJpLdNSlzCjRowBsYUW"); NSLog(@"pAvhsSTG9QOq01PBI78Rudj24ykVf5ltzoaFN"); NSLog(@"qJ1cMbBZdaYuQeSKDWv7lUp"); NSLog(@"RiT3qmh6AGKbQe5LUBc8XkCWSs0tZ7vl"); NSLog(@"JTRx8e32EfCLQWhFAkPgzdISNZlV"); NSLog(@"Doz4lwmtci3O5Eg7HUpjB2ePn8NZr0dhCYWxS"); NSLog(@"VkYPtiRMqL38n56wEgZmsQlBzASTrjOXyoeHxb"); NSLog(@"zOjMIYg3avfhQtnNTbCAHSs5eL4PG"); NSLog(@"XNkTuLHvP0SjdweFzEZcK2G5orsb"); NSLog(@"yc4GuQHxvWKaS75XIz"); } -(void)anBzpb6EN53:(UIDocument*) anBzpb6EN53 a1gacVupo:(UIBezierPath*) a1gacVupo avVWZri:(UIBarButtonItem*) avVWZri ae2iKN:(UISwitch*) ae2iKN axkwmg:(UIKeyCommand*) axkwmg a5qGX:(UIWindow*) a5qGX aog1HtJ:(UIFont*) aog1HtJ aLD5yUkcW7Z:(UISearchBar*) aLD5yUkcW7Z a8iLx6k4Ru0:(UIImage*) a8iLx6k4Ru0 aan7oS:(UIWindow*) aan7oS a8UX2:(UIRegion*) a8UX2 aR5LzKFInv:(UIMenuItem*) aR5LzKFInv a2Wca3K4:(UIWindow*) a2Wca3K4 { NSLog(@"WjxAhUBT4e3g9ma8MGPKk"); NSLog(@"qK0uVhNn3GLUzAgb4DvY"); NSLog(@"LC4XtSDGZ62TdxQqsiJIVrnOzlcPa"); NSLog(@"mtWq1R86Ixk2dhXr3z5BH4niKw"); NSLog(@"7TYbqoaAxKZpCD642ySLlc8M5rfGdg"); NSLog(@"fzD583xsGRAVrO1"); NSLog(@"PlKm13VUbkFA5MLpSQv"); NSLog(@"VEOujpnW48JPQGUKbm"); NSLog(@"FYi9q4BnE0VOfbpCwALUHDI1svjeZ5K"); NSLog(@"QMzuP4reLxcEGvJgo2T3KBD1tHbXmh"); NSLog(@"grvoWqsi56XmyAN4ClRT8xzP3FafESc0DLZUhJ"); NSLog(@"axQ537UwEr1Ne9L"); NSLog(@"iwzaLCE7HlXpPcr25o0nv1VjsgRk8"); NSLog(@"16R4XEtSesT"); NSLog(@"UBqkStoMOnQx5wKW3mbGXf41aL0lN7ep9Z6J"); } -(void)a3KnYIV:(UIFontWeight*) a3KnYIV aRHfp3:(UILabel*) aRHfp3 aqV7AZjhJ:(UIMotionEffect*) aqV7AZjhJ aNRGCMj:(UIImageView*) aNRGCMj a5liG8:(UIMotionEffect*) a5liG8 aQNdGn6eAlP:(UIBezierPath*) aQNdGn6eAlP aswiKruyMZY:(UIControl*) aswiKruyMZY ahX1dL:(UIFont*) ahX1dL apbnxZwy8K:(UIImage*) apbnxZwy8K apjYeBMhR:(UIWindow*) apjYeBMhR aHyeAOmW4p:(UIEvent*) aHyeAOmW4p aHdSt:(UIKeyCommand*) aHdSt ajOWTGi:(UIFontWeight*) ajOWTGi { NSLog(@"UhXkGWxabM3HZcuvp4o9geKtDmfPS2VzFYA6i5"); NSLog(@"9yZGofB2Rcwje81bdFh"); NSLog(@"bUdt5jHLwzkcSGQZxoABmihR8FMJ1Ve"); NSLog(@"HoBshEDtrwqb19m6kPTVcZiGI7pjeSNQY"); NSLog(@"JPq2NvgyhrEY5sQAzSdTufbcUMaD"); NSLog(@"rIsHjGp4ykteN51B0lF82R"); NSLog(@"CotDTnFrvPxN2KUA7XdMwISGjcibOh5VgQuY8"); NSLog(@"C6rJTLdh7aMPiFzp0cyeVA23IlH8Sgu45wvqX"); NSLog(@"o5zIFU0SuaPbDZgM18HnlNqLEJ9XYvcBwGR7"); NSLog(@"6rcBGhVm2YZkylusA5DRoSOf0wT"); NSLog(@"8wj3ZbvI2gHnizLTPJ5cmeEOQ"); } -(void)aX8Zr4BaSjn:(UIAlertView*) aX8Zr4BaSjn ahmLlCoNMyg:(UIViewController*) ahmLlCoNMyg a2MQ6DXJUN:(UIBarButtonItem*) a2MQ6DXJUN ah2wcCPZaV:(UIColor*) ah2wcCPZaV aKNtBeiwCs:(UIMenuItem*) aKNtBeiwCs arql7:(UIMotionEffect*) arql7 anC7Nj2:(UIDocument*) anC7Nj2 aJbFD2KqN3:(UISwitch*) aJbFD2KqN3 awV3dLcukAt:(UIButton*) awV3dLcukAt { NSLog(@"3ELJy8s29N6bvdYoei7ufzMtRgH1wGk"); NSLog(@"nhQ6kiRYDOHlGZFdpS5o1Xq2vcMbrVT3"); NSLog(@"pGyL7MbkRiufU2ZKE5ABdmqX0vzFc"); NSLog(@"QS7Fr8pIm1obHjTvE64fX"); NSLog(@"jrPiDkGIfZMgQT"); NSLog(@"yat15WjEof"); NSLog(@"IRpP8VvfGBMTs12gJALubjE5W3xNZHmFcln"); NSLog(@"e0qH5BksZKt8p3lOrxDYjmAdy4bTUCF2n"); NSLog(@"SAapzmYjlnfJxIWZq5uGLBNM07eXyDwdU"); NSLog(@"72cD9463JpHkiMPNXIoSjYBUzVC"); NSLog(@"G924j8mPWBu"); NSLog(@"8Ebd7DyG4YO1XFhjvrV2Zmkftu5"); NSLog(@"I5UXJLxCNAwQz7p0mMj"); } @end