//
//  OPenAccountTopView.m
//  Open
//
//  Created by 雷俊博 on 2020/7/29.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import "OPenAccountTopView.h"

@implementation OPenAccountTopView

- (void)awakeFromNib
{
    [super awakeFromNib];
    
    NSString*message = @"提示：目前仅支持二代身份证原件申请";
    NSMutableAttributedString* str = [[NSMutableAttributedString alloc] initWithString:message];
    
    [str yy_setTextHighlightRange:NSMakeRange(8, 7) color:[UIColor colorWithHex:0x137ef6] backgroundColor:[UIColor clearColor] tapAction:^(UIView * _Nonnull containerView, NSAttributedString * _Nonnull text, NSRange range, CGRect rect) {
        NSLog(@"打电话");
    }];
    
    self.lb_message.attributedText = str;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
