123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- //
- // LZMCommissionHeaderView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/18.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LZMCommissionHeaderView.h"
- @interface LZMCommissionHeaderView ()
- @property (nonatomic, strong) UILabel *blancePrice;
- @property (nonatomic, strong) UILabel *totalPrice;
- @property (nonatomic, strong) UILabel *didPrice;
- @property (nonatomic, strong) UIButton *didBtn;
- @end
- @implementation LZMCommissionHeaderView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor changeColor];
- [self initSubViews];
- [self request];
- }
- return self;
- }
- -(void)request{
- NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/commisonPrice",BaseURL];
- [LZMHttp post:url params:nil success:^(id json) {
- if (json[@"data"]) {
- NSString *blanceStr=json[@"data"][@"all"];
- NSString *totalStr=json[@"data"][@"notEnd"];
- NSString *didStr=json[@"data"][@"end"];
- self.blancePrice.text =[NSString stringWithFormat:@"%.2f",[blanceStr floatValue]];
- self.totalPrice.text =[NSString stringWithFormat:@"总收入(元):%.2f",[totalStr floatValue]];
- self.didPrice.text =[NSString stringWithFormat:@"已提现(元):%.2f",[didStr floatValue]];
- }
- } failure:^(NSError *error) {
-
- }];
-
- }
- - (void)initSubViews {
- UILabel *blanceTitle = [[UILabel alloc] initWithFrame:CGRectMake(15, 15, 100, 20)];
- blanceTitle.textColor = [UIColor whiteColor];
- blanceTitle.font = [UIFont systemFontOfSize:14];
- blanceTitle.text = @"佣金总计(元)";
- [self addSubview:blanceTitle];
-
- self.blancePrice = [[UILabel alloc] initWithFrame:CGRectMake(15, blanceTitle.bottom+5, SCREEN_WIDTH-100, 40)];
- self.blancePrice.textColor = [UIColor whiteColor];
- self.blancePrice.font = [UIFont boldSystemFontOfSize:32];
- self.blancePrice.text = @"--.--";
- [self addSubview:self.blancePrice];
-
- self.totalPrice = [[UILabel alloc] initWithFrame:CGRectMake(15, self.blancePrice.bottom+10, SCREEN_WIDTH/2-20, 20)];
- self.totalPrice.text = @"待结算(元):--";
- self.totalPrice.textColor = [UIColor whiteColor];
- self.totalPrice.font = [UIFont systemFontOfSize:14];
- [self addSubview:self.totalPrice];
-
- self.didPrice = [[UILabel alloc] initWithFrame:CGRectMake(self.totalPrice.right+10, self.totalPrice.top, SCREEN_WIDTH/2-20, 20)];
- self.didPrice.textAlignment = NSTextAlignmentRight;
- self.didPrice.font = [UIFont systemFontOfSize:14];
- self.didPrice.textColor = [UIColor whiteColor];
- self.didPrice.text = @"已结算(元):--";
- [self addSubview:self.didPrice];
-
- self.didBtn = [[UIButton alloc] initWithFrame:CGRectMake(self.width-10-80, self.didPrice.top-23-20, 80, 20)];
- [self.didBtn setTitle:@"查看红包" forState:UIControlStateNormal];
- [self.didBtn setImage:[UIImage imageNamed:@"goto_white"] forState:UIControlStateNormal];
- self.didBtn.titleLabel.font = [UIFont systemFontOfSize:12];
- [self.didBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
- [self.didBtn setButtonImageTitleStyle:ButtonImageTitleStyleRight padding:0];
- [self addSubview:self.didBtn];
- }
- -(void)a9S27:(UIControlEvents*) a9S27 agbA6K:(UICollectionView*) agbA6K adZkS:(UIColor*) adZkS an6XfrTH1R:(UIInputView*) an6XfrTH1R ayTaoIjd5:(UIBarButtonItem*) ayTaoIjd5 aej1C:(UIMotionEffect*) aej1C {
- NSLog(@"9otYSELbR7f2adXsJmye");
- NSLog(@"VoOpBcGdFQuC1kgY3fzDSe2tZiw7ULsxjEIH58");
- NSLog(@"8K5pVmXwnhG3LIvctuAfsbQi");
- NSLog(@"rINQjwDaFshcL83YB5oPx6qvnMK");
- NSLog(@"g8dB7S10qKZblLsTiX5QH4U2");
- NSLog(@"lxwM2AgJpycEC9tPoaD0KF67rH");
- NSLog(@"9pYQ7vn8IgO");
- NSLog(@"4gI30uDKtdxzl8AFNfE9nwHmhvSa2qkVQiPBReJL");
- NSLog(@"bjnRQ6U0PfwArzB");
- NSLog(@"QMspuNyVRIvn3wHkFElzTrGA");
- NSLog(@"9tYuTjl3sFHxcqX7");
- NSLog(@"2l5TUWnhdaPjzwvRG8Zk1fACrixS");
- NSLog(@"OYvjgaoF6hmp");
- NSLog(@"qv78zAoNGfDU9T0eR");
- NSLog(@"pDIZ37vyNge6l8oq1t4ixWm5");
- NSLog(@"BCWdql4LHYaDSt7");
- NSLog(@"jDPk3hvtZ0oBGbeWIfmrYdUM");
- NSLog(@"e9ZR7VbqnIfXFsQryva4ASmLgYutWzUlJ");
- NSLog(@"zYm23G6Ati9SlQNMpwPyXBxE");
- }
- -(void)aak9sRHzCAd:(UITableView*) aak9sRHzCAd a21QueIJ:(UIFontWeight*) a21QueIJ amqFLQYlRB:(UIVisualEffectView*) amqFLQYlRB aLmaiX1:(UIAlertView*) aLmaiX1 ap2Qh9yc7kX:(UIEvent*) ap2Qh9yc7kX axQKfHJ:(UIAlertView*) axQKfHJ axkl9aGR:(UIUserInterfaceIdiom*) axkl9aGR am5Lad9QJr:(UITableView*) am5Lad9QJr aJk5P:(UIVisualEffectView*) aJk5P aKIFnhBA:(UIView*) aKIFnhBA aMCJ5TucszV:(UIActivity*) aMCJ5TucszV ayzuRjlI1o:(UISearchBar*) ayzuRjlI1o aX9kV:(UIWindow*) aX9kV ahzt8Q:(UITableView*) ahzt8Q aDFZU:(UICollectionView*) aDFZU aLX6bWQOpH4:(UIScreen*) aLX6bWQOpH4 aN5ZnyJ:(UIMotionEffect*) aN5ZnyJ ac6gECavGt:(UIButton*) ac6gECavGt aY5qP:(UIFont*) aY5qP awX5IE03:(UIActivity*) awX5IE03 {
- NSLog(@"5aRwqbWEJGFT6AVBskxPIQUz2hXZSvpfLDy9r");
- NSLog(@"MLrETQciuU6Z3jbwxs2CP0pRdDkmqSAOznK");
- NSLog(@"49TOq2JrXKwYj78vpMaC5DFV0f6WzAIRGs");
- NSLog(@"BhQZjrwcikusT7mRPvfCze");
- NSLog(@"6cDXMHUFVwsuTnlPog8x4COa507bevtZzQ");
- NSLog(@"tqA52fI3T9isBKcze4SQCHxXkwRyZGarnmL0");
- NSLog(@"h6qfKYkapcAt2D05dX3sV81FO7rGex");
- NSLog(@"nK3tOP2ahVj9GF8WwYfTbE0ipNyrQUDvHecxZz6");
- NSLog(@"IQ6ofh4GJAFBmRKMNCiqpdvj3gD9Z70zatlXnk");
- NSLog(@"Jk9faymYDV37GqBxtF5wcuThorMpH6CQS8PO0s");
- }
- -(void)a4HUs:(UIUserInterfaceIdiom*) a4HUs apbFZcHEdm:(UIFont*) apbFZcHEdm alzKI72:(UIBarButtonItem*) alzKI72 aCzNLVmse:(UIDevice*) aCzNLVmse azGOC4UbWFj:(UISwitch*) azGOC4UbWFj ajEum:(UIInputView*) ajEum aXOCty1B:(UIMotionEffect*) aXOCty1B axviXFL8:(UISwitch*) axviXFL8 aw3PEvxU4K:(UIApplication*) aw3PEvxU4K a6Od3f1GS:(UIActivity*) a6Od3f1GS aW5rPl2Jd:(UIControlEvents*) aW5rPl2Jd auSvRFType:(UIMenuItem*) auSvRFType aHAqo8Y6PT:(UIBarButtonItem*) aHAqo8Y6PT a0Mp8iT:(UILabel*) a0Mp8iT aBAIaZzc:(UIBarButtonItem*) aBAIaZzc aPn46cOKYz:(UIBarButtonItem*) aPn46cOKYz aQegpANxbHw:(UIBarButtonItem*) aQegpANxbHw asPVDmYorF2:(UILabel*) asPVDmYorF2 aJCaZQ2:(UIKeyCommand*) aJCaZQ2 {
- NSLog(@"57KgkSHUaTcpvEl2IsDyVBjPGbAC");
- NSLog(@"5NO7HPbIcs4a30hpm1JMWxf9CVYL86UXDiTgjlwG");
- NSLog(@"90qFHDanBxVfcP7ILywZsXrKGRWi");
- NSLog(@"QifyWDel6mSJa8");
- NSLog(@"yaSV1iNQlvL");
- NSLog(@"qBncWMgs084It2L5V3dFU");
- NSLog(@"9D0IeshxXnVwr");
- NSLog(@"it4qH7xhLo9");
- NSLog(@"0muQxl7sKogBpLTUiMJPX");
- NSLog(@"8hr1ImQH3RVAals9x7gDwW6");
- NSLog(@"uozg4Yn2kKFWa5MDAyTqdh1rJ3E97s");
- NSLog(@"luimtCPKjG7SLVQa2v06AFEoYekyMwr8");
- NSLog(@"QGYwWLTBpxjAX9dKckhztMOVZJH05821");
- NSLog(@"Y30ysKP6uJ");
- NSLog(@"86HWK93tVh2szCYiLcfJpuwrF5qBTGSXPZnM");
- NSLog(@"8rXhnUNFO49YpubQ");
- NSLog(@"f65OZogF3UBAWNckKmEvM4u0YsQdrhDwPV1");
- NSLog(@"lIhB2EzTHe68QV3PwA4gR");
- NSLog(@"It1MmnAbRUZo8HWSB42lXfyr7Ydewa");
- NSLog(@"erGbRsfZU5khXNBn9FVg304vTdA");
- }
- -(void)a9YLT:(UILabel*) a9YLT asfCyGe5Z:(UIMenuItem*) asfCyGe5Z aTO7jRg4r5:(UIRegion*) aTO7jRg4r5 aBdEF7SjICA:(UIFont*) aBdEF7SjICA aGa80EKk:(UIViewController*) aGa80EKk a2L64jQ:(UIViewController*) a2L64jQ aUrpRKO4:(UIApplication*) aUrpRKO4 auqEh:(UIRegion*) auqEh aya2lgj4:(UIColor*) aya2lgj4 adUStrlyfHC:(UIViewController*) adUStrlyfHC aai2v5OQj:(UIControlEvents*) aai2v5OQj {
- NSLog(@"UwgmqCdRoBWJca");
- NSLog(@"J3SOvXCiFdangUqMolpE5xuyBYQt2kmVc");
- NSLog(@"6mDFTH9byUKS2gPRsNGrW10VvC37YfiunptOc");
- NSLog(@"gLCk21MR5pesJAPuVl0fNUB6XaDZOhqdo");
- NSLog(@"xW4tw2698Zekcl");
- NSLog(@"dp2UClX7fqt4Bx8bsHVg");
- NSLog(@"BUnuYrQLhV03c8eI");
- NSLog(@"iwdXhVtNQjzHFW8bRo5kneqKCD9OfUEZlpP");
- NSLog(@"vN7y5lKURdEVxBzeDcA1m4MIZJ");
- NSLog(@"zRm24uwVBhoKOiSG9AgDtXNJWdZ");
- NSLog(@"3BKiqUTSlYjFd");
- NSLog(@"b6FoPJwB2hyqRVj8xGKOf3NCW");
- NSLog(@"KzcEhVTDY8J2kq93oCwIlte4GaOp7uR");
- NSLog(@"9DZW3hFLOHgj");
- }
- -(void)aJHgIds:(UISearchBar*) aJHgIds aBjaxoU:(UIEdgeInsets*) aBjaxoU aHFQ09D:(UIMenuItem*) aHFQ09D aE3DzyBmcK:(UIControl*) aE3DzyBmcK anakB6RYq5:(UISearchBar*) anakB6RYq5 ako5O2N:(UIButton*) ako5O2N as8wULXpu:(UITableView*) as8wULXpu apOBux:(UIBarButtonItem*) apOBux azhWLSXf:(UIBarButtonItem*) azhWLSXf a4mqgu1wC:(UIDocument*) a4mqgu1wC ahcvTj8d:(UIEvent*) ahcvTj8d aZFJ7:(UIEvent*) aZFJ7 a5GVlg:(UIView*) a5GVlg acbtN9lxEo:(UIBarButtonItem*) acbtN9lxEo a3M5C:(UICollectionView*) a3M5C auW5MI8V4:(UIMenuItem*) auW5MI8V4 aR6ADl8mOxS:(UIApplication*) aR6ADl8mOxS azC83:(UIScreen*) azC83 {
- NSLog(@"TGV2gpRny5oDrePsa7IKqJCibQ");
- NSLog(@"ZbpX0CQTMcUskSz7trPNH1O5Iw");
- NSLog(@"YkepQzxw9UuI8D");
- NSLog(@"FRLcDCiy6th0V1qNJxnEH85A");
- NSLog(@"pWdGy8ru5xa2sizNgqC0Dk9MB");
- NSLog(@"MQg9CHazKdxplw5vFDNRJYjVe");
- NSLog(@"oFR1tJNIGL9C82m4BO");
- NSLog(@"FgmpK0slCiZBbu3Vq");
- NSLog(@"htrXV15gnC3");
- NSLog(@"uLBgONxPGf8j5lrtb");
- NSLog(@"kz6MmOfExlQ7rWqR9pBH3iyYc");
- NSLog(@"1FtbmMGniVcSTkweUQEgOJy6A");
- NSLog(@"YBsFMNkfn1IrL");
- NSLog(@"GCAEpotxfq31BOKsucywUYvR72");
- }
- -(void)arqXasUpfeN:(UIDevice*) arqXasUpfeN aGtZ6DJF0Vl:(UIColor*) aGtZ6DJF0Vl a6n8xmq:(UIFont*) a6n8xmq a9FIc6mx:(UIVisualEffectView*) a9FIc6mx aVHraT8gpU:(UIApplication*) aVHraT8gpU a5EMPALIuVJ:(UIInputView*) a5EMPALIuVJ aIDbY:(UIColor*) aIDbY aMbKEF6tl:(UIKeyCommand*) aMbKEF6tl anevIU7:(UIFontWeight*) anevIU7 a0hmG3f:(UIFontWeight*) a0hmG3f aide9:(UIMotionEffect*) aide9 a9ol2cafr:(UIBarButtonItem*) a9ol2cafr {
- NSLog(@"KPoAp07aeif6zx43JZ9Ib1yNrHW5wqElSmDkUn");
- NSLog(@"pxJnMiRdqC6Q");
- NSLog(@"x1Vt0FnToECqZyrhJsdGNIePYBO3Su8wc6k");
- NSLog(@"lTO1bmy53KSwWC9s8Fr4ExVIgNu");
- NSLog(@"ulwXaEKVbUjA9Tg7zqYfJRC1c");
- NSLog(@"CPXxNi0ZrE46T3vWsGdytYlKjbVfwSF1");
- NSLog(@"DdWa85GwXHlr4EV");
- NSLog(@"Jxmns4XGVrfFj");
- NSLog(@"U9xVM5DNsqHQIYb8wC72SiGWZtByoke");
- NSLog(@"uwZynrlpPvCchMVkDQASae4g80Oi9fF1R");
- NSLog(@"Tx6bw39LEjBPfDFJW");
- NSLog(@"wloEfgU8uPIsmAViHS");
- NSLog(@"EHiuMIdYlk3D7U");
- NSLog(@"UilmGtT40LxXCFQ1MV");
- NSLog(@"98oI5zTh0t");
- NSLog(@"IjtznsEx7MbKrkT8R43q6gYJwhmW5X");
- NSLog(@"zWBpdtgXOulRU3NYJ6Ta");
- NSLog(@"8qXOd7nTLVebgF0W6ZBlMPYSQiNk1hEKmy5Avj");
- NSLog(@"thnCEDA18Y2qzwljomSpKXQ");
- }
- -(void)ah9i8lOWt:(UISearchBar*) ah9i8lOWt a1qO6iLEV5:(UIButton*) a1qO6iLEV5 akps4:(UIBezierPath*) akps4 aHRBTsdD:(UIControlEvents*) aHRBTsdD aIx6G:(UIViewController*) aIx6G aAiZBzSHyY:(UIMotionEffect*) aAiZBzSHyY a0wrOgn:(UIWindow*) a0wrOgn aNhnk:(UIView*) aNhnk aeZ0G:(UIFont*) aeZ0G aCkA1ZiYK:(UITableView*) aCkA1ZiYK aNQ3mlt:(UIDevice*) aNQ3mlt aYRSO:(UIColor*) aYRSO aJi2PM:(UILabel*) aJi2PM azZXsDGLj7a:(UIFont*) azZXsDGLj7a aWbzfxO:(UISwitch*) aWbzfxO amjIi:(UITableView*) amjIi aqYjedLl:(UIEdgeInsets*) aqYjedLl {
- NSLog(@"utoGER1S8qy2m7iUL");
- NSLog(@"HIUCxadywS2v1z73ZPqsiu5LJpOYB");
- NSLog(@"uAD6FBQ9xaLGN5CXl");
- NSLog(@"MkJ01UbKwex39SnLNuIAFHci4vE");
- NSLog(@"P1ydDK8WJ5S");
- NSLog(@"tVOCGEimRLbAfaUFcI4");
- NSLog(@"dq29PVrSNvEKx3oDebAt7Mm");
- NSLog(@"lAX2htvcFbRELuIU7eSfds4onDMW5COVwzTGj0");
- NSLog(@"5pG2tzUuEvQDXNrgLHMihswAYbqfPCx3Z98FOo");
- NSLog(@"IO7gLR2Y0GZPDv3sQr1xoqkaeElfc8HKbJzB");
- NSLog(@"dgwLIcyofMmTlxWjznStqr1JCR");
- }
- -(void)abRjf:(UIKeyCommand*) abRjf a4zx6OqcNnh:(UILabel*) a4zx6OqcNnh a34MDt5vsZk:(UIImage*) a34MDt5vsZk aZTxN6:(UIBarButtonItem*) aZTxN6 abh54:(UIImageView*) abh54 a24ynqH:(UIActivity*) a24ynqH aYumAFE:(UIAlertView*) aYumAFE aR41TSYuXN:(UIRegion*) aR41TSYuXN awDYrR2m:(UILabel*) awDYrR2m aXq5yPc:(UIBarButtonItem*) aXq5yPc asmCqTtZi4:(UIKeyCommand*) asmCqTtZi4 ahdVJNUo:(UIBezierPath*) ahdVJNUo aoqhH69PQpa:(UIFontWeight*) aoqhH69PQpa {
- NSLog(@"b63dV0ihn1kUa4xvpXAlImLgMBZqeTRNt8WzHr5Y");
- NSLog(@"RTfuVoNkXIAJD0");
- NSLog(@"15by42DNQziIH7lKA0ShRtELBxuYfaGFCO");
- NSLog(@"HLCYW7Uw1ZmQ");
- NSLog(@"rm7zCxlRoV8u6YJtv1Z");
- NSLog(@"10QhxbzcyCYg6LwF");
- NSLog(@"6MI51dijOmBtyLrScnFfv3oHqGleh9ATw8");
- NSLog(@"Gx8wmYEHJuyka2Z5sM4O7oQeWI90nU6Ngv");
- NSLog(@"LEFCUJnsVcgOxY1ra");
- NSLog(@"F7M93rvDVNquXlGwiEkd2xs");
- NSLog(@"iBnR6fXsPY9U");
- NSLog(@"wLanA5MGfXoHOy2");
- NSLog(@"XihJYDP5v0mfwCqETA8c4UGspQBMS3jtrH9aKWz");
- }
- -(void)a6y7AIlx:(UIUserInterfaceIdiom*) a6y7AIlx ajNPTdWcSy9:(UISwitch*) ajNPTdWcSy9 av517:(UIControl*) av517 aAUaSG93Nd:(UIMenuItem*) aAUaSG93Nd aWHcP69h2:(UIDevice*) aWHcP69h2 a8C7Yp4r5y:(UIMenuItem*) a8C7Yp4r5y {
- NSLog(@"zgIdUaYZn2u");
- NSLog(@"UKzdvc8WGxr5DkHiuRgSn6FVyBQYCe");
- NSLog(@"X5gArvu3BEMR7dCZzV6JLU1GTHt09f");
- NSLog(@"G0W6eJhp7zXQuD1ARZL82");
- NSLog(@"2wFvELsPu1eoakKSdZDQA");
- NSLog(@"aKmFLP9IhViEZlGxAug2qyC8wnH4c1s3");
- NSLog(@"E3ixzhNfXCRjAk");
- NSLog(@"gNDtw9sHCGeoR7pXvd3");
- NSLog(@"eyvwmaEloJVuhx6ckRYQgOrFC2i43zPDfqXtB97I");
- NSLog(@"8HKFYzmga7dnpC4fG1DWBVk0NX36uE");
- NSLog(@"uERKpSFt09nsGb8rvcBhwA4NCQoLJel3O2");
- }
- @end
|