import React, { Component } from "react" import { StyleSheet, View, Text, TextInput } from "react-native" import { unitWidth, unitHeight } from "../../utils/AdapterUtil"; import AntDesign from "react-native-vector-icons/AntDesign" import RNPickerSelect from 'react-native-picker-select'; export default class Select extends Component { render() { // let { text } = this.props return ( 真实姓名: console.log(value)} items={[ { label: 'Football', value: 'football' }, { label: 'Baseball', value: 'baseball' }, { label: 'Hockey', value: 'hockey' }, ]} > 学 历: 小学 ) } } const styles = StyleSheet.create({ formArea: { width: "100%", paddingTop: unitHeight * 30 }, formItem: { width: "100%", height: unitHeight * 72, backgroundColor: "#fff", marginBottom: unitHeight * 6, }, itemArea: { width: "100%", height: "100%", flexDirection: "row", alignItems: "center", paddingLeft: unitWidth * 23, paddingRight: unitWidth * 24, borderBottomColor: "#F9F9F9", borderBottomWidth: 1 }, inputRight: { width: unitWidth * 566, height: "100%" }, TextInput: { width: "100%", height: "100%", backgroundColor: "#F9F9F9", paddingLeft: unitWidth * 18 }, selectRight: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: unitWidth * 566, height: unitHeight * 72, backgroundColor: "#F9F9F9", paddingRight: unitWidth * 18, paddingLeft: unitWidth * 18 }, })