|
@@ -31,12 +31,14 @@ export default class Login extends BasePage {
|
|
</View>
|
|
</View>
|
|
<View style={styles.phoneNumberBox}>
|
|
<View style={styles.phoneNumberBox}>
|
|
<Text style={styles.phoneNumber}>手机号</Text>
|
|
<Text style={styles.phoneNumber}>手机号</Text>
|
|
- <TextInput
|
|
|
|
- style={styles.phoneText}
|
|
|
|
- onChangeText={(text) => this.setState({ phone_num: text })}
|
|
|
|
- value={this.state.phone_num}
|
|
|
|
- placeholder={'请输入手机号'}
|
|
|
|
- />
|
|
|
|
|
|
+ <View style={styles.phoneText}>
|
|
|
|
+ <TextInput
|
|
|
|
+ style={{ marginLeft: 20, width: '100%', height: '100%' }}
|
|
|
|
+ onChangeText={(text) => this.setState({ phone_num: text })}
|
|
|
|
+ value={this.state.phone_num}
|
|
|
|
+ placeholder={'请输入手机号'}
|
|
|
|
+ />
|
|
|
|
+ </View>
|
|
</View>
|
|
</View>
|
|
<View style={styles.signNumberBox}>
|
|
<View style={styles.signNumberBox}>
|
|
<Text style={styles.phoneNumber}>验证码</Text>
|
|
<Text style={styles.phoneNumber}>验证码</Text>
|
|
@@ -290,8 +292,8 @@ const styles = StyleSheet.create({
|
|
},
|
|
},
|
|
phoneText: {
|
|
phoneText: {
|
|
width: '100%',
|
|
width: '100%',
|
|
|
|
+ borderRadius: 25,
|
|
height: Dimensions.getHeight(50),
|
|
height: Dimensions.getHeight(50),
|
|
- marginLeft: 20,
|
|
|
|
backgroundColor: '#f3f3f3'
|
|
backgroundColor: '#f3f3f3'
|
|
},
|
|
},
|
|
signNumberBox: {
|
|
signNumberBox: {
|
|
@@ -305,7 +307,6 @@ const styles = StyleSheet.create({
|
|
signText: {
|
|
signText: {
|
|
width: '54%',
|
|
width: '54%',
|
|
height: Dimensions.getHeight(50),
|
|
height: Dimensions.getHeight(50),
|
|
- borderRadius: 25,
|
|
|
|
backgroundColor: '#f3f3f3',
|
|
backgroundColor: '#f3f3f3',
|
|
marginRight: 9
|
|
marginRight: 9
|
|
},
|
|
},
|