SDwebimage和af的修改

This commit is contained in:
祝发冬
2023-08-28 19:34:55 +08:00
parent 033e23e13d
commit f38f9effaa
39 changed files with 99 additions and 47 deletions
@@ -18,7 +18,7 @@
-(void)loadCellData:(IfishGoodsData*)model
{
[self.goodsImg sd_setImageWithURL:[NSURL URLWithString:model.goodsPicture] placeholderImage:[UIImage imageNamed:@"Ifish_goodsholder"]];
[self.goodsImg sd_setImageWithURL:[NSURL URLWithString:model.goodsPicture] placeholderImage:[UIImage imageNamed:@"Ifish_goodsholder"]options:SDWebImageAllowInvalidSSLCertificates];
self.goodsName.text = model.goodsName;
self.shopName.text = model.shopName;
@@ -627,13 +627,13 @@ Assign BOOL isPush;
}else if (wechatImgUrl.length){
[_userImgView sd_setImageWithURL:[NSURL URLWithString:wechatImgUrl]];
[_userImgView sd_setImageWithURL:[NSURL URLWithString:wechatImgUrl] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
}
else{
NSLog(@"%@",[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]);
[_userImgView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]]];
[_userImgView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
}
@@ -17,7 +17,7 @@
-(void)loadCellDataWith:(IfishInformations *)info
{
[self.newsimg sd_setImageWithURL:[NSURL URLWithString:info.image]];
[self.newsimg sd_setImageWithURL:[NSURL URLWithString:info.image] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
self.titlelab.text = info.title;
self.detailLabe.text = info.contents;
self.watchNumber.text = [NSString stringWithFormat:@"%d",info.clickNum];