import React, { Component } from "react" import { StyleSheet, View, Text, TouchableOpacity } from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import RNPickerSelect from 'react-native-picker-select'; import AntDesign from "react-native-vector-icons/AntDesign" import MyButtom from '../component/MyButton' export default class Setting extends Component { toSuggestion = () => { const { navigation } = this.props; navigation.navigate("Suggestion") } toUserAgree = () => { const { navigation } = this.props; navigation.navigate("UserAgree") } render() { return ( console.log(value)} items={[ { label: 'Football', value: 'football' }, { label: 'Baseball', value: 'baseball' }, { label: 'Hockey', value: 'hockey' }, ]} > 我的资料 {/* console.log(value)} items={[ { label: 'Football', value: 'football' }, { label: 'Baseball', value: 'baseball' }, { label: 'Hockey', value: 'hockey' }, ]} > */} 用户反馈 {/* */} {/* console.log(value)} items={[ { label: 'Football', value: 'football' }, { label: 'Baseball', value: 'baseball' }, { label: 'Hockey', value: 'hockey' }, ]} > */} 用户及隐私协议 {/* */} console.log(value)} items={[ { label: 'Football', value: 'football' }, { label: 'Baseball', value: 'baseball' }, { label: 'Hockey', value: 'hockey' }, ]} > 清除缓存 ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center" }, formArea: { width: "100%" }, formItem: { width: "100%", height: unitHeight * 97, backgroundColor: "#fff", marginBottom: unitHeight * 6, }, itemArea: { width: "100%", height: "100%", flexDirection: "row", justifyContent: "space-between", alignItems: "center", paddingLeft: unitWidth * 23, paddingRight: unitWidth * 24, borderBottomColor: "#F9F9F9", borderBottomWidth: 1 }, bottomBtn: { width: "100%", marginTop: unitHeight * 196, height: unitHeight * 84, justifyContent: 'center', alignItems: 'center' }, })