...
|
...
|
@@ -39,8 +39,7 @@ export default class CouponsBagListCell extends React.Component { |
|
|
<Text style={styles.desc}>{data.get('desc')}</Text>
|
|
|
</View>
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() => {
|
|
|
this.props.onPressGiftBag && this.props.onPressGiftBag(data.get('id'));
|
|
|
// data.get('status') === 0 && data.get('notExpired') && this.props.onPressGiftBag && this.props.onPressGiftBag(data.get('id'));
|
|
|
data.get('status') === 0 && data.get('notExpired') && this.props.onPressGiftBag && this.props.onPressGiftBag(data.get('id'));
|
|
|
}}>
|
|
|
<View style={[styles.buttonBg, bgStyle]}>
|
|
|
<Text style={[styles.textStyle, textStyle]}>{text}</Text>
|
...
|
...
|
|