Authored by chenl

修复了埋点问题。review by days。

... ... @@ -57,7 +57,7 @@ export default class HotBrandList extends Component{
let brandName = rowData.get("brand_name");
return (
<TouchableOpacity onPress={() => this.props.onPressHotBrandItem && this.props.onPressHotBrandItem(rowData.toJS())}>
<TouchableOpacity onPress={() => this.props.onPressHotBrandItem && this.props.onPressHotBrandItem(rowData.toJS(), rowID)}>
<View style={styles.rowContainer}>
<View style={styles.rowImageContainer}><Image style={styles.rowThumbnail} source={{uri: imageUrl}}/></View>
<Text style={styles.rowText} numberOfLines={1}>{brandName}</Text>
... ...
... ... @@ -140,7 +140,7 @@ class CategoryBContainer extends Component {
F_INDEX: "2",
L1_CATE: currentCateId + '',
L2_CATE: subcategoryId + '',
I_INDEX: index + 1 + '',
I_INDEX: parseInt(index) + 1 + '',
PRD_SKN: value.product_skn + '',
};
NativeModules.YH_CommonHelper.logEvent('YB_CATEGORY_CAT_FLR_C', params);
... ... @@ -157,7 +157,7 @@ class CategoryBContainer extends Component {
F_NAME: "热门品牌",
F_INDEX: "3",
L1_CATE: currentCateId + '',
I_INDEX: index + 1 + '',
I_INDEX: parseInt(index) + 1 + '',
BRAND_ID: data.id + '',
};
NativeModules.YH_CommonHelper.logEvent('YB_CATEGORY_CAT_FLR_C', params);
... ...
... ... @@ -71,11 +71,11 @@ class MessageListContainer extends Component {
let {listId, categoryName} = this.props.list;
let index = parseInt(rowID) + 1;
let param = {
C_ID: channel,
CATE_ID: listId,
CATE_NAME: categoryName,
MESS_ID: id,
MESS_INDEX: index,
C_ID: channel + "",
CATE_ID: listId + "",
CATE_NAME: categoryName + "",
MESS_ID: id + "",
MESS_INDEX: index + "",
}
NativeModules.YH_CommonHelper.jumpWithUrl(url);
... ... @@ -88,9 +88,9 @@ class MessageListContainer extends Component {
let {listId, categoryName} = this.props.list;
let param = {
C_ID: channel,
CATE_ID: listId,
CATE_NAME: categoryName,
C_ID: channel + "",
CATE_ID: listId + "",
CATE_NAME: categoryName + "",
}
NativeModules.YH_CommonHelper.logEvent('YB_MESS_LOOK_AROUND_C', param);
}
... ...