123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // ZBIncomeStatisticsViewController.m
- // ZBProject
- //
- // Created by 学丽 on 2019/4/3.
- // Copyright © 2019 ZB. All rights reserved.
- //
- #import "ZBIncomeStatisticsViewController.h"
- @interface ZBIncomeStatisticsViewController ()
- @property(nonatomic,strong)NSMutableArray *listArray;
- @end
- @implementation ZBIncomeStatisticsViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- [self initNavs];
- }
- -(void)initNavs
- {
-
- self.view.backgroundColor=[UIColor lineColor];
- self.navBar.navTitleLabel.text=@"收益统计";
- UIButton *returnBtn =[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 30, 20)];
- [returnBtn addTarget:self action:@selector(returnClickBtn) forControlEvents:UIControlEventTouchUpInside];
- [returnBtn setImage:[UIImage imageNamed:@"return_white"] forState:UIControlStateNormal];
- returnBtn.adjustsImageWhenHighlighted = NO;
- [self.navBar setCustomLeftButtons:@[returnBtn]];
-
-
- UIButton *rightBtn =[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 20, 20)];
- [rightBtn setTitle:@"近7天" forState:UIControlStateNormal];
- [rightBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
- [rightBtn setImage:[UIImage imageNamed:@"down"] forState:UIControlStateNormal];
- rightBtn.titleLabel.font=[UIFont systemFontOfSize:13];
- [rightBtn addTarget:self action:@selector(rightchangeClick) forControlEvents:UIControlEventTouchUpInside];
- [self.navBar setCustomRightButtons:@[rightBtn]];
- }
- -(void)returnClickBtn
- {
- [self.navigationController popViewControllerAnimated:YES];
- }
- -(NSMutableArray *)listArray
- {
- if (!_listArray) {
- _listArray =[NSMutableArray array];
- }
- return _listArray;
- }
- #pragma mark-切换显示
- -(void)rightchangeClick
- {
-
- }
- @end
|