SeceneLibraryView.h 1.99 KB
//
//  SeceneLibraryView.h
//  Lighting
//
//  Created by mac on 16/5/11.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SeceneCollectionPictureCell.h"
#import "screeningButton.h"
#import "SecenTableViewCell.h"
@protocol AddSecenePicturedelegate <NSObject>

@required

//回调
- (void)addSeceneImage:(UIImage *)image;
- (void)restSeceneBtnImage;
@end

@interface SeceneLibraryView : BaseViewController<UIGestureRecognizerDelegate,UITableViewDelegate,UITableViewDataSource,UICollectionViewDataSource,
UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
@property (nonatomic,assign) id<AddSecenePicturedelegate> delegate;
@property (nonatomic,strong) UIView *subView;
@property (nonatomic,strong) UIView *headerView;
@property (nonatomic,strong) UITableView *seceneTableView;
@property (nonatomic,strong) UITableView *pictureTableView;
@property (nonatomic,strong) UIButton *kongJianBtn;
@property (nonatomic,strong) UIButton *fengGeBtn;
@property (nonatomic,strong) UIButton *leiXingBtn;
@property (nonatomic,strong) NSMutableArray *arrayData;
@property (nonatomic,strong) NSMutableArray *array1;
@property (nonatomic,strong) NSMutableArray *array2;
@property (nonatomic,strong) NSMutableArray *array3;
@property (nonatomic,strong) UICollectionView *collectionView;
@property (nonatomic,strong)  SceneFilter *filter;//筛选数据源
@property (nonatomic,strong) SceneResponse *response;// 列表数据
@property (nonatomic,strong) NSArray *imageArray;//筛选cell个数图片
@property (strong, nonatomic) screeningButton *StyleButton;//风格按钮
@property (strong, nonatomic) screeningButton *SpaceButton;//房型按钮
/**
 *  当前页数
 */
@property (nonatomic,assign) int indexPage;
/**
 *  总页数
 */
@property (nonatomic,assign) int totalPages;
/**
 *  搜索模型
 */
@property (nonatomic,strong) SceneCondition *conditionModel;
@property (nonatomic,strong) NSString *isSelectBtnType;
@property (nonatomic ,strong)NSString *isSelectCell;
@end