import React, { Component } from "react" import { StyleSheet, Text, View, Image, ImageBackground, ScrollView, TouchableOpacity } from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import Ionicons from "react-native-vector-icons/Ionicons" import FontAwesome5 from "react-native-vector-icons/FontAwesome5" export default class GameHome extends Component { toGamer = () => { const { navigation } = this.props; navigation.navigate("RecommendGamer") } render() { return ( 闯关游戏 谁是卧底 推荐关卡 关卡关卡关卡关卡关卡关卡关卡关卡关卡关卡关卡关卡关卡 关主:明明 魅力值:90 ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center", paddingLeft: unitWidth * 23, paddingRight: unitWidth * 23 }, bannerBgc: { height: unitHeight * 300, width: "100%", marginTop: unitHeight * 10 }, centerTab: { width: "100%", height: unitHeight * 200, marginTop: unitHeight * 30, marginBottom: unitHeight * 30, flexDirection: "row", justifyContent: "space-between" }, tabBgc: { width: unitWidth * 342, height: unitHeight * 200, justifyContent: "center", paddingLeft: unitWidth * 42, }, tabText: { fontSize: unitWidth * 32, color: "#FFFFFF", fontWeight: "bold" }, cardList: { width: "100%" }, cardItem: { width: "100%", height: unitHeight * 880 }, cardTit: { flexDirection: "row", alignItems: "center", marginBottom: unitHeight * 23 }, cardBgc: { width: "100%", height: unitHeight * 650, borderRadius: unitHeight * 20 }, cardBottom: { flexDirection: "row", justifyContent: "space-between", paddingLeft: unitWidth * 30, paddingRight: unitWidth * 30, marginTop: unitHeight * 30 }, cardBottomItem: { flexDirection: "row", alignItems: "center" } })