ui bug review by daiqiang
Showing
1 changed file
with
10 additions
and
4 deletions
@@ -246,12 +246,14 @@ export default class Product extends Component { | @@ -246,12 +246,14 @@ export default class Product extends Component { | ||
246 | this.rowMap = rowMap; | 246 | this.rowMap = rowMap; |
247 | return( | 247 | return( |
248 | <View style={styles.rowBack}> | 248 | <View style={styles.rowBack}> |
249 | - <Text></Text> | ||
250 | - <Text> | ||
251 | - <TouchableOpacity activeOpacity={1} style={styles.tailContainer} onPress={_ => this.deleteRow(data,rowMap)}> | 249 | + <View></View> |
250 | + | ||
251 | + <TouchableOpacity activeOpacity={1} style={styles.tailContainerSub} onPress={_ => this.deleteRow(data,rowMap)}> | ||
252 | + <View style={styles.tailContainer}> | ||
252 | <Text style={styles.tailText}>删除</Text> | 253 | <Text style={styles.tailText}>删除</Text> |
254 | + </View> | ||
253 | </TouchableOpacity> | 255 | </TouchableOpacity> |
254 | - </Text> | 256 | + |
255 | </View> | 257 | </View> |
256 | )}} | 258 | )}} |
257 | rightOpenValue={-70} | 259 | rightOpenValue={-70} |
@@ -290,6 +292,10 @@ let styles = StyleSheet.create({ | @@ -290,6 +292,10 @@ let styles = StyleSheet.create({ | ||
290 | justifyContent: 'center', | 292 | justifyContent: 'center', |
291 | backgroundColor: 'red' | 293 | backgroundColor: 'red' |
292 | }, | 294 | }, |
295 | + tailContainerSub: { | ||
296 | + width: 70, | ||
297 | + height: 130, | ||
298 | + }, | ||
293 | tailText: { | 299 | tailText: { |
294 | color: 'white', | 300 | color: 'white', |
295 | fontSize: 17, | 301 | fontSize: 17, |
-
Please register or login to post a comment