...
|
...
|
@@ -81,7 +81,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>
|
...
|
...
|
@@ -91,7 +91,7 @@ export default class OrderIncome extends Component { |
|
|
}}>
|
|
|
<View style={styles.headerContainer}>
|
|
|
<View style={[styles.subHeaderContainer , this.state.orderStatus === 2 ? {backgroundColor: '#444444'} : null]}>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 2 ? {color: 'white'} : null]}>待结算</Text>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 2 ? {color: 'white'} : null]}>提现中</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -101,7 +101,7 @@ export default class OrderIncome extends Component { |
|
|
}}>
|
|
|
<View style={styles.headerContainer}>
|
|
|
<View style={[styles.subHeaderContainer, this.state.orderStatus === 3 ? {backgroundColor: '#444444'} : null]}>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 3 ? {color: 'white'} : null]}>结算中</Text>
|
|
|
<Text style={[styles.subHeaderText, this.state.orderStatus === 3 ? {color: 'white'} : null]}>提现成功</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -113,7 +113,7 @@ export default class OrderIncome extends Component { |
|
|
}
|
|
|
|
|
|
_renderRow(rowData, sectionID, rowID) {
|
|
|
|
|
|
let status = rowData.get('status') === '10' ? '待确认' : '';
|
|
|
return (
|
|
|
<View>
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() => {
|
...
|
...
|
@@ -127,7 +127,10 @@ export default class OrderIncome extends Component { |
|
|
{rowData.get('isNew') === 1 ? <Text style={styles.statusText}>新客订单</Text> : null}
|
|
|
</View>
|
|
|
</View>
|
|
|
<Text style={styles.priceText}>{rowData.get('amountStr')}</Text>
|
|
|
<View>
|
|
|
<Text style={styles.priceText}>{rowData.get('amountStr')}</Text>
|
|
|
<Text style={[styles.timeText, {fontSize:12, textAlign:'right'}]}>{status}</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
<View style={styles.lineView}/>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -225,7 +228,7 @@ let styles = StyleSheet.create({ |
|
|
},
|
|
|
underLine: {
|
|
|
width: 56,
|
|
|
height: 1,
|
|
|
height: 2,
|
|
|
backgroundColor: '#444444',
|
|
|
},
|
|
|
lineView: {
|
...
|
...
|
|