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
//
// HomeViewController.h
// Lighting
//
// Created by 曹云霄 on 2017/3/1.
// Copyright © 2017年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
#import "iCarousel.h"
/**
类型
- ExperienceCentre: 体验中心
- ProductLibrary: 产品库
- StudyGuides: 导购学习
- CustomerInformation: 客户信息
*/
typedef NS_ENUM(NSInteger,MENUCOLLECTIONVIEW_TYPE){
ExperienceCentre = 0,
ProductLibrary,
StudyGuides,
CustomerInformation
};
@interface HomeViewController : BaseViewController
/**
滚动视图
*/
@property (weak, nonatomic) IBOutlet iCarousel *customScorllView;
/**
视图模糊背景
*/
@property (weak, nonatomic) IBOutlet UIImageView *scrollViewBackView;
/**
菜单列表
*/
@property (weak, nonatomic) IBOutlet UICollectionView *menuCollectionView;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *menuFlowLayout;
/**
功能列表
*/
@property (weak, nonatomic) IBOutlet UICollectionView *functionCollectionView;
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *functionFlowLayout;
@end