import React from "react" import { StyleSheet, Text, View, Image, ScrollView, TouchableOpacity } from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import Foundation from "react-native-vector-icons/Foundation" import FontAwesome5 from "react-native-vector-icons/FontAwesome5" import AntDesign from "react-native-vector-icons/AntDesign" import Tips from '../component/Tips' export default class UserCard extends React.Component { state = { pageStatus: 0 }; toCheckName = () => { const { navigation } = this.props; navigation.navigate("Attestation", { status: 4 }) } toCheckWork = () => { const { navigation } = this.props; navigation.navigate("Attestation", { status: 3 }) } toCheckSchool = () => { const { navigation } = this.props; navigation.navigate("Attestation", { status: 1 }) } toCheckHouse = () => { const { navigation } = this.props; navigation.navigate("Attestation", { status: 2 }) } toCheckCar = () => { const { navigation } = this.props; navigation.navigate("Attestation", { status: 0 }) } toAttInfo = () => { const { navigation } = this.props; navigation.navigate("AttestationInfo") } toMyInfo = () => { const { navigation } = this.props; navigation.navigate("MyInfo") } toGirlFirend = () => { const { navigation } = this.props; navigation.navigate("GirlFrienfTerm") } toSetting = () => { const { navigation } = this.props; navigation.navigate("Setting") } toGift = () => { const { navigation } = this.props; navigation.navigate("MyGift") } render() { return ( 张晓明 V3 莱山区丨185cm丨55kg丨公务员丨15-20w丨本科 你和张晓明的匹配度: 87% 实名认证 实名认证 工作认证 学历认证 房产认证 车辆认证 兴趣标签 薯条 素食 甜品 薯条 素食 甜品 薯条 素食 甜品 薯条 素食 甜品 择偶条件 25-33岁 155-175cm 山东烟台 大专 未婚 TA的问答 假如有人要给你介绍对象,你更在意? 我的答案是:对方的颜值、穿衣品味 假如有人要给你介绍对象,你更在意? 我的答案是:对方的颜值、穿衣品味 假如有人要给你介绍对象,你更在意? 我的答案是:对方的颜值、穿衣品味 假如有人要给你介绍对象,你更在意? 我的答案是:对方的颜值、穿衣品味 TA的礼物 玫瑰 *21 钻戒 *10 { this.state.pageStatus === 1 ? ( 心动 礼物 聊天 ) : null } ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "flex-end", backgroundColor: "#eee" }, bannerBgc: { width: "100%", height: unitHeight * 540 }, topBgc: { width: "100%", height: unitHeight * 540, position: "relative", zIndex: 999 }, userPhoneArea: { position: "absolute", right: unitWidth * 25, bottom: unitHeight * -77, }, userPhone: { width: unitWidth * 154, height: unitWidth * 154, borderRadius: unitHeight * 154 }, maleIconArea: { width: unitWidth * 28, height: unitWidth * 28, backgroundColor: "#75C4EF", borderRadius: unitHeight * 28, position: "absolute", bottom: 0, left: "50%", marginBottom: unitHeight * -10, transform: [{ translateX: unitWidth * -14 }] }, maleIcon: { color: "#fff", marginLeft: unitWidth * 5 }, userTit: { width: "100%", paddingLeft: unitWidth * 24, paddingRight: unitWidth * 24, backgroundColor: "#fff", paddingBottom: unitHeight * 30 }, titRow: { flexDirection: "row", marginTop: unitHeight * 26, marginBottom: unitHeight * 28 }, subtitRow: { flexDirection: "row", marginTop: unitHeight * 30, marginBottom: unitHeight * 60 }, attestationList: { marginTop: unitHeight * 36, flexDirection: "row", justifyContent: "space-between" }, attestationItem: { width: unitHeight * 94, alignItems: "center" }, hobby: { width: "100%", height: unitHeight * 334, backgroundColor: "#fff", marginTop: unitHeight * 10, paddingTop: unitHeight * 30 }, itemTitle: { fontSize: unitWidth * 28, color: "#333333", marginLeft: unitWidth * 24 }, itemList: { flexDirection: "row", marginTop: unitHeight * 20, alignItems: "center", justifyContent: "flex-start", marginLeft: unitWidth * 40 }, itemListCenter: { width: unitWidth * 370, flexDirection: "row", justifyContent: "flex-start" }, itemListCOnce: { height: unitHeight * 42, borderRadius: unitHeight * 28, justifyContent: "center", alignItems: "center", borderWidth: unitWidth * 1, borderColor: "#FFD1D1", width: unitWidth * 108, marginRight: unitWidth * 20, backgroundColor: "#FCF2F6" }, itemListOnceText: { fontSize: unitWidth * 24, color: "#666666" }, chooseGirlFirend: { width: "100%", height: unitHeight * 140, backgroundColor: "#fff", marginTop: unitHeight * 10, paddingTop: unitHeight * 30 }, friendList: { flexDirection: "row", marginTop: unitHeight * 20, alignItems: "center", justifyContent: "flex-start", marginLeft: unitWidth * 40 }, friendItem: { marginRight: unitWidth * 30, fontSize: unitWidth * 24, color: "#666666" }, questionAndAnswer: { width: "100%", backgroundColor: "#fff", marginTop: unitHeight * 10, paddingTop: unitHeight * 30, marginBottom: unitHeight * 10 }, ansList: { marginTop: unitHeight * 30, paddingLeft: unitWidth * 45, }, ansItem: { flexDirection: "row", marginBottom: unitHeight * 30 }, ansitemRight: { marginLeft: unitWidth * 40 }, ansitemRightTit: { fontSize: unitWidth * 28, color: "#333333", marginBottom: unitHeight * 20 }, ansitemRightSubTit: { fontSize: unitWidth * 24, color: "#999999" }, gift: { width: "100%", paddingTop: unitHeight * 21, backgroundColor: "#fff" }, giftList: { width: "100%", height: unitHeight * 215, marginTop: unitHeight * 47, paddingLeft: unitWidth * 50, flexDirection: "row" }, giftOnce: { width: unitWidth * 100, height: unitHeight * 163, justifyContent: "space-between", alignItems: "center", marginRight: unitWidth * 70 }, bottomtab: { width: "100%", paddingLeft: unitWidth * 60, paddingRight: unitWidth * 60, flexDirection: "row", justifyContent: "space-between", backgroundColor: "#fff", paddingBottom: unitHeight * 25, }, tabItem: { flexDirection: "row", alignItems: "center" } })