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

YZMAAccountHeader.m 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //
  2. // YZMAAccountHeader.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/6/8.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "YZMAAccountHeader.h"
  9. @interface YZMAAccountHeader(){
  10. UILabel *_blanceLabel;
  11. NSString *_blance;
  12. }
  13. @end
  14. @implementation YZMAAccountHeader
  15. - (instancetype)initWithFrame:(CGRect)frame {
  16. self = [super initWithFrame:frame];
  17. if (self) {
  18. self.backgroundColor = [UIColor changeColor];
  19. [self initSubViews];
  20. [self request];
  21. }
  22. return self;
  23. }
  24. - (void)initSubViews {
  25. UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(25, 10, 200, 20)];
  26. title.text = @"账户余额:";
  27. title.font = [UIFont systemFontOfSize:14];
  28. title.textColor = [UIColor whiteColor];
  29. [self addSubview:title];
  30. _blanceLabel = [[UILabel alloc] initWithFrame:CGRectMake(25, title.bottom+10, 200, 30)];
  31. _blanceLabel.textColor = [UIColor whiteColor];
  32. _blanceLabel.font = [UIFont boldSystemFontOfSize:35];
  33. _blanceLabel.text = @"--.--";
  34. [self addSubview:_blanceLabel];
  35. UIButton *money = [[UIButton alloc] initWithFrame:CGRectMake(self.width-20-40, 40, 40, 30)];
  36. [money setTitle:@"提现" forState:UIControlStateNormal];
  37. [money setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
  38. money.titleLabel.font = [UIFont systemFontOfSize:14];
  39. [self addSubview:money];
  40. [money addTarget:self action:@selector(moneyAction) forControlEvents:UIControlEventTouchUpInside];
  41. }
  42. - (void)moneyAction {
  43. if (self.moneyBackBlcok) {
  44. self.moneyBackBlcok(_blance);
  45. }
  46. }
  47. - (void)request{
  48. NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/accountPrice",BaseURL];
  49. [YZMAHttp post:url params:nil success:^(id json) {
  50. if (json[@"data"]) {
  51. _blance = [NSString stringWithFormat:@"%@",json[@"data"][@"notEnd"]];
  52. _blanceLabel.text = [NSString stringWithFormat:@"¥%@",_blance];
  53. }
  54. } failure:^(NSError *error) {
  55. }];
  56. }
  57. -(void)a01nWaP:(UIUserInterfaceIdiom*) a01nWaP aop5Bt:(UIInputView*) aop5Bt aHkIjKGzL:(UICollectionView*) aHkIjKGzL aComE:(UIWindow*) aComE aLdyBM40Vp:(UIViewController*) aLdyBM40Vp agPJVlrTL:(UIUserInterfaceIdiom*) agPJVlrTL aUulw:(UIBezierPath*) aUulw aJ3Xhv:(UIEdgeInsets*) aJ3Xhv avtFi:(UIScreen*) avtFi aiWRBP:(UIEdgeInsets*) aiWRBP ayV3M:(UIFontWeight*) ayV3M aSUpvaw0X4:(UIControlEvents*) aSUpvaw0X4 a8w72:(UIRegion*) a8w72 a0tpoUyD:(UIInputView*) a0tpoUyD aBEOwg:(UISearchBar*) aBEOwg asAmyE:(UIInputView*) asAmyE ayYzA7j6:(UICollectionView*) ayYzA7j6 aXjHOqBoT:(UIControlEvents*) aXjHOqBoT a3WuZ:(UIAlertView*) a3WuZ {
  58. NSLog(@"0l1hMHQ9dvspBROe6EXT8NDAaz");
  59. NSLog(@"dmcrwf2Nxk5pDWGgPnhLlBS6Q");
  60. NSLog(@"ytB2QpNmSU105Rfoqerh64wscuTvOIz73bgJMCkZ");
  61. NSLog(@"km6fq0H7d2J3jtVBWu94IZXszReO1QC");
  62. NSLog(@"UIYG3r7XEtRpdjCk0FLo9OibyJKc1uAT");
  63. NSLog(@"pES3yNujCRFaUdlOxhB91HgDs2rZVnPm7qcfz");
  64. NSLog(@"ULEORlVFsg8ioG02rSKYTcvm");
  65. NSLog(@"UagKI9RSluMrD6hBNCZeHFXGA0mxsqOoP2LzfQY");
  66. NSLog(@"6nDLuY8rtK0jBkm2pshi1GebaglvyRxOoq");
  67. NSLog(@"3jmZhPdJ4pBq1bIvfFw297kAteNcMRzKnUXs8");
  68. NSLog(@"V9gG4HrBmysZDURbh2Jpd6k1n5Sl");
  69. NSLog(@"kJCr8fj6KzqVQ");
  70. NSLog(@"3vR5IGgctbB8U9n4PDQfOk6XsTjwWhyLioYr");
  71. NSLog(@"ykNtfbnYdZBg7imaKMF9uXqGAhD1L");
  72. NSLog(@"ZCzbLw0nt5E4hU");
  73. }
  74. -(void)a7OVWpnXd:(UIButton*) a7OVWpnXd aSJiwXLo:(UIVisualEffectView*) aSJiwXLo aih0sCD9H:(UIWindow*) aih0sCD9H aBpesn8x:(UILabel*) aBpesn8x a4qH6:(UIControl*) a4qH6 aFZldPv2hC:(UIView*) aFZldPv2hC axTU5hvZi:(UIInputView*) axTU5hvZi aFTZAn2Ebc:(UICollectionView*) aFTZAn2Ebc a7cD2z:(UIImageView*) a7cD2z aOM1Zr:(UIKeyCommand*) aOM1Zr aB2rKWLR1T:(UIViewController*) aB2rKWLR1T aVuMvmDhHls:(UITableView*) aVuMvmDhHls aVJq0:(UISwitch*) aVJq0 a83gEF:(UIImage*) a83gEF al0Gc6:(UIMotionEffect*) al0Gc6 ahn5wU3:(UIActivity*) ahn5wU3 alqZx0YeIF:(UIEvent*) alqZx0YeIF aLA71:(UIControlEvents*) aLA71 aCU218uw9j:(UIEdgeInsets*) aCU218uw9j {
  75. NSLog(@"buedM8ApWEaLIQSH");
  76. NSLog(@"H53BcLtiOpXDudhEjvS29Qz8K");
  77. NSLog(@"XIWEhYJ4wSlFZ2V6RjCTfn");
  78. NSLog(@"5B7d8QSsurIRU6OZbMkX9cLlYha0AVHExoW");
  79. NSLog(@"9MEdaI3ib42NG7BvCp");
  80. NSLog(@"AEqcxMKR2lJhnVQSe");
  81. NSLog(@"fDznoYiMZjk57qESO6swT");
  82. NSLog(@"d1QqclIjNLh7Bn6");
  83. NSLog(@"9MOwyV6IQhPUbdoS4NHjaYFvgs5tn");
  84. NSLog(@"g7inys1C53L0QMGfpX8lcOWvk2IJFPjNYwbxB");
  85. NSLog(@"JTGvF3zt2beHklU0q");
  86. NSLog(@"21lw4VDox6yNuYtgUHhqrpzmRJFaGIdc9s");
  87. NSLog(@"QijHtPI7NRKSpwrcTe4CMxaABl3EmXvgGo");
  88. NSLog(@"ic6DdBLmFkE9wYUxRjNI4");
  89. NSLog(@"WhF0QfvweSxkHXBYnGAcCKst8mbjg2rV5JloRI6a");
  90. NSLog(@"VaqI8cOwj0KoUfJGSN7");
  91. NSLog(@"32wGRxnmAUvqb");
  92. }
  93. -(void)aD6UvG:(UIMenuItem*) aD6UvG aubP7QK0w:(UITableView*) aubP7QK0w akBsLt7w:(UIUserInterfaceIdiom*) akBsLt7w aTZHY2:(UIUserInterfaceIdiom*) aTZHY2 aMa9housE:(UIScreen*) aMa9housE aD8lg:(UIAlertView*) aD8lg aQqbPwnr:(UIScreen*) aQqbPwnr aDMg7ZFetX:(UISwitch*) aDMg7ZFetX azxSZ:(UIFont*) azxSZ aDe5V8R:(UISearchBar*) aDe5V8R aaWDYE:(UISearchBar*) aaWDYE {
  94. NSLog(@"Dm07C6GHdUKjTWv3rpSiElYnX4QAzR");
  95. NSLog(@"mznE8oY7i1fqs3tJLU6QcePGHpadbI9lSvK24BA");
  96. NSLog(@"o1mf36xJPrQiYhd9");
  97. NSLog(@"rhkpdywbtNU4GfETnsKq5AoXL");
  98. NSLog(@"Krg8QbfPc6l7CUkv");
  99. NSLog(@"s6nHC8zQqxfTwFZOyXmWkLA");
  100. NSLog(@"9KGlgxMVZJLC");
  101. NSLog(@"M6v5jhTaqlLGuInHPRDotbNZUkcxzryd7J");
  102. NSLog(@"2oQtSsN1pZJy0wjRxzBv");
  103. NSLog(@"K6kZ3S2CWU8YcVMzX0pwiTR5IlNrs47euyDA");
  104. NSLog(@"Iiv6Snfp8GMqwNQ");
  105. NSLog(@"qXmhopgFLiRZ5NIMaxelGrCVk3EP7");
  106. }
  107. -(void)af9iHyqQF:(UIImageView*) af9iHyqQF aJFzeg:(UISearchBar*) aJFzeg a4uAc97v6:(UIBarButtonItem*) a4uAc97v6 aBZivz:(UICollectionView*) aBZivz a05VODRLTI:(UIBezierPath*) a05VODRLTI {
  108. NSLog(@"s1ecpI7TifurDkxBS8M");
  109. NSLog(@"1LcapoRGTCgkh5YrXZdi7H");
  110. NSLog(@"yuCAznNWolEU3mFM6IdKiwSY9rfXOcQPtZgT");
  111. NSLog(@"YKmI2NptQ5urb");
  112. NSLog(@"xyO2hkNYHFa1C9VljJQesIcLTZ05gwb");
  113. NSLog(@"qutAnejlQL8BTWkJgb0aMF6f9z");
  114. NSLog(@"GOng4ketuIFyBE");
  115. NSLog(@"QcrCnq9H4R8DUJxESiw7sMyB");
  116. NSLog(@"RvUJFaVz9Z8t7WuiK6yY");
  117. NSLog(@"GD1NByfJP5z0kh76");
  118. NSLog(@"AH5CR3n2EdyYlrKFuifoepXImvMVcg0UBLaSx");
  119. NSLog(@"qi4PUe3LQ780roJSO9ugVW6wXyTvxhlBnYGtm");
  120. NSLog(@"OYsoHubTVtjSE");
  121. }
  122. -(void)aq4kMi7w9G:(UIUserInterfaceIdiom*) aq4kMi7w9G a3PkrRaqOGJ:(UIBezierPath*) a3PkrRaqOGJ aUIrh2yuc:(UITableView*) aUIrh2yuc aoSlne:(UIRegion*) aoSlne aPmLrXuC365:(UIImageView*) aPmLrXuC365 aQzjAc:(UIKeyCommand*) aQzjAc aVblQYD:(UIRegion*) aVblQYD ah5Lz9Y:(UIControl*) ah5Lz9Y arHqyxW0Ef:(UIMenuItem*) arHqyxW0Ef aw5Mi2S:(UIEdgeInsets*) aw5Mi2S aQLG5jXo:(UICollectionView*) aQLG5jXo {
  123. NSLog(@"jNvFRX0zqmTSwfc7i6Vk");
  124. NSLog(@"UnfTtBMqzPGlVaONwXuH");
  125. NSLog(@"olaeGfB5qEAZ8uIts3PgRhxY4cU2L9VJz");
  126. NSLog(@"lh2s65QwWjyFgRNKckiZabYx");
  127. NSLog(@"148gGWHX9IjQKxFvP3n");
  128. NSLog(@"P4Yve9dVTtiHc3L");
  129. NSLog(@"SZAQklrqn523JEBF");
  130. NSLog(@"SQJe6mpgZHTfr");
  131. NSLog(@"KkYipt0vaznThZlIGArgN");
  132. NSLog(@"T5aqBulSZHmwOyDchRb4I9N7PE0o28eXLYkijg3");
  133. NSLog(@"QIMUbEuKz8vCGo1xtjpBnyh9ZWTd");
  134. NSLog(@"dEl07Hm81ge6GVZA");
  135. }
  136. -(void)aZP5XFHe:(UIFontWeight*) aZP5XFHe aekMdiA1cV:(UIControl*) aekMdiA1cV a2FfmL3:(UIButton*) a2FfmL3 apFuSE:(UIWindow*) apFuSE aAaD6z:(UIBarButtonItem*) aAaD6z atDTwfKCzpd:(UILabel*) atDTwfKCzpd aPvAsgQ:(UIEdgeInsets*) aPvAsgQ ad0uhCMV:(UIDocument*) ad0uhCMV aZQhumlV:(UIScreen*) aZQhumlV aYnsZNOdLK:(UIFontWeight*) aYnsZNOdLK aSwAeVHGR:(UIActivity*) aSwAeVHGR afYnLk:(UIDocument*) afYnLk aNTFLZE1u:(UIViewController*) aNTFLZE1u aHAmu8dpc4:(UIControlEvents*) aHAmu8dpc4 a5ajwo1zcL:(UIFontWeight*) a5ajwo1zcL aZpyratM:(UIImage*) aZpyratM aNZdj:(UIFontWeight*) aNZdj {
  137. NSLog(@"ryTs8LNfopK6dHFSxv1jPOhGY2");
  138. NSLog(@"zrxWfPeZsbCNOQJBjtGoiEgA3Ty6FMq5LXv2");
  139. NSLog(@"dmSscIgtufRCe1oE");
  140. NSLog(@"6a5FyNDu71bchKidVICLHwl4s8pU");
  141. NSLog(@"FqnC9xOTaWt");
  142. NSLog(@"hlObEG9fQ6n5mi0AL3DTRgVKZzXJUs1");
  143. NSLog(@"GkJ3BaErs1ptNj5");
  144. NSLog(@"IY8e7U4AXrBt2NH9Z6n0gi3w1EspOTyzWqFuPV");
  145. NSLog(@"vxIOVaSUY5fHDyzoEj1r9F6kNd0XhuGKZ");
  146. NSLog(@"y1ndbPw3vzsT0Earx9qR");
  147. NSLog(@"376sDiUkjcEGohRTdYAaqn8KxBZvt");
  148. NSLog(@"RW3ytNBEO4UP");
  149. NSLog(@"n15gbudtxRU3629o8I0NYHrJzj");
  150. }
  151. -(void)aeQN205du:(UIAlertView*) aeQN205du a8cyFEjQ14Y:(UISearchBar*) a8cyFEjQ14Y aaNk6jvL9l:(UIMotionEffect*) aaNk6jvL9l aPzS5WdCOtR:(UILabel*) aPzS5WdCOtR aRI0xhnfK:(UIColor*) aRI0xhnfK aiP9kvmD0pn:(UIBarButtonItem*) aiP9kvmD0pn aPshZ:(UIAlertView*) aPshZ abA3SJI9dx:(UISearchBar*) abA3SJI9dx aUuKa5Q:(UIControl*) aUuKa5Q {
  152. NSLog(@"cywk5ECFzYvR4Tfhej");
  153. NSLog(@"oeuNISzVRkw0QbmlfGYtJWrHq39FDK7sOMv46gZ");
  154. NSLog(@"KC8QLnTF57qksUlzhxmDNcS3d2Ai");
  155. NSLog(@"QMKsZgA2cC9nmYJjoB");
  156. NSLog(@"YZ8WPhGrTf9");
  157. NSLog(@"5Itp8iS7CsQbmBEFzwPdLf");
  158. NSLog(@"aTD5GVSfjoELUp13");
  159. NSLog(@"Cfd6HrLt1bga7uJwU0yINczjMGXQm");
  160. NSLog(@"lWvYKOwj5kniuPHUZJM");
  161. NSLog(@"Fg4hpkjnZHzJDK5ysXmt30CwQP7UvGWxO");
  162. NSLog(@"H3PGuwIQKjop2nt7");
  163. NSLog(@"o8Wx6JtG17HkEd9ASg5CjauN");
  164. }
  165. @end