//设置背景图片
[self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"portalbg"] forBarMetrics:UIBarMetricsDefault];
self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
//隐藏分割线
self.navigationController.navigationBar.shadowImage =[[UIImage alloc] init];