增加android埋点。review by 盖剑秋。
Showing
2 changed files
with
14 additions
and
3 deletions
@@ -142,7 +142,14 @@ export default class CategoryBList extends Component { | @@ -142,7 +142,14 @@ export default class CategoryBList extends Component { | ||
142 | } | 142 | } |
143 | case 'salesInfo': | 143 | case 'salesInfo': |
144 | { | 144 | { |
145 | - let params = {}; | 145 | + let params = { |
146 | + P_NAME: pageName, | ||
147 | + TAB_ID: tabID, | ||
148 | + TAB_NAME: tabName, | ||
149 | + F_ID: 1004, | ||
150 | + F_INDEX: 2, | ||
151 | + exposureEnd: 1 | ||
152 | + }; | ||
146 | return ( | 153 | return ( |
147 | <HotRecommendList | 154 | <HotRecommendList |
148 | yh_exposureData={params} | 155 | yh_exposureData={params} |
@@ -160,7 +167,7 @@ export default class CategoryBList extends Component { | @@ -160,7 +167,7 @@ export default class CategoryBList extends Component { | ||
160 | TAB_ID: tabID, | 167 | TAB_ID: tabID, |
161 | TAB_NAME: tabName, | 168 | TAB_NAME: tabName, |
162 | F_ID: 1002, | 169 | F_ID: 1002, |
163 | - F_INDEX: 2, | 170 | + F_INDEX: 3, |
164 | exposureEnd: 1 | 171 | exposureEnd: 1 |
165 | }; | 172 | }; |
166 | return ( | 173 | return ( |
@@ -180,7 +187,7 @@ export default class CategoryBList extends Component { | @@ -180,7 +187,7 @@ export default class CategoryBList extends Component { | ||
180 | TAB_ID: tabID, | 187 | TAB_ID: tabID, |
181 | TAB_NAME: tabName, | 188 | TAB_NAME: tabName, |
182 | F_ID: 1003, | 189 | F_ID: 1003, |
183 | - F_INDEX: 3, | 190 | + F_INDEX: 4, |
184 | exposureEnd: 1 | 191 | exposureEnd: 1 |
185 | }; | 192 | }; |
186 | return ( | 193 | return ( |
@@ -115,6 +115,8 @@ export default class Product extends Component { | @@ -115,6 +115,8 @@ export default class Product extends Component { | ||
115 | let {editedIndex} = globalProduct; | 115 | let {editedIndex} = globalProduct; |
116 | editedRow = editedIndex; | 116 | editedRow = editedIndex; |
117 | } | 117 | } |
118 | + let {yh_exposureData} = rowData.toJS(); | ||
119 | + | ||
118 | 120 | ||
119 | let buttons = editing?null: this.rightButtons(rowData, rowID); | 121 | let buttons = editing?null: this.rightButtons(rowData, rowID); |
120 | return ( | 122 | return ( |
@@ -129,6 +131,7 @@ export default class Product extends Component { | @@ -129,6 +131,7 @@ export default class Product extends Component { | ||
129 | <ProductCell | 131 | <ProductCell |
130 | key={'row' + rowID} | 132 | key={'row' + rowID} |
131 | data={rowData} | 133 | data={rowData} |
134 | + yh_exposureData={yh_exposureData} | ||
132 | onPressProduct={this.props.onPressProduct} | 135 | onPressProduct={this.props.onPressProduct} |
133 | onPressFindSimilar={this.props.onPressFindSimilar} | 136 | onPressFindSimilar={this.props.onPressFindSimilar} |
134 | editing={editing} | 137 | editing={editing} |
@@ -247,6 +250,7 @@ export default class Product extends Component { | @@ -247,6 +250,7 @@ export default class Product extends Component { | ||
247 | ref={(c) => { | 250 | ref={(c) => { |
248 | this.listView = c; | 251 | this.listView = c; |
249 | }} | 252 | }} |
253 | + yh_viewVisible = {true} | ||
250 | enableEmptySections={true} | 254 | enableEmptySections={true} |
251 | dataSource={this.dataSource.cloneWithRows(dataArray)} | 255 | dataSource={this.dataSource.cloneWithRows(dataArray)} |
252 | renderRow={this.renderRow} | 256 | renderRow={this.renderRow} |
-
Please register or login to post a comment