//
//  MineViewController.m
//  ALand
//
//  Created by Z on 16/4/20.
//  Copyright © 2016年 Z. All rights reserved.
//

#import "MineViewController.h"
#import "SettingViewController.h"
#import "MyAcountViewController.h"
#import "MyBandCardViewController.h"
@interface MineViewController ()

@end

@implementation MineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}


- (IBAction)myAcount:(id)sender {
    CLog(@"myAcount");
    
    MyAcountViewController *acountVC = [[MyAcountViewController alloc] init];
    acountVC.isShowNavigationBar = NO;
    [self.navigationController pushViewController:acountVC animated:YES];
    
}


//我的银行卡
- (IBAction)myBankCardAction:(id)sender {
    MyBandCardViewController *myBankCardVC = [[MyBandCardViewController alloc] init];
    myBankCardVC.isShowNavigationBar = YES;
    myBankCardVC.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:myBankCardVC animated:YES];
}


//设置
- (IBAction)actionSetting:(id)sender {
    SettingViewController *settingVC = [[SettingViewController alloc] init];
    settingVC.isShowNavigationBar = YES;
    settingVC.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:settingVC animated:YES];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:YES];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
