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