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
126
//
// ExperienceCentreViewController.h
// Lighting
//
// Created by 曹云霄 on 16/6/1.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
#import "TOGoodsEntityModel.h"
#import "SceneListModel.h"
@interface ExperienceCentreViewController : BaseViewController
/**
* 场景背景
*/
@property (weak, nonatomic) IBOutlet UIView *sceneBackView;
/**
* 场景图片
*/
@property (weak, nonatomic) IBOutlet UIImageView *sceneImageView;
/**
* 返回按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *returnButton;
/**
* 购物袋按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *shoppingbagButton;
/**
* 分享按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *shareButton;
/**
* 拍照按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *takingPicturesButton;
/**
* 放大按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *amplificationButton;
/**
* 帮助按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *helpButton;
/***********************************功能区*************************************/
/**
* 场景筛选
*/
@property (weak, nonatomic) IBOutlet UIButton *sceneSelectedButton;
/**
* 场景展示
*/
@property (weak, nonatomic) IBOutlet UICollectionView *sceneScrollview;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *sceneLayout;
/**
* 产品筛选
*/
@property (weak, nonatomic) IBOutlet UIButton *productSelectedButton;
/**
* 产品展示
*/
@property (weak, nonatomic) IBOutlet UITableView *productScrollview;
/**
* 选中场景数据
*/
@property (nonatomic,strong) NSMutableArray *sceneDatasArray;
/**
* 选中产品数据源
*/
@property (nonatomic,strong) NSMutableArray *productDatasArray;
/**
* 需要分享的商品数组
*/
@property (nonatomic,strong) NSMutableArray *shareGoodsArray;
/**
* 是否把第一种场景设为默认
*/
@property (nonatomic,assign) BOOL boolValue;
/**
* 选中场景临时数组
*/
@property (nonatomic,strong) NSMutableArray *sceneTempArray;
/**
* 选中产品临时数组
*/
@property (nonatomic,strong) NSMutableArray *productTempArray;
/**
* 保存创建的灯对象
*/
@property (nonatomic,strong) NSMutableArray *lampArray;
@end