//
//  xiaoxiViewController.m
//  YBEducation
//
//  Created by IOS1 on 2020/3/19.
//  Copyright © 2020 IOS1. All rights reserved.
//

#import "xiaoxiViewController.h"

@interface xiaoxiViewController ()
@end

@implementation xiaoxiViewController
- (void)naviView{
    UIView * naviView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, _window_width, 64+statusbarHeight)];
    naviView.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:naviView];
        
    UILabel *titleL = [[UILabel alloc]init];
    titleL.font = [UIFont boldSystemFontOfSize:18];
    titleL.textColor = color32;
    titleL.text = @"消息";
    [naviView addSubview:titleL];
    [titleL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(naviView).offset(19);
        make.top.equalTo(naviView).offset(34+statusbarHeight);
    }];
    
    UIView *lineView = [[UIView alloc]init];
    lineView.backgroundColor = colorf0;
    [naviView addSubview:lineView];
    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(naviView);
        make.height.mas_equalTo(1);
    }];

}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.hidden = YES;
    [self naviView];
}
/*
#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
