//
//  PictureTableViewCell.h
//  patrol
//
//  Created by Javen on 2017/3/2.
//  Copyright © 2017年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PicViewModel.h"
#import "DBCameraViewController.h"

typedef void (^repairBlock)(void);

@interface ZJPictureTableViewCell : UITableViewCell<UICollectionViewDelegate,
UICollectionViewDataSource,DBCameraViewControllerDelegate>
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *layOut;
@property (weak, nonatomic) UIViewController *vc;
@property (strong, nonatomic) PicViewModel *viewModel;

/**
 水印文字
 */
@property (nonatomic, copy) NSString *remarkString;

/** 是否显示添加按钮 */
@property (nonatomic, copy) repairBlock blockReloadData;
- (void)configCellWithViewModel:(PicViewModel *)viewModel indexPath:(NSIndexPath *)indexPath target:(UIViewController *)target remarkString:(NSString *)remarkString;
- (void)pushImagePickerController;
@end
