diff --git a/YuMi/Modules/YMNewHome/View/Cell/XPNewHomePartyCollectionViewCell.m b/YuMi/Modules/YMNewHome/View/Cell/XPNewHomePartyCollectionViewCell.m index a28ad30a..fed55bf3 100644 --- a/YuMi/Modules/YMNewHome/View/Cell/XPNewHomePartyCollectionViewCell.m +++ b/YuMi/Modules/YMNewHome/View/Cell/XPNewHomePartyCollectionViewCell.m @@ -127,7 +127,12 @@ - (void)setRoomInfo:(HomePlayRoomModel *)roomInfo{ _roomInfo = roomInfo; _nameView.text = _roomInfo.title; - _bgImageView.imageUrl = _roomInfo.avatar; + _bgImageView.image = nil; + @kWeakify(self); + [self.bgImageView loadImageWithUrl:_roomInfo.avatar completion:^(UIImage * _Nonnull image, NSURL * _Nonnull url) { + @kStrongify(self); + self.bgImageView.image = image; + }]; _tagBgImageView.imageUrl = _roomInfo.tagPict; _heatView.text = @(_roomInfo.onlineNum).stringValue; _rankImageView.image = nil;