SceneViewController.h 2.1 KB
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
//
//  SceneViewController.h
//  Lighting
//
//  Created by 曹云霄 on 16/6/1.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"

/**
 *  选中场景或者商品回传
 */
@protocol AddImagesDelegate <NSObject>

@required

//增加图片
- (void)SelectedImageswithModel:(JSONModel *)model withisScene:(BOOL)isScene returnResponse:(void(^)(BOOL boolValue))isThere;
//刷新
- (void)RefreshSceneAndProduct:(BOOL)isScene;
//删除图片
@end


@interface SceneViewController : BaseViewController



/**
 *  场景或商品列表
 */
@property (weak, nonatomic) IBOutlet UICollectionView *sceneOrProductClollectionView;


/**
 * UICollectionViewLayout
 */
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *collectionViewLayout;



/************************筛选条件*****************************/


/**
 * 筛选tableview
 */
@property (weak, nonatomic) IBOutlet UITableView *screeningTableView;

/**
 *  文本
 */
@property (weak, nonatomic) IBOutlet UILabel *titleLabe;


/**
 *  风格
 */
@property (weak, nonatomic) IBOutlet UIButton *styleButton;


/**
 * 类型
 */
@property (weak, nonatomic) IBOutlet UIButton *typeButton;


/**
 *  空间
 */
@property (weak, nonatomic) IBOutlet UIButton *spaceButton;


/**
 *  材质
 */
@property (weak, nonatomic) IBOutlet UIButton *materialButton;


/**
 *  价格
 */
@property (weak, nonatomic) IBOutlet UIButton *priceButton;


/**
 *  拦截点击事件(列表背景)
 */
@property (weak, nonatomic) IBOutlet UIView *clickEventView;


/**
 *  tableview阴影背景
 */
@property (weak, nonatomic) IBOutlet UIView *myTableViewBackView;

/**
 *  产品模块搜索框
 */
@property (weak, nonatomic) IBOutlet UITextField *searchProductField;

/**
 *  搜索框背景
 */
@property (weak, nonatomic) IBOutlet UIView *searchBackView;


/**
 * 选中场景或商品,动画终点坐标
 */
@property (nonatomic,assign) CGPoint endAnimationPoint;


/**
 *  选中商品回传
 */
@property (nonatomic,weak) id<AddImagesDelegate> delegate;

/**
 *  dismiss回传
 */
@property (nonatomic,copy) void(^dismissBlock)();

@end