123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- //
- // YZMAFansHeaderView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/19.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMAFansHeaderView.h"
- @interface YZMAFansHeaderView()
- @property(nonatomic,strong)UIView *content;
- @property(nonatomic,strong)UILabel *title;
- @property(nonatomic,strong)UILabel *fansCount;
- @property(nonatomic,strong)UILabel *SVip;
- @property(nonatomic,strong)UILabel *vip;
- @end
- @interface YZMAFansHeaderView ()
- @end
- @implementation YZMAFansHeaderView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor yhGrayColor];
- self.layer.cornerRadius = 6;
- [self initSubViews];
- [self request];
- }
- return self;
- }
- -(void)request{
- NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/fansNum",BaseURL];
- [YZMAHttp post:url params:nil success:^(id json) {
- if (json[@"data"]) {
- self.fansCount.text =[NSString stringWithFormat:@"%@",json[@"data"][@"allNum"]];
- self.SVip.text =[NSString stringWithFormat:@"直属粉丝:%@",json[@"data"][@"firstNum"]];
- self.vip.text =[NSString stringWithFormat:@"推荐粉丝:%@",json[@"data"][@"secondNum"]];
- }
- } failure:^(NSError *error) {
-
- }];
-
- }
- - (void)initSubViews {
-
- self.content= [[UIView alloc] initWithFrame:CGRectMake(10, 10, self.width-20, self.height-20)];
- self.content.backgroundColor = [UIColor changeColor];
- [self addSubview:self.content];
-
- _title= [[UILabel alloc] initWithFrame:CGRectMake(0, 15, self.content.width, 20)];
- self.title.font = [UIFont systemFontOfSize:12];
- self.title.textColor = [UIColor whiteColor];
- self.title.text = @"粉丝数";
- self.title.centerX = self.width/2;
- self.title.textAlignment = NSTextAlignmentCenter;
- [self.content addSubview:self.title];
-
-
- self.fansCount= [[UILabel alloc] initWithFrame:CGRectMake(0, self.title.bottom+5, self.content.width, 40)];
- self.fansCount.textColor = [UIColor whiteColor];
- self.fansCount.font = [UIFont systemFontOfSize:32];
- self.fansCount.textAlignment = NSTextAlignmentCenter;
- self.fansCount.text = @"----";
- [self.content addSubview:self.fansCount];
-
- self.SVip= [[UILabel alloc] initWithFrame:CGRectMake(10, self.content.height-17-20,self.content.width/2, 20)];
- self.SVip.font = [UIFont systemFontOfSize:12];
- self.SVip.textColor = [UIColor whiteColor];
- self.SVip.text = @"直属粉丝:--";
- [self.content addSubview:self.SVip];
-
- self.vip= [[UILabel alloc] initWithFrame:CGRectMake(self.SVip.right, self.SVip.top, self.content.width/2-20, 20)];
- self.vip.font = [UIFont systemFontOfSize:12];
- self.vip.textAlignment = NSTextAlignmentRight;
- self.vip.textColor = [UIColor whiteColor];
- self.vip.text = @"推荐粉丝:--";
- [self.content addSubview:self.vip];
-
- }
- -(void)aeOTj:(UIApplication*) aeOTj aFB6b:(UIBarButtonItem*) aFB6b aYRrhTUVsQ:(UISwitch*) aYRrhTUVsQ aCRMGBw:(UIRegion*) aCRMGBw aIodlMWU:(UIFont*) aIodlMWU avxE2q:(UISearchBar*) avxE2q {
- NSLog(@"rIvEdC8L62By9hJNMpVZsco43uU5KQYHDktaTgF0");
- NSLog(@"FojUASGknCzeqfDsB2lmdEV6r8T");
- NSLog(@"OdMY1Gcg6lR2");
- NSLog(@"oBd6nlxkYs");
- NSLog(@"geaAwjloCu8PLsZGVbyqRf1MUYK");
- NSLog(@"SNZKzHBnYmQ4UFopPhgqwDCsMG6cebu71LRTl");
- NSLog(@"v3h0e4FMgKkL");
- NSLog(@"3QOunD6VByjYCpqmHdFG29a8PMg");
- NSLog(@"Sd16tJms40GfAhpEnXyNzDjC2VK5wTPgbOR");
- NSLog(@"NBwq2AGFc7RlVEtruISH");
- NSLog(@"eByMafZcYUxhHnqlDE8gI1WN2b4Vj");
- NSLog(@"jHy8eWOBzN27o");
- NSLog(@"9yMRBiSzaPvr");
- }
- -(void)a06jyR:(UITableView*) a06jyR aaOAKqcJ:(UIRegion*) aaOAKqcJ aSdymi:(UIKeyCommand*) aSdymi a2KQT75:(UIKeyCommand*) a2KQT75 aTXbxmv:(UIEvent*) aTXbxmv a8MGhO2vnW:(UIColor*) a8MGhO2vnW asPUV:(UIFontWeight*) asPUV aKIJNkBHu:(UIDocument*) aKIJNkBHu aqYZpG:(UISwitch*) aqYZpG af7As:(UIBarButtonItem*) af7As azN7u:(UIBezierPath*) azN7u agVT2DcYB:(UIImage*) agVT2DcYB {
- NSLog(@"ixSmJoAW1bBkIlV");
- NSLog(@"qh0CdsDAnao4VHfGe5z1w3WtXbLQjiyPgM");
- NSLog(@"LXZ8fJwM6vIYgaWVPqERi1");
- NSLog(@"q0GE18HgWLzs9FifVSlYAmX5PrUZ4pwO2");
- NSLog(@"8qTdWpa0Drk9gsPXUhmZ4vS");
- NSLog(@"C2jmfSyr6quw");
- NSLog(@"zbykUqdBrD");
- NSLog(@"Ee8kS6P0jwhWHliGBxOR");
- NSLog(@"lX0UtTugNWL1MZ5dE42bciHxQqwm3h");
- NSLog(@"L2pkQHZSCJdxTzt9BD45UKWqilRuIG0NcM6X");
- NSLog(@"ilprVAaDqNH");
- NSLog(@"aPuU2ZkXBTbAFIJrv4w");
- NSLog(@"2rsLNYgQDmhejIKniB5");
- NSLog(@"qTjSE49iADP6egCovYJ5d0lcF8");
- NSLog(@"V6fMntp3BdL7KYoycQERUmxq8zJO4uk0eb");
- NSLog(@"i5sj3pJB2F1WyOnrMhYqGoTuxUctKeQklZf");
- }
- -(void)ag1RDx:(UIBezierPath*) ag1RDx afieg:(UIInputView*) afieg aIXuACM9fk:(UIEdgeInsets*) aIXuACM9fk aA3WM75Z:(UICollectionView*) aA3WM75Z abYhLy06lj:(UIMotionEffect*) abYhLy06lj azyrSmI0:(UIInputView*) azyrSmI0 aZIHMS:(UIDevice*) aZIHMS asGWDXwcku:(UIInputView*) asGWDXwcku aMrgHx:(UIImage*) aMrgHx auvt5CHIBG:(UIApplication*) auvt5CHIBG aAYiIk:(UIDevice*) aAYiIk aqSNP:(UIMotionEffect*) aqSNP a2UEyBzqxJg:(UIViewController*) a2UEyBzqxJg aHbv1s:(UIWindow*) aHbv1s {
- NSLog(@"nx68Co9hZIQgaUmJDSFw2sMvz7utB0cy");
- NSLog(@"yfUTZsVpYDHolA14r0g9vqG2ubC");
- NSLog(@"RO7T0ivBfgPb");
- NSLog(@"sFBeUdZE8j4qxmcIT93ObS570aJ");
- NSLog(@"96l2oxGeSfwvtAHWb");
- NSLog(@"18QcbCrNH47WqBOLmnYgfuIp93RlkJDoe52vx");
- NSLog(@"E5zT7mNJcO38rFC2wXQ4MWveAY");
- NSLog(@"8nBqxkfti0AcFNI6ahOQ5WywvSUj");
- NSLog(@"TQhCNMbPO1Z4DUWitr02EzmoIABX");
- NSLog(@"o5c1NFCi0W");
- NSLog(@"U0tdGWuf91EVBr7ZsTlF2JPzRmL3kA5oCD");
- NSLog(@"XouC0dOmit6BSjrwK1ahHPlxVE3ZLJ7e");
- NSLog(@"WcBS0jEdwoxYivT1kuDgKsOXU");
- NSLog(@"r9pf1J4OieFVY0hBbuT5qsz");
- NSLog(@"MZfljLipAY2tU");
- NSLog(@"Dv1hrPgRuqkoJ2sONXWFa");
- NSLog(@"4iYqXTVjGzeW7ZAS6Ltw3F");
- NSLog(@"Q0y3noSR2xVKvJEpi1DCHIaBZg9s4tkPW");
- }
- -(void)apoME6X:(UIRegion*) apoME6X acQwr:(UIControlEvents*) acQwr aKVDnAT:(UIEdgeInsets*) aKVDnAT acjvH:(UIActivity*) acjvH aj9wZ31:(UIAlertView*) aj9wZ31 aLrU79:(UIEdgeInsets*) aLrU79 aGWnlmQtzc:(UIBezierPath*) aGWnlmQtzc aj4caL3:(UIBezierPath*) aj4caL3 aeKb20PYUB:(UIButton*) aeKb20PYUB a0Tas87Uo:(UIButton*) a0Tas87Uo a6zoTlujNLI:(UIScreen*) a6zoTlujNLI aLakf:(UIMotionEffect*) aLakf aK5FRC:(UIWindow*) aK5FRC aE3leI07Tb1:(UIButton*) aE3leI07Tb1 amyVtv:(UIView*) amyVtv a6U4ypz1I:(UISearchBar*) a6U4ypz1I {
- NSLog(@"5AuxotRKeiXPgJjZLOa76V4MhQvSmfWcs8Nwk0");
- NSLog(@"kFHQSn9NjTwd8AcqXe0");
- NSLog(@"KdFnHAx3M9gZ1b5XR0aG");
- NSLog(@"eY9DqrH2nbuvGRPVMsJl63fk8pX");
- NSLog(@"DNHAEd8iZT");
- NSLog(@"8sRAC2NihQWu0k");
- NSLog(@"MkI0VW5UAyuJgZB4DsL9f6c1Fa");
- NSLog(@"yV8MCakZLbt15FJrRQOq");
- NSLog(@"0wbmq73fhMOiF592zErNlSWsKtPnYTdBgkQ4jZ");
- NSLog(@"IgeEiM41r3");
- NSLog(@"UElTF1kJ2Cg0cvA9SOni4fH63by");
- NSLog(@"VcBK6oJIsYyuqavHgWCAPD9Rl4tep1FfOwMd0i");
- NSLog(@"O0o8mMYEkJ4jCs59KzS");
- NSLog(@"TIEmuC4xbBkpVl8f36LXoywPzNse1Y5cHjW2g");
- }
- -(void)a1UsJz:(UIEvent*) a1UsJz aq0rab:(UIDocument*) aq0rab aiFtovY:(UIImage*) aiFtovY aqKile:(UIDocument*) aqKile aXW0G7goYh:(UIEvent*) aXW0G7goYh a42Gk3x:(UIBarButtonItem*) a42Gk3x aHMzFDbTZr:(UIScreen*) aHMzFDbTZr aq6roSHAJ8i:(UIView*) aq6roSHAJ8i atG0S:(UIScreen*) atG0S a0runtlG:(UIMotionEffect*) a0runtlG awUNQZ723v:(UIViewController*) awUNQZ723v aTQnbN:(UIEdgeInsets*) aTQnbN aXv6UEnM:(UIDevice*) aXv6UEnM ajlTp:(UIBarButtonItem*) ajlTp aRsJCAoW:(UILabel*) aRsJCAoW a8swbCSn:(UIAlertView*) a8swbCSn aguLvZ9f:(UISearchBar*) aguLvZ9f aIklG:(UIScreen*) aIklG aUMI1v46H7n:(UIBarButtonItem*) aUMI1v46H7n {
- NSLog(@"GkaA7pO98HLxqMIjTiZcB6l5Yd2hvNEFSrRzQUsf");
- NSLog(@"qVFNsrLoKP5hHpMZtI4zQiTyx26m9SYaCd18bRjc");
- NSLog(@"SKmj6XwlqIgnO");
- NSLog(@"DrwC4O6vTkxh2q3gWEf1tK5");
- NSLog(@"7H4Ah6D1fXgCaE");
- NSLog(@"Vub0HM4sf3relx7y");
- NSLog(@"EAnK4QYjdDezco6V5Nu2CPx8yrk1pqgitf7UvZb");
- NSLog(@"miq5JIFnzVh0x");
- NSLog(@"CBa9E2LHXwOM");
- NSLog(@"Tjn1O6gNF4mAuoJxIB");
- NSLog(@"CAUoMn5mpc7XHWFQq3ihfPVa6yl2GDe");
- NSLog(@"EfGPT3maFRJHrcjpkxQeh56U0A");
- NSLog(@"Jeb9qdhVGjvntryA7O");
- NSLog(@"35By8KolRic");
- NSLog(@"hFdH4W7veTpy0xsLR3Ntof1EwPaK8OZnXir2GV");
- NSLog(@"qnj1HP75gd2");
- NSLog(@"sjXpoDrwy3aS95qBTtJ1x");
- NSLog(@"pEsbxBFQD2gKikcaTr");
- }
- @end
|