...
|
...
|
@@ -146,12 +146,13 @@ export default class OutletPageListView extends Component { |
|
|
|
|
|
let {
|
|
|
resource,
|
|
|
tabLabel,
|
|
|
} = this.props;
|
|
|
|
|
|
if (!resource) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
let title = tabLabel;
|
|
|
let isFetching = resource.get('isFetching')?resource.get('isFetching'):false;
|
|
|
let honeResource = resource.get('honeResource');
|
|
|
let activityList = resource.get('activityList')?resource.get('activityList').toArray():null;
|
...
|
...
|
@@ -174,6 +175,18 @@ export default class OutletPageListView extends Component { |
|
|
categoryNavigationList: productList?productList.toArray():[],
|
|
|
};
|
|
|
|
|
|
if (title == '即将结束' && activityListNum == 0) {
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
</View>
|
|
|
);
|
|
|
}else if (title == '即将开始' && activityListNum == 0) {
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
</View>
|
|
|
);
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
<ListView
|
...
|
...
|
|