import React, { Component } from "react" import { StyleSheet, Text, View, Image} from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import FontAwesome from "react-native-vector-icons/FontAwesome" import MyButtom from '../component/MyButton' export default class RecommendGamer extends Component { toGamerList = () => { const { navigation } = this.props; navigation.navigate("GamerList") } toPassMode = () => { const { navigation } = this.props; navigation.navigate("PassMode1") } render() { return ( 萱萱 {"<500m"} 26岁/163/本科/7000-10000 身材苗条 文艺 旅行 魅力值:90 萱萱 {"<500m"} 26岁/163/本科/7000-10000 身材苗条 文艺 旅行 魅力值:90 ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center", paddingLeft: unitWidth * 23, paddingRight: unitWidth * 23, paddingTop: unitHeight * 57 }, gamerList: { width: "100%" }, itemArea: { width: unitWidth * 702, height: unitHeight * 308, backgroundColor: "#F9F9F9", borderRadius: unitHeight * 10, paddingTop: unitHeight * 20, marginBottom: unitHeight * 30, paddingLeft: unitWidth * 20 }, itemTop: { flexDirection: "row" }, phone: { flex: 1, height: unitHeight * 180 }, userInfo: { flex: 2, paddingLeft: unitWidth * 20, paddingRight: unitWidth * 20 }, userTit: { flexDirection: "row", justifyContent: "space-between", marginBottom: unitHeight * 30 }, userTips: { flexDirection: "row", marginTop: unitHeight * 25 }, tipsOnce: { height: unitHeight * 42, backgroundColor: "#FCF2F6", borderRadius: unitHeight * 42, justifyContent: "center", alignItems: "center", paddingLeft: unitWidth * 20, paddingRight: unitWidth * 20, marginLeft: unitWidth * 10, marginRight: unitWidth * 10 }, itemBottom: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", marginTop: unitHeight * 30, paddingLeft: unitWidth * 20, paddingRight: unitWidth * 20 }, itemBottomLeft: { flexDirection: "row", }, itemBottomRight: { flexDirection: "row", width: unitWidth * 320, justifyContent: "space-between" } })