#pragma mark 返回文字置空
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.navigationController.navigationBar.barTintColor = customColor(42,45,58);
self.navigationController.navigationBar.hidden = NO;
UIButton * button = [UIButton buttonWithType:UIButtonTypeCustom];
button.frame = CGRectMake(0, 5, 25, 25);
[button setImage:[UIImage imageNamed:@"nav_icon"] forState:UIControlStateNormal];
[button addTarget:self action:@selector(buttonClick) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem * buttonItem = [[UIBarButtonItem alloc] initWithCustomView:button];
self.navigationItem.leftBarButtonItem = buttonItem;
}
- (void)buttonClick
{
[self.navigationController popViewControllerAnimated:YES];
self.navigationController.navigationBar.alpha = 1;
}