...
|
...
|
@@ -49,7 +49,7 @@ export default class SeckillTimeListView extends Component { |
|
|
});
|
|
|
// if (curFocusIndex > 1 && curFocusIndex < listLength-2) {
|
|
|
scrollX = (curFocusIndex - 1) * rowContainerWidth;
|
|
|
this.listView && this.listView.scrollTo({x: scrollX, y: 0, animated: false});
|
|
|
this.listView && this.listView.scrollTo({x: scrollX, y: 0, animated: true});
|
|
|
|
|
|
// }
|
|
|
}
|
...
|
...
|
@@ -215,6 +215,7 @@ export default class SeckillTimeListView extends Component { |
|
|
dataSource={this.dataSource.cloneWithRows(resource)}
|
|
|
renderSeparator={this._renderSeparator}
|
|
|
renderRow={this._renderRow}
|
|
|
showsHorizontalScrollIndicator={false}
|
|
|
scrollEnabled={true}
|
|
|
horizontal={true}
|
|
|
scrollsToTop={false}
|
...
|
...
|
|