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;
|
||||
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
//商户头像 原写成招牌 不想改了暂时用这 只是个名字而已
|
||||
NSString *imgUrl=[NSString stringWithFormat:@"%@%@",kGetIconUrl,self.xinXiModel.userImg];
|
||||
|
||||
[cell.shopZhaoPai sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@""]];
|
||||
[cell.shopZhaoPai sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@""]options:SDWebImageAllowInvalidSSLCertificates];
|
||||
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
cell.sChatBtn.hidden = YES;
|
||||
@@ -211,7 +211,7 @@
|
||||
[cell.geiShopDaDianHuaBtn addTarget:self action:@selector(telAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
NSString *imgUrl=[NSString stringWithFormat:@"%@%@",kGetIconUrl,self.xinXiModel.userImg];
|
||||
|
||||
[cell.shopZhaoPai sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@""]];
|
||||
[cell.shopZhaoPai sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:[UIImage imageNamed:@""]options:SDWebImageAllowInvalidSSLCertificates];
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
[cell.sChatBtn addTarget:self action:@selector(chatBtnAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
Reference in New Issue
Block a user