//
//  SaleInputPicCollectionViewCell.m
//  vanke
//
//  Created by Z on 16/7/17.
//  Copyright © 2016年 gomore. All rights reserved.
//

#import "SaleInputPicCollectionViewCell.h"
#import "UIImageView+AFNetworking.h"
#import "VankeConfig.h"
@interface SaleInputPicCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *img;

@end
@implementation SaleInputPicCollectionViewCell
- (void)setCellWith:(NSArray *)array index:(NSIndexPath *)indexPath {
    AttachmentModel *model = array[indexPath.row];
    [self.img setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",VANKE_SERVER_MEDIA_BASE_URL, model.fileUrl]] placeholderImage:[UIImage imageNamed:@"floor-def"]];
}
@end
