...
|
...
|
@@ -4,7 +4,7 @@ import React from 'react'; |
|
|
import ReactNative from 'react-native';
|
|
|
import Button from 'apsl-react-native-button';
|
|
|
|
|
|
let {
|
|
|
const {
|
|
|
Component,
|
|
|
} = React;
|
|
|
|
...
|
...
|
@@ -15,7 +15,7 @@ const { |
|
|
Text,
|
|
|
Dimensions,
|
|
|
TextInput,
|
|
|
TouchableWithoutFeedback,
|
|
|
TouchableOpacity,
|
|
|
} = ReactNative;
|
|
|
|
|
|
export default class Login extends Component {
|
...
|
...
|
@@ -50,13 +50,13 @@ export default class Login extends Component { |
|
|
autoCapitalize={'none'}
|
|
|
autoCorrect={false}
|
|
|
/>
|
|
|
<TouchableWithoutFeedback
|
|
|
<TouchableOpacity
|
|
|
onPress={this.props.onDeleteUserPress}>
|
|
|
<Image
|
|
|
style={styles.buttonDelete}
|
|
|
source={require('../images/delete.png')}
|
|
|
/>
|
|
|
</TouchableWithoutFeedback>
|
|
|
</TouchableOpacity>
|
|
|
</View>
|
|
|
);
|
|
|
}
|
...
|
...
|
@@ -74,13 +74,13 @@ export default class Login extends Component { |
|
|
autoCapitalize={'none'}
|
|
|
autoCorrect={false}
|
|
|
/>
|
|
|
<TouchableWithoutFeedback
|
|
|
<TouchableOpacity
|
|
|
onPress={this.props.onShowPwdPress}>
|
|
|
<Image
|
|
|
style={styles.buttonDelete}
|
|
|
source={require('../images/eyes@2x.png')}
|
|
|
source={require('../images/eyes.png')}
|
|
|
/>
|
|
|
</TouchableWithoutFeedback>
|
|
|
</TouchableOpacity>
|
|
|
</View>
|
|
|
);
|
|
|
}
|
...
|
...
|
@@ -88,10 +88,10 @@ export default class Login extends Component { |
|
|
|
|
|
return (
|
|
|
|
|
|
<Image style={styles.container} source={require('../images/login@2x.png')} resizeMode={'cover'} >
|
|
|
<Image style={styles.container} source={require('../images/login.png')} resizeMode={'cover'} >
|
|
|
<Image
|
|
|
style={styles.logo}
|
|
|
source={require('../images/logo@2x.png')}
|
|
|
source={require('../images/logo.png')}
|
|
|
/>
|
|
|
{this.renderUserText()}
|
|
|
{this.renderPwdText()}
|
...
|
...
|
|