Authored by huangyCode

砍价列表上报事件

... ... @@ -120,6 +120,7 @@ _renderRow(rowData, sectionID, rowID) {
ref={(c) => {
this.listView = c;
}}
yh_viewVisible={true}
enableEmptySections={true}
enablePullToRefresh={true}
contentContainerStyle={styles.contentContainer}
... ...
... ... @@ -124,7 +124,7 @@ export default class productCell extends Component {
let prdImage = YH_Image.getSlicedUrl(data && data.get('defaultImages', ''), 98, 98, 2);
let productType = data.get('productType');
return (
<View yh_exposureData={data.yh_exposureData}>
<View yh_exposureData={data.get('yh_exposureData')}>
<View style={styles.fatherContainer}>
{data.get('cutStatus') ? this._topTimerView(data) : null}
<TouchableOpacity
... ...
... ... @@ -155,7 +155,8 @@ export function getHaggleProductList() {
dispatch(productListRequest());
return new haggleService(app.host).fetchHaggleProductList(page, pageSize)
.then(json => {
let payload = json;
let payload = exposeProductListData(json)
payload.endReached = (payload.page === payload.page_total) && (payload.page_total !== 1);
if (payload.page > 1) {
let oldList = list.list.toJS();
... ... @@ -244,6 +245,7 @@ function exposeProductListData(json) {
P_PARAM:item.activityId,
I_INDEX: inFloorIndex,
PRD_SKN: item.productSkn,
exposureEnd: 1
};
}
res.list = list;
... ...