27 lines
572 B
Mathematica
27 lines
572 B
Mathematica
|
|
//
|
||
|
|
// SPGonghuiRoomListCell.m
|
||
|
|
// SweetParty
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2022/6/29.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "SPGonghuiRoomListCell.h"
|
||
|
|
|
||
|
|
@implementation SPGonghuiRoomListCell
|
||
|
|
|
||
|
|
- (void)awakeFromNib {
|
||
|
|
[super awakeFromNib];
|
||
|
|
// Initialization code
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)setModel:(SPGonghuiDetailListModel *)model {
|
||
|
|
_model = model;
|
||
|
|
|
||
|
|
[self.imgV sd_setImageWithURL:[NSURL URLWithString:model.room_cover] placeholderImage:kDefaultUserIcon];
|
||
|
|
self.nameLab.text = model.room_name;
|
||
|
|
self.IDLab.text = model.room_number;
|
||
|
|
self.hotLab.text = model.total_gift_total_price;
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|