// // KBAccountDetailCell.m // YouHuiProject // // Created by 小花 on 2018/6/8. // Copyright © 2018年 kuxuan. All rights reserved. // #import "KBAccountDetailCell.h" @interface KBAccountDetailCell () @property (nonatomic, strong) UIImageView *icon; @property (nonatomic, strong) UILabel *title; @property (nonatomic, strong) UILabel *dateLabel; @property (nonatomic, strong) UILabel *orderPrice; @end @implementation KBAccountDetailCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { } return self; } - (UIImageView *)icon { if (!_icon) { _icon = [[UIImageView alloc] init]; } return _icon; } - (UILabel *)title { if (!_title) { _title = [[UILabel alloc] init]; _title.textColor = [UIColor YHColorWithHex:0x666666]; _title.font = [UIFont systemFontOfSize:15]; } return _title; } - (UILabel *)dateLabel { if (!_dateLabel) { _dateLabel = [[UILabel alloc] init]; _dateLabel.textColor = [UIColor YHColorWithHex:0x999999]; _dateLabel.font = [UIFont systemFontOfSize:12]; } return _dateLabel; } @end