Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈林
8 years ago
Commit
6871ca5951d603f8b3938710726132eb3b41a09d
1 parent
3d3d8882
修复冲突。review by 盖剑秋。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
22 deletions
js/classify/containers/CategoryBContainer.js
js/classify/containers/CategoryBContainer.js
View file @
6871ca5
...
...
@@ -158,24 +158,6 @@ class CategoryBContainer extends Component {
}
}
_onPressHotRecommendItem
(
url
,
index
=
0
)
{
if
(
url
&&
url
.
length
)
{
ReactNative
.
NativeModules
.
YH_CommonHelper
.
jumpWithUrl
(
url
);
//埋点
let
{
currentChannelId
,
currentCateId
}
=
this
.
props
.
categoryB
;
let
params
=
{
TAB_ID
:
currentChannelId
+
''
,
F_ID
:
"1004"
,
F_NAME
:
"热门推荐"
,
F_INDEX
:
"2"
,
L1_CATE
:
currentCateId
+
''
,
I_INDEX
:
parseInt
(
index
)
+
1
+
''
,
};
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_CATEGORY_CAT_FLR_C'
,
params
);
}
}
_onPressCategoryBMore
()
{
let
{
currentChannelId
,
currentCateId
}
=
this
.
props
.
categoryB
;
this
.
props
.
actions
.
pressCategoryBMore
(
currentCateId
);
...
...
@@ -193,9 +175,7 @@ class CategoryBContainer extends Component {
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_CATEGORY_CAT_FLR_C'
,
params
);
}
<<<<<<<
HEAD
=======
_onPressHotRecommendItem
(
url
,
index
=
0
,
subcategoryId
)
{
if
(
url
&&
url
.
length
)
{
ReactNative
.
NativeModules
.
YH_CommonHelper
.
jumpWithUrl
(
url
);
...
...
@@ -209,14 +189,13 @@ class CategoryBContainer extends Component {
TAB_ID
:
currentChannelId
+
''
,
F_ID
:
"1004"
,
F_NAME
:
"热门推荐"
,
F_INDEX
:
"
4
"
,
F_INDEX
:
"
2
"
,
L1_CATE
:
currentCateId
+
''
,
L2_CATE
:
subcategoryId
+
''
,
I_INDEX
:
parseInt
(
index
)
+
1
+
''
,
};
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_CATEGORY_CAT_FLR_C'
,
params
);
}
>>>>>>>
Part
of
log
event
.
reviewed
by
陈老板
.
_onPressHotCategoryItem
(
value
,
index
)
{
let
{
currentChannelId
,
currentCateId
,
currentCateValue
}
=
this
.
props
.
categoryB
;
...
...
Please
register
or
login
to post a comment