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
@@ -19,7 +19,7 @@
self.shopYear.text = shopInfo.remark;
self.shopName.text = shopInfo.shopsName;
NSString*str=[NSString stringWithFormat:@"%@%@",kGetIconUrl,shopInfo.userImg];
[self.shopImg sd_setImageWithURL:[NSURL URLWithString:str] placeholderImage:[UIImage imageNamed:@""]];
[self.shopImg sd_setImageWithURL:[NSURL URLWithString:str] placeholderImage:[UIImage imageNamed:@""]options:SDWebImageAllowInvalidSSLCertificates];
}
@@ -31,7 +31,7 @@
// [self.shopDetailImg sd_setImageWithURL:[NSURL URLWithString:imgUrl]];
[self.shopDetailImg sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@"shopdetail_palceholder"]];
[self.shopDetailImg sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@"shopdetail_palceholder"]options:SDWebImageAllowInvalidSSLCertificates];
}
@@ -36,7 +36,7 @@
-(void)loadDataWith:(IfishShopInfo *)info
{
NSString*str=[NSString stringWithFormat:@"%@%@",kGetIconUrl,info.userImg];
[self.shopImg sd_setImageWithURL:[NSURL URLWithString:str]];
[self.shopImg sd_setImageWithURL:[NSURL URLWithString:str]placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
self.nYear.text = info.remark;
NSString *str2= @"已认证";
@@ -19,7 +19,7 @@
NSString*strUrl=[NSString stringWithFormat:@"%@%@/%@",kGetShopVideoImg,data.userId,data.commodityImg];
[self.videoImg sd_setImageWithURL:[NSURL URLWithString:strUrl] placeholderImage:[UIImage imageNamed:@"live_hold.png"]];
[self.videoImg sd_setImageWithURL:[NSURL URLWithString:strUrl] placeholderImage:[UIImage imageNamed:@"live_hold.png"]options:SDWebImageAllowInvalidSSLCertificates];
self.goodsName.text = data.commodityName;
}