Showing
2 changed files
with
1 additions
and
11 deletions
| @@ -215,6 +215,7 @@ export default class Details extends Component { | @@ -215,6 +215,7 @@ export default class Details extends Component { | ||
| 215 | that.setState({ | 215 | that.setState({ |
| 216 | content: "" | 216 | content: "" |
| 217 | }); | 217 | }); |
| 218 | + Keyboard.dismiss(); | ||
| 218 | } | 219 | } |
| 219 | }) | 220 | }) |
| 220 | .catch(err => console.error(err)); | 221 | .catch(err => console.error(err)); |
| @@ -380,7 +381,6 @@ const styles = StyleSheet.create({ | @@ -380,7 +381,6 @@ const styles = StyleSheet.create({ | ||
| 380 | }, | 381 | }, |
| 381 | contentContainerStyle: {}, | 382 | contentContainerStyle: {}, |
| 382 | sendMsgContaier: { | 383 | sendMsgContaier: { |
| 383 | - // flex: 1, | ||
| 384 | width: Dimensions.get("window").width, | 384 | width: Dimensions.get("window").width, |
| 385 | flexDirection: "row", | 385 | flexDirection: "row", |
| 386 | justifyContent: "center", | 386 | justifyContent: "center", |
| @@ -392,8 +392,6 @@ const styles = StyleSheet.create({ | @@ -392,8 +392,6 @@ const styles = StyleSheet.create({ | ||
| 392 | borderColor: "#E8E8E8", | 392 | borderColor: "#E8E8E8", |
| 393 | borderTopWidth: 1, | 393 | borderTopWidth: 1, |
| 394 | backgroundColor: "#E6E6E6" | 394 | backgroundColor: "#E6E6E6" |
| 395 | - // position: "absolute", | ||
| 396 | - // bottom: 0, | ||
| 397 | }, | 395 | }, |
| 398 | msgInput: { | 396 | msgInput: { |
| 399 | flex: 1, | 397 | flex: 1, |
| @@ -177,10 +177,6 @@ export default class Mine extends Component { | @@ -177,10 +177,6 @@ export default class Mine extends Component { | ||
| 177 | }} | 177 | }} |
| 178 | > | 178 | > |
| 179 | <View style={styles.itemLeft}> | 179 | <View style={styles.itemLeft}> |
| 180 | - {/* <Image | ||
| 181 | - style={styles.leftIcon} | ||
| 182 | - source={require("../../assets/tabbar/ic_circle_s.png")} | ||
| 183 | - /> */} | ||
| 184 | <Text style={styles.leftTitle}>设置昵称</Text> | 180 | <Text style={styles.leftTitle}>设置昵称</Text> |
| 185 | </View> | 181 | </View> |
| 186 | <View style={styles.itemRight}> | 182 | <View style={styles.itemRight}> |
| @@ -207,10 +203,6 @@ export default class Mine extends Component { | @@ -207,10 +203,6 @@ export default class Mine extends Component { | ||
| 207 | }} | 203 | }} |
| 208 | > | 204 | > |
| 209 | <View style={styles.itemLeft}> | 205 | <View style={styles.itemLeft}> |
| 210 | - {/* <Image | ||
| 211 | - style={styles.leftIcon} | ||
| 212 | - source={require("../../assets/tabbar/ic_circle_s.png")} | ||
| 213 | - /> */} | ||
| 214 | <Text style={styles.leftTitle}>设置职业</Text> | 206 | <Text style={styles.leftTitle}>设置职业</Text> |
| 215 | </View> | 207 | </View> |
| 216 | <View style={styles.itemRight}> | 208 | <View style={styles.itemRight}> |
-
Please register or login to post a comment