import React, { Component } from "react" import { StyleSheet, Text, View, Image, TextInput, ScrollView } from "react-native" import { unitWidth, unitHeight } from "../utils/AdapterUtil"; import AntDesign from "react-native-vector-icons/AntDesign" import Ionicons from "react-native-vector-icons/Ionicons" import MyButtom from '../component/MyButton' export default class CreatPass extends Component { toGamerList = () => { const { navigation } = this.props; navigation.navigate("GamerList") } render() { return ( 推荐关卡 你最想的东西是什么? 妈妈和对象同时落水你会先救谁? 你会选择你爱的人还是爱你的人? 如果有一天我和你吵架,你会怎么办? 关卡题目 题目选项 填完选项后点击右侧单选按钮确定您的答案 选项A 选项A 选项A 新建选项 关卡奖励 手机号码 生活照 上传照片 游戏邀请 接收 ) } } const styles = StyleSheet.create({ container: { flex: 1, alignItems: "center", backgroundColor: "#fff" }, sec: { width: "100%", paddingLeft: unitWidth * 23, paddingRight: unitWidth * 23 }, secTitle: { width: "100%", marginBottom: unitHeight * 18, marginTop: unitHeight * 25 }, secTitle2: { width: "100%", marginBottom: unitHeight * 18, marginTop: unitHeight * 25, flexDirection: "row", alignItems: "center" }, TextInput1: { width: "100%", height: unitHeight * 80, paddingLeft: unitWidth * 20, borderWidth: 1, borderColor: "#DEDEDE" }, topIcon: { width: unitWidth * 235, height: unitHeight * 210, marginBottom: unitHeight * 44 }, btnList: { alignItems: "center" }, btnItem: { width: unitWidth * 700, height: unitHeight * 88, justifyContent: "center", alignItems: "center", marginBottom: unitHeight * 19, borderRadius: unitHeight * 88, borderWidth: 1, borderColor: "#FFD1D1" }, btnItemRed: { width: unitWidth * 700, height: unitHeight * 88, justifyContent: "center", alignItems: "center", backgroundColor: "#FB788A", marginBottom: unitHeight * 19, borderRadius: unitHeight * 88, borderWidth: 1, borderColor: "#FFD1D1" }, ansList: { width: "100%" }, ansItem: { width: "100%", height: unitHeight * 80, flexDirection: "row", marginBottom: unitHeight * 19 }, ansItemLeft: { flex: 4, height: "100%", borderWidth: 1, borderColor: "#DEDEDE", justifyContent: "center", paddingLeft: unitWidth * 20 }, ansItemIcon: { flex: 1, flexDirection: "row", justifyContent: "space-around", alignItems: "center" }, addAns: { flexDirection: "row", alignItems: "center", justifyContent: "flex-end", marginRight: unitWidth * 150 }, bottomitem: { flexDirection: "row", alignItems: "center", marginBottom: unitHeight * 19 }, bottomTextInput: { height: unitHeight * 80, borderWidth: 1, borderColor: "#DEDEDE", flex: 4, paddingLeft: unitWidth * 20 }, uploadiconArea: { flex: 4 }, uploadiconBox: { width: unitHeight * 140, height: unitHeight * 120, borderWidth: 1, borderColor: "#DEDEDE", alignItems: "center", justifyContent: "space-between", paddingTop: unitHeight * 12, paddingBottom: unitHeight * 15, }, resive: { flexDirection: "row", alignItems: "center" }, bottomBtn: { width: "100%", marginTop: unitHeight * 90, height: unitHeight * 84, justifyContent: 'center', alignItems: 'center', marginBottom: unitHeight * 34 }, })