SceneViewController.h 2.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
//
//  SceneViewController.h
//  Lighting
//
//  Created by 曹云霄 on 16/6/1.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"

11 12 13 14 15 16 17 18
/**
 *  选中场景或者商品回传
 */
@protocol AddImagesDelegate <NSObject>

@required

//增加图片
勾芒's avatar
勾芒 committed
19
- (void)SelectedImageswithModel:(JSONModel *)model withisScene:(BOOL)isScene returnResponse:(void(^)(BOOL boolValue))isThere;
20 21 22 23 24 25
//刷新
- (void)RefreshSceneAndProduct:(BOOL)isScene;
//删除图片
@end


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
@interface SceneViewController : BaseViewController



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


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



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


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

曹云霄's avatar
曹云霄 committed
51 52 53 54 55
/**
 *  文本
 */
@property (weak, nonatomic) IBOutlet UILabel *titleLabe;

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

/**
 *  风格
 */
@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;


勾芒's avatar
勾芒 committed
93 94 95 96
/**
 *  tableview阴影背景
 */
@property (weak, nonatomic) IBOutlet UIView *myTableViewBackView;
97

勾芒's avatar
勾芒 committed
98 99 100 101
/**
 *  产品模块搜索框
 */
@property (weak, nonatomic) IBOutlet UITextField *searchProductField;
102

勾芒's avatar
勾芒 committed
103 104 105 106
/**
 *  搜索框背景
 */
@property (weak, nonatomic) IBOutlet UIView *searchBackView;
107 108


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


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

曹云霄's avatar
曹云霄 committed
120 121 122 123 124
/**
 *  dismiss回传
 */
@property (nonatomic,copy) void(^dismissBlock)();

125
@end