Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
APP
VirtualCard-iOS
Commits
82fbcfc5
Commit
82fbcfc5
authored
May 27, 2020
by
IOS-张 博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增智能搜索埋点
parent
a9a78f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
QGPasteAlertView.m
...ses/PreferentialMall/Common/CommonView/QGPasteAlertView.m
+16
-0
No files found.
VirtualPayment/VirtualPayment/QGClasses/PreferentialMall/Common/CommonView/QGPasteAlertView.m
View file @
82fbcfc5
...
...
@@ -8,6 +8,15 @@
#import "QGPasteAlertView.h"
#import "QGBasicUITool.h"
#import "QGAppCoreModelClickEvent.h"
#import "QGAnalyticsService.h"
@interface
QGPasteAlertView
()
/// 复制的信息
@property
(
nonatomic
,
strong
)
NSString
*
pasteStr
;
@end
@implementation
QGPasteAlertView
...
...
@@ -19,6 +28,8 @@
self
.
popType
=
PopViewTypeAlert
;
self
.
contentView
.
backgroundColor
=
[
UIColor
clearColor
];
self
.
pasteStr
=
pasteStr
;
//底部背景
UIView
*
contentView
=
[
UIView
creatViewWithSuperView
:
self
.
contentView
backgroundColor
:[
UIColor
whiteColor
]];
contentView
.
layer
.
cornerRadius
=
6
;
...
...
@@ -100,6 +111,11 @@
-
(
void
)
searchButtonClick
{
//神策埋点
QGAppCoreModelClickEvent
*
clickEvent
=
[
QGAppCoreModelClickEvent
acmcEventWithPage
:
@"智能搜索"
path
:
@"智能搜索"
name
:
@"搜索"
detail_name
:
nil
acmc_model_other
:
self
.
pasteStr
];
[
QGAnalyticsService
analyticsTrackWithEvent
:
clickEvent
];
if
(
self
.
searchBlock
)
{
self
.
searchBlock
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment