12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //
- // DRAccountDetailCell.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/6/8.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "DRAccountDetailCell.h"
- @interface DRAccountDetailCell ()
- @property (nonatomic, strong) UIImageView *icon;
- @property (nonatomic, strong) UILabel *title;
- @property (nonatomic, strong) UILabel *dateLabel;
- @property (nonatomic, strong) UILabel *orderPrice;
- @end
- @implementation DRAccountDetailCell
- - (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
|