...
|
...
|
@@ -79,7 +79,7 @@ export default class OrderIncome extends Component { |
|
|
}}>
|
|
|
<View style={styles.headerContainer}>
|
|
|
<View style={[styles.subHeaderContainer, this.state.orderStatus === 1 ? {backgroundColor: '#444444'} : null]}>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 1 ? {color: 'white'} : null]}>待确认</Text>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 1 ? {color: 'white'} : null]}>待结算</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -121,7 +121,7 @@ export default class OrderIncome extends Component { |
|
|
}
|
|
|
|
|
|
_renderRow(rowData, sectionID, rowID) {
|
|
|
let status = rowData.get('status') === '10' ? '待确认' : '';
|
|
|
let status = rowData.get('status') === '10' ? '待结算' : '';
|
|
|
return (
|
|
|
<View>
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() => {
|
...
|
...
|
|