...
|
...
|
@@ -55,6 +55,7 @@ export default class Login extends Component { |
|
|
onPress={this.props.onDeleteUserPress}>
|
|
|
<Image
|
|
|
style={styles.buttonDelete}
|
|
|
resizeMode={Image.resizeMode.contain}
|
|
|
source={require('../images/delete.png')}
|
|
|
/>
|
|
|
</TouchableOpacity>
|
...
|
...
|
@@ -70,7 +71,6 @@ export default class Login extends Component { |
|
|
placeholder={'密码'}
|
|
|
underlineColorAndroid='transparent'
|
|
|
onChangeText={this.props.onPwdChange}
|
|
|
value={this.props.pwd}
|
|
|
selectionColor={'white'}
|
|
|
autoCapitalize={'none'}
|
|
|
autoCorrect={false}
|
...
|
...
|
@@ -78,8 +78,9 @@ export default class Login extends Component { |
|
|
<TouchableOpacity
|
|
|
onPress={this.props.onShowPwdPress}>
|
|
|
<Image
|
|
|
style={styles.buttonDelete}
|
|
|
source={require('../images/eyes.png')}
|
|
|
style={styles.buttonDisplayPwd}
|
|
|
resizeMode={Image.resizeMode.contain}
|
|
|
source={this.props.isDisplayPwd?require('../images/eyes.png'):require('../images/eyeopen.png')}
|
|
|
/>
|
|
|
</TouchableOpacity>
|
|
|
</View>
|
...
|
...
|
@@ -145,12 +146,15 @@ var styles = StyleSheet.create({ |
|
|
height:40,
|
|
|
paddingLeft:10,
|
|
|
color:'white',
|
|
|
|
|
|
textAlignVertical: "center",
|
|
|
paddingTop:10
|
|
|
},
|
|
|
pwd: {
|
|
|
flex: 1,
|
|
|
paddingLeft:10,
|
|
|
color:'white',
|
|
|
textAlignVertical: "center",
|
|
|
paddingTop:10
|
|
|
},
|
|
|
button: {
|
|
|
marginLeft: 20,
|
...
|
...
|
@@ -168,4 +172,9 @@ var styles = StyleSheet.create({ |
|
|
height:20,
|
|
|
marginRight:10,
|
|
|
},
|
|
|
buttonDisplayPwd: {
|
|
|
width:25,
|
|
|
height:18,
|
|
|
marginRight:10,
|
|
|
},
|
|
|
}); |
...
|
...
|
|