Authored by lixia.zhang

lost focus

@@ -140,7 +140,10 @@ export default class UserLogoutReason extends Component { @@ -140,7 +140,10 @@ export default class UserLogoutReason extends Component {
140 <View style={styles.modalContainer}> 140 <View style={styles.modalContainer}>
141 <TouchableOpacity 141 <TouchableOpacity
142 activeOpacity={1.0} 142 activeOpacity={1.0}
143 - style={{width:width,height:height, flex: 1, justifyContent: 'center',alignItems: 'center'}}> 143 + style={{width:width,height:height, flex: 1, justifyContent: 'center',alignItems: 'center'}}
  144 + onPress={() => {
  145 + this.refs.codeInput.blur();
  146 + }}>
144 <View style={styles.modalView}> 147 <View style={styles.modalView}>
145 <View style={{marginTop:15,marginBottom:10}}> 148 <View style={{marginTop:15,marginBottom:10}}>
146 <Text style={styles.modalTitle}>请输入短信验证码</Text> 149 <Text style={styles.modalTitle}>请输入短信验证码</Text>
@@ -154,6 +157,7 @@ export default class UserLogoutReason extends Component { @@ -154,6 +157,7 @@ export default class UserLogoutReason extends Component {
154 157
155 <View style={[styles.modalTextInputContainer,{flexDirection:'row', marginTop: 20,justifyContent:'space-between'}]}> 158 <View style={[styles.modalTextInputContainer,{flexDirection:'row', marginTop: 20,justifyContent:'space-between'}]}>
156 <TextInput 159 <TextInput
  160 + ref="codeInput"
157 style={[styles.modalTextInput,{width:151}]} 161 style={[styles.modalTextInput,{width:151}]}
158 placeholder="请输入手机验证码" 162 placeholder="请输入手机验证码"
159 placeholderTextColor='#b0b0b0' 163 placeholderTextColor='#b0b0b0'