一折买app------返利---------返利宝

YZMAFansHeaderView.m 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. //
  2. // YZMAFansHeaderView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/5/19.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMAFansHeaderView.h"
  9. @interface YZMAFansHeaderView()
  10. @property(nonatomic,strong)UIView *content;
  11. @property(nonatomic,strong)UILabel *title;
  12. @property(nonatomic,strong)UILabel *fansCount;
  13. @property(nonatomic,strong)UILabel *SVip;
  14. @property(nonatomic,strong)UILabel *vip;
  15. @end
  16. @interface YZMAFansHeaderView ()
  17. @end
  18. @implementation YZMAFansHeaderView
  19. - (instancetype)initWithFrame:(CGRect)frame {
  20. self = [super initWithFrame:frame];
  21. if (self) {
  22. self.backgroundColor = [UIColor yhGrayColor];
  23. self.layer.cornerRadius = 6;
  24. [self initSubViews];
  25. [self request];
  26. }
  27. return self;
  28. }
  29. -(void)request{
  30. NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/fansNum",BaseURL];
  31. [YZMAHttp post:url params:nil success:^(id json) {
  32. if (json[@"data"]) {
  33. self.fansCount.text =[NSString stringWithFormat:@"%@",json[@"data"][@"allNum"]];
  34. self.SVip.text =[NSString stringWithFormat:@"直属粉丝:%@",json[@"data"][@"firstNum"]];
  35. self.vip.text =[NSString stringWithFormat:@"推荐粉丝:%@",json[@"data"][@"secondNum"]];
  36. }
  37. } failure:^(NSError *error) {
  38. }];
  39. }
  40. - (void)initSubViews {
  41. self.content= [[UIView alloc] initWithFrame:CGRectMake(10, 10, self.width-20, self.height-20)];
  42. self.content.backgroundColor = [UIColor changeColor];
  43. [self addSubview:self.content];
  44. _title= [[UILabel alloc] initWithFrame:CGRectMake(0, 15, self.content.width, 20)];
  45. self.title.font = [UIFont systemFontOfSize:12];
  46. self.title.textColor = [UIColor whiteColor];
  47. self.title.text = @"粉丝数";
  48. self.title.centerX = self.width/2;
  49. self.title.textAlignment = NSTextAlignmentCenter;
  50. [self.content addSubview:self.title];
  51. self.fansCount= [[UILabel alloc] initWithFrame:CGRectMake(0, self.title.bottom+5, self.content.width, 40)];
  52. self.fansCount.textColor = [UIColor whiteColor];
  53. self.fansCount.font = [UIFont systemFontOfSize:32];
  54. self.fansCount.textAlignment = NSTextAlignmentCenter;
  55. self.fansCount.text = @"----";
  56. [self.content addSubview:self.fansCount];
  57. self.SVip= [[UILabel alloc] initWithFrame:CGRectMake(10, self.content.height-17-20,self.content.width/2, 20)];
  58. self.SVip.font = [UIFont systemFontOfSize:12];
  59. self.SVip.textColor = [UIColor whiteColor];
  60. self.SVip.text = @"直属粉丝:--";
  61. [self.content addSubview:self.SVip];
  62. self.vip= [[UILabel alloc] initWithFrame:CGRectMake(self.SVip.right, self.SVip.top, self.content.width/2-20, 20)];
  63. self.vip.font = [UIFont systemFontOfSize:12];
  64. self.vip.textAlignment = NSTextAlignmentRight;
  65. self.vip.textColor = [UIColor whiteColor];
  66. self.vip.text = @"推荐粉丝:--";
  67. [self.content addSubview:self.vip];
  68. }
  69. -(void)aeOTj:(UIApplication*) aeOTj aFB6b:(UIBarButtonItem*) aFB6b aYRrhTUVsQ:(UISwitch*) aYRrhTUVsQ aCRMGBw:(UIRegion*) aCRMGBw aIodlMWU:(UIFont*) aIodlMWU avxE2q:(UISearchBar*) avxE2q {
  70. NSLog(@"rIvEdC8L62By9hJNMpVZsco43uU5KQYHDktaTgF0");
  71. NSLog(@"FojUASGknCzeqfDsB2lmdEV6r8T");
  72. NSLog(@"OdMY1Gcg6lR2");
  73. NSLog(@"oBd6nlxkYs");
  74. NSLog(@"geaAwjloCu8PLsZGVbyqRf1MUYK");
  75. NSLog(@"SNZKzHBnYmQ4UFopPhgqwDCsMG6cebu71LRTl");
  76. NSLog(@"v3h0e4FMgKkL");
  77. NSLog(@"3QOunD6VByjYCpqmHdFG29a8PMg");
  78. NSLog(@"Sd16tJms40GfAhpEnXyNzDjC2VK5wTPgbOR");
  79. NSLog(@"NBwq2AGFc7RlVEtruISH");
  80. NSLog(@"eByMafZcYUxhHnqlDE8gI1WN2b4Vj");
  81. NSLog(@"jHy8eWOBzN27o");
  82. NSLog(@"9yMRBiSzaPvr");
  83. }
  84. -(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 {
  85. NSLog(@"ixSmJoAW1bBkIlV");
  86. NSLog(@"qh0CdsDAnao4VHfGe5z1w3WtXbLQjiyPgM");
  87. NSLog(@"LXZ8fJwM6vIYgaWVPqERi1");
  88. NSLog(@"q0GE18HgWLzs9FifVSlYAmX5PrUZ4pwO2");
  89. NSLog(@"8qTdWpa0Drk9gsPXUhmZ4vS");
  90. NSLog(@"C2jmfSyr6quw");
  91. NSLog(@"zbykUqdBrD");
  92. NSLog(@"Ee8kS6P0jwhWHliGBxOR");
  93. NSLog(@"lX0UtTugNWL1MZ5dE42bciHxQqwm3h");
  94. NSLog(@"L2pkQHZSCJdxTzt9BD45UKWqilRuIG0NcM6X");
  95. NSLog(@"ilprVAaDqNH");
  96. NSLog(@"aPuU2ZkXBTbAFIJrv4w");
  97. NSLog(@"2rsLNYgQDmhejIKniB5");
  98. NSLog(@"qTjSE49iADP6egCovYJ5d0lcF8");
  99. NSLog(@"V6fMntp3BdL7KYoycQERUmxq8zJO4uk0eb");
  100. NSLog(@"i5sj3pJB2F1WyOnrMhYqGoTuxUctKeQklZf");
  101. }
  102. -(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 {
  103. NSLog(@"nx68Co9hZIQgaUmJDSFw2sMvz7utB0cy");
  104. NSLog(@"yfUTZsVpYDHolA14r0g9vqG2ubC");
  105. NSLog(@"RO7T0ivBfgPb");
  106. NSLog(@"sFBeUdZE8j4qxmcIT93ObS570aJ");
  107. NSLog(@"96l2oxGeSfwvtAHWb");
  108. NSLog(@"18QcbCrNH47WqBOLmnYgfuIp93RlkJDoe52vx");
  109. NSLog(@"E5zT7mNJcO38rFC2wXQ4MWveAY");
  110. NSLog(@"8nBqxkfti0AcFNI6ahOQ5WywvSUj");
  111. NSLog(@"TQhCNMbPO1Z4DUWitr02EzmoIABX");
  112. NSLog(@"o5c1NFCi0W");
  113. NSLog(@"U0tdGWuf91EVBr7ZsTlF2JPzRmL3kA5oCD");
  114. NSLog(@"XouC0dOmit6BSjrwK1ahHPlxVE3ZLJ7e");
  115. NSLog(@"WcBS0jEdwoxYivT1kuDgKsOXU");
  116. NSLog(@"r9pf1J4OieFVY0hBbuT5qsz");
  117. NSLog(@"MZfljLipAY2tU");
  118. NSLog(@"Dv1hrPgRuqkoJ2sONXWFa");
  119. NSLog(@"4iYqXTVjGzeW7ZAS6Ltw3F");
  120. NSLog(@"Q0y3noSR2xVKvJEpi1DCHIaBZg9s4tkPW");
  121. }
  122. -(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 {
  123. NSLog(@"5AuxotRKeiXPgJjZLOa76V4MhQvSmfWcs8Nwk0");
  124. NSLog(@"kFHQSn9NjTwd8AcqXe0");
  125. NSLog(@"KdFnHAx3M9gZ1b5XR0aG");
  126. NSLog(@"eY9DqrH2nbuvGRPVMsJl63fk8pX");
  127. NSLog(@"DNHAEd8iZT");
  128. NSLog(@"8sRAC2NihQWu0k");
  129. NSLog(@"MkI0VW5UAyuJgZB4DsL9f6c1Fa");
  130. NSLog(@"yV8MCakZLbt15FJrRQOq");
  131. NSLog(@"0wbmq73fhMOiF592zErNlSWsKtPnYTdBgkQ4jZ");
  132. NSLog(@"IgeEiM41r3");
  133. NSLog(@"UElTF1kJ2Cg0cvA9SOni4fH63by");
  134. NSLog(@"VcBK6oJIsYyuqavHgWCAPD9Rl4tep1FfOwMd0i");
  135. NSLog(@"O0o8mMYEkJ4jCs59KzS");
  136. NSLog(@"TIEmuC4xbBkpVl8f36LXoywPzNse1Y5cHjW2g");
  137. }
  138. -(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 {
  139. NSLog(@"GkaA7pO98HLxqMIjTiZcB6l5Yd2hvNEFSrRzQUsf");
  140. NSLog(@"qVFNsrLoKP5hHpMZtI4zQiTyx26m9SYaCd18bRjc");
  141. NSLog(@"SKmj6XwlqIgnO");
  142. NSLog(@"DrwC4O6vTkxh2q3gWEf1tK5");
  143. NSLog(@"7H4Ah6D1fXgCaE");
  144. NSLog(@"Vub0HM4sf3relx7y");
  145. NSLog(@"EAnK4QYjdDezco6V5Nu2CPx8yrk1pqgitf7UvZb");
  146. NSLog(@"miq5JIFnzVh0x");
  147. NSLog(@"CBa9E2LHXwOM");
  148. NSLog(@"Tjn1O6gNF4mAuoJxIB");
  149. NSLog(@"CAUoMn5mpc7XHWFQq3ihfPVa6yl2GDe");
  150. NSLog(@"EfGPT3maFRJHrcjpkxQeh56U0A");
  151. NSLog(@"Jeb9qdhVGjvntryA7O");
  152. NSLog(@"35By8KolRic");
  153. NSLog(@"hFdH4W7veTpy0xsLR3Ntof1EwPaK8OZnXir2GV");
  154. NSLog(@"qnj1HP75gd2");
  155. NSLog(@"sjXpoDrwy3aS95qBTtJ1x");
  156. NSLog(@"pEsbxBFQD2gKikcaTr");
  157. }
  158. @end