import React, { Component } from "react" import { StyleSheet, Text, View, ImageBackground } from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import MyButtom from '../component/MyButton' export default class GameLead extends Component { toHomePage = () => { const { navigation } = this.props; navigation.navigate("BottomTabNavigator") } toGamePage = () => { const { navigation } = this.props; navigation.navigate("BottomTabNavigator") } render() { return ( 亲爱的XXX,欢迎进入XXX,来游戏大厅和大家一起尽情玩耍吧,在这里遇到志同道合的伴侣几率为95%哦,一起来吧 ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center", justifyContent: "flex-end" }, btnArea: { height: unitHeight * 212, justifyContent: "space-between" }, textInfo: { width: unitWidth * 558, height: unitHeight * 123, marginBottom: unitHeight * 85, marginTop: unitHeight * 213 }, text: { fontSize: unitWidth * 28, color: "#fff", lineHeight: unitHeight * 35 } })