29 lines
650 B
Mathematica
29 lines
650 B
Mathematica
|
|
//
|
||
|
|
// SPRoomLiushuiCell.m
|
||
|
|
// SweetParty
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2022/6/15.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "SPRoomLiushuiCell.h"
|
||
|
|
|
||
|
|
@implementation SPRoomLiushuiCell
|
||
|
|
|
||
|
|
- (void)awakeFromNib {
|
||
|
|
[super awakeFromNib];
|
||
|
|
// Initialization code
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)setModel:(SPRoomLiushuiModel *)model {
|
||
|
|
_model = model;
|
||
|
|
|
||
|
|
self.sendNameLab.text = model.u_nick_name;
|
||
|
|
self.receiveNameLab.text = model.r_nick_name;
|
||
|
|
[self.giftImgV sd_setImageWithURL:[NSURL URLWithString:model.base_image]];
|
||
|
|
self.numLab.text = [NSString stringWithFormat:@"*%@", model.gift_num];
|
||
|
|
self.priceLab.text = model.gift_total_price;
|
||
|
|
self.timeLab.text = model.add_time;
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|