123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- //
- // YZMAAccountHeader.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/6/8.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMAAccountHeader.h"
- @interface YZMAAccountHeader(){
- UILabel *_blanceLabel;
- NSString *_blance;
- }
- @end
- @implementation YZMAAccountHeader
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor changeColor];
- [self initSubViews];
- [self request];
- }
- return self;
- }
- - (void)initSubViews {
- UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(25, 10, 200, 20)];
- title.text = @"账户余额:";
- title.font = [UIFont systemFontOfSize:14];
- title.textColor = [UIColor whiteColor];
- [self addSubview:title];
-
- _blanceLabel = [[UILabel alloc] initWithFrame:CGRectMake(25, title.bottom+10, 200, 30)];
- _blanceLabel.textColor = [UIColor whiteColor];
- _blanceLabel.font = [UIFont boldSystemFontOfSize:35];
- _blanceLabel.text = @"--.--";
- [self addSubview:_blanceLabel];
-
- UIButton *money = [[UIButton alloc] initWithFrame:CGRectMake(self.width-20-40, 40, 40, 30)];
- [money setTitle:@"提现" forState:UIControlStateNormal];
- [money setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
- money.titleLabel.font = [UIFont systemFontOfSize:14];
- [self addSubview:money];
- [money addTarget:self action:@selector(moneyAction) forControlEvents:UIControlEventTouchUpInside];
- }
- - (void)moneyAction {
- if (self.moneyBackBlcok) {
- self.moneyBackBlcok(_blance);
- }
- }
- - (void)request{
- NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/accountPrice",BaseURL];
- [YZMAHttp post:url params:nil success:^(id json) {
- if (json[@"data"]) {
- _blance = [NSString stringWithFormat:@"%@",json[@"data"][@"notEnd"]];
- _blanceLabel.text = [NSString stringWithFormat:@"¥%@",_blance];
- }
- } failure:^(NSError *error) {
-
- }];
-
- }
- -(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 {
- NSLog(@"0l1hMHQ9dvspBROe6EXT8NDAaz");
- NSLog(@"dmcrwf2Nxk5pDWGgPnhLlBS6Q");
- NSLog(@"ytB2QpNmSU105Rfoqerh64wscuTvOIz73bgJMCkZ");
- NSLog(@"km6fq0H7d2J3jtVBWu94IZXszReO1QC");
- NSLog(@"UIYG3r7XEtRpdjCk0FLo9OibyJKc1uAT");
- NSLog(@"pES3yNujCRFaUdlOxhB91HgDs2rZVnPm7qcfz");
- NSLog(@"ULEORlVFsg8ioG02rSKYTcvm");
- NSLog(@"UagKI9RSluMrD6hBNCZeHFXGA0mxsqOoP2LzfQY");
- NSLog(@"6nDLuY8rtK0jBkm2pshi1GebaglvyRxOoq");
- NSLog(@"3jmZhPdJ4pBq1bIvfFw297kAteNcMRzKnUXs8");
- NSLog(@"V9gG4HrBmysZDURbh2Jpd6k1n5Sl");
- NSLog(@"kJCr8fj6KzqVQ");
- NSLog(@"3vR5IGgctbB8U9n4PDQfOk6XsTjwWhyLioYr");
- NSLog(@"ykNtfbnYdZBg7imaKMF9uXqGAhD1L");
- NSLog(@"ZCzbLw0nt5E4hU");
- }
- -(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 {
- NSLog(@"buedM8ApWEaLIQSH");
- NSLog(@"H53BcLtiOpXDudhEjvS29Qz8K");
- NSLog(@"XIWEhYJ4wSlFZ2V6RjCTfn");
- NSLog(@"5B7d8QSsurIRU6OZbMkX9cLlYha0AVHExoW");
- NSLog(@"9MEdaI3ib42NG7BvCp");
- NSLog(@"AEqcxMKR2lJhnVQSe");
- NSLog(@"fDznoYiMZjk57qESO6swT");
- NSLog(@"d1QqclIjNLh7Bn6");
- NSLog(@"9MOwyV6IQhPUbdoS4NHjaYFvgs5tn");
- NSLog(@"g7inys1C53L0QMGfpX8lcOWvk2IJFPjNYwbxB");
- NSLog(@"JTGvF3zt2beHklU0q");
- NSLog(@"21lw4VDox6yNuYtgUHhqrpzmRJFaGIdc9s");
- NSLog(@"QijHtPI7NRKSpwrcTe4CMxaABl3EmXvgGo");
- NSLog(@"ic6DdBLmFkE9wYUxRjNI4");
- NSLog(@"WhF0QfvweSxkHXBYnGAcCKst8mbjg2rV5JloRI6a");
- NSLog(@"VaqI8cOwj0KoUfJGSN7");
- NSLog(@"32wGRxnmAUvqb");
- }
- -(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 {
- NSLog(@"Dm07C6GHdUKjTWv3rpSiElYnX4QAzR");
- NSLog(@"mznE8oY7i1fqs3tJLU6QcePGHpadbI9lSvK24BA");
- NSLog(@"o1mf36xJPrQiYhd9");
- NSLog(@"rhkpdywbtNU4GfETnsKq5AoXL");
- NSLog(@"Krg8QbfPc6l7CUkv");
- NSLog(@"s6nHC8zQqxfTwFZOyXmWkLA");
- NSLog(@"9KGlgxMVZJLC");
- NSLog(@"M6v5jhTaqlLGuInHPRDotbNZUkcxzryd7J");
- NSLog(@"2oQtSsN1pZJy0wjRxzBv");
- NSLog(@"K6kZ3S2CWU8YcVMzX0pwiTR5IlNrs47euyDA");
- NSLog(@"Iiv6Snfp8GMqwNQ");
- NSLog(@"qXmhopgFLiRZ5NIMaxelGrCVk3EP7");
- }
- -(void)af9iHyqQF:(UIImageView*) af9iHyqQF aJFzeg:(UISearchBar*) aJFzeg a4uAc97v6:(UIBarButtonItem*) a4uAc97v6 aBZivz:(UICollectionView*) aBZivz a05VODRLTI:(UIBezierPath*) a05VODRLTI {
- NSLog(@"s1ecpI7TifurDkxBS8M");
- NSLog(@"1LcapoRGTCgkh5YrXZdi7H");
- NSLog(@"yuCAznNWolEU3mFM6IdKiwSY9rfXOcQPtZgT");
- NSLog(@"YKmI2NptQ5urb");
- NSLog(@"xyO2hkNYHFa1C9VljJQesIcLTZ05gwb");
- NSLog(@"qutAnejlQL8BTWkJgb0aMF6f9z");
- NSLog(@"GOng4ketuIFyBE");
- NSLog(@"QcrCnq9H4R8DUJxESiw7sMyB");
- NSLog(@"RvUJFaVz9Z8t7WuiK6yY");
- NSLog(@"GD1NByfJP5z0kh76");
- NSLog(@"AH5CR3n2EdyYlrKFuifoepXImvMVcg0UBLaSx");
- NSLog(@"qi4PUe3LQ780roJSO9ugVW6wXyTvxhlBnYGtm");
- NSLog(@"OYsoHubTVtjSE");
- }
- -(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 {
- NSLog(@"jNvFRX0zqmTSwfc7i6Vk");
- NSLog(@"UnfTtBMqzPGlVaONwXuH");
- NSLog(@"olaeGfB5qEAZ8uIts3PgRhxY4cU2L9VJz");
- NSLog(@"lh2s65QwWjyFgRNKckiZabYx");
- NSLog(@"148gGWHX9IjQKxFvP3n");
- NSLog(@"P4Yve9dVTtiHc3L");
- NSLog(@"SZAQklrqn523JEBF");
- NSLog(@"SQJe6mpgZHTfr");
- NSLog(@"KkYipt0vaznThZlIGArgN");
- NSLog(@"T5aqBulSZHmwOyDchRb4I9N7PE0o28eXLYkijg3");
- NSLog(@"QIMUbEuKz8vCGo1xtjpBnyh9ZWTd");
- NSLog(@"dEl07Hm81ge6GVZA");
- }
- -(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 {
- NSLog(@"ryTs8LNfopK6dHFSxv1jPOhGY2");
- NSLog(@"zrxWfPeZsbCNOQJBjtGoiEgA3Ty6FMq5LXv2");
- NSLog(@"dmSscIgtufRCe1oE");
- NSLog(@"6a5FyNDu71bchKidVICLHwl4s8pU");
- NSLog(@"FqnC9xOTaWt");
- NSLog(@"hlObEG9fQ6n5mi0AL3DTRgVKZzXJUs1");
- NSLog(@"GkJ3BaErs1ptNj5");
- NSLog(@"IY8e7U4AXrBt2NH9Z6n0gi3w1EspOTyzWqFuPV");
- NSLog(@"vxIOVaSUY5fHDyzoEj1r9F6kNd0XhuGKZ");
- NSLog(@"y1ndbPw3vzsT0Earx9qR");
- NSLog(@"376sDiUkjcEGohRTdYAaqn8KxBZvt");
- NSLog(@"RW3ytNBEO4UP");
- NSLog(@"n15gbudtxRU3629o8I0NYHrJzj");
- }
- -(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 {
- NSLog(@"cywk5ECFzYvR4Tfhej");
- NSLog(@"oeuNISzVRkw0QbmlfGYtJWrHq39FDK7sOMv46gZ");
- NSLog(@"KC8QLnTF57qksUlzhxmDNcS3d2Ai");
- NSLog(@"QMKsZgA2cC9nmYJjoB");
- NSLog(@"YZ8WPhGrTf9");
- NSLog(@"5Itp8iS7CsQbmBEFzwPdLf");
- NSLog(@"aTD5GVSfjoELUp13");
- NSLog(@"Cfd6HrLt1bga7uJwU0yINczjMGXQm");
- NSLog(@"lWvYKOwj5kniuPHUZJM");
- NSLog(@"Fg4hpkjnZHzJDK5ysXmt30CwQP7UvGWxO");
- NSLog(@"H3PGuwIQKjop2nt7");
- NSLog(@"o8Wx6JtG17HkEd9ASg5CjauN");
- }
- @end
|