SDwebimage和af的修改
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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];
|
||||
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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= @"已认证";
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user