Authored by 陈林

增加android埋点。review by 盖剑秋。

... ... @@ -142,7 +142,14 @@ export default class CategoryBList extends Component {
}
case 'salesInfo':
{
let params = {};
let params = {
P_NAME: pageName,
TAB_ID: tabID,
TAB_NAME: tabName,
F_ID: 1004,
F_INDEX: 2,
exposureEnd: 1
};
return (
<HotRecommendList
yh_exposureData={params}
... ... @@ -160,7 +167,7 @@ export default class CategoryBList extends Component {
TAB_ID: tabID,
TAB_NAME: tabName,
F_ID: 1002,
F_INDEX: 2,
F_INDEX: 3,
exposureEnd: 1
};
return (
... ... @@ -180,7 +187,7 @@ export default class CategoryBList extends Component {
TAB_ID: tabID,
TAB_NAME: tabName,
F_ID: 1003,
F_INDEX: 3,
F_INDEX: 4,
exposureEnd: 1
};
return (
... ...
... ... @@ -115,6 +115,8 @@ export default class Product extends Component {
let {editedIndex} = globalProduct;
editedRow = editedIndex;
}
let {yh_exposureData} = rowData.toJS();
let buttons = editing?null: this.rightButtons(rowData, rowID);
return (
... ... @@ -129,6 +131,7 @@ export default class Product extends Component {
<ProductCell
key={'row' + rowID}
data={rowData}
yh_exposureData={yh_exposureData}
onPressProduct={this.props.onPressProduct}
onPressFindSimilar={this.props.onPressFindSimilar}
editing={editing}
... ... @@ -247,6 +250,7 @@ export default class Product extends Component {
ref={(c) => {
this.listView = c;
}}
yh_viewVisible = {true}
enableEmptySections={true}
dataSource={this.dataSource.cloneWithRows(dataArray)}
renderRow={this.renderRow}
... ...