...
|
...
|
@@ -84,12 +84,12 @@ export default class productCell extends Component { |
|
|
}
|
|
|
|
|
|
_cutActionView(data) {
|
|
|
return (
|
|
|
<View >
|
|
|
{data.get('cutStatus') ?
|
|
|
<View style={styles.continueCutContainer}>
|
|
|
<Text style={styles.continueCut}>继续砍价</Text>
|
|
|
</View>
|
|
|
return (
|
|
|
<View style={styles.actionContainer}>
|
|
|
{data.get('cutStatus') ?
|
|
|
<View style={styles.continueCutContainer}>
|
|
|
<Text style={styles.continueCut}>继续砍价</Text>
|
|
|
</View>
|
|
|
|
|
|
:
|
|
|
<View style={styles.cutActionContainer}>
|
...
|
...
|
@@ -141,11 +141,11 @@ let styles = StyleSheet.create({ |
|
|
},
|
|
|
container: {
|
|
|
flexDirection: 'row',
|
|
|
width: width,
|
|
|
width: width - 30,
|
|
|
},
|
|
|
|
|
|
rightContainer: {
|
|
|
justifyContent:'space-between',
|
|
|
justifyContent: 'space-between',
|
|
|
},
|
|
|
prdImage: {
|
|
|
marginTop: 5,
|
...
|
...
|
@@ -191,11 +191,8 @@ let styles = StyleSheet.create({ |
|
|
},
|
|
|
|
|
|
cutActionContainer: {
|
|
|
position: 'absolute',
|
|
|
width: 91,
|
|
|
height: 33,
|
|
|
right: 2,
|
|
|
bottom: 0,
|
|
|
justifyContent: 'center',
|
|
|
},
|
|
|
cutPriceBg: {
|
...
|
...
|
@@ -212,11 +209,8 @@ let styles = StyleSheet.create({ |
|
|
},
|
|
|
|
|
|
continueCutContainer: {
|
|
|
position: 'absolute',
|
|
|
width: 91,
|
|
|
height: 33,
|
|
|
right: 2,
|
|
|
bottom: 0,
|
|
|
borderRadius: 3,
|
|
|
backgroundColor: '#D0021B',
|
|
|
justifyContent: 'center',
|
...
|
...
|
@@ -271,5 +265,12 @@ let styles = StyleSheet.create({ |
|
|
fontFamily: 'PingFang-SC-Medium',
|
|
|
color: '#b0b0b0',
|
|
|
},
|
|
|
actionContainer: {
|
|
|
position: 'absolute',
|
|
|
right: 0,
|
|
|
width: 91,
|
|
|
height: 33,
|
|
|
bottom: 0,
|
|
|
}
|
|
|
|
|
|
}); |
...
|
...
|
|