|
|
@@ -30,15 +30,27 @@
|
|
|
- (void)viewDidLoad {
|
|
|
[super viewDidLoad];
|
|
|
// Do any additional setup after loading the view.
|
|
|
- self.title = @"工作";
|
|
|
+
|
|
|
}
|
|
|
|
|
|
-(void)setUpUI{
|
|
|
|
|
|
+ self.navigationItem.title = @"工作";
|
|
|
+
|
|
|
+ if (statusXLately) {
|
|
|
+
|
|
|
+ [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"U_newNarbgX"] forBarMetrics:UIBarMetricsDefault];
|
|
|
+
|
|
|
+ }else{
|
|
|
+
|
|
|
+ [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"U_newNarbg"] forBarMetrics:UIBarMetricsDefault];
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
self.navigationController.navigationBar.hidden = YES;
|
|
|
|
|
|
UIImageView *topView = [[UIImageView alloc]initWithFrame:CGRectMake(0,0, SCREEN_WIDTH, 94)];
|
|
|
- topView.image = [UIImage imageNamed:@"UU_newNavbg3"];
|
|
|
+ topView.image = [UIImage imageNamed:@"UU_workNewnavbg"];
|
|
|
topView.backgroundColor = RGB(48, 92, 131, 1);
|
|
|
topView.userInteractionEnabled = YES;
|
|
|
|