...
|
...
|
@@ -180,19 +180,17 @@ export default class Seckill extends Component { |
|
|
progressBackgroundColor="#ffffff"
|
|
|
/>
|
|
|
}
|
|
|
contentContainerStyle={styles.contentContainer}
|
|
|
contentContainerStyle={styles.contentContainer}
|
|
|
enableEmptySections={true}
|
|
|
dataSource={this.dataSource.cloneWithRows(dataSource)}
|
|
|
dataSource={this.dataSource.cloneWithRowsAndSections(dataSource)}
|
|
|
renderRow={this.renderRow}
|
|
|
enablePullToRefresh={true}
|
|
|
isOnPullToRefresh={isFetching}
|
|
|
isOnPullToRefresh={isPullToRefresh}
|
|
|
onRefreshData={() => {
|
|
|
//强制刷新数据
|
|
|
if (isFetching) {
|
|
|
return;
|
|
|
}
|
|
|
this.props.onRefresh && this.props.onRefresh();
|
|
|
}}
|
|
|
renderSectionHeader={this.renderSectionHeader}
|
|
|
renderFooter={()=>{
|
|
|
return <View style={styles.descriptionContainer}>
|
|
|
<Text style={styles.descriptionText}>秒杀活动说明</Text>
|
...
|
...
|
|