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

#import "ProductListCell.h"

@implementation ProductListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.lb_mark1.layer.cornerRadius = 3;
    self.lb_mark1.layer.borderColor = [UIColor colorWithHex:0x137ef6].CGColor;
    self.lb_mark2.layer.cornerRadius = 3;
    self.lb_mark2.layer.borderColor = [UIColor colorWithHex:0x137ef6].CGColor;
    self.lb_mark1.layer.borderWidth = 0.5;
    self.lb_mark2.layer.borderWidth = 0.5;
    
    self.lb_mark1.edgeInsets = UIEdgeInsetsMake(4, 8+2, 4, 8+2);//设置内边距
    
    self.lb_mark2.edgeInsets = UIEdgeInsetsMake(4, 8+2, 4, 8+2);//设置内边距
    
    [self.lb_mark1 sizeToFit];//重新计算尺寸，会执行Label内重写的方法
    [self.lb_mark2 sizeToFit];//重新计算尺寸，会执行Label内重写的方法
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
