@@ -115,6 +115,8 @@ - (void)viewDidLoad
115
115
_myFliterMenu = [[PopFliterMenu alloc ] initWithFrame: CGRectMake (0 , 64 , kScreen_Width , kScreen_Height -64 ) items: nil ];
116
116
__weak typeof (self) weakSelf = self;
117
117
_myFliterMenu.clickBlock = ^(NSInteger pageIndex){
118
+ [weakSelf mobClickFliterMenuIndex: pageIndex];
119
+
118
120
if (pageIndex==1000 ) {
119
121
[weakSelf goToProjectSquareVC ];
120
122
}else
@@ -146,7 +148,7 @@ - (void)viewDidLoad
146
148
@weakify (self);
147
149
_myPopMenu.didSelectedItemCompletion = ^(MenuItem *selectedItem){
148
150
[weakSelf.myPopMenu.realTimeBlurFooter disMiss ];
149
- [MobClick event: kUmeng_Event_Request_ActionOfLocal label: [NSString stringWithFormat: @" 快捷创建_ %@ " , selectedItem.title]];
151
+ [MobClick event: kUmeng_Event_Request_ActionOfLocal label: [NSString stringWithFormat: @" 首页_添加_ %@ " , selectedItem.title]];
150
152
@strongify (self);
151
153
// 改下显示style
152
154
[self .rightNavBtn setStyle: kFRDLivelyButtonStylePlus animated: YES ];
@@ -181,6 +183,20 @@ - (void)viewDidLoad
181
183
182
184
[[StartImagesManager shareManager ] handleStartLink ];// 如果 start_image 有对应的 link 的话,需要进入到相应的 web 页面
183
185
}
186
+
187
+ - (void )mobClickFliterMenuIndex : (NSInteger )index {
188
+ static NSArray *menuList;
189
+ if (!menuList) {
190
+ menuList = @[@" 全部项目" ,
191
+ @" 我创建的" ,
192
+ @" 我参与的" ,
193
+ @" 我关注的" ,
194
+ @" 我收藏的" ,
195
+ @" 项目广场" ];
196
+ }
197
+ [MobClick event: kUmeng_Event_Request_ActionOfLocal label: [NSString stringWithFormat: @" 首页_筛选_%@ " , menuList.count > index ? menuList[index ]: menuList.lastObject]];
198
+ }
199
+
184
200
- (void )viewWillAppear : (BOOL )animated {
185
201
[super viewWillAppear: animated];
186
202
[self .navigationController.navigationBar addSubview: _mySearchBar];
@@ -578,6 +594,7 @@ - (void)updateFilteredContentForSearchString:(NSString *)searchString{
578
594
}
579
595
#pragma mark scan QR-Code
580
596
- (void )scanBtnClicked {
597
+ [MobClick event: kUmeng_Event_Request_ActionOfLocal label: @" 首页_扫描二维码" ];
581
598
ZXScanCodeViewController *vc = [ZXScanCodeViewController new ];
582
599
__weak typeof (self) weakSelf = self;
583
600
vc.scanResultBlock = ^(ZXScanCodeViewController *vc, NSString *resultStr){
0 commit comments