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
2a468889e50f85e7aa2cee019334f0af1b7037ed
1 parent
7ca6dc31
进店店铺埋点,review by 孙凯
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
js/brandStore/containers/BrandStoreContainer.js
js/brandStore/containers/BrandStoreContainer.js
View file @
2a46888
...
...
@@ -162,8 +162,6 @@ class BrandStoreContainer extends Component {
TEMPLATE_TYPE
:
this
.
props
.
brandStore
.
info
.
shop_template_type
,
IS_RED
:
0
,
}
console
.
log
(
'------各楼层'
);
console
.
log
(
param
);
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_HOME_FLR_C'
,
param
);
}
...
...
@@ -204,15 +202,18 @@ class BrandStoreContainer extends Component {
let
productId
=
product
&&
product
.
get
(
'product_id'
,
0
);
let
order
=
orderWithString
(
this
.
props
.
brandStore
.
productList
.
order
);
let
param
=
{
TYPE_ID
:
6
,
ENT_ID
:
this
.
props
.
brandStore
.
shopId
,
I_INDEX
:
rowId
+
1
,
PRD_ID
:
productId
,
SHOP_ID
:
this
.
props
.
brandStore
.
shopId
,
TAB_ID
:
0
,
TAB_NAME
:
'首页'
,
SORT_TYPE
:
order
,
REC_ID
:
this
.
props
.
brandStore
.
productList
.
recId
,
PRD_ID
:
productSkn
,
IS_RED
:
0
,
TEMPLATE_TYPE
:
this
.
props
.
brandStore
.
info
.
shop_template_type
,
FILTER_VALUE
:
this
.
props
.
brandStore
.
filterNameFactors
.
toJS
(),
}
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_GOODS_LIST_DT'
,
param
);
console
.
log
(
'------点击品牌店铺页中全部TAB中的商品列表时---111---'
);
console
.
log
(
param
);
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_GOODS_LIST_C'
,
param
);
}
...
...
@@ -221,26 +222,31 @@ class BrandStoreContainer extends Component {
if
(
!
productSkn
)
{
return
;
}
let
url
=
`
http
:
//m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${productSkn}"}}`;
ReactNative
.
NativeModules
.
YH_CommonHelper
.
jumpWithUrl
(
url
);
if
(
this
.
props
.
brandStore
.
storeFilter
==
1
)
{
let
param
=
{
SHOP_ID
:
this
.
props
.
brandStore
.
shopId
,
BRAND_ID
:
this
.
props
.
brandStore
.
resource
.
brandBrowse
.
brandId
,
TAB_ID
:
1
,
TAB_NAME
:
'上新'
,
PRD_ID
:
productSkn
,
IS_RED
:
0
,
TEMPLATE_TYPE
:
this
.
props
.
brandStore
.
info
.
shop_template_type
,
}
console
.
log
(
'------点击品牌店铺页中全部TAB中的商品列表时---111---'
);
console
.
log
(
param
);
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_GOODS_LIST_C'
,
param
);
}
else
if
(
this
.
props
.
brandStore
.
storeFilter
==
2
)
{
let
param
=
{
SHOP_ID
:
this
.
props
.
brandStore
.
shopId
,
BRAND_ID
:
this
.
props
.
brandStore
.
resource
.
brandBrowse
.
brandId
,
TAB_ID
:
2
,
TAB_NAME
:
'人气'
,
PRD_ID
:
productSkn
,
IS_RED
:
0
,
TEMPLATE_TYPE
:
this
.
props
.
brandStore
.
info
.
shop_template_type
,
}
console
.
log
(
'------点击品牌店铺页中全部TAB中的商品列表时---111---'
);
console
.
log
(
param
);
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_GOODS_LIST_C'
,
param
);
}
}
...
...
Please
register
or
login
to post a comment