//
//  CoinsDetailFooterView.m
//  Open
//
//  Created by 雷俊博 on 2019/7/10.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import "CoinsDetailFooterView.h"
#import "Constants.h"

@interface CoinsDetailFooterView ()



@end
@implementation CoinsDetailFooterView
#pragma mark - life cycle
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.lb_title];
        [self setupUI];
    }
    return self;
}

- (void)setupUI
{
    [self.lb_title mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self);
        make.height.offset(12 * WIDTHRADIU);
    }];
    
}
#pragma mark - getters and setters
- (UILabel *)lb_title
{
    if (!_lb_title) {
        _lb_title = [[UILabel alloc]init];
        _lb_title.text = @"系统仅展示最近七天的收益";
        _lb_title.textAlignment = NSTextAlignmentCenter;
        _lb_title.textColor = [UIColor colorWithHex:0x808080];
        _lb_title.font = [UIFont systemFontOfSize:12* WIDTHRADIU];
    }
    return _lb_title;
}
/*
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
