|
@@ -32,60 +32,62 @@ export default class PhoneBind extends BasePage {
|
|
|
render() {
|
|
|
return (
|
|
|
<View style={styles.wrapper}>
|
|
|
- <StatusBar backgroundColor={'white'} translucent={true} barStyle={'dark-content'} />
|
|
|
+ <View style={{ height: this.getWindowHeight() }}>
|
|
|
+ <StatusBar backgroundColor={'white'} translucent={true} barStyle={'dark-content'} />
|
|
|
|
|
|
- <View style={{ flex: 2 }}>
|
|
|
- <View style={{ marginTop: '6%', flex: 2, flexDirection: 'row' }}>
|
|
|
- <TouchableOpacity
|
|
|
- style={{ marginLeft: '5%' }}
|
|
|
- activeOpacity={1}
|
|
|
- onPress={this.backresult.bind(this)}
|
|
|
- >
|
|
|
- <Image source={require('./images/schedulePage/back_black.png')} />
|
|
|
- </TouchableOpacity>
|
|
|
+ <View style={{ flex: 2 }}>
|
|
|
+ <View style={{ marginTop: '6%', flex: 2, flexDirection: 'row' }}>
|
|
|
+ <TouchableOpacity
|
|
|
+ style={{ marginLeft: '5%' }}
|
|
|
+ activeOpacity={1}
|
|
|
+ onPress={this.backresult.bind(this)}
|
|
|
+ >
|
|
|
+ <Image source={require('./images/schedulePage/back_black.png')} />
|
|
|
+ </TouchableOpacity>
|
|
|
+ </View>
|
|
|
+ <View style={styles.jump}>
|
|
|
+ <TouchableOpacity style={styles.jumpBtn}>
|
|
|
+ <Text style={styles.jumpText}>{this.state.page_title_text}</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ </View>
|
|
|
</View>
|
|
|
- <View style={styles.jump}>
|
|
|
- <TouchableOpacity style={styles.jumpBtn}>
|
|
|
- <Text style={styles.jumpText}>{this.state.page_title_text}</Text>
|
|
|
- </TouchableOpacity>
|
|
|
- </View>
|
|
|
- </View>
|
|
|
- <View style={styles.phoneNumberBox}>
|
|
|
- <Text style={styles.phoneNumber}>手机号</Text>
|
|
|
- <TextInput
|
|
|
- style={styles.phoneText}
|
|
|
- maxLength={11}
|
|
|
- onChangeText={(text) => this.setState({ phone_num: text })}
|
|
|
- value={this.state.phone_num}
|
|
|
- placeholder={'请输入手机号'}
|
|
|
- />
|
|
|
- </View>
|
|
|
- <View style={styles.signNumberBox}>
|
|
|
- <Text style={styles.phoneNumber}>验证码</Text>
|
|
|
- <View style={styles.signNumberLine2}>
|
|
|
+ <View style={styles.phoneNumberBox}>
|
|
|
+ <Text style={styles.phoneNumber}>手机号</Text>
|
|
|
<TextInput
|
|
|
- style={styles.signText}
|
|
|
- maxLength={4}
|
|
|
- onChangeText={(text) => this.setState({ verification_code: text })}
|
|
|
- value={this.state.verification_code}
|
|
|
- placeholder={'请输入验证码'}
|
|
|
+ style={styles.phoneText}
|
|
|
+ maxLength={11}
|
|
|
+ onChangeText={(text) => this.setState({ phone_num: text })}
|
|
|
+ value={this.state.phone_num}
|
|
|
+ placeholder={'请输入手机号'}
|
|
|
/>
|
|
|
- <TouchableOpacity>
|
|
|
- <Text style={styles.getSign} onPress={this.getVerification.bind(this)}>
|
|
|
- {this.state.verification_text}
|
|
|
- </Text>
|
|
|
- </TouchableOpacity>
|
|
|
</View>
|
|
|
- </View>
|
|
|
- <View style={styles.loginIn}>
|
|
|
- <Text style={styles.loginText} onPress={this.clickOK.bind(this)}>
|
|
|
- {this.state.click_ok_text}
|
|
|
- </Text>
|
|
|
- </View>
|
|
|
- <View style={styles.wechatLogin}>
|
|
|
- {/* <Image source={require('./images/common/wechat.png')} /> */}
|
|
|
- <Text style={styles.wechatLoginText} />
|
|
|
- {/* <Image source={require('./images/common/arrowRight.png')} /> */}
|
|
|
+ <View style={styles.signNumberBox}>
|
|
|
+ <Text style={styles.phoneNumber}>验证码</Text>
|
|
|
+ <View style={styles.signNumberLine2}>
|
|
|
+ <TextInput
|
|
|
+ style={styles.signText}
|
|
|
+ maxLength={4}
|
|
|
+ onChangeText={(text) => this.setState({ verification_code: text })}
|
|
|
+ value={this.state.verification_code}
|
|
|
+ placeholder={'请输入验证码'}
|
|
|
+ />
|
|
|
+ <TouchableOpacity>
|
|
|
+ <Text style={styles.getSign} onPress={this.getVerification.bind(this)}>
|
|
|
+ {this.state.verification_text}
|
|
|
+ </Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ </View>
|
|
|
+ </View>
|
|
|
+ <View style={styles.loginIn}>
|
|
|
+ <Text style={styles.loginText} onPress={this.clickOK.bind(this)}>
|
|
|
+ {this.state.click_ok_text}
|
|
|
+ </Text>
|
|
|
+ </View>
|
|
|
+ <View style={styles.wechatLogin}>
|
|
|
+ {/* <Image source={require('./images/common/wechat.png')} /> */}
|
|
|
+ <Text style={styles.wechatLoginText} />
|
|
|
+ {/* <Image source={require('./images/common/arrowRight.png')} /> */}
|
|
|
+ </View>
|
|
|
</View>
|
|
|
</View>
|
|
|
);
|