...
|
...
|
@@ -246,12 +246,14 @@ export default class Product extends Component { |
|
|
this.rowMap = rowMap;
|
|
|
return(
|
|
|
<View style={styles.rowBack}>
|
|
|
<Text></Text>
|
|
|
<Text>
|
|
|
<TouchableOpacity activeOpacity={1} style={styles.tailContainer} onPress={_ => this.deleteRow(data,rowMap)}>
|
|
|
<View></View>
|
|
|
|
|
|
<TouchableOpacity activeOpacity={1} style={styles.tailContainerSub} onPress={_ => this.deleteRow(data,rowMap)}>
|
|
|
<View style={styles.tailContainer}>
|
|
|
<Text style={styles.tailText}>删除</Text>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
|
|
</Text>
|
|
|
|
|
|
</View>
|
|
|
)}}
|
|
|
rightOpenValue={-70}
|
...
|
...
|
@@ -290,6 +292,10 @@ let styles = StyleSheet.create({ |
|
|
justifyContent: 'center',
|
|
|
backgroundColor: 'red'
|
|
|
},
|
|
|
tailContainerSub: {
|
|
|
width: 70,
|
|
|
height: 130,
|
|
|
},
|
|
|
tailText: {
|
|
|
color: 'white',
|
|
|
fontSize: 17,
|
...
|
...
|
|