PhoneEditView.js
1.08 KB
import React, {Component} from 'react';
import {
View,
Text,
TextInput,
Image,
} from 'react-native';
export default class PhoneEditView extends Component {
constructor(props) {
super(props);
this.state = {
}
}
render() {
return (
<View style={{width: '100%', backgroundColor: 'white', paddingHorizontal: 5, paddingVertical: 10}}>
<Text style={{fontSize: 16, color: 'rgba(0, 0, 0, 1)', marginBottom: 5}}>电话</Text>
<View style={{flexDirection: 'row', width: '100%', alignItems: 'center'}}>
<Text style={{fontSize: 16, color: 'rgba(0, 0, 0, 1)'}}>{'+86 >'}</Text>
<View style={{width: 1, height: 24, backgroundColor: 'rgba(245, 245, 245, 1)', marginHorizontal: 5}}/>
<TextInput
style={{flex: 1, backgroundColor: 'white'}}
placeholderTextColor={'#999'}
placeholder={'请输入'}
/>
</View>
</View>
);
}
}