PrizeExchangeBillTableViewCell.m 753 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//
//  PrizeExchangeBillTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 2016/11/22.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "PrizeExchangeBillTableViewCell.h"

@implementation PrizeExchangeBillTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

曹云霄's avatar
曹云霄 committed
17 18 19 20 21
- (void)setBillEntity:(TOPrizeBillEntity *)billEntity
{
    _billEntity = billEntity;
    self.exchangeBillNumberLabel.text = _billEntity.billnumber;
    self.exchangeTimeLabel.text = _billEntity.createDate;
22 23 24
    NSDictionary *textDict = [BaseViewController returnPrizeBillStateTitleColor:_billEntity.state];
    self.exchangeStateLabel.text = textDict[@"title"];
    self.exchangeStateLabel.textColor = textDict[@"color"];
25 26 27
}

@end