...
|
...
|
@@ -71,7 +71,7 @@ export default class productCell extends Component { |
|
|
let cutSuccessNum = data.get('cutSuccessNum') || 0
|
|
|
return <View style={[styles.priceFatherContainer,{bottom:!categoryType && cutSuccessNum ? -2 : 6 }]}>
|
|
|
<Text style={[styles.priceText, textStyle]}>{text}</Text>
|
|
|
{!categoryType && cutSuccessNum? <Text style={styles.hasCut}>已砍{cutSuccessNum}件</Text> : null}
|
|
|
{!categoryType && cutSuccessNum? <Text style={styles.hasCut}>已抢{cutSuccessNum}件</Text> : null}
|
|
|
</View>
|
|
|
}
|
|
|
|
...
|
...
|
@@ -109,8 +109,8 @@ export default class productCell extends Component { |
|
|
return (
|
|
|
<View style={styles.actionContainer}>
|
|
|
<View style={styles.cutActionContainer}>
|
|
|
<Image source={require('../../images/cutPriceBg.png')} style={styles.cutPriceBg}></Image>
|
|
|
<Text style={styles.cutPrice}>-¥{data.get('cutTotalPrice')}</Text>
|
|
|
<Text style={styles.cutText}>砍</Text>
|
|
|
<Text style={styles.cutPrice}>¥{data.get('cutTotalPrice')}</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
)
|
...
|
...
|
@@ -224,6 +224,10 @@ let styles = StyleSheet.create({ |
|
|
width: 91,
|
|
|
height: 33,
|
|
|
justifyContent: 'center',
|
|
|
backgroundColor:'#222222',
|
|
|
alignItems:'center',
|
|
|
borderRadius: 3,
|
|
|
flexDirection: 'row'
|
|
|
},
|
|
|
cutPriceBg: {
|
|
|
width: 91,
|
...
|
...
|
@@ -233,8 +237,13 @@ let styles = StyleSheet.create({ |
|
|
fontSize: 14,
|
|
|
fontFamily: 'PingFang-SC-Medium',
|
|
|
color: 'white',
|
|
|
right: 10,
|
|
|
position: 'absolute',
|
|
|
fontWeight: 'bold',
|
|
|
},
|
|
|
cutText:{
|
|
|
fontSize: 16,
|
|
|
fontFamily: 'PingFang-SC-Medium',
|
|
|
color: 'white',
|
|
|
fontWeight: 'bold',
|
|
|
},
|
|
|
|
|
|
continueCutContainer: {
|
...
|
...
|
@@ -290,6 +299,7 @@ let styles = StyleSheet.create({ |
|
|
},
|
|
|
hasCut:{
|
|
|
fontSize:12,
|
|
|
marginTop:4
|
|
|
marginTop:4,
|
|
|
color: '#B0B0B0'
|
|
|
}
|
|
|
}); |
...
|
...
|
|